[asterisk-bugs] [JIRA] (ASTERISK-22940) AGI - 'h' Extension Runs When FAX Is Detected, Not At Hangup

Rusty Newton (JIRA) noreply at issues.asterisk.org
Fri Jan 3 18:35:04 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rusty Newton updated ASTERISK-22940:
------------------------------------

    Assignee: David Cunningham  (was: Rusty Newton)
      Status: Waiting for Feedback  (was: Triage)

David, I'm curious if you were able to get the additional debug. We'll need that to move forward. If it will be a long while, we can close out the issue and re-open when you are able to work on it.
                
> AGI - 'h' Extension Runs When FAX Is Detected, Not At Hangup
> ------------------------------------------------------------
>
>                 Key: ASTERISK-22940
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22940
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_agi
>    Affects Versions: 1.8.8.2
>         Environment: CentOS release 6.5 64 bit
>            Reporter: David Cunningham
>            Assignee: David Cunningham
>         Attachments: h-after-fax.txt.gz
>
>
> 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