Cannot Call Forward or use Ring Groups

Status
Not open for further replies.

jakeau

New Member
Aug 8, 2018
12
0
1
25
Hi all, new here to PBXForums and freshly moved from 3CX to FusionPBX due to better feature set.

I'm having an strange issue where call forwarding does not work nor does ring groups - I've spent some few hours referring to these forums and elsewhere on the web and looking at the system log wondering why it won't work. The issue reported in the logs is "No_ROUTE_DESTINATION" I figured this may have something to do with the dial plan but very unsure. Currently my outbound route dial plan is set to ^(\d*)$ reason for this is I haven't been able to get calls to work any other way.

When call forwarding is enabled to call an external number the caller gets told that the number is not connected and to check the number and try again or depending on the callers carrier they will get a busy tone or network busy message. Same response happens when a ring group is used.

Surely I'm missing something here? Please let me know if I can be of assistance by posting logs/additional information. Your help and time is greatly appreciated.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
The outbound route is your problem, You are catching absolutely EVERYTHING with this, you need to be much more specific than that, I'm surprised you can even call between extensions.
 
  • Like
Reactions: jakeau

jakeau

New Member
Aug 8, 2018
12
0
1
25
Thank you for your reply, Initially I thought this may of been the case so I did some digging around on the web for a appropriate dial plan for Australia that handles all the types of calls one would make here in Australia such as 13XXXX, 1300XXXXXX, 1800XXXXXX, 04XXXXXXXX, 08XXXXXXXX, 02XXXXXXXX, 03XXXXXXXX, 07XXXXXXXX and when someone drops the area code e.g: instead of dialling 0899641058 people also dial 99641058,

I couldn't find a dialling plan that matched the above, I tried a few such as "^(0|61|\+61)?([2?|3-9]{1}[0-9]{8})$" which didn't work at all which I found here "https://freeswitch.org/confluence/pages/viewpage.action?pageId=2883782", Yes I'm surprised calls between extensions work too!! Essentially now I know what the issue is, I need a little help on how to make an appropriate dialling plan.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
One of the guys on IRC has just provided this info:
depends how carrier wants it.. but they are simple :)
8 digit for local (add in 02 etc before $1) 10 digit for mobile and national numbers
0011 6-13 digits for international
emergency number because SIP have to dial certain one depending on state
but depends what carrier, some do wierd stuff

You need to put the rules in the correct order obviously.
 

jakeau

New Member
Aug 8, 2018
12
0
1
25
Thank you, will have a try at making a dial plan based on the above, will report back how I go
 

jakeau

New Member
Aug 8, 2018
12
0
1
25
Had a tinker around with some dial plans and no luck, calls go through as they should but alas Call forwarding and Ring groups still do not work reporting No Route Found.

I need some help creating/formatting a correct dial plan
 

jakeau

New Member
Aug 8, 2018
12
0
1
25
I use Vultr VPS in Sydney, was using Digital Ocean in Singapore issue persists on both
 

EasyBB

Active Member
Oct 23, 2016
240
33
28
Australia
I'll give you outbound route regex for all call types and screenshot of one outbound route for your reference.

VIC: ^(?:0011613|00613|\+613|613|03)?([45689]\d{7})$ (substitute your area code where you see 3 in the first set)
National: ^(?:001161|0061|\+61|61|0)([278]\d{8})$ (change 278 in the second set depending on your area code)
Mobile: ^(?:001161|0061|\+61|61|0)(4\d{8})$ (You can combine this with national if you like; just add 4 to the second set above)
13x: ^(?:001161|0061|\+61|61)?(13[1-9][1-9]\d{2}|1300\d{6,})$
18x: ^(?:001161|0061|\+61|61)?(1800\d{6,})$
International: ^(?:\+|0011|00)([1-9]\d{8,})$

 

EasyBB

Active Member
Oct 23, 2016
240
33
28
Australia
Hope you got it working ok. I forgot to mention one thing; the last bridge line in the above image, please disregard absolute_codec_string variable. This is not really necessary for machines with enough grunt.

So in a nutshell we test the dialed number with the condition on the first line where we bring different dialing formats to a unified format and then use the captured group $1 with an appropriate prefix (03, 04 etc) that the gateway would accept. If you use multiple providers that expect numbers in different formats, this is the way to do it.
 

jakeau

New Member
Aug 8, 2018
12
0
1
25
I've tried having a play around and still not working :eek: I'm only using the one provider, when I call one of my extensions that has call forwarding enabled it still says the number is not connected and to check the number before calling again, log spits out no route destination now
 

jakeau

New Member
Aug 8, 2018
12
0
1
25
Here is the mobile dial plan I've setup, If I change anything below I still get the same result, I've PM'd you my Log output, this is making me want to rip my hair out :eek:
Screen Shot 2018-08-22 at 11.00.59 pm.png
 

jakeau

New Member
Aug 8, 2018
12
0
1
25
Success! Ring Groups working!!! Thank you so much :D , sad to report Call forwarding still not working, I noticed in the log No route found, and also saw Error 604: does not exist anywhere, have attached an updated dial plan and an send you a PM with an updated log output

Screen Shot 2018-08-23 at 11.07.58 pm.png
 
Status
Not open for further replies.