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