[asterisk-bugs] [JIRA] (ASTERISK-26318) Dial with M(macro-name) needs an optional media bridge but don't answer

Rusty Newton (JIRA) noreply at issues.asterisk.org
Tue Aug 30 19:20:01 CDT 2016


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

Rusty Newton updated ASTERISK-26318:
------------------------------------

    Assignee: Private Name
      Status: Waiting for Feedback  (was: Triage)

Just as a note, you should really be using GoSubs wherever possible now. Macros are still there for legacy support, but GoSub is preferred.

Can you attach a full log and a full log with debug showing the undesired behavior?

> Dial with M(macro-name) needs an optional media bridge but don't answer
> -----------------------------------------------------------------------
>
>                 Key: ASTERISK-26318
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26318
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Applications/app_dial
>    Affects Versions: 13.10.0
>         Environment: Linux
>            Reporter: Private Name
>            Assignee: Private Name
>
> {noformat}
> [inbound]
> exten => _X.,1,Dial(PJSIP/outbound/sip:${EXTEN}@XX.XX.XX.XX,,M(nobill^${CHANNEL(name)}))
> [macro-nobill]
> exten=> s,1,Wait(30)
> same=n,MacroExit()
> {noformat}
> Inside the macro nobill, we should set a variable that would indicate if media bridging is OK. I need to let the parties talk and wait a certain amount of seconds before I relay back the 200 OK to the caller. This is not possible now. I tried using {{Bridge($\{ARG1\})}} inside the macro above, but the call does get bridged and answered at the same time. Bridge should not answer the call, nobody asked to do so. 



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



More information about the asterisk-bugs mailing list