[SR-Users] Rtpproxy newbie question

Marc proycon at hotmail.com
Fri Feb 25 15:54:16 CET 2011


Hi Carsten,
Sorry about the double posting, I had a technical issue on my side and some
mails where sent out twice, also that one. Please accept my apology. 

Thanks a lot for your advice!

Regards

Marc



 

-----Original Message-----
From: kaiserbock2 at googlemail.com [mailto:kaiserbock2 at googlemail.com] On
Behalf Of Carsten Bock
Sent: Freitag, 25. Februar 2011 11:42
To: Marc
Cc: sr-users at lists.sip-router.org
Subject: Re: [SR-Users] Rtpproxy newbie question

Hi Marc,

double posting does not lead to faster answers...
In your onreply_route you have the following:

    if ((isflagset(FLT_NATS) || isbflagset(FLB_NATB))
                       && status=~"(183)|(2[0-9][0-9])") {
               force_rtp_proxy();
       }

So force_rtp_proxy for the 200 Ok is only applied, when either one of the
two parties is behind NAT, but not always.
The same goes for the Request:

       if (isflagset(FLT_NATS) || isbflagset(FLB_NATB)) {
               route(RTPPROXY);
       }

So you should adapt the two lines and remove the isflagset/isbflagset
queries.

Carsten

2011/2/24 Marc <proycon at hotmail.com>:
> Hi,
>
> I installed a kamailio from the debian repository, i use the default 
> configuration.
> The only enable the tcp and tls transport modes, and configured mysql
login.
>
> Everyting seems to be working fine.
>
> I would need now to configure rtprpoxy, but i just cant make it work.
> My goal is to force rtpproxy for all calls.
>
>
> Any help is highly appreciated!!
>
>
>
> Thank you
> Marc
>
>
> _______________________________________________
> 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
>




More information about the sr-users mailing list