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

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Aug 26 11:34:56 CDT 2016


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

Richard Mudgett updated ASTERISK-26318:
---------------------------------------

    Description: 
{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. 

  was:
[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()

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. 


> 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
>
> {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