[SR-Users] how to replace sdp c line?

Juha Heinanen jh at tutpro.com
Thu Oct 17 10:53:06 CEST 2013


Peter Dunkley writes:

> I think I used replace_body_re() from textops.

peter,

replace_body_re() does not exist, but replace_body(re,txt) does.

i made a test call:

replace_body("c=IN IP4", "c=IN IP5");

and result was that original c=IN IP4 ... line is still in outgoing
request, but a new line

c=IN IP5

is added as the last line to the sdp.

very weird.  perhaps a bug in the function?

-- juha



More information about the sr-users mailing list