[asterisk-bugs] [JIRA] (ASTERISK-27579) app_bridgewait: ring tone generation not stopped with entertainment disabled

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Jan 12 10:52:39 CST 2018


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

Richard Mudgett commented on ASTERISK-27579:
--------------------------------------------

FYI: You could have done the below dialplan instead since BridgeWait has a ringing entertainment which does the exact same thing as the Ringing application.  The advantages of this mode is that dialplan is simpler and BridgeWait is in charge of the entertainment while the channel is in the holding bridge.  Specifying no entertainment means BridgeWait is not going to do anything about entertainment.  BridgeWait also will answer the call if it is not already answered so using the Answer application isn't needed either.

{noformat}
[incoming_call]
exten = 302,1,NoOp()
same  = n,Set(DB(junk/mychan)=${CHANNEL})
same  = n,BridgeWait(,,e(r))

exten = 303,1,Bridge(${DB(junk/mychan)})
{noformat}

This really is a duplicate of ASTERISK-25079.

> app_bridgewait: ring tone generation not stopped with entertainment disabled
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-27579
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27579
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_bridgewait
>    Affects Versions: 14.7.4
>            Reporter: Jean Aunis - Prescom
>            Assignee: Unassigned
>         Attachments: full.txt
>
>
> Ringtone generation is not stopped on a channel when it enters the BridgeWait application with no entertainment, even after it has been bridged to another channel.
> Consider the following dialplan :
> {noformat}
> [incoming_call]
> exten = 302,1,Answer()
> same  = n,Ringing()
> same  = n,Set(DB(junk/mychan)=${CHANNEL})
> same  = n,BridgeWait(,,e(n))
> exten = 303,1,Bridge(${DB(junk/mychan)})
> {noformat}
> PHONE1 calls extension 302. PHONE2 calls extension 303, and thus is bridged to PHONE1.
> Asterisk keeps generating the ring tone to PHONE1. As a result, PHONE1 cannot hear anything because it receives RTP packets from both Asterisk and PHONE2.
> The issue does not happen when BridgeWait is asked to provide entertainment, for example by calling BridgeWait(,,e(s)).



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



More information about the asterisk-bugs mailing list