<div dir="ltr">Hi,<div>you can access it through the xavp_dst (<a href="http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.xavp_dst">http://www.kamailio.org/docs/modules/devel/modules/dispatcher.html#dispatcher.p.xavp_dst</a>) using transformations.</div><div>E.g. if your xavp is called "dsdst" you can do something like this:</div><div><br></div>$var(duid) = $(xavp(dsdst=>attrs){param.value,duid});<div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div>Cheers,</div><div><br></div><div>Federico<span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 21, 2020 at 8:18 AM Jani Biju Babjan <<a href="mailto:mathpseudo@gmail.com">mathpseudo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>I have a dispatcher.list file like the following:</div><div>1 sip:<a href="http://127.0.0.1:5060" target="_blank">127.0.0.1:5060</a> 0 0 duid=abcd;maxload=5<br></div><div>1 sip:<a href="http://127.0.0.2:5060" target="_blank">127.0.0.2:5060</a> 0 0 duid=efgh;maxload=5  <br></div><div><br></div><div>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?</div><div><br></div><div>Jani Biju Babjan</div></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>