[asterisk-dev] [Code Review] 3531: app_chanspy: Fix broken barge test and address an unfree'd frame I noticed.

Jonathan Rose reviewboard at asterisk.org
Tue May 13 09:57:06 CDT 2014


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

(Updated May 13, 2014, 9:57 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers, Joshua Colp, kmoore, and Matt Jordan.


Repository: Asterisk


Description
-------

In https://reviewboard.asterisk.org/r/3505/ a behavior change in the barge code made frames not write to the spyee channel when barging while the spyee was not bridged.  This caused the test failure.  While I was at it I noticed an unfree'd frame, so I went ahead and fixed that.

Also, instead of locking both audiohooks and consuming them both before unlocking them both, this patch changes it so that these will happen one at a time.


Diffs
-----

  /branches/11/apps/app_chanspy.c 413706 

Diff: https://reviewboard.asterisk.org/r/3531/diff/


Testing
-------

Ran testsuite test apps/chanspy/chanspy_barge before and after.  With patch it passes, without patch it doesn't.


Thanks,

Jonathan Rose

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140513/5a4e7ccc/attachment.html>


More information about the asterisk-dev mailing list