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)
hit Dial
then dial 666
wtf?
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-internal]
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)
randy
On the Cisco if you pick up the handset or push speaker, you can then dial
immediately without choosing New Call. In order to have it dial immediately
(without using Dial), then you need to implement the dialplan.xml file on
your tftp server. This does pattern matching to cause the phone to dial as
soon as a pattern is matched (or after a defined timeout). Have you also got
the SIP<macaddress>.cnf file on your tftp server?
Simon Brown
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Randy Bush
Sent: Friday, 18 June 2004 10:43
To: splatters
Subject: [Asterisk-Users] 7960 straight through?
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)
hit Dial
then dial 666
wtf?
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-internal]
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)
randy
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
On Jun 17, 2004, at 5:42 PM, Randy Bush wrote:> 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) > hit Dial > then dial 666 > > wtf?Err, it works for me, with a 7940 and 6.3. I've never bothered with 'NewCall' or 'Dial'; you can get around them if you can set up a decent dialplan.xml. I just treat it like a regular phone.> 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-internal]I assume that you meant [int_extns] here? Without this, the bit above doesn't make sense.> 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)My extensions.conf is at http://scottstuff.net/scott/archives/000207.html; I'm not going to claim that it's spectacularly correct, but it's been working for months with a 7940, an analog phone via a TDM400, and one or two softphones. I'd guess that you're either seeing a problem with 7.1, or that something's weird with the int_extns context or dial-extension macro in your dial plan. As things stand, I'm not really sure why there's an 's' extension in the second [in-internal] context. Scott
If I understand you correctly, you are trying to figure out why you must
dial ext 142 prior to dialing exten 666 in order to get the 7960 to
connect you with 666 - please forgive me if I misunderstood...
Anyway, it appears as though the two contexts you have listed below have
the exact same name "in-internal", which the 7960 is set to use. The
first occurrence of that context doesn't have ext 666 defined in it,
only exts 141 and 142. If the sipura is set to start in a different
context, that could explain the discrepancy.
Marty
-----Original Message-----
From: asterisk-users-admin@lists.digium.com
[mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Randy Bush
Sent: Thursday, June 17, 2004 6:43 PM
To: splatters
Subject: [Asterisk-Users] 7960 straight through?
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)
hit Dial
then dial 666
wtf?
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-internal]
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)
randy
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users