<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>indeed, enforcing the socket was missing. Can you try with latest
git from master or 4.4 branches? I pushed a patch for it.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<br>
<div class="moz-cite-prefix">On 21/12/2016 15:50, Diego Nadares
wrote:<br>
</div>
<blockquote
cite="mid:CAP-r+eo4drpfJ4c=uvfT3SiBcLQ=RO_qFc+V_TpX+PKEQf5S9Q@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Guys,
<div><br>
</div>
<div>Anybody knows if each 'socket' specified in routes struct
should be use to send the messages?</div>
<div><br>
</div>
<div>The socket is configured in kamailio.</div>
<div><br>
</div>
<div>In kamailio.cfg</div>
<div>listen=udp:<a moz-do-not-send="true"
href="http://172.16.213.38:5060">172.16.213.38:5060</a></div>
<div><br>
</div>
<div>json struct</div>
<div><br>
</div>
<div>"routes": [</div>
<div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>{</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"uri":
"sip:<a moz-do-not-send="true" href="http://127.0.0.1:5080">127.0.0.1:5080</a>",</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"dst_uri":
"sip:<a moz-do-not-send="true" href="http://127.0.0.1:5082">127.0.0.1:5082</a>",</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"path":
"<sip:<a moz-do-not-send="true"
href="http://127.0.0.1:5084">127.0.0.1:5084</a>>,
<sip:<a moz-do-not-send="true"
href="http://127.0.0.1:5086">127.0.0.1:5086</a>>",</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> ----> </span>"socket":
"udp:<a moz-do-not-send="true"
href="http://172.16.213.38:5060">172.16.213.38:5060</a>",<----</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"headers":
{</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"from":
{</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"display":
"Alice",</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>"uri":
"<a class="moz-txt-link-freetext" href="sip:alice@127">sip:alice@127</a>..</div>
</div>
<div><br>
</div>
<div>In our kamailio has two eth and I want to select which one
to use but I can't make it work through rtjson. </div>
<div><br>
</div>
<div>In the code of the module I can't find where is being
assigned the socket. </div>
<div><br>
</div>
<div>Thanks in advance!</div>
<div><br>
</div>
<div>Diego</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-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>