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.
El Tuesday 04 March 2008 12:16:00 Iñaki Baz Castillo escribió:
- subst_body('/^.*//g')
does NOTHING, the only way it can do somehting is by:
subst_body('/^.*=.*//g') any reason for this?
Also, this second approach leave empty (so invalid) lines in the body :(
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.
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.
I came to the same conclusion as well. We had one carrier that demanded a 180 - So we told them to get bent and moved on :)
another carrier complained that we had more than one Via header - i hate carriers.....
Jeremy
El Martes, 4 de Marzo de 2008, Jeremy McNamara escribió:
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.
I came to the same conclusion as well. We had one carrier that demanded a 180 - So we told them to get bent and moved on :)
Anyway it's possible to send earlymedia in a 180 XD
another carrier complained that we had more than one Via header - i hate carriers.....
Oh, and there are carriers that say that the "To" URI must be the same as the "RURI" XDDD