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.
Dial Plan for Local/National Calls.
-
- Posts: 5
- Joined: Mon Oct 22, 2012 3:54 am
Dial Plan for Local/National Calls.
- Attachments
-
- Screen Shot 2012-10-21 at 10.36.55 PM.png (51.03 KiB) Viewed 9508 times
Re: Dial Plan for Local/National Calls.
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}