[SR-Users] Kamailio with RTPoxy
alex pappas
rebel.pappas at gmail.com
Fri Apr 29 13:00:45 CEST 2011
Thank you Klaus!
It works perfect.
regards
Alex
On Thu, Apr 28, 2011 at 8:49 PM, Klaus Darilion <
klaus.mailinglists at pernau.at> wrote:
> 8 - SDP is searched for occurrence of RFC1918 addresses
>
> So I gues you call nat_uac_test("8") for a request which does not have a
> body at all. You could use has_body from textops module to extend the
> check, e.g:
>
> if (has_body("application/sdp") && nat_uac_test("8")) {
> ...
>
>
> regards
> klaus
>
>
>
> Am 28.04.2011 18:25, schrieb alex pappas:
> > Dear all,
> >
> > I see in my logs that when the call enters the route :
> >
> > # Caller NAT detection route
> > route[NAT] {
> > #!ifdef WITH_NAT
> > xlog("alx --- ROUTE NAT , we have nat ---");
> > force_rport();
> > *if (nat_uac_test("8")) {*
> > if (method=="REGISTER") {
> > fix_nated_register();
> > } else {
> > fix_nated_contact();
> > }
> > setflag(FLT_NATS);
> > xlog("alx --- ROUTE NAT , set flag FLT_NATS ---");
> > }
> > #!endif
> > return;
> > }
> >
> > I get the following error:
> >
> > nathelper [nhelpr_funcs.c:195]: *message body has length zero*
> > nathelper [nathelper.c:1184]: *cannot extract body from msg!*
> >
> > From traces i see that only in the SDP I have an IP which is not public
> > but even with that I cannot engage the RTPPROXY.
> >
> > My Kamailio version is 3.1.3 and the config file is plain , from
> > installation.
> >
> > Any ideas?
> >
> > Thank you Alex
> >
> >
> >
> >
> >
> >
> > On Sun, Apr 17, 2011 at 2:20 PM, alex pappas <rebel.pappas at gmail.com
> > <mailto:rebel.pappas at gmail.com>> wrote:
> >
> > Dear Alex,
> >
> > The configuration is the default with WITH_NAT defined.
> > I have some extra logs (xlog("RTPPROXY started..")) enabled in the
> > RTPPROXY route in order to understand if it is engaged or not.
> >
> > When I make calls behind NAT the RTPPROXY is engaged but I don't see
> > any RTP in traces.
> >
> > Do you have any idea on how can I keep the RTP?
> >
> > Thanks
> > Alex Pappas
> >
> >
> >
> >
> > On Fri, Apr 15, 2011 at 6:43 PM, Alex Balashov
> > <abalashov at evaristesys.com <mailto:abalashov at evaristesys.com>>
> wrote:
> >
> > On 04/15/2011 09:58 AM, alex pappas wrote:
> >
> > I have a Kamailio with RTPoxy configured. The purpose is to
> > pass the
> > RTP from this server.
> > When I make calls behind NAT the RTProxy seems to be engaged
> > but in
> > traces I don't see any RTP.
> >
> > Is there anything wrong with the idea or I'm missing
> > something in the
> > configuration ?
> >
> >
> > That would be difficult to know without seeing your
> configuration.
> >
> > --
> > Alex Balashov - Principal
> > Evariste Systems LLC
> > 260 Peachtree Street NW
> > Suite 2200
> > Atlanta, GA 30303
> > Tel: +1-678-954-0670
> > Fax: +1-404-961-1892
> > Web: http://www.evaristesys.com/
> >
> > _______________________________________________
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
> > mailing list
> > sr-users at lists.sip-router.org <mailto:
> sr-users at lists.sip-router.org>
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
> >
> >
> >
> >
> > _______________________________________________
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> > sr-users at lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110429/7ab5adf1/attachment.htm>
More information about the sr-users
mailing list