Thanks Fred. Is it true that $ua will only access the User-Agent value of the current request? That will definitely work for me if the header is present in an initial INVITE, however I'm considering the case where the header is only present in the REGISTER and not in subsequent requests from the endpoint.  

If I use SQLops I can just select from the location table, but I want to rely on DMQ more than DB for usrloc.  


From: Fred Posner via sr-users <sr-users@lists.kamailio.org>
Sent: Thursday, September 19, 2024 2:28 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Cc: Fred Posner <fred@qxork.com>
Subject: [SR-Users] Re: Accessing User-Agent from usrloc at runtime.
 
[You don't often get email from sr-users@lists.kamailio.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]

[EXTERNAL]

> On Sep 19, 2024, at 2:25 PM, Kevin Kaczmarski <KKaczmarski@sorenson.com> wrote:
>
> Thanks but I'm looking for accessing the information during transaction creation.
>

See $ua


https://www.kamailio.org/wikidocs/cookbooks/5.8.x/pseudovariables/#ua-user-agent-header


—fred


__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: