<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;">No, it’s ok. Just been replaced with my email client.</div>
<div name="messageSignatureSection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;"><br />
Regards, Igor</div>
<div name="messageReplySection" style="font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, sans-serif;">On Aug 31, 2018, 12:19 PM +0200, Antony Stone <Antony.Stone@kamailio.open.source.it>, wrote:<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">On Friday 31 August 2018 at 12:11:53, Igor Olhovskiy wrote:<br />
<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">Hi!<br />
<br />
I’m having some issues with dispatcher and cannot get why it’s not working<br />
<br />
Idea is to use ds_next_dst right after ds_select_dst<br />
<br />
I’m having it like this<br />
<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 />
…<br />
<br />
ds_select_dst(«1», «0»);<br /></blockquote>
<br />
Maybe a problem with the style of quotation marks you used there?<br />
<br />
<blockquote type="cite" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">...<br />
# Some extra check on $du here<br />
…<br />
ds_next_dst();<br />
<br />
But get in logs<br />
WARNING: dispatcher [dispatch.c:2285]: ds_update_dst(): no xavp uri field<br />
in next destination record<br />
<br />
But contents of /tmp/dispatcher.list is<br />
1 sip:172.28.0.12:5060<br />
1 sip:172.28.0.19:5060<br />
<br />
<br />
Can I somehow dump xavp_dst var to check if ds_select_dst is correct?<br />
<br />
kamailio 5.2.0-dev6<br /></blockquote>
<br />
Regards,<br />
<br />
<br />
Antony.<br />
<br />
--<br />
This email was created using 100% recycled electrons.<br />
<br />
Please reply to the list;<br />
please *don't* CC me.<br />
<br />
_______________________________________________<br />
Kamailio (SER) - Users Mailing List<br />
sr-users@lists.kamailio.org<br />
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<br /></blockquote>
</div>
</body>
</html>