Brian Wilkins
2004-Dec-24 06:44 UTC
[Asterisk-Users] Preventing Asterisk from sending 'h' across to SIP Provider
Hi, I want to prevent Asterisk from sending the h extension across to the SIP provider or to prevent it from hitting the script at all. The SIP Provider does not know what to do with the h extensions once it receives it. My SIP Provider takes all digits and forwards them off to a softswitch for processing. Everytime a call hangs up, it complains about running AGI scripts on hungup channels and to use DeadAGI. I want it to not send the hangup to the provider at all. Taking out the Hangup line does not help nor does autofallthrough=no. I have posted my extensions.conf below. Thanks - [general] autofallthrough=yes context=default [default] ;exten => _.,1,Dial(SIP/003214093773@3213084999,70,t) exten => _.,1,AGI(mta_auth.agi,${EXTEN}) exten => _.,2,Hangup -- Brian Wilkins Software Engineer brian@hcc.net Heritage Communications Corporation Melbourne, FL USA 32935 321.308.4000 x33 http://www.hcc.net
Scott Laird
2004-Dec-24 12:39 UTC
[Asterisk-Users] Preventing Asterisk from sending 'h' across to SIP Provider
On Dec 24, 2004, at 5:44 AM, Brian Wilkins wrote:> [default] > ;exten => _.,1,Dial(SIP/003214093773@3213084999,70,t) > exten => _.,1,AGI(mta_auth.agi,${EXTEN}) > exten => _.,2,HangupDon't use _., it matches s, h, i, and all of the other 1-letter extensions. Use _X. instead. Scott
Eric Wieling aka ManxPower
2004-Dec-24 14:09 UTC
[Asterisk-Users] Preventing Asterisk from sending 'h' across to SIP Provider
Brian Wilkins wrote:> Hi, > I want to prevent Asterisk from sending the h extension across to the SIP > provider or to prevent it from hitting the script at all. The SIP Provider > does not know what to do with the h extensions once it receives it. My SIP > Provider takes all digits and forwards them off to a softswitch for > processing. Everytime a call hangs up, it complains about running AGI scripts > on hungup channels and to use DeadAGI. I want it to not send the hangup to > the provider at all. Taking out the Hangup line does not help nor does > autofallthrough=no. I have posted my extensions.conf below. Thanks - > > [general] > autofallthrough=yes > context=default > > [default] > ;exten => _.,1,Dial(SIP/003214093773@3213084999,70,t) > exten => _.,1,AGI(mta_auth.agi,${EXTEN}) > exten => _.,2,HangupDon't use _. pattern. . means "match anything". Use _X. or something like that.
Brian West
2004-Dec-24 21:28 UTC
[Asterisk-Users] Preventing Asterisk from sending 'h' across to SIPProvider
Don't use _. Use _X. bkw> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users- > bounces@lists.digium.com] On Behalf Of Brian Wilkins > Sent: Friday, December 24, 2004 7:45 AM > To: Asterisk-users > Subject: [Asterisk-Users] Preventing Asterisk from sending 'h' across to > SIPProvider > > Hi, > I want to prevent Asterisk from sending the h extension across to the > SIP > provider or to prevent it from hitting the script at all. The SIP Provider > does not know what to do with the h extensions once it receives it. My SIP > Provider takes all digits and forwards them off to a softswitch for > processing. Everytime a call hangs up, it complains about running AGI > scripts > on hungup channels and to use DeadAGI. I want it to not send the hangup to > the provider at all. Taking out the Hangup line does not help nor does > autofallthrough=no. I have posted my extensions.conf below. Thanks - > > [general] > autofallthrough=yes > context=default > > [default] > ;exten => _.,1,Dial(SIP/003214093773@3213084999,70,t) > exten => _.,1,AGI(mta_auth.agi,${EXTEN}) > exten => _.,2,Hangup > > > > -- > Brian Wilkins > Software Engineer > brian@hcc.net > > Heritage Communications Corporation > Melbourne, FL USA 32935 > 321.308.4000 x33 > http://www.hcc.net > > _______________________________________________ > 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