[asterisk-bugs] [JIRA] (ASTERISK-22940) 'h' extension is run before call truly hangs up

David Cunningham (JIRA) noreply at issues.asterisk.org
Wed Dec 4 23:29:03 CST 2013


David Cunningham created ASTERISK-22940:
-------------------------------------------

             Summary: 'h' extension is run before call truly hangs up
                 Key: ASTERISK-22940
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22940
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Applications/General
    Affects Versions: 1.8.8.2
         Environment: CentOS release 6.5 64 bit
            Reporter: David Cunningham


When a fax is detected (faxdetect=yes in sip.conf) the 'h' extension is run immediately, just before the 'fax' extension is run. The 'h' extension is then NOT run after the 'fax' extension finishes. So it's being called at the wrong time.

Please see attached trace and follow the call with channel "SIP/pn1-00000193". You'll see the fax being detected here:

[2013-12-04 10:16:09] DEBUG[13541] chan_sip.c: Fax CNG detected on SIP/pn1-00000193

then the 'h' extension:

[2013-12-04 10:16:09] VERBOSE[13541] res_agi.c: <SIP/pn1-00000193>AGI Tx >> agi_extension: h

then the 'fax' extension:

[2013-12-04 10:16:11] VERBOSE[13541] res_agi.c: <SIP/pn1-00000193>AGI Tx >> agi_extension: fax

then the call finishes, but the 'h' extension is not then run:

[2013-12-04 10:16:59] DEBUG[13541] channel.c: Hanging up channel 'SIP/pn1-00000193'

Here's the extensions.conf entry:

[from-external]
exten => _., 1, AGI(agi://127.0.0.1/product?stype=external)
exten => h, 1, AGI(agi://127.0.0.1/end)
exten => t, 1, Hangup


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list