[SR-Users] Kamailio 1.5: replying a 200 (OPTIONS) with SDP
Iñaki Baz Castillo
ibc at aliax.net
Tue Jul 12 15:40:56 CEST 2011
2011/7/12 Iñaki Baz Castillo <ibc at aliax.net>:
> 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 at aliax.net>
More information about the sr-users
mailing list