[OpenSER-Users] Is possible to convert 183 in 180 in "on_reply_route"?
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Mar 4 12:27:43 CET 2008
Hi Iñaki,
no, you cannot do this conversion :(...
Regards,
Bogdan
Iñaki Baz Castillo wrote:
> Hi, in order to avoid replying with early_media I'm trying to transform
> a "183" with SDP into a "180".
>
> Ok, my conclusion is that I cannot do it.
>
> Textops functions seem to work just with SIP headers and body but never can
> modify the SIP reply code, is true?
>
> Also, I would need to delete the entire body in the 180|183 reply but
> functions supposed to do it don't work as expected. For example:
>
> * subst_body('/^.*//g')
> does NOTHING, the only way it can do somehting is by:
> subst_body('/^.*=.*//g')
> any reason for this?
>
> Thanks for any suggestion.
>
>
More information about the Users
mailing list