Hello,
I have an Asterisk 1.4 running for 3 years, working perfectly with about 15 extensions.
Recently the client asked to add 3 more.
Asterisk rejects the registration of these new ones, which are similar to those that work normally.
Using the same softphone, same network, the registration of an old one is accepted, but the new one is rejected.
Thanks for your help, since I’ve been racking my brain for many days,
Marcelo
sip.conf
[general]
allowguest=no
srvlookup=no
udpbindaddr=0.0.0.0
tcpenable=no
nat=yes
externalhost=dominio.com
externrefresh=60
localnet=192.168.0.0/255.255.255.0
canreinvite = yes
dtmfmode=auto
alwaysauthreject=yes
deny=0.0.0.0/0.0.0.0
[ramal-voip](!)
nat=yes
type=friend
context=INTERNAL
host=dynamic
disallow=all
host=dynamic
secret=foo
call-limit=10
disallow=all
allow=gsm
allow=ulaw
; ***** It works *****
[100](ramal-voip)
callgroup=1
secret=pass100
pickupgroup = 1
callerid="working" <100>
; ***** It doesn't work *****
[101](ramal-voip)
callgroup=1
secret=test101
pickupgroup = 1
callerid="notworking" <101>
;----------------------------------------------------------------------------------------------------------------
extensions.conf
[general]
[globals]
[INTERNAL]
; ***** It works ******
exten => 100,1,Dial(SIP/100)
; ****** It doesn't work ******
exten => 101,1,Dial(SIP/101)
I couldn’t find a specific log file, just via debug, but since there are so many live events, I couldn’t capture a specific one of a SIP authentication rejected.
Could you help me by indicating which log file I could track down this problem?
I had previously noticed and commented on this 101 by 100 switch, but I confirmed the softphone setting and it’s 101. I can’t figure out why this happens.