Page 1 of 1

Dial Plan for Local/National Calls.

Posted: Mon Oct 22, 2012 4:57 am
by sahilmdoshi
I am trying to create a dial plan so that I can dial on my ATA a 7 or 10 digit number and it will be transcoded into a full international format and dialed using my provider. Currently, I have set up my dial plan as in the picture below, but when I try calling using the ATA, it doesn't go through. When I check the calls, it shows me that the call is being directed to XXXXXXXXXX@sipsorcery.com instead of XXXXXXXXXX@sip.provider.com.

Please can you let me know what I am doing wrong.

Thank you very much.

Sahil Doshi.

Re: Dial Plan for Local/National Calls.

Posted: Mon Oct 22, 2012 10:15 am
by Aaron
The trick is to remove the forward slashes from your regex, they are not required in the wizard. So your regex pattern should be ^0[1-9]\d{8}