[OpenSIPS-Users] Using RTPProxy to proxy all non-NAT'ed calls as well

Alex Balashov abalashov at evaristesys.com
Mon Oct 19 06:32:15 CEST 2009


Julian Yap wrote:

> Hmm, so in theory RTPProxy should work in my case?
> 
> I just need to check the SDP?  My NAT section has something like this:
>         if(!isflagset(22) && !search("^Content-Length:[ ]*0"))
> 
> That Content-Length check should suffice?

The payload may be something other than an SDP body.

I suggest:

   if(search("Content-Type: application/sdp"))

-- 
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671



More information about the Users mailing list