[asterisk-bugs] [JIRA] (ASTERISK-25887) continueInDialplan fail on Gosub, go to priority n-1

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Mar 31 17:09:56 CDT 2016


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

Asterisk Team commented on ASTERISK-25887:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> continueInDialplan fail on Gosub, go to priority n-1
> ----------------------------------------------------
>
>                 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
>         Environment: Ubuntu server 14.04, Asterisk 13.7.2
>            Reporter: Julian Etayo
>
> When I make a continueInDialplan with priority n+1 on a Stasis cmd in a Gosub via Dial cmd ie:
> [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
> 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:
>     -- 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



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



More information about the asterisk-bugs mailing list