+1 Klaus - I used your tips and Kamailio is working great behind NAT. I'll
try to test different types of NATs and see if SIP and RTP works perfectly
for all scenarios.
Thanks and cheers
Sammy
On Fri, Jan 11, 2013 at 1:42 PM, Klaus Darilion <
klaus.mailingli...@pernau.at> wrote:
> Am 11.01.201
Am 11.01.2013 02:12, schrieb Richard Brady:
Hi Klaus
Thanks for posting the working solution.
You are right that mhomed=1 won't help if the sockets both have same
IP address.
That's true.
Though I think if you used it with two different IPs and the correct
routing tables on the OS then it
Hi Klaus
Thanks for posting the working solution.
You are right that mhomed=1 won't help if the sockets both have same IP
address. Though I think if you used it with two different IPs and the
correct routing tables on the OS then it would work.
In any case your solution is a good one.
Richard
Hi all!
On 04.01.2013 18:57, Ovidiu Sas wrote:
Hello Klauss,
I use record_route_preset for this kind of scenarios:
http://kamailio.org/docs/modules/3.3.x/modules_k/rr.html#id2550086
That was the main reason that I enhanced record_route_preset with the
second parameter (see the Note on string2).
Hi Richard!
I wonder why I have to set mhomed. In the scenario I described both
sockets are in the same network segment and I would guess that automatic
socket selection will not work and always chooses the same socket. I
think I have to set the proper outgoing socket manually with
force_send
Hey Klaus
The way you described works for me (on EC2) and I think is a good solution.
Be sure to set mhomed=1 in your config.
Richard
On 4 January 2013 17:57, Ovidiu Sas wrote:
> Hello Klauss,
>
> I use record_route_preset for this kind of scenarios:
> http://kamailio.org/docs/modules/3.3.x/m
Hello Klauss,
I use record_route_preset for this kind of scenarios:
http://kamailio.org/docs/modules/3.3.x/modules_k/rr.html#id2550086
That was the main reason that I enhanced record_route_preset with the
second parameter (see the Note on string2).
I haven't tried your idea with two sockets. Let
Hi!
Up to now I could avoid Kamailio setups with Kamailio behind NAt. But
this time I have to deal with it. That's why I want to ask what others
did as best practice.
The scenario is:
Asterisk 1\ Kamailio+RTPPROXY
\ |10.10.0.2
Asterisk n--\|