[Asterisk-Users] Re: 7960 straight through?
Randy Bush
randy at psg.com
Fri Jun 18 10:03:36 MST 2004
my current, inherited, dialplan.xml is
<DIALTEMPLATE>
<TEMPLATE MATCH="00,1.........." Timeout="0" User="Phone" />
<TEMPLATE MATCH="00,*" Timeout="5" User="Phone" />
<TEMPLATE MATCH="*" Timeout="5" User="Phone" />
</DIALTEMPLATE>
the last of the three entries would seem to be the significant
one.
but my problem is that * is wanting the cisco to prepend its
own extension number to the dialed string. see my original
message (corrected) below.
a ether dump of the sipura's invite shows
From: biwa phone <sip:sipura at ast.foo.edu>;tag=3a553a2b9373c699
To: <sip:141 at ast.foo.edu>
^^^
while cisco demands that i dial the 142 before it will send the invite
at all
randy
---
From: Randy Bush <randy at psg.com>
To: splatters <asterisk-users at lists.digium.com>
Subject: 7960 straight through?
Date: Thu, 17 Jun 2004 17:42:36 -0700
if i go off hook and dial 666 from an internal sipura spa-x000
(at extn 141), it rings straight through to extn 666.
using the same dialplan, from a cisco 7960 with 7.1 sip code
(at extn 142), i have to
go off hook
hit NewCall
punch 142 (or any valid extn in the dialplan) <<<<==== the problem *******
hit Dial
then dial 666
sip.conf for crisco
[fiji]
callerid="crisco" <142>
type=friend
host=dynamic
port=5060
secret=pfui
qualify=1000
dtmfmode=rfc2833
canreinvite=yes
context=in-internal
extensions.conf
[in-internal]
exten => s,1,Answer
exten => 141,1,GoTo(int-extns,s,1) ; spa-x000
exten => 142,1,GoTo(int-extns,s,1) ; 7960
[in-extns]
exten => s,1,Answer
exten => s,2,DigitTimeout,5
exten => s,3,ResponseTimeout,10
exten => s,4,PlayTones(dial)
exten => 141,1,Macro(dial-extension,marais)
exten => 142,1,Macro(dial-extension,fiji)
exten => 666,1,Macro(dial-extension,downthere)
-30-
More information about the asterisk-users
mailing list