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

Kevin Harwell reviewboard at asterisk.org
Fri Mar 1 15:54:12 CST 2013


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

(Updated March 1, 2013, 3:54 p.m.)


Review request for Asterisk Developers.


Changes
-------

Updated CHANGES description to accurately state what the option is doing.


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 (updated)
-----

  /trunk/channels/sip/include/sip.h 382297 
  /trunk/CHANGES 382297 
  /trunk/channels/chan_sip.c 382297 

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/20130301/060a97b9/attachment.htm>


More information about the asterisk-dev mailing list