[asterisk-bugs] [JIRA] (ASTERISK-23549) Blind Transfer faliure when using AGI

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Apr 8 16:10:27 CDT 2014


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

Rusty Newton updated ASTERISK-23549:
------------------------------------

    Attachment: full_working.txt
                full_failing.txt

Because I had it easily available, I tried to reproduce, using your instructions, but with chan_sip in the latest SVN of 12. I was in fact able to reproduce it there as well. I'm not sure what is going on here.

Attaching logs of reproduction in 12. full_working.txt and full_failing.txt for an example of instance where the described transfer works fine, and an instance where it "fails" by a hang up right after the transfer completes.

> Blind Transfer faliure when using AGI
> -------------------------------------
>
>                 Key: ASTERISK-23549
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23549
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: SVN, 11.8.1, 12.1.1
>            Reporter: Maciej Krajewski
>         Attachments: asterisk.sh, full_failing.txt, full.gz, full_working.txt
>
>
> Blind Transfers fails when it is  done by B side and you are using AGI in dialplan.
> I've made some additional tests, the problem occurs only if AGI hangups the connection (EXEC HANGUP) at the end.
> The problem did not occur in Asterisk 1.8.19.1 (I haven't checked in later versions).
> I've attached the logs and made a simple AGI in bash to recreate this situation.
> The dialplan should look like this:
> {noformat}
> exten => h,1,NoOP("po AGI ===================="${EXTEN}" "${ORGDEST}");
> exten => h,2,Hangup
> exten => t,1,Hangup(18)
> exten => T,1,Hangup(18)
> exten => 12,1,Dial(SIP/test002,45,Tt)
> exten => 12,n,Hangup()
> exten => 13,1,Dial(SIP/test003,45,Tt)
> exten => 13,n,Hangup()
> exten => 14,1,Dial(SIP/test004,45,Tt)
> exten => 14,2,Hangup()
> exten => 1,1,AGI(/root/asterisk.sh)
> same => n,Hangup()
> {noformat}
> The problem does not occur if transfer is made by side A.
> The problem does not occur if AGI does not send HANGUP at the end.
> Call Scenario in log:
> test003 dials 1 (calls to test004), test004 BT to test002 (dials 12). All calls are disconnected.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list