I was looking at Cisco's website today and discovered that they've improved their administration guides quite a bit. I thought the old Linksys ones were a little bit difficult to understand, but these new ones are great. I learned some new dial plan stuff
Note that these are EXAMPLES only and not complete dial plans. If you're after a complete dial plan, look at aooa and apn's posts above.
( xxxx | [2-9]xx[2-9]xxxxxx )
If the first and fourth digits are not 0 or 1: wait exactly three seconds to see if the caller is going to dial anything else after the first four digits. If they have not dialed anything by the time three seconds are up, place the call.
If the first or fourth digit IS 0 or 1: place the call immediately as soon as four digits are dialed (even though S0 is not specified) because there is no possible way to match any other portion of the dial plan.
( x. )
The dot actually means "zero or more of the previous digit", not one or more as mentioned in the tutorial I linked. After a three second pause in dialing, the system assumes you're finished. So, the caller must not wait more than three seconds in between numbers. Because the dot means zero or more and there is only an x in front of it, this dial plan also matches no number at all. For this reason, the caller must begin to dial within three seconds of picking up the handset.
( [2-9]xx[2-9]xxxxxx )
North American ten-digit dialing. Additionally, the system will place the call if less than ten digits are dialed (assuming the first and fourth are 2-9) after waiting ten seconds.
S4, L7 ( [dial plan goes here] )
Change the short timeout from three seconds to four seconds and the long timeout from ten seconds to seven seconds. Note that if S is used outside the parentheses, it may be up to 15 seconds. If S is used at the end of a particular sequence inside a dial plan, it may only be 0. These may also be set on the Regional tab.
( P10 | [dial plan goes here] )
Allow the caller to have the handset off the hook for ten seconds before they begin to dial. (Default is five seconds.)
( [2-9]xx,[2-9]xxxxxx )
North American ten-digit dialing. Play a dial tone after the area code is dialed.
( <:[your area code here]>[2-9]xxxxxx | 1[2-9]xx[2-9]xxxxxx )
North American seven-digit dialing. If the dialed number does not begin with a 1, place the call as soon as seven digits are dialed, and add the area code in front. For calls not in your area code, you must dial 1 first. Note that you should not combine seven and ten digit dialing because it
might work.
( <x,:>[2-9]xx[2-9]xxxxxx )
Play a dial tone after the first digit is dialed. Do not send the first digit, send only the last ten digits.
( <123:[VoIP.ms Username]@[phone's internal IP address]> )
When 123 is dialed, call the SIP URI of some other device in your network. This is a better technique than using VoIP.ms' internal extensions because your call is not routed through the Internet so there is nearly no latency.
( <:4443>S0 )
Hotline this device to the echo test. I'm not sure why the S0 is necessary as it there is no possible way to match any dialing here. But if it is removed, the caller hears a dial tone for 3 seconds. If you do dial a number, you hear a reorder (fast busy) tone.
aooa said:
i guess it's a good way to prevent your house guest from calling long distance without you knowing
Yep, you sure got to keep an eye on those pesky house guests
But why stop there? Why not set a password using your dial plan?!?
( 604[2-9]xxxxxx | <12345:>[2-9]xx[2-9]xxxxxx | [2-57-9][1-9][0-35-9][2-9]xxxxxx! )
Allow calls to area code 604 only. Allow other area codes if password 12345 is entered. The last sequence disallows non-604 area codes if they are dialed without the password. The reason this last sequence is necessary is without it, you would hear a reorder (fast busy) tone the moment you dialed a number not in the password, making the password fairly easy to guess.