[SR-Users] How to read "duid" from dispatcher.list in kamamilio.cfg
Jani Biju Babjan
mathpseudo at gmail.com
Tue Oct 20 10:38:45 CEST 2020
Hi,
I have a dispatcher.list file like the following:
1 sip:127.0.0.1:5060 0 0 duid=abcd;maxload=5
1 sip:127.0.0.2:5060 0 0 duid=efgh;maxload=5
After calling the ds_select_dst("1", "4") function(ie, round-robin
selection), I want to read the value of the "duid" attribute of the
selected destination and then pass it to a database. How can I read this
value in the configuration file?
Jani Biju Babjan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201020/22a3a9a3/attachment.htm>
More information about the sr-users
mailing list