[asterisk-dev] [Code Review] Disallow MoH upon hold option

Paul Belanger reviewboard at asterisk.org
Mon Feb 18 17:57:52 CST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2336/#review7891
-----------------------------------------------------------


Any reason why this cannot also be a global option?

- Paul


On Feb. 18, 2013, 2:30 p.m., Kevin Harwell wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2336/
> -----------------------------------------------------------
> 
> (Updated Feb. 18, 2013, 2:30 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Summary
> -------
> 
> A remote hold via SIP causes local music on hold.  Added a per peer option "discard_remote_hold_retrieval" (default "no") that if set will not trigger the music on hold event.
> 
> 
> This addresses bug ABE-2899.
>     https://issues.asterisk.org/jira/browse/ABE-2899
> 
> 
> Diffs
> -----
> 
>   /trunk/CHANGES 381643 
>   /trunk/channels/chan_sip.c 381643 
>   /trunk/channels/sip/include/sip.h 381643 
> 
> Diff: https://reviewboard.asterisk.org/r/2336/diff
> 
> 
> Testing
> -------
> 
> Set the discard_remote_hold_retrieval option for phone A, called phone B, and then had phone A place phone B on hold.  No music on hold was played.  Also wrote a test for the teststuite that runs through several scenarios and makes sure that no music on hold event is raised.
> 
> 
> Thanks,
> 
> Kevin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130218/14b13437/attachment.htm>


More information about the asterisk-dev mailing list