On Tue, Feb 18, 2014 at 2:13 PM, Steve Edwards <asterisk....@sedwards.com> wrote: > On Mon, 17 Feb 2014, Mike Diehl wrote: > >> Is there something I need to do in order to get the h extension to get >> called? > > > Would the 'g' dial() option help? > > "Proceed with dialplan execution at the current extension if the destination > channel hangs up." > > It won't take you to h, but it may allow you to do what you need to do -- > even if the next dialplan priority just says 'goto h.' >
I'm actually a bit confused about what channel(s) are executing the 'h' extension. From the description in OP's e-mail, it sounds as if at least one channel is dropping into the 'h' extension, and some channels are not. Which channels are they? If it is the outbound channel, then since that channel doesn't execute dialplan, it will never get put into the 'h' extension, unless you use the Dial application's 'e' option. If you want hangup logic and you're using Asterisk 11+, you could also use a hangup handler on the outbound channel. But otherwise, I would expect that the 'h' extension would always be fired for a channel executing dialplan, so long as it is in the same context. -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com & http://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