<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Alex,<br>
<br>
dispatcher module does not send new invites to inactive gateways.
But in case a destination became inactive while some INVITEs were
already through dispatcher, these recent inactive gateways may still
be used for them.<br>
<br>
Regarding the probing mode, dispatcher will never select a probing
gateway as first option to route the call, but they are kept as
alternative. This is the current implementation, we may add a module
parameter to skip gateways in probing mode even for secondary
alternatives.<br>
<br>
Non-responsive gateways change the state after a while, see:<br>
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules_k/dispatcher.html#id2567110">http://kamailio.org/docs/modules/stable/modules_k/dispatcher.html#id2567110</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 11/12/10 12:58 PM, alex pappas wrote:
<blockquote
cite="mid:AANLkTi=8SzAFJf9mWW3WfiAhN6bg5tLnx=qbk=5q2jCa@mail.gmail.com"
type="cite">Dear all,<br>
<br>
Does anyone can explain how Dispatcher module is sending calls to
the gateways in the different states?<br>
<br>
I mean if I have 3 gateways and the one of them is in Probing mode
why Dispatcher is continuing sending there calls? Why this gateway
is not changing from Probing to Inactive since is not replaying to
OPTIONS messages send by Kamailio?<br>
<br>
Configuration:<br>
<br>
modparam("dispatcher", "flags", 2)<br>
modparam("dispatcher", "ds_ping_interval", 5)<br>
modparam("dispatcher", "ds_probing_mode", 1)<br>
modparam("dispatcher", "ds_probing_threshhold", 2)<br>
modparam("dispatcher", "dst_avp", "$avp(s:dst_avp)")<br>
modparam("dispatcher", "grp_avp", "$avp(dsgrp)")<br>
modparam("dispatcher", "cnt_avp", "$avp(i:202)")<br>
modparam("dispatcher", "ds_append_branch", 0)<br>
<br>
using db for gw:<br>
<br>
setid 123,destination <a class="moz-txt-link-freetext" href="sip:xxx.xxxx.xxx">sip:xxx.xxxx.xxx</a>, flag 0 ...<br>
<br>
in ROUTE:<br>
if(ds_select_domain("$avp(s:disp_dstgrp)", "4"))<br>
<br>
in Failure Route<br>
<br>
if(!ds_next_domain())<br>
<br>
I want Dispatcher when it sees a node gateway that is dead , to
Not send any other calls.<br>
<br>
Thank you in advance<br>
<br>
Alex<br>
<br>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>