Summary: | ASTERISK-29485: core: Inband generation of tones for Busy() and Congestion() may not occur | ||
Reporter: | Joshua C. Colp (jcolp) | Labels: | |
Date Opened: | 2021-06-21 06:40:41 | Date Closed: | 2021-06-22 08:44:05 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/PBX |
Versions: | 16.18.0 18.4.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When using the Busy() and Congestion() applications the
function ast_safe_sleep is used by wait_for_hangup to safely wait on the channel. This function may send silence if Asterisk is configured to do so using the transmit_silence option. In a scenario where an answered channel dials a Local channel either directly or through call forwarding and the Busy() or Congestion() dialplan applications were executed with the transmit_silence option enabled the busy or congestion tone would not be heard. This is because inband generation of tones (such as busy and congestion) is stopped when other audio is sent to the channel they are being played to. In the given scenario the transmit_silence option would result in silence being sent to the channel, thus stopping the inband generation. | ||
Comments: | By: Friendly Automation (friendly-automation) 2021-06-22 08:44:06.626-0500 Change 16114 merged by Friendly Automation: core: Don't play silence for Busy() and Congestion() applications. [https://gerrit.asterisk.org/c/asterisk/+/16114|https://gerrit.asterisk.org/c/asterisk/+/16114] By: Friendly Automation (friendly-automation) 2021-06-22 08:48:08.342-0500 Change 16113 merged by Friendly Automation: core: Don't play silence for Busy() and Congestion() applications. [https://gerrit.asterisk.org/c/asterisk/+/16113|https://gerrit.asterisk.org/c/asterisk/+/16113] By: Friendly Automation (friendly-automation) 2021-06-22 08:49:46.813-0500 Change 16112 merged by Friendly Automation: core: Don't play silence for Busy() and Congestion() applications. [https://gerrit.asterisk.org/c/asterisk/+/16112|https://gerrit.asterisk.org/c/asterisk/+/16112] By: Friendly Automation (friendly-automation) 2021-06-22 09:47:04.692-0500 Change 16074 merged by George Joseph: core: Don't play silence for Busy() and Congestion() applications. [https://gerrit.asterisk.org/c/asterisk/+/16074|https://gerrit.asterisk.org/c/asterisk/+/16074] |