[SR-Users] Extract domain of a user from location list table
miconda at gmail.com
Mon Sep 15 11:39:41 CEST 2014
You should use 4.1 instead of 3.1, because 3.1 is really old (and no
longer supported) version.
Location table keeps attributes per username at domain. To get the
attributes, you need the username at domain. The typical use case is when a
SIP requests comes to the proxy targeting username at domain, you can use
lookup("location") to get associated attributes for routing the request
to where username at domain is having the phone.
registrar is one of the modules using usrloc behind.
On 13/09/14 10:42, aawaise wrote:
> I went through usrloc page on kamailio site. Link given below.
> It states that the module keeps a user location table and provides access to
> the table to other modules.
> The module exports no functions that could be used directly from scripts.
> How can one extract value of domain from Location List ?
> View this message in context: http://sip-router.1086192.n5.nabble.com/Extract-domain-of-a-user-from-location-list-table-tp130598.html
> Sent from the Users mailing list archive at Nabble.com.
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany
More information about the sr-users