[Kamailio-Users] Multipart SDP problem...
Iñaki Baz Castillo
ibc at aliax.net
Wed Jun 10 22:33:06 CEST 2009
El Miércoles, 10 de Junio de 2009, Daniel-Constantin Mierla escribió:
> On 06/10/2009 11:19 PM, Edson - Lists wrote:
> > Understand...
> >
> > Maybe, then, someone could point me to how to disable multipart SDP on
> > Cisco AS5300 GWs.... I already dig it on Cisco and Google sites, but
> > so far nothing founded...
>
> you can try to disable the content type checking in nathelper module.
> The sdp parser there is not very strict, doing line by line.
>
> You should be sure that other content type is not sdp-like so it could
> get messy.
A content-Type check could take place before invoking force_rtpproxy():
if ( $ct == "application/sdp" || $ct =~ "^multipart/mixed" ) {
force_rtpproxy();
[...]
Also the body could be checked by looking for "application/sdp" string.
--
Iñaki Baz Castillo <ibc at aliax.net>
More information about the Users
mailing list