Can not register two sip phone


#1

Hi.
I am newbie here. I want to make a simple call via asterisk pbx installed in raspberry pi 3b but the two ip phones could not be registered.
These are sip.conf, extension.conf and logs.

Could anyone help me?

Yours sincerely.
Mshin.


#2

None of the messages are ever vaguely related.

Please provide “sip set debug on” output, for the registrations, as text, taken from /var/log/asterisk and also the contents of sip.conf and any files it includes, against as text, not a JPEG.


#4


#5


#6

Please provide text, not screenshots. The logs you will need can be largish and we need to be able to search them.


#8

I am Sorry for that. You are right. This is the text of extension.conf:

[LocalSets]
exten => 6000,1,Dial(SIP/6000)
exten => 6001,1,Dial(SIP/6001)

exten = 6002,1,Answer()
same = n,Wait(1)
same = n,Playback(hello-world)
same = n,Hangup()

And this is sip.conf:

[general]
context=unauthenticated
allowguest=no
srvlookup=no
udpbindaddr=0.0.0.0
tcpenable=no   

[office-phone](!)
type=friend
context=LocalSets
host=dynamic
nat=no
dtmfmode=auto
allow=all
;allow=g722
;allow=ulaw
;allow=alaw

[6000](office-phone)
secret=unsecurepassword

[6001](office-phone)
secret=unsecurepassword


I have typed

sip set debug on

In CLI. So what would be happened next?
Where do the results appear?


#9

https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information