Re: [SR-Users] dmq_usrloc

2015-08-27 Thread Kelvin Chua
unfortunately it is crashing with current master i do not see this on my logs if (dmq_ul.get_udomain("location", &_d) < 0) { LM_ERR("Failed to get domain\n"); goto done; } here is a backtrace #0 0x7f23dc6d92cc in get_urecord (_d=0x0, _aor=0x7ffc8b14cdd0, _r=0x7ffc8b14ce18) at udoma

Re: [SR-Users] multiple proxies

2015-08-27 Thread Daniel-Constantin Mierla
Are you looking for load balancing the traffic to media servers or the traffic to kamailio proxies? Traffic to media servers can be balanced with dispatcher module. Traffic to kamailio server can be balanced with DNS SRV and using IP address for record routing will ensure that requests to same di

Re: [SR-Users] multiple proxies

2015-08-27 Thread SamyGo
Hi Bruce, Get some ideas from here: http://www.opentelecom.it/cluecon/ClueCon_2015_Load_Balancing_HA.pdf Also using DNS SRV is a good idea for use afront of multiple active proxies. BR, Sammy On Aug 27, 2015 1:53 PM, "Bruce Lefko" wrote: > If I want to have multiple kamailio proxies in front of

[SR-Users] multiple proxies

2015-08-27 Thread Bruce Lefko
If I want to have multiple kamailio proxies in front of multiple media servers, can I balance them using plain old DNS behind a domain name? If I wanted a specific proxy to be notified about an entire SIP dialog I could set the record route to use the public IP of the proxy that received the initi

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-27 Thread José Seabra
Hello Daniel, Ok, let me know when you get a solution. Thank you for your reply, Best Regards 2015-08-27 10:58 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > it looks like the presence modules rely on default values that can be > specified with sql table definition. Iirc, that is not possib

Re: [SR-Users] problem with dispatcher load balancing

2015-08-27 Thread Ding Ma
Hi, Daniel I just tested the dispatcher in 4.3.1. It showed the same behavior as 4.2.3. All the calls are sent to one Asterisk (the last one in the dispatcher list), the maxload setting in dispatcher table is ignored. We use db dispatcher table instead of dispatcher list file, and the kamailio.cf

Re: [SR-Users] BLF state on register

2015-08-27 Thread Daniel-Constantin Mierla
Register state is for telling whether the device is online or offline. If you want a lamp for dialog states, then that is via presence/pua dialoginfo modules. Maybe next tutorial will help a bit: - http://kb.asipto.com/kamailio:presence:k43-blf Cheers, Daniel On 27/08/15 14:11, Loic Chabert w

Re: [SR-Users] BLF state on register

2015-08-27 Thread Loic Chabert
Thanks for this explanation. I have set pua_set_publish() before running save, and now, publish has been sent to kamailio himself. Next publish has been recieved, but no notify REQUEST has been sent to subscribed users. As i can see in debug (attached), a Presence event type has been generate, not

Re: [SR-Users] BLF state on register

2015-08-27 Thread Daniel-Constantin Mierla
Hello, On 27/08/15 12:14, Loic Chabert wrote: > Hello, > > pua_set_publish() is run afer save(). Order of function is important ? yes, the first is just setting a flag for a callback executed by save in order to know what do to in that callback. > > Too many logs with debug=3, do you have a solu

Re: [SR-Users] BLF state on register

2015-08-27 Thread Loic Chabert
Hello, pua_set_publish() is run afer save(). Order of function is important ? Too many logs with debug=3, do you have a solution to debug only one module, and not all at the same time ? Regards & thanks. 2015-08-26 12:07 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > are you still running p

Re: [SR-Users] kamailio presence server using db_mongodb as database

2015-08-27 Thread Daniel-Constantin Mierla
Hello, it looks like the presence modules rely on default values that can be specified with sql table definition. Iirc, that is not possible with mongodb. I will think of a solution for it. Cheers, Daniel On 18/08/15 16:02, José Seabra wrote: > Hello, > > Now after kamailio startup seems that pr

Re: [SR-Users] [sr-dev] Confusion about various TCP expiry and lifetime parameters

2015-08-27 Thread Daniel-Constantin Mierla
Hello, have you run kamailio with debug=3? There are lot more debug messages and some will show what happens with the tcp connection. It will be good to monitor opened connections via kamcmd (see kamcmd help for the subcommands related to tcp). Indeed, an ws connection is not opened by server si