I have been running using a context=from-pstn-e164-us which has been stipping the +1 from the numbers leaving me with a 10 digit number.
Since the core update I did last night, the dreaded +1 has returned. I looked at all of my trunks and they are still using the same context=from-pstn-e164-us, as they did before.
Can anyone shed some light on this for me? according to my directory structure, the file extension_additional.conf has been over written with yesterdays date and time of the core upgrade, which is probably nothing to be concerned about as asterisk updates this file anyway.
Looking at the file extensions.conf, I see the date is quite old and has not been touched, and the following code still exists within the file.
[from-pstn-e164-us]
exten => +1NXXNXXXXXX/+1NXXNXXXXXX,1,Set(CALLERID(number)=${CALLERID(number):2})
exten => _+1NXXNXXXXXX/_NXXNXXXXXX,2,Goto(from-pstn,${EXTEN:2},1)
exten => +1NXXNXXXXXX/+X.,1,Set(CALLERID(number)=011${CALLERID(number):1})
exten => _+1NXXNXXXXXX/_011X.,n,Goto(from-pstn,${EXTEN:2},1)
exten => _+1NXXNXXXXXX,1,Goto(from-pstn,${EXTEN:2},1)
exten => [0-9+]./+1NXXNXXXXXX,1,Set(CALLERID(number)=${CALLERID(number):2})
exten => _[0-9+]./_NXXNXXXXXX,n,Goto(from-pstn,${EXTEN},1)
exten => [0-9+]./+X.,1,Set(CALLERID(number)=011${CALLERID(number):1})
exten => _[0-9+]./_011X.,n,Goto(from-pstn,${EXTEN},1)
exten => [0-9+].,1,Goto(from-pstn,${EXTEN},1)
exten => s/+1NXXNXXXXXX,1,Set(CALLERID(number)=${CALLERID(number):2})
exten => s/NXXNXXXXXX,n,Goto(from-pstn,${EXTEN},1)
exten => s/+X.,1,Set(CALLERID(number)=011${CALLERID(number):1})
exten => s/_011X.,n,Goto(from-pstn,${EXTEN},1)
exten => s,1,Goto(from-pstn,${EXTEN},1)
Anyone have a clue as to what has changed? or what to look for?
Asterisk version : 10.12.0
FreePBX Firmware : 2.210.62-5
FreePBX Service pack : 1.0.0.0