2011/7/12 Iñaki Baz Castillo <ibc(a)aliax.net>et>:
So I must do a hack and reply 200 with SDP from
Kamailio when the
request is an OPTIONS and contains "Accept: application/sdp". I don't
want to forward the OPTIONS to PSTN gateways behind Kamailio for
different reasons.
Which would be the best way to do it? is it possible to add a spoofed
body to a response replied stateless from Kamailio?
Note: options_reply() in siputils module is not valid as AFAIK it does
not show a SDP.
I missed set_body(txt,content_type) from textops module :)
But, is it possible to add such body to a response sent stateless? I
expect that it would add the body to the processed request.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>