[asterisk-bugs] [JIRA] (ASTERISK-23549) Blind Transfer faliure when using AGI
Maciej Krajewski (JIRA)
noreply at issues.asterisk.org
Thu Mar 27 14:37:18 CDT 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maciej Krajewski updated ASTERISK-23549:
----------------------------------------
Description:
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. All calls are disconnected.
was:
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.
> 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.
> Call Scenario in log:
> test003 dials 1 (calls to test004), test004 BT to test002. All calls are disconnected.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list