Recently we have been rolling out SNG 7 64-bit Stable. All the systems that we have loaded or upgraded to SNG 7 have had issues with 911. Currently, when an endpoint dials 911, it fails with the following:
pbx.c: Executing [911@from-sip-external:1] NoOp(“SIP/192.168.2.254-00000064”, “Received incoming SIP connection from unknown peer to 911”) in new stack
192.168.2.254 is the PBX. I would expect to see it being directed to the dial tone provider.
An emergency route is set first in the list with the entry of 911. The trunk it uses is the dial tone provider. This is only happening for 911. Other 3 digit numbers work. I added 411 to the below config and 411 works; however, 911 does not.
[outrt-16] ; e911
include => outrt-16-custom
exten => 411,1,Macro(user-callerid,LIMIT,EXTERNAL,)
exten => 411,n,Gosub(sub-record-check,s,1(out,${EXTEN},dontcare))
exten => 411,n,ExecIf($[ “${CALLEE_ACCOUNCODE}” != “” ] ?Set(CDR(accountcode)=${CALLEE_ACCOUNCODE}))
exten => 411,n,Set(EMERGENCYROUTE=YES)
exten => 411,n,Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})})
exten => 411,n,ExecIf($["${KEEPCID}"!=“TRUE” & ${LEN(${DB(AMPUSER/${AMPUSER}/outboundcid)})}=0 & ${LEN(${TRUNKCIDOVERRIDE})}=0]?Set(TRUNKCIDOVERRIDE=7045224970))
exten => 411,n,Set(_NODEST=)
exten => 411,n,Macro(dialout-trunk,2,${EXTEN},off)
exten => 411,n,Macro(outisbusy,)
exten => 911,1,Macro(user-callerid,LIMIT,EXTERNAL,)
exten => 911,n,Gosub(sub-record-check,s,1(out,${EXTEN},dontcare))
exten => 911,n,ExecIf($[ “${CALLEE_ACCOUNCODE}” != “” ] ?Set(CDR(accountcode)=${CALLEE_ACCOUNCODE}))
exten => 911,n,Set(EMERGENCYROUTE=YES)
exten => 911,n,Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})})
exten => 911,n,ExecIf($["${KEEPCID}"!=“TRUE” & ${LEN(${DB(AMPUSER/${AMPUSER}/outboundcid)})}=0 & ${LEN(${TRUNKCIDOVERRIDE})}=0]?Set(TRUNKCIDOVERRIDE=7045224970))
exten => 911,n,Set(_NODEST=)
exten => 911,n,Macro(dialout-trunk,2,${EXTEN},off)
exten => 911,n,Macro(outisbusy,)
Any help is appreciated.
PBX Firmware:
12.7.4-1802-3.sng7
PBX Service Pack:
1.0.0.0