[SR-Users] Kamailio behind NAT

Fred Posner fred at palner.com
Fri Jan 24 15:55:51 CET 2014


On 01/24/2014 09:51 AM, Andrew Pogrebennyk wrote:
> 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
>

Are the calls being bridged across two interfaces or is the Kamailio 
just natted? (or is it both?)

Fred Posner
The Palner Group, Inc.
503-914-0999 (direct)
954-472-2896 (fax)



More information about the sr-users mailing list