Hi Guillaume,
The registered contact (and the additional info) is fetched via the
lookup("location") function. It also sets the registered socket for the
routing the current request.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 22.03.2024 10:57, [email protected] wrote:
Hi everybody,
In my routing logic of my “opensips.cfg” file, I’m trying to access
the “socket” field of the location table of registered contacts.
I have the registering informations correctly written in MySQL
location table but can’t find a function to access it.
I’d like to have a function which I give the registered username and
can give me back the associated socket.
Is the lookup () function the good one ? I didn’t understand how to
use it that way.
Thanks for your help,
Guillaume
Orange Restricted
Orange Restricted
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou
falsifie. Merci.
This message and its attachments may contain confidential or privileged
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been
modified, changed or falsified.
Thank you.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users