Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dialing rules

Status
Not open for further replies.

vincer12

Technical User
Sep 12, 2008
3
I want to set a trunk so that you have to dial 9 to use the trunk. What is the best way to go about this? Thanks
 
In your dialplan, use a mask like this:

exten => _9NXXXXXX,1,Dial(${TRUNK}/$[w${EXTEN:${STRIPMSD}}])

Use the same method for other types of calls (800, long distance, etc).

In the globals section put the following:

TRUNK=Zap/g0 ; Trunk interface

STRIPMSD=1 ; MSD digits to strip (usually 1 or 0)

Hope this helps,

ElJay

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top