Our PBX server running Incredible PBX 13-12 (Asterisk 13.5) doesn't remove the plus (+) prefix anymore. I didn't realize this at first, but it happened when we upgraded to that version. The context setting is correctly set to "from-trunk-remove-plus" in the trunk, and /etc/asterisk/extensions_custom.conf contains the following:
[from-trunk-remove-plus]
exten => _X!,1,GotoIf($["${CALLERID(num):0:2}" != "+1"]?noplusatstart)
exten => _X!,n,Set(CALLERID(num)=${CALLERID(num):1})
exten => _X!,n(noplusatstart),Goto(from-trunk,${EXTEN},1)
Calls originally come in with the full format, +1AAANNNXXXX. We just need the plus removed while leaving the prefix 1 intact. Any ideas why it would no longer work?
↧