Thanks.
I am using DB only mode.
There will be a number of servers in the end, so i will have to look
further into the issue I guess, since assumptions were made about how
Kamailio works.
From what I can tell, I think I will have to implement
the outbound module
and a central registrar.
Thanks again for the replies.
- Coy
On Tue, Oct 15, 2013 at 5:46 AM, Klaus Darilion <
klaus.mailinglists(a)pernau.at> wrote:
Hi!
First, if 2 servers share the same DB, then userloc must be switched to
DB-only mode:
http://kamailio.org/docs/**modules/4.0.x/modules/usrloc.**html#idp16939424&…
But this leads you to another problem. As Fred already mentioned, SIP
clients (or the NAT of the user) often refuse messages which are not
received from the proxy to which the registration was sent.
The best solution depends on what you exactly want to achieve and how many
servers you want to add. But a simple workaround would be:
- both proxies use their own DB
- if lookup() fails, then
- if requests comes from other proxy -> send 404
- if request comes from user -> forward to other proxy
regards
Klaus
On 14.10.2013 23:12, Coy Cardwell wrote:
> Hi All. Fist time poster here, long time geek.
>
> I am trying to get Kamilio to work in the following configuration and
> after days of googling and configuration attempts, I have come here for
> help.
>
> Two servers, both sharing the same database. Server1, Server2. Both
> servers are behind a NAT (AWS).
>
> If I set the DNS to return both IP addresses for the domain on the A
> record, everything works, all is well.
>
> If I set the DNS to return values based on latency and the Calling
> Client gets Server1's IP Address but the Receiving Client is registered
> to Server2, the call fails from a timeout. I can see the attempt to go
> through at the packet level and a 'non-local' socket message as well.
>
> If the DNS returns Server2's IP Address and the Receiving Client is
> registered to Server2, the call completes.
>
> I have tried numerous variations of the various 'path' and
'registrar'
> options with any joy. I tried making one of the servers the central
> registrar as well. I am not entirely sure I ever set everything
> correctly, but I have tried numerous combinations.
>
> Any thoughts would be appreciated, I only ask this as I think I have
> exhausted my own list of things to try.
>
> Thanks.
>
> - Coy Cardwell
>
>
> ______________________________**_________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
>
http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http:/…
>
>