On 06/04/2010 02:07 PM, Philipp von Klitzing wrote: > Hi Kevn! > >> When the 'h' extension is running, the call legs have already been torn >> down. There is no way to delay this happening, and you can't do anything >> in the 'h' extension that needs to read audio from the channel (since no >> audio will appear, the first time it tries to read audio it will abort). > > Allright - and Wait(x) also does not work in this case - could you > explain that background to this as well? In general it'd be helpful to > have a basic guide of what works and what doesn't in the h extension. > > I'll add that info also to the Wiki (unless you disagree, of course).
It doesn't even make any sense to call Background(), since there's no caller to play prompts to, nor is there a caller who could enter digits to select an extension to jump to. 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. -- 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
