What is different in version 13.1 vs 11.7

For several years I have been using version 11.7 without any problems.

Recently I installed a new server and installed Asterisk version 13.1. After that I moved all the configuration files over and I have a problem that I cannot seem to solve.

All out going calls work fine and all incoming also except for two numbers. For both of these numbers I get the message that the extension is not found in the context default. They never were in the context default on version 11.7 so why is version 13.1 complaining about it. Below are the relevant parts of sip.conf and extensions.conf.

Any help would be greatly appreciated.

Thank you

sip.conf

register => abcdefg:xxxxxxxxxx@toronto.voip.ms:5060
register => abcdefg:xxxxxxxxxx@montreal.voip.ms:5060

[voipms]
type=peer
username=abcdefg
context=incoming
rtptimeout=120
secret=xxxxxxxxxxxxx
host=montreal.voip.ms
canreinvite=no
disallow=all
allow=ulaw
fromuser=abcdefg
trustrpid=yes
sendrpid=yes
insecure=invite
nat=yes

extensions.conf[incoming]
exten => aaaaaaaaaa,1,Answer()
exten => aaaaaaaaaa,n,NoOp(Context is incoming 8773526105)
exten => aaaaaaaaaa,n,NoOp(CallerID is ${CALLERID(all)})
exten => aaaaaaaaaa,n,Set(ID_LOC=${TIME_CALLIN(id,locations,call_in_no,${CALLERID(num)})})
exten => aaaaaaaaaa,n,NoOp(Location is ${ID_LOC})
exten => aaaaaaaaaa,n,GotoIf($["${ID_LOC}" != “”]?time-mng,25000,set-pin)
exten => aaaaaaaaaa,n,Dial(SIP/3500&SIP/3600&SIP/3700&SIP/2000,20,r)
exten => aaaaaaaaaa,n,Background(/usr/local/share/asterisk/sounds/welcome-home)
exten => aaaaaaaaaa,n,WaitExten(5)
exten => aaaaaaaaaa,n,Hangup()

I have tried to give this number it’s own context such as [incoming-voipms] but this did not make any difference.

SOLVED

Solved this problem by removing one of the registrations for the same service.

Still wonder why 11.7 never complained about it.

What do you mean “for the same service” ?

Remember to work on moving to res_pjsip as chan_sip is now extended support in 13+

I guess he removed one of this line

He was registering the same SIP account on 2 different servers, that could be causing a conflict with the incoming calls

1 Like