[Home]

Summary:ASTERISK-14819: Dial() with H drops inbound call
Reporter:Alistair Cunningham (acunningham)Labels:
Date Opened:2009-09-11 09:30:07Date Closed:2011-06-07 14:08:10
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_dial
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) hangup1.txt
Description:One one particular system, we have a Perl AGI with this:

$agi->exec( 'Dial', "Local/$destination@enswitch-call/n,60,oH" );
$agi->verbose( 'Got here', 9 );

If the caller presses * to drop the outbound call, the inbound call to the AGI is dropped too, and the 'Got here' is never printed.

This has been tested with 1.4.21.1, 1.4.26.2, and 1.6.1.6. The 1.4 tests used "|" rather than "," as field separator in the dial string.

There are two Asterisk machines in this cluster and both are affected. Numerous other systems running the same code are not affected.

Any ideas on how to debug this?
Comments:By: Alistair Cunningham (acunningham) 2009-09-11 09:33:30

Attached is hangup1.txt, which is a fragment from /var/log/asterisk/full on 1.6.1.6. The IP address and called number have been changed. More details available on request.



By: Leif Madsen (lmadsen) 2009-09-16 10:02:44

I'm not 100% sure this should really even continue on in the AGI and *not* drop the callers. I don't see anywhere in the application text that this says it will continue on anywhere once the star key is pressed and the channel is hung up.

By: Leif Madsen (lmadsen) 2009-09-16 10:22:50

After speaking with jsmith on IRC, this is expected behaviour for that option. Unfortunately I don't think the 'g' option will help you either because it is the other channels dialplan execution that will happen.

From what we can tell, this is functionality that does not exist in Asterisk currently.