<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-cite-prefix">On 13/01/15 16:52, Yuriy Gorlichenko
wrote:<br>
</div>
<blockquote
cite="mid:CABSP_Vc--94h5QRUGfgPh++9361T6jSmGdbPbsiA4Zkh08DUdw@mail.gmail.com"
type="cite">
<div dir="ltr"><span style="font-size:13.3333339691162px">Daniel.
I added 8 algorithm to our server and it works with 2 asterisk
now but it works strange because:</span><br
style="font-size:13.3333339691162px">
<span style="font-size:13.3333339691162px">While works server
with priority 1 - all ok. When this server goes down
dispatcher choose next server with lowes priority. But when
server with highest priority waking up dispatcher use server
with lowes priority until this server not goes down.<br>
</span></div>
</blockquote>
<br>
Perhaps it is a mistake in the part 'until this server not goes
down'? Can you explain again the observed behaviour? Also, wrote in
a previous email to a thread that seems to expose same issue, check
the state of dispatcher addresses in memory via mi or rpc commands.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:CABSP_Vc--94h5QRUGfgPh++9361T6jSmGdbPbsiA4Zkh08DUdw@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
here id my config for dispatcher<br>
<br>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"db_url",DBURL)</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"table_name", "dispatcher")</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"setid_col", "setid")</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"priority_col", "priority")</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"destination_col", "destination")</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"force_dst", 1)</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"flags", 3)</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"dst_avp", "$avp(i:271)")</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"grp_avp", "$avp(i:272)")</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"cnt_avp", "$avp(i:273)")</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"ds_ping_from", "<a moz-do-not-send="true"
href="mailto:sip%3Akamailio1@10.0.1.12" target="_blank">sip:kamailio1@10.0.1.12</a>")</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"ds_ping_interval",15)</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"ds_probing_mode", 1)</div>
<div style="font-size:13.3333339691162px">modparam("dispatcher",
"ds_ping_reply_codes",
"class=2;code=403;code=404;code=484;class=3")</div>
<div style="font-size:13.3333339691162px">modparam("tm",
"reparse_on_dns_failover", 0)</div>
<div><br>
<br>
<span style="font-size:13.3333339691162px">(!ds_select_dst("$var(setid)",
"8")){</span><br style="font-size:13.3333339691162px">
<br style="font-size:13.3333339691162px">
<div style="font-size:13.3333339691162px">sl_send_reply("500",
"Service Unavailable");</div>
<div style="font-size:13.3333339691162px">
xlog("L_INFO","{$rm} from [$fU@$si:$sp] But NO destinations
available for $rd \n");</div>
<div style="font-size:13.3333339691162px"><span
style="white-space:pre-wrap"> </span>t_on_failure("DISPATCHER_ROLLOVER");</div>
<br style="font-size:13.3333339691162px">
<span style="font-size:13.3333339691162px">}</span><br
style="font-size:13.3333339691162px">
<br style="font-size:13.3333339691162px">
<div style="font-size:13.3333339691162px">if (!t_relay()) {</div>
<div style="font-size:13.3333339691162px"><span
style="white-space:pre-wrap"> </span>sl_reply_error();<br>
<br>
we use 4.3 master branch kamailio</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>