[SR-Users] how to replace sdp c line?
Daniel-Constantin Mierla
miconda at gmail.com
Thu Oct 17 11:30:22 CEST 2013
Hello,
are you using any of the rtpproxy functions as well?
Cheers,
Daniel
On 10/17/13 11:20 AM, Juha Heinanen wrote:
> 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
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28; Miami, Nov 18-20, 2013
- more details about Kamailio trainings at http://www.asipto.com -
More information about the sr-users
mailing list