Dialing Rules - VoIP.ms Wiki

Check out our YouTube channel to watch our simple tutorials that will help you set up most of our features.

Dialing Rules

From VoIP.ms Wiki

(Difference between revisions)
Jump to: navigation, search
[draft revision]
Ed (Talk | contribs)
(Created page with "10 Digits Dialing to USA/Canada If you want to dial without the 1 , or without the 1+area code, here's how you can do it. Edit extensions.conf. Note that in our example, when we...")
Newer edit →

Revision as of 17:28, 8 July 2011

10 Digits Dialing to USA/Canada

If you want to dial without the 1 , or without the 1+area code, here's how you can do it. Edit extensions.conf. Note that in our example, when we match NXXNXXXXXX, we add a 1 in front of the number to dial. Dial(SIP/1${EXTEN}@voipms). In the 7 digits example, let's say your area code is 214. When you dial 7 numbers, the dial command will add 1214 in front. Dial(SIP/1214@{EXTEN}@voipms). Replace the 214 by the area code you want your local calls to be.

         [mycontext]
         ; International Calls
         exten => _011.,1,Dial(SIP/${EXTEN}@voipms)
         exten => _011.,n,Hangup()
         ; USA / Canada
         exten => _1NXXNXXXXXX,1,Dial(SIP/${EXTEN}@voipms)
         exten => _1NXXNXXXXXX,n,Hangup()
         ; 10 Digits dialing
         exten => NXXNXXXXXX,1,Dial(SIP/1${EXTEN}@voipms)
         exten => NXXNXXXXXX,n,Hangup()
         ; 7 Digits local dialing, in this example, your area code is 214
         exten => NXXXXXX,1,Dial(SIP/1214${EXTEN}@voipms)
         exten => NXXXXXX,n,Hangup()
Personal tools
Namespaces
Variants
Actions
VoIP.ms Wiki
Guides 🇨🇦
Guías 🇲🇽