Dear Ole
I am not finding any example how to do it (changing a fqdn with ipaddress in sdp).
Using sdp_get i can get the sdp.
But how i can use transformation function pls let me know.
Check the transformations cookbok!
The sdpops link does not give much info how to modify any line.
You asked for changing the IP and you do that easiest with the function created to do just that in mangler.
In SDPops you get the attachment, the SDP, into the AVP. Then change it using string operations and transformations and add it back to the message - request or response.
It's pretty normal scripting. Use the transformation to get the number of lines in the avp, use a while loop and pick out each line, do the changes if needed. When you are done, use the set_body() function in the textops module to add the new SDP to the message. In the textops you also have a function named replace_body_stonce() that can do the trick for you. In short, there are many ways to do it, but you will have to read documentation :-)
/O
----
Get updated! Attend the SIP Update class in Stockholm, March 2013!