Re: [SR-Users] Local call routing accross many kamailio servers

2012-12-14 Thread Ali Jawad
I did do some more tests, when a call is made didkamailio does not search for the user in the location table, instead it searchs for user@domain, and since the user is not on the same domain/ip it cant find the user. Se below : (31526) DEBUG: usrloc [udomain.c:575]: aor support1@didkamailio not f

Re: [SR-Users] Local call routing accross many kamailio servers

2012-12-10 Thread Ali Jawad
Anyone, please ? On Mon, Dec 10, 2012 at 2:27 PM, Ali Jawad wrote: > It does seem like a simple problem gone viral...the db_mode is set to 3, > the actual routing happens as follows : > > # USER location service > route[LOCATION] { > > #!ifdef WITH_ALIASDB > # search in DB-based aliases

Re: [SR-Users] Local call routing accross many kamailio servers

2012-12-10 Thread Ali Jawad
It does seem like a simple problem gone viral...the db_mode is set to 3, the actual routing happens as follows : # USER location service route[LOCATION] { #!ifdef WITH_ALIASDB # search in DB-based aliases alias_db_lookup("dbaliases"); #!endif if (!lookup("location")) {

Re: [SR-Users] Local call routing accross many kamailio servers

2012-12-10 Thread Alex Balashov
I was about to say - there may be a separate kamctl issue that might be misleading you. I've gotten registrar lookups to work off of two servers sharing a DB mode before. It was just a question of setting the right db_mode. Ali Jawad wrote: >Additional update, the entries exist in the locat

Re: [SR-Users] Local call routing accross many kamailio servers

2012-12-10 Thread Ali Jawad
Additional update, the entries exist in the location table, so I am not sure whether kamctl actually makes use of the db or not, and if I register directly on DID kamailio and try to make a call to a user onto another kamailio it give 404, but if they are on the same server it does work. On Mon, D

Re: [SR-Users] Local call routing accross many kamailio servers

2012-12-10 Thread Ali Jawad
What's even weirder is that I did register directly on the DID Kamailio and I still get kamctl ul show --brief Domain:: location table=512 records=0 max_slot=0 On Mon, Dec 10, 2012 at 1:54 PM, Alex Balashov wrote: > Well, that's odd. Maybe there's a runtime component to registration as > well.

Re: [SR-Users] Local call routing accross many kamailio servers

2012-12-10 Thread Alex Balashov
Well, that's odd. Maybe there's a runtime component to registration as well. On 12/10/2012 06:52 AM, Ali Jawad wrote: Hi Alex actually I did try db_mode set to 3 but when doing kamctl ul show on DID Kamailio it displays Domain:: location table=512 records=0 max_slot=0 Another thing I notic

Re: [SR-Users] Local call routing accross many kamailio servers

2012-12-10 Thread Ali Jawad
Hi Alex actually I did try db_mode set to 3 but when doing kamctl ul show on DID Kamailio it displays Domain:: location table=512 records=0 max_slot=0 Another thing I notice with db_mode 3 is it also just returns - SIP/2.0 404 Not Found. Regards On Mon, Dec 10, 2012 at 1:38 PM, Alex Balashov w

Re: [SR-Users] Local call routing accross many kamailio servers

2012-12-10 Thread Alex Balashov
You can fix this by changing the db_mode on your usrloc module to use the database strictly, instead of doing runtime caching and periodic syncing to DB, or the other modes available. Ali Jawad wrote: >Hi > >I do have 3 kamailio servers sharing the same db, calls go to Asterisk >and >that wor

[SR-Users] Local call routing accross many kamailio servers

2012-12-10 Thread Ali Jawad
Hi I do have 3 kamailio servers sharing the same db, calls go to Asterisk and that works great, I did purchase a DID and point it to one of the kamailio servers, it works fine so far for that kamailio server as the call is forwarded to the softphone ..but ONLY if the user is registered on the kama