Christian Pinedo Zamalloa
2011-Aug-05 14:43 UTC
[asterisk-users] error: Autodestruct on dialog
Hi all, I need to wait several seconds in "h" extension. Since Wait application doesn't work in "h" extension I must use System in the following way: exten => h,1,.... same => n,... same => n,System(/bin/sleep 25) same => n,... But when I use this System command in "h" extension I get the following warning: [Aug 5 14:19:50] WARNING[23637] chan_sip.c: Autodestruct on dialog '7249D00-BE9611E0-A8B6C958-F31290CD at 10.180.4.1' with owner in place (Method: BYE) If i run in the CLI "sip show channels" there are a lot of SIP dialogs that haven't finished yet and that are hold by Asterisk: asterisk*CLI> sip show channels 10.180.4.1 652 5648af9721df9cc 0x0 (nothing) No Rx: BYE cme01 10.180.4.1 650 E546BE0-BEA411E 0x0 (nothing) No Rx: BYE cme01 10.180.4.1 699095244 BAC5BF87-BC2811 0x0 (nothing) No Rx: BYE cme01 636 active SIP dialogs But they aren't active channels: asterisk*CLI> core show channels Channel Location State Application(Data) 0 active channels 0 active calls 1013 calls processed Could this be a bug or am I doing something bad??? Thanks, -- Christian Pinedo Zamalloa (zako) PGP keyID: 0x828D0C80 Fingerprint: 7BFF 4105 F46B 7977 BD96? 348C 1007 4FF8 828D 0C80
On 08/05/2011 09:43 AM, Christian Pinedo Zamalloa wrote:> Hi all, > > I need to wait several seconds in "h" extension. Since Wait > application doesn't work in "h" extension I must use System in the > following way: > > exten => h,1,.... > same => n,... > same => n,System(/bin/sleep 25) > same => n,... > > But when I use this System command in "h" extension I get the following warning: > > [Aug 5 14:19:50] WARNING[23637] chan_sip.c: Autodestruct on dialog > '7249D00-BE9611E0-A8B6C958-F31290CD at 10.180.4.1' with owner in place > (Method: BYE)You are stopping the Asterisk SIP channel driver from doing its job; it expects the channel to be dead much sooner than 25 seconds after receiving (or sending) a BYE. Why do you need to keep the channel alive for so long after it has been hungup? -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com & www.asterisk.org
$ds4r?dessssseiiiiiiiiiiiiiiijp Sent from my Sony Ericsson Xperia neo "Kevin P. Fleming" <kpfleming at digium.com> wrote:>On 08/05/2011 09:43 AM, Christian Pinedo Zamalloa wrote: >> Hi all, >> >> I need to wait several seconds in "h" extension. Since Wait >> application doesn't work in "h" extension I must use System in the >> following way: >> >> exten => h,1,.... >> same => n,... >> same => n,System(/bin/sleep 25) >> same => n,... >> >> But when I use this System command in "h" extension I get the following warning: >> >> [Aug 5 14:19:50] WARNING[23637] chan_sip.c: Autodestruct on dialog >> '7249D00-BE9611E0-A8B6C958-F31290CD at 10.180.4.1' with owner in place >> (Method: BYE) > >You are stopping the Asterisk SIP channel driver from doing its job; it >expects the channel to be dead much sooner than 25 seconds after >receiving (or sending) a BYE. Why do you need to keep the channel alive >for so long after it has been hungup? > >-- >Kevin P. Fleming >Digium, Inc. | Director of Software Technologies >Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming >445 Jan Davis Drive NW - Huntsville, AL 35806 - USA >Check us out at www.digium.com & www.asterisk.org > >-- >_____________________________________________________________________ >-- Bandwidth and Colocation Provided by http://www.api-digital.com -- >New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > >asterisk-users mailing list >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users