<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Guys,<div><br></div><div>I was wondering if anyone could help?</div><div><br></div><div>I am currently using reg_fetch_contacts to manipulate signaling based on the user agent device being used, therefore I use the result of;</div><div><br></div><div><div>if(reg_fetch_contacts("location", "$ru", "callee"))</div><div>{</div><div><span style="font-size: 12pt;">  xlog("callee=>user_agent $ulc(callee=>user_agent)\n");</span></div><div><span style="font-size: 12pt;">}</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">I then use   $ulc(callee=>user_agent) to make routing decisions.</span></div></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">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.</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Is it possible to return the user agents of all the devices registered against an AOR so I can manage decisions accordingly?</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Many thanks</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;">Jon</span></div><div><span style="font-size: 12pt;"><br></span></div><div><span style="font-size: 12pt;"><br></span></div>                                           </div></body>
</html>