[asterisk-dev] [Code Review] Pimp SIP Media generification

opticron reviewboard at asterisk.org
Mon Mar 11 09:57:15 CDT 2013


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

Review request for Asterisk Developers, Mark Michelson and Joshua Colp.


Summary
-------

Abstract media type restrictions out of res_sip_session and move them to chan_gulp where they're actually needed.  Due to the change, the sdp handler callback structure has been modified to accept a ast_sip_session_media struct and had a destroy function added and ast_sip_session_media_position has been removed from res_sip_session.h

This will need updates when Pimp SIP NAT goes in.


This addresses bug ASTERISK-21184.
    https://issues.asterisk.org/jira/browse/ASTERISK-21184


Diffs
-----

  team/group/pimp_my_sip/channels/chan_gulp.c 382643 
  team/group/pimp_my_sip/include/asterisk/res_sip_session.h 382643 
  team/group/pimp_my_sip/res/res_sip_sdp_audio.c 382643 
  team/group/pimp_my_sip/res/res_sip_session.c 382643 

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


Testing
-------

Tested with call scenarios from SDP_offer_answer integration test using a quickly hacked together video sdp handler which may or may not work properly but responds like it should (cp res/res_sip_sdp_audio.c res/res_sip_sdp_video.c;sed -i 's/AUDIO/VIDEO/;s/audio/video/' res/res_sip_sdp_video.c)


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130311/f060bbc2/attachment.htm>


More information about the asterisk-dev mailing list