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

Private Name (JIRA) noreply at issues.asterisk.org
Wed Aug 31 08:19:01 CDT 2016


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

Private Name commented on ASTERISK-26318:
-----------------------------------------

This statement is false
"Bridge will always Answer a call. If two parties are talking with each other, a 200 OK has to be sent. Any other situation would result in only one direction of media, which means you aren't really bridged."
The 183 has SDP and if early media is allowed in pjsip.conf, both parties are exchanging media, are fully bridged, long before a 200 Ok is sent.
Bridge has no business sending a 200 OK. The 200 Ok initiates billing, which is not a technical decision, is a business one.


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