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

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Jan 21 09:17:07 CST 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-22940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=214256#comment-214256 ] 

Rusty Newton commented on ASTERISK-22940:
-----------------------------------------

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines


                
> 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: Rusty Newton
>         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