[SR-Users] Kamailio behind NAT

John Smith jsmith.15 at mail.com
Thu Jan 30 10:19:42 CET 2014


Hello Andrew,

I did not know this function. I am using it to determine the direction of the flow.

Thank you

> ----- Original Message -----
> From: Andrew Pogrebennyk
> Sent: 01/24/14 06:51 AM
> To: Kamailio (SER) - Users Mailing List
> Subject: Re: [SR-Users] Kamailio behind NAT
> 
> On 01/23/2014 05:12 PM, Klaus Darilion wrote:
> >> It is necessary to use the cwie / cwei flags in the rtpproxy_manage call?
> > 
> > If rtpproxy uses only a single listen-IP, then these flags are not
> > needed. Only if you operate rtpproxy in bridge mode, then you need these
> > flags. Bridge mode is necessary if you do not have IP routing between
> > the internal network and the "virtual external" network, or if you want
> > to bridge between IPv4 and IPv6.
> 
> John,
> This function can be used to check the direction of every message:
> http://kamailio.org/docs/modules/4.0.x/modules/rr.html#idp223296
> You might also need to append the record-route parameters to remember
> the flags you have passed to the manage_rtpproxy() initially.
> Based on the direction of the request and initial flags you can
> determine what flags to use when calling manage_rtpproxy() for a given
> in-dialog requests and reply.
> 
> Hope this helps.
> Andrew
> 
> _______________________________________________
> 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