<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">Hi!
<div><br /></div>
<div>I’m having some issues with dispatcher and cannot get why it’s not working</div>
<div><br /></div>
<div>Idea is to use ds_next_dst right after ds_select_dst<br /></div>
<div><br /></div>
<div>I’m having it like this</div>
<div><br />
modparam("dispatcher", "list_file", "/tmp/dispatcher.list")<br />
modparam("dispatcher", "flags", 2) # Enable dispather failover<br />
modparam("dispatcher", "xavp_dst", "_dispacher_dst_list_")<br /></div>
<div>…</div>
<div><br /></div>
<div>ds_select_dst(«1», «0»);</div>
<div>… </div>
<div># Some extra check on $du here</div>
<div>…</div>
<div>ds_next_dst();</div>
<div><br /></div>
<div>But get in logs </div>
<div>WARNING: dispatcher [dispatch.c:2285]: ds_update_dst(): no xavp uri field in next destination record<br /></div>
<div><br /></div>
<div>But contents of /tmp/dispatcher.list is</div>
<div>1 sip:172.28.0.12:5060<br />
1 sip:172.28.0.19:5060<br /></div>
<div><br /></div>
<div><br /></div>
<div>Can I somehow dump xavp_dst var to check if ds_select_dst is correct?</div>
<div><br /></div>
<div>kamailio 5.2.0-dev6<br /></div>
</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Regards, Igor</div>
</body>
</html>