Mike Diehl
2014-Feb-17 20:49 UTC
[asterisk-users] h extension isn't processed after call file finishes.
Hi all, I'm trying to build a fax relay mechanism where faxes come in and get relayed out to their final destination. I'm using the h extension to store various results from both legs. This data is being saved correctly for the first (receiving) leg. The second leg isn't calling the h extension when it's finished. The second leg is being initiated by a .call file like: Channel: local/1505xxxxxxx at context Application: sendfax Data: /tmp/voice11-voice11-1392668806.182025.tiff,zfds WaitTime: 90 MaxRetries: 2 Account: vFax CallerID: "Fax" <505xxxxxxx> The h extension calls an agi scrip that logs a bunch of information about the fax attempt. Works just fine when I receive a fax. But there is no sign of it in the logs for the sending leg of the fax. Is there something I need to do in order to get the h extension to get called? Mike. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140217/68df56cc/attachment.html>
Ishfaq Malik
2014-Feb-18 09:09 UTC
[asterisk-users] h extension isn't processed after call file finishes.
What version of asterisk are you using? Ish On 17 February 2014 20:49, Mike Diehl <mdiehlenator at gmail.com> wrote:> Hi all, > > I'm trying to build a fax relay mechanism where faxes come in and get > relayed out to their final destination. I'm using the h extension to store > various results from both legs. This data is being saved correctly for the > first (receiving) leg. The second leg isn't calling the h extension when > it's finished. The second leg is being initiated by a .call file like: > > Channel: local/1505xxxxxxx at context > Application: sendfax > Data: /tmp/voice11-voice11-1392668806.182025.tiff,zfds > WaitTime: 90 > MaxRetries: 2 > Account: vFax > CallerID: "Fax" <505xxxxxxx> > > The h extension calls an agi scrip that logs a bunch of information about > the fax attempt. Works just fine when I receive a fax. But there is no > sign of it in the logs for the sending leg of the fax. > > Is there something I need to do in order to get the h extension to get > called? > > Mike. > > -- > _____________________________________________________________________ > -- 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 >-- Ishfaq Malik Department: VOIP Support Company: Packnet Limited t: +44 (0)845 004 4994 f: +44 (0)161 660 9825 e: ish at pack-net.co.uk w: http://www.pack-net.co.uk Registered Address: PACKNET LIMITED, Duplex 2, Ducie House 37 Ducie Street Manchester, M1 2JW COMPANY REG NO. 04920552 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140218/6f980ca9/attachment.html>
Steve Edwards
2014-Feb-18 20:13 UTC
[asterisk-users] h extension isn't processed after call file finishes.
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.' -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000