[asterisk-dev] [Code Review] Pimp SIP Media generification
Joshua Colp
reviewboard at asterisk.org
Thu Mar 14 09:40:24 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2380/#review8041
-----------------------------------------------------------
Ship it!
One minor comment.
team/group/pimp_my_sip/res/res_sip_session.c
<https://reviewboard.asterisk.org/r/2380/#comment15438>
Instead of mallocing you could just return the pj_str_t value and deal with that. It will be valid for the duration. It also means you can get rid of media_has_mid and use media_get_mid.
- Joshua
On March 11, 2013, 4:47 p.m., opticron wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2380/
> -----------------------------------------------------------
>
> (Updated March 11, 2013, 4:47 p.m.)
>
>
> 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/20130314/de4353e0/attachment.htm>
More information about the asterisk-dev
mailing list