Re: [SR-Users] why does

2013-12-06 Thread Alex Balashov
Hi Henry, Please explore this parameter of usrloc (the location database module that underlies registrar): http://kamailio.org/docs/modules/4.1.x/modules/usrloc.html#usrloc.p.db_mode It configures the relationship between the registrar's in-memory location table and the database, and the de

[SR-Users] why does

2013-12-06 Thread Henry Fernandes
I'm using the REGISTRAR module and having phones register to Kamailio. This is working properly and the phones register without problem. The issue I have is that it takes about 60-90 seconds for the new entry to appear in the 'location' table after I do save("location"). The entry is correct,

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Peter Dunkley
That parameter will prevent new registrations when the maximum contacts have been exceeded. It won't get rid of any stale ones you have. Regards, Peter On 30/05/13 13:08, Vitaliy Aleksandrov wrote: Kamailio can do this but it doesn't by default. http://kamailio.org/docs/modules/4.0.x/modules

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Olle E. Johansson
30 maj 2013 kl. 12:05 skrev Khoa Pham : > @Olle: > > So when I have incoming calls, which registration does Kamailio respond to ? > (What address does it choose to send me INVITE) ? WIth a default configuration file, all of them. /O > > > On Thu, May 30, 2013 at 4:44 PM, Jesús Pérez Rubio

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Khoa Pham
@Vitaliy Many thanks, really appreciated On Thu, May 30, 2013 at 7:08 PM, Vitaliy Aleksandrov wrote: > Kamailio can do this but it doesn't by default. > http://kamailio.org/docs/**modules/4.0.x/modules/** > registrar.html#idp110136

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Vitaliy Aleksandrov
Kamailio can do this but it doesn't by default. http://kamailio.org/docs/modules/4.0.x/modules/registrar.html#idp110136 ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.or

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Khoa Pham
@Olle, Peter: Does Kamailio restrict on the number of old registration (Registration that are not expired yet)? On Thu, May 30, 2013 at 5:11 PM, Peter Dunkley < peter.dunk...@crocodile-rcs.com> wrote: > All of them if you just use lookup() and it serial/parallel forks based > on q-value if yo

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Peter Dunkley
All of them if you just use lookup() and it serial/parallel forks based on q-value if you use t_load_contacts() and t_next_contacts() correctly. This is the correct SIP behaviour as per RFC 3261. Regards, Peter On 30/05/13 11:05, Khoa Pham wrote: @Olle: So when I have incoming calls, which

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Khoa Pham
@Olle: So when I have incoming calls, which registration does Kamailio respond to ? (What address does it choose to send me INVITE) ? On Thu, May 30, 2013 at 4:44 PM, Jesús Pérez Rubio wrote: > You can change the expires time in your kamailio.cfg file: > http://kamailio.org/docs/modules/0.9.x/r

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Jesús Pérez Rubio
You can change the expires time in your kamailio.cfg file: http://kamailio.org/docs/modules/0.9.x/registrar.html#AEN62 2013/5/30 Olle E. Johansson > > 30 maj 2013 kl. 11:38 skrev Khoa Pham : > > > When I make REGISTER request to server Kamailio. Kamailio sometimes > return me REGISTER 200 OK r

Re: [SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Olle E. Johansson
30 maj 2013 kl. 11:38 skrev Khoa Pham : > When I make REGISTER request to server Kamailio. Kamailio sometimes return me > REGISTER 200 OK response with many Contacts in Contact header field > > Contact: > ;expires=29;received="sip:1.1.1.1:58492;transport=TLS", > > ;expires=244, > ;expires=2

[SR-Users] Why does Kamailio return many Contacts in Contact header in REGISTER response ?

2013-05-30 Thread Khoa Pham
When I make REGISTER request to server Kamailio. Kamailio sometimes return me REGISTER 200 OK response with many Contacts in Contact header field Contact: ;expires=29;received="sip:1.1.1.1:58492;transport=TLS", ;expires=244, ;expires=284;received="sip:1.1.1.1:58529;transport=TLS", ;expires=329, ;e