<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
in the first phase add the socket as an attribute for each gateway.<br>
<br>
At some point we should look at making some of the attributes as
dedicated fields (columns), but I would prefer to make it at once
for all attributes that should be split out.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 31/10/14 11:37, Federico Cabiddu
wrote:<br>
</div>
<blockquote
cite="mid:CAFOaF_gCZiZHXeHw9ERTfioXEKCZR_5V==B7vYa4pmSZP=ne=w@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div>after fighting in the last days with dispatcher and the
socket used to send pings and dispatch requests, I'm thinking
in adding to the module the support for configuring the
sending socket. Specifically what I'm thinking is:</div>
<div><br>
</div>
<div>1) add the sending socket as a gateways' parameter </div>
<div>2) add an avp to store the gateways' send socket, to be
used for load balancing failover</div>
<div>3) add a module parameter "ds_send_socket" to define a
global socket </div>
<div><br>
</div>
<div>The logic to select the sending socket would be:</div>
<div><br>
</div>
<div>1) if the gateway has send socket configured, use it</div>
<div>2) else, if configured, use the socket specified in
ds_send_socket</div>
<div>3 else use the socket corresponding to the first listen
directive (current behaviour)</div>
<div><br>
</div>
<div>What do you think about? Do you find that this would be
generally useful?</div>
<div>About adding the send socket per gateway: how do you think
it should be configured? In a dedicated column (db or file) or
in the attrs parameter (just adding another attributes)?</div>
<div><br>
</div>
<div>Looking forward to your feedback.</div>
<div><br>
</div>
<div>Cheers,</div>
<div><br>
</div>
<div>Federico</div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</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>