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@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: kflem...@digium.com | SIP: kpflem...@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

Reply via email to