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, Federico On Wed, Oct 21, 2020 at 8:18 AM Jani Biju Babjan <mathpse...@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=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 > _______________________________________________ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users