[SR-Users] SDP media IP variable

Daniel-Constantin Mierla miconda at gmail.com
Tue Dec 2 09:07:14 CET 2014


Hello,

On 02/12/14 07:40, Kelvin Chua wrote:
> Hi,
>
> Is there a way to get the SDP media IP from an INVITE or 183 or 200?
> and store it in a variable?

you can combine some functions or transformations, such as:
-
http://kamailio.org/docs/modules/4.2.x/modules/sdpops.html#sdpops.f.sdp_get_line_startswith
- {line.sw}
- {s.select}

Plans for a pv to give sdp attributes exist for long time (even marked
in sdpops module), but at least I didn't get to it yet.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list