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? On Sun, Oct 18, 2009 at 12:34 AM, Alex Balashov <abalas...@evaristesys.com> wrote: > You are attempting to invoke rtpproxy on a request or reply which does > not contain an SDP body, and therefore force_rtp_proxy() cannot > operate on it. > > Julian Yap wrote: > >> I have a working set up where OpenSIPS is my registrar and SIP Proxy. >> >> NAT'ed UA calls are handled with RTPProxy. >> >> I want RTPProxy to handle non-NAT'ed UA's (for example, UA's on a >> public internet IP). >> >> I tried a quick test of running the force_rtp_proxy() function on >> non-NAT'ed INVITE packets but I get this error: >> Oct 18 00:18:17 sip1 /sbin/opensips[18749]: >> ERROR:nathelper:extract_body: message body has length zero >> Oct 18 00:18:17 sip1 /sbin/opensips[18749]: >> ERROR:nathelper:force_rtp_proxy2_f: can't extract body from the >> message >> >> Is it possible to run RTPProxy in this fashion? I'm looking for the >> easiest fix. >> >> Thanks, >> Julian >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > -- > Alex Balashov - Principal > Evariste Systems > Web : http://www.evaristesys.com/ > Tel : (+1) (678) 954-0670 > Direct : (+1) (678) 954-0671 > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users