[asterisk-dev] [Code Review] 3906: chan_pjsip: Update media translation paths when new SDP negotiated.

rmudgett reviewboard at asterisk.org
Wed Aug 20 17:49:37 CDT 2014


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

(Updated Aug. 20, 2014, 5:49 p.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 421645


Bugs: AFS-137
    https://issues.asterisk.org/jira/browse/AFS-137


Repository: Asterisk


Description
-------

On a SIP reinvite that changes media strams, the PJSIP channel driver was flooding the log with "Asked to transmit frame type %s, while native formats is %s" warnings.

* Fixes PJSIP not setting up translation paths when the formats change on a reinvite.

* Improved the unexpected frame format WARNING message to include more information.

* Added protective locking while altering formats on a channel.  Reworked set_format() to simplify and protect the formats under manipulation.

* Restored some code that got lost in the media_formats work.


Diffs
-----

  /branches/13/res/res_pjsip_sdp_rtp.c 420978 
  /branches/13/main/file.c 420978 
  /branches/13/main/channel.c 420978 
  /branches/13/main/bridge_channel.c 420978 
  /branches/13/main/bridge.c 420978 
  /branches/13/channels/chan_pjsip.c 420978 

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


Testing
-------

Performed blind SIP transfers (REFER) and the call still passes media.


Thanks,

rmudgett

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140820/4d01ffc9/attachment.html>


More information about the asterisk-dev mailing list