[asterisk-bugs] [JIRA] (ASTERISK-25887) ARI: POST "/channels/{channelId}/continue" inside Gosub - starts at priority n-1, repeats Stasis call before "continuing"
Rusty Newton (JIRA)
noreply at issues.asterisk.org
Fri Apr 22 15:17:56 CDT 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rusty Newton updated ASTERISK-25887:
------------------------------------
Status: Open (was: Triage)
> ARI: POST "/channels/{channelId}/continue" inside Gosub - starts at priority n-1, repeats Stasis call before "continuing"
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: ASTERISK-25887
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25887
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Resources/res_ari_channels
> Affects Versions: 13.7.2, 13.8.2
> Environment: Ubuntu server 14.04, Asterisk 13.7.2
> Reporter: Julian Etayo
> Assignee: Rusty Newton
>
> When I make a continueInDialplan with priority n+1 on a Stasis cmd in a Gosub via Dial cmd ie:
> {noformat}
> [out]
> exten => _X.,1,Dial(SIP/${EXTEN},,U(answer,s,1))
> [answer]
> exten => s,1,Stasis(out)
> exten => s,n,NoOp(${response})
> exten => s,n,Return
> {noformat}
> The Dialplan execute the priority set in continueInDialplan - 1, and it repeat the line where was called the stasis cmd, and in the second call to continuelndialplan execute the priority n+1
> This is the method used:
> https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Channels+REST+API#Asterisk13ChannelsRESTAPI-continueInDialplan
> This show the console:
> {noformat}
> -- Executing [201 at out:1] Dial("SIP/1409-0000008c", "SIP/201,,U(answer,s,1)") in new stack
> -- Called SIP/201
> -- SIP/201-0000008d is ringing
> -- SIP/201-0000008d answered SIP/1409-0000008c
> -- SIP/201-0000008d Internal Gosub(answer,s,1(s,1)) start
> -- Executing [s at answer:1] Stasis("SIP/201-0000008d", "out") in new stack
> -- Executing [s at answer:1] Stasis("SIP/201-0000008d", "out") in new stack
> -- Executing [s at answer:2] NoOp("SIP/201-0000008d", "ok") in new stack
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list