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

Kevin Harwell reviewboard at asterisk.org
Tue Feb 19 15:13:18 CST 2013



> On Feb. 18, 2013, 5:57 p.m., Paul Belanger wrote:
> > Any reason why this cannot also be a global option?

I can make it global.


- Kevin


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


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/20130219/60f2d688/attachment-0001.htm>


More information about the asterisk-dev mailing list