[Asterisk-Users] Configuring for outbound calls with PRI on T100P
DUSTIN WILDES
dwildes at pabbankshares.com
Wed Apr 9 18:06:30 MST 2003
Only problem is if a user takes longer than 5 seconds to dial the number.
Here's a copy of my dialplan.xml if it helps:
<DIALTEMPLATE>
<TEMPLATE MATCH="0" Route="Default" Timeout="1" User="Phone"/> <!-- Local operator -->
<TEMPLATE MATCH="9,011*" Route="Default" Timeout="6" User="Phone"/> <!-- International calls -->
<TEMPLATE MATCH="9,0" Route="Default" Timeout="8" User="Phone"/> <!-- PSTN Operator -->
<TEMPLATE MATCH="9,11" Route="EMERGENCY" Timeout="0" User="Phone" Rewrite="9911"/> <!-- -->
<TEMPLATE MATCH="w!" Route="EMERGENCY" Timeout="1" User="PHONE" Rewrite="9911"/> <!-- -->
<TEMPLATE MATCH="9,.11" Route="Default" Timeout="0" User="Phone"/> <!-- Service numbers -->
<TEMPLATE MATCH="9,1.........." Route="Default" Timeout="0" User="Phone"/> <!-- Long Distance -->
<TEMPLATE MATCH="9,......." Route="Default" Timeout="0" User="Phone"/> <!-- Local numbers -->
<TEMPLATE MATCH="1..." Route="Default" Timeout="0" User="Phone"/> <!-- Corporate Dial plan -->
<TEMPLATE MATCH="2..." Route="Default" Timeout="0" User="Phone"/> <!-- Corporate Dial plan -->
<TEMPLATE MATCH="7..." Route="Default" Timeout="0" User="Phone"/> <!-- Corporate Dial plan -->
<TEMPLATE MATCH="71.." Route="Default" Timeout="0" User="Phone"/> <!-- Corporate Dial plan -->
<TEMPLATE MATCH="*" Route="Default" Timeout="15"/> <!-- Anything else -->
</DIALTEMPLATE>
-----Original Message-----
From: John Todd [mailto:jtodd at loligo.com]
Sent: Wednesday, April 09, 2003 8:21 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] Configuring for outbound calls with PRI on T100P
I also find that dialplans on the phone tend to screw things up.
Phones should be fairly stupid, but people keep trying to make them
smart. My dialplan on my 7960's looks like this:
<DIALTEMPLATE>
<TEMPLATE MATCH="*" Timeout="5"/> <!-- Anything else -->
</DIALTEMPLATE>
That's it! The user types a phone number, waits five seconds (or
hits the "#" key, or hits the "dial" button) and the Asterisk server
handles the call.
JT
>On Wed, 09 Apr 2003, Ken McKittrick wrote:
>
>> I've got Asterisk running and accepting inbound calls. When I try to
>> place an outbound call from a Cisco 7960 SIP phone, I get an immediate
>> Fast Busy.
>>
>> Does anyone have examples configurations for this?
>>
>> Here's what I have in zapata.conf, extensions.conf is pretty much what
>> came with the samples.
>
>With the 79x0 units, I often find the problem is in the dialplan.xml
>that you are serving on the tftp server.
>
>You need to have something like:
><TEMPLATE MATCH="9,1.........." Timeout="0" User="Phone"/>
><TEMPLATE MATCH="9,.........." Timeout="0" User="Phone"/>
>
>I also have this line to dial internal extensions (all are 2xx):
><TEMPLATE MATCH="2.." Timeout="0" User="Phone"/>
>
>michael.
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list