Dialing 000 Failing (Solved)

arshadfusion

New Member
Jan 20, 2025
2
0
1
33
Hey guys,

A bit of an issue, so when dialling 000, the call fails, I have no issues dialling any outbound number except for 000 which happens to be an Australian Emergency number, I have tried both dial plan Expressions in my outgoing rules ^000$ and ^\d{3}$, I have also tried adding prefix 61 in front, but they all fail, when I have a look at the CDR logs, these calls go throuhg as LOCAL calls and not out, any idea what I could do to remedy this and make sure the call is sent out of the trunk.
 

whut

Active Member
Dec 23, 2022
266
29
28
Create a 911 outbound route and add "emergency" or similar to the description. After saving the outbound route edit the 2 outbound routes that fusionpbx created for you and replace any 911 or 933 regex variations of 911 or 933
Example (^911$|^933$)
With
(^000$)

911 = USA emergency services
933 = USA number for test calls with many providers.
 

arshadfusion

New Member
Jan 20, 2025
2
0
1
33
Create a 911 outbound route and add "emergency" or similar to the description. After saving the outbound route edit the 2 outbound routes that fusionpbx created for you and replace any 911 or 933 regex variations of 911 or 933
Example (^911$|^933$)
With
(^000$)

911 = USA emergency services
933 = USA number for test calls with many providers.
Thanks bud, tried this, and it didn't work unfortunately as the extension registration is handled by the SBC and not directly by fusion i.e. if I dial 000 it will reach fusion in format 61000 via the SBC, however I worked this one out, I updated the dial plan to explicitly send 000 and 61000 via the trunk so that it would not be handled "locally",

<extension name="outbound_trunk">
<condition field="destination_number" expression="^(000|61000)" >
<!-- This sends calls starting with 000 or 61000 directly to the trunk -->
<action application="bridge" data="sofia/gateway/Gateway_name/${destination_number}" />
</condition>
</extension>

*where Gateway_name is the name of your gateway

once I did this, I created a 5 digit (dial plan expression = ^\d{5}$ ) outbound rule via the GUI, so that it would pass 61000

This did the trick, hope this would help anyone who uses an SBC to register fusion extensions :)