[SR-Users] reg_fetch_contacts for multiple devices registered
miconda at gmail.com
Fri May 9 19:27:10 CEST 2014
you can use indexes to access any of the location records, see:
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 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 then use $ulc(callee=>user_agent) to make routing decisions.
> This seems to only return the user-agent device being used for the
> first registration at that AOR, as I have two devices registered, a
> Cisco, and a jitsi client, and it only returns the user_agent of the
> jitsi client I registered first.
> Is it possible to return the user agents of all the devices registered
> against an AOR so I can manage decisions accordingly?
> Many thanks
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users