Hello,
This is my sip.conf configuration :
[user1]
type=friend
context=phones
secret=secretpassword
allow=ulaw,alaw
host=dynamic
[user2]
type=friend
context=phones
secret=secretpassword
allow=ulaw,alaw
host=dynamic
; Line1 on SPA3102
;
[line1]
type=friend
host=dynamic
context=internal
username=line1
secret=secretpassword
nat=yes
canreinvite=no
dtmfmode=rfc2833
qualify=yes
disallow=all
allow=ulaw
; PSTN on SPA3102
;
[pstn]
type=friend
host=dynamic
context=pstn
username=pstn
secret=secretpassword
nat=yes
canreinvite=no
dtmfmode=rfc2833
qualify=yes
insecure=port,invite
disallow=all
allow=ulaw
And this is extensions.conf configuration:
[phones]
exten => 101,1,Dial(SIP/user1)
exten => 101,n,Hangup
[Phones]
exten => 102,1,Dial(SIP/user2)
exten => 102,n,Hangup
[pstn]
exten => 123,1,NoOP(${CALLERID}) ; show the caller ID info in the console
exten => 123,n,Ringing()
exten => 123,n,Answer()
exten => 123,n,Playback(silence/1)
exten => 123,n,Playback(pls-wait-connect-call)
exten => 123,n,Wait(3)
exten => 123,n,Dial(SIP/line1,60)
exten => 123,n,Congestion
I did all configuration according to my sip.conf in SPA 3102. But it wont register on Asterisk. While other IP phones are properly working, what is the problem???