Hi,you can access it through the xavp_dst (http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.xavp_dst) using transformations.E.g. if your xavp is called "dsdst" you can do something like this:$var(duid) = $(xavp(dsdst=>attrs){param.value,duid});Cheers,FedericoOn Wed, Oct 21, 2020 at 8:18 AM Jani Biju Babjan <mathpseudo@gmail.com> wrote:Hi,_______________________________________________I have a dispatcher.list file like the following:1 sip:127.0.0.1:5060 0 0 duid=abcd;maxload=51 sip:127.0.0.2:5060 0 0 duid=efgh;maxload=5After 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
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users