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

Kevin Harwell reviewboard at asterisk.org
Mon Feb 18 14:30:32 CST 2013


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

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/4a5a2215/attachment.htm>


More information about the asterisk-dev mailing list