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

Maciej Krajewski (JIRA) noreply at issues.asterisk.org
Thu Mar 27 11:49:18 CDT 2014


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

Maciej Krajewski commented on ASTERISK-23549:
---------------------------------------------

I've noticed that sometimes even with this AGI script the transfer succeeds - 30%. Maybe there is a race condition?

> 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: 11.8.1
>            Reporter: Maciej Krajewski
>         Attachments: asterisk.sh, full.gz
>
>
> 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.



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



More information about the asterisk-bugs mailing list