[sr-dev] sdpops: new function sdp_get_ip_c

Konstantin M. evilzluk at gmail.com
Fri Sep 7 16:37:23 CEST 2012


Hi Vicente,

It's my personal but I think would be good to also have another one
function to extract a port of media stream.
Because of no 'sdp_get_ip_c' and no something like 'sdp_get_port_c' - I
have to parse sdb body by python script just to fetch IP/PORT of media
stream...


2012/9/7 Vicente Hernando <vhernando at systemonenoc.com>

> Hello,
>
> attached patch shows a new function in sdpops module: sdp_get_ip_c
>
> It receives as parameter an avp variable, and stores there every
> connection IP for each stream. If a stream has not c IP, then it returns
> session default one.
>
>
> Any opinion or criticism?
>
>
> Kind regards,
> Vicente.
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20120907/4ae16084/attachment.htm>


More information about the sr-dev mailing list