[SR-Users] reg_fetch_contacts for multiple devices registered

Jonathan Hunter hunterj91 at hotmail.com
Fri May 9 17:11:49 CEST 2014






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
Jon

 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140509/d3ddc217/attachment.html>


More information about the sr-users mailing list