[OpenSER-Users] Is possible to convert 183 in 180 in "on_reply_route"?

Iñaki Baz Castillo ibc at in.ilimit.es
Tue Mar 4 12:16:00 CET 2008


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.

-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the Users mailing list