On 06/04/2010 02:48 PM, Philipp von Klitzing wrote: >> Essentially, the only things that make sense to use in the 'h' >> extension are those that don't have anything to do with the external >> channel that was involved before the hangup. No audio, no DTMF, etc. > > So why does Wait() not work then - is there a fixed timeout set after > which h must have been completed?
Wait() could be modified to work on a dead channel, but as it stands right now the code assumes the channel is alive, and to ensure that things work properly, it has to read incoming media from the channel so it can be discarded... and if at any time waiting for or reading media from the channel fails, it exits, because there's no point in continuing to wait since the call is gone. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA skype: kpfleming | jabber: [email protected] 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
