[SR-Users] how to replace sdp c line?
Juha Heinanen
jh at tutpro.com
Thu Oct 17 11:20:08 CEST 2013
Juha Heinanen writes:
> 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.
same result with
replace_body_all("c=IN IP4", "c=IN IP5");
and
replace_body_atonce("c=IN IP4", "c=IN IP5");
what is it that i'm missing? it is hard to believe that all replace
functions are buggy.
-- juha
More information about the sr-users
mailing list