Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-14 Thread Daniel-Constantin Mierla
implement in the first place, my main question is probably around branch modification/control. Thanks, sorry for long question. Jon Date: Tue, 13 May 2014 16:04:21 +0200 From: mico...@gmail.com To: sr-users@lists.sip-router.o

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-14 Thread Jonathan Hunter
invites for 2 devices. Whats the best approach to clean this up or implement in the first place, my main question is probably around branch modification/control. Thanks, sorry for long question. Jon Date: Tue, 13 May 2014 16:04:21 +0200 From: mico...@gmail.com To: sr-users@lists.sip-router.o

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-13 Thread Jonathan Hunter
e, 13 May 2014 16:04:21 +0200 From: mico...@gmail.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] reg_fetch_contacts for multiple devices registered Hello, are you using a branch_route block? Cheers,

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-13 Thread Daniel-Constantin Mierla
Hello, are you using a branch_route block? Cheers, Daniel On 13/05/14 13:28, Jonathan Hunter wrote: Hi Guys, Following on from my initial query, I have indexing working for reg_fetch_contacts, however now I am having issues with branching. First, is append_branches() still applicable to

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-13 Thread Jonathan Hunter
Hi Guys, Following on from my initial query, I have indexing working for reg_fetch_contacts, however now I am having issues with branching. First, is append_branches() still applicable to kamailio 4.0.6 ? As when I use its not recognised. Also I have two contacts registered, contact 0 and cont

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-12 Thread Jonathan Hunter
basis I presume, as the changes I now make seem to modify for all? Thanks Jon Date: Fri, 9 May 2014 19:27:10 +0200 From: mico...@gmail.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] reg_fetch_contacts for multiple devices registered Hello, you can use

Re: [SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-09 Thread Daniel-Constantin Mierla
Hello, you can use indexes to access any of the location records, see: http://kamailio.org/docs/modules/stable/modules/registrar.html#idp2019304 Cheers, Daniel On 09/05/14 17:18, Jonathan Hunter wrote: Hi Guys, I was wondering if anyone could help? I am currently using reg_fetch_contacts

[SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-09 Thread Jonathan Hunter
Hi Guys, I was wondering if anyone could help? I am currently using reg_fetch_contacts to manipulate signaling based on the user agent device being used, therefore I use the result of; if(reg_fetch_contacts("location", "$ru", "callee")){ xlog("callee=>user_agent $ulc(callee=>user_agent)\n")

[SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-09 Thread Jonathan Hunter
Hi Guys, I was wondering if anyone could help? I am currently using reg_fetch_contacts to manipulate signaling based on the user agent device being used, therefore I use the result of; if(reg_fetch_contacts("location", "$ru", "callee")){ xlog("callee=>user_agent $ulc(callee=>user_agent)\n")

[SR-Users] reg_fetch_contacts for multiple devices registered

2014-05-09 Thread Jonathan Hunter
Hi Guys, I was wondering if anyone could help? I am currently using reg_fetch_contacts to manipulate signaling based on the user agent device being used, therefore I use the result of; if(reg_fetch_contacts("location", "$ru", "callee")){ xlog("callee=>user_agent $ulc(callee=>user_agent)\n");} I