<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Perfect, thanks Daniel, all works!<div><br></div><div>Sorry for the noise :)</div><div><br></div><div>Jon<br><br><div><hr id="stopSpelling">Subject: Re: [SR-Users] Kamailio and UCARP with Multiple VIPs defined<br>To: hunterj91@hotmail.com; sr-users@lists.sip-router.org<br>From: miconda@gmail.com<br>Date: Tue, 15 Mar 2016 08:48:31 +0100<br><br>
Hello,<br>
<br>
<div class="ecxmoz-cite-prefix">On 14/03/16 17:39, Jonathan Hunter
wrote:<br>
</div>
<blockquote cite="mid:DUB112-W28FFE1409516C4B9297D4BBD880@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hi Daniel,
<div><br>
</div>
<div>Actually I see I need to go to 4.3 to use the
ds_default_socket parameter.</div>
</div>
</blockquote>
... and per destination by using socket param in attributes:<br>
<br>
<a class="ecxmoz-txt-link-freetext" href="http://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.ex.attributes" target="_blank">http://www.kamailio.org/docs/modules/stable/modules/dispatcher.html#dispatcher.ex.attributes</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote cite="mid:DUB112-W28FFE1409516C4B9297D4BBD880@phx.gbl">
<div dir="ltr">
<div><br>
</div>
<div>Will go to 4.3 and see how it goes.</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Jon</div>
<div><br>
</div>
<div>
<pre class="ecxprogramlisting" style="border:1px solid rgb(153, 204, 204);padding-left:15pt;background-color:rgb(254, 254, 238);">modparam("dispatcher", "ds_default_socket", "udp:192.168.0.125:5060")</pre>
<br>
<div>
<hr id="ecxstopSpelling">From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:hunterj91@hotmail.com">hunterj91@hotmail.com</a><br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a>; <a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Date: Mon, 14 Mar 2016 15:59:51 +0000<br>
Subject: Re: [SR-Users] Kamailio and UCARP with Multiple
VIPs defined<br>
<br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hi Daniel,
<div><br>
</div>
<div>Thanks for the reply, sorry I keep missing you ! :)</div>
<div><br>
</div>
<div>I have added force_send_socket in the correct places
now , and I can now make inbound/outbound calls are
required.</div>
<div><br>
</div>
<div>However with dispatcher, when Im trying to send SIP
options pings to gateways defined, I see these errors;</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>RROR: dispatcher [dispatch.c:2564]:
ds_check_timer(): unable to ping [<a class="ecxmoz-txt-link-freetext" target="_blank">sip:10.70.0.72:5080</a>]</div>
<div>Mar 14 15:56:25 bt1proxy1
/usr/sbin/kamailio[26708]: ERROR: <core>
[forward.c:218]: get_out_socket(): no socket found</div>
<div>Mar 14 15:56:25 bt1proxy1
/usr/sbin/kamailio[26708]: ERROR: <core>
[forward.c:220]: get_out_socket(): no corresponding
socket found for(udp:10.70.0.72:5080)</div>
<div>Mar 14 15:56:25 bt1proxy1
/usr/sbin/kamailio[26708]: ERROR: tm [ut.h:345]:
uri2dst2(): no corresponding socket found for
"10.70.0.72" af 2 (udp:10.70.0.72:5080)</div>
<div>Mar 14 15:56:25 bt1proxy1
/usr/sbin/kamailio[26708]: ERROR: tm [uac.c:307]:
t_uac_prepare(): t_uac: no socket found</div>
</div>
<div><br>
</div>
<div>However this is only when the listening socket is the
VIP, if I define the true private local address to
listen on, dispatcher works nicely.</div>
<div><br>
</div>
<div>Can you set force socket for dispatcher module when
using probing?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Jon</div>
<div>
<div><br>
<div>
<hr id="ecxstopSpelling">Subject: Re: [SR-Users]
Kamailio and UCARP with Multiple VIPs defined<br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:hunterj91@hotmail.com">hunterj91@hotmail.com</a>;
<a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
Date: Tue, 8 Mar 2016 16:55:52 +0100<br>
<br>
Hello,<br>
<br>
oh, forgot to follow up, as I read your response at
some point.<br>
<br>
Are you doing force_send_socket() or $fs = ...? If
yes, what is the socket value you are forcing?<br>
<br>
The log message said:<br>
<br>
Mar 1 20:04:35 bt1proxy1 /usr/sbin/kamailio[20372]:
ERROR: <core> [forward.c:220]:
get_out_socket(): no corresponding socket found
for(udp:10.70.0.72:5080)<br>
<br>
The socket listen in the rpc command output is
udp:10.70.0.75:5060.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="ecxmoz-cite-prefix">On 08/03/16 11:29,
Jonathan Hunter wrote:<br>
</div>
<blockquote cite="mid:DUB112-W1176E1B71CE5412C988D936BDB20@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hi Daniel,
<div><br>
</div>
<div>Did you have any thoughts on this or is it
more ip routing related or ucarp configuration
on the server itself?</div>
<div><br>
</div>
<div>Looks like kamailio has it as a listening
socket.</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Jon<br>
<br>
<div>
<hr id="ecxstopSpelling">From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:hunterj91@hotmail.com"></a><a class="ecxmoz-txt-link-abbreviated" href="mailto:hunterj91@hotmail.com">hunterj91@hotmail.com</a><br>
To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a>;
<a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
Date: Fri, 4 Mar 2016 12:31:29 +0000<br>
Subject: Re: [SR-Users] Kamailio and UCARP
with Multiple VIPs defined<br>
<br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Hi Daniel,
<div><br>
</div>
<div>Thanks for the reply. Yes its
listed, however I see mhomed set to no?
however I have defined as on.</div>
<div><br>
</div>
<div>
<div>socket: {</div>
<div> proto: udp</div>
<div> address: 10.70.0.75</div>
<div> ipaddress:
10.70.0.75</div>
<div> proto: 5060</div>
<div> mcast: no</div>
<div> mhomed: no</div>
<div> }</div>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>ERROR: tm [ut.h:345]: uri2dst2():
no corresponding socket found for
"10.70.0.73" af 2
(udp:10.70.0.73:5080)</div>
<div>Mar 4 12:28:43 bt1proxy1
/usr/sbin/kamailio[7264]: ERROR: tm
[t_fwd.c:522]: prepare_new_uac():
ERROR: can't fwd to af 2, proto 1 (no
corresponding listening socket)</div>
<div>Mar 4 12:28:43 bt1proxy1
/usr/sbin/kamailio[7264]: ERROR: tm
[t_fwd.c:1779]: t_forward_nonack():
ERROR: t_forward_nonack: failure to
add branches</div>
<div>Mar 4 12:28:43 bt1proxy1
/usr/sbin/kamailio[7264]: ERROR: sl
[sl_funcs.c:387]: sl_reply_error():
ERROR: sl_reply_error used: I'm
terribly sorry, server error occurred
(1/SL)</div>
<div><br>
</div>
<div>Am I missing something?</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Jon</div>
<div><br>
</div>
<br>
<div>
<hr id="ecxstopSpelling">To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org"></a><a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:miconda@gmail.com">miconda@gmail.com</a><br>
Date: Wed, 2 Mar 2016 12:10:32 +0100<br>
Subject: Re: [SR-Users] Kamailio and
UCARP with Multiple VIPs defined<br>
<br>
Hello,<br>
<br>
can you see if the socket lists
includes the IP address giving
problems? Use the command:<br>
<br>
kamcmd core.sockets_list<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="ecxmoz-cite-prefix">On
02/03/16 10:14, Jonathan Hunter
wrote:<br>
</div>
<blockquote cite="mid:DUB112-W52F8EDCB49F68839725038BDBC0@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">
<div>Hi Guys,</div>
<div><br>
</div>
<div>Using Centos 6.7, kamailio
4.2 and Ucarp I am testing
multiple VIPs on the same server
and having some issues.</div>
<div><br>
</div>
<div><br>
</div>
<div>I have ucarp running, with 1
Public and 1 Private VIP
defined, and both are pingable
and failover in a cluster.</div>
<div><br>
</div>
<div>The Public is for Subscribers
to Register with, and the
Private for Communication to the
Asterisk media servers behind
it.</div>
<div><br>
</div>
<div>My problem is kamailio when
started states its listening on
both the VIPS, however when I
try and force_socket over the
Private IP address, it states </div>
<div><br>
</div>
<div> ERROR: <core>
[forward.c:218]:
get_out_socket(): no socket
found</div>
<div>Mar 1 20:04:35 bt1proxy1
/usr/sbin/kamailio[20372]:
ERROR: <core>
[forward.c:220]:
get_out_socket(): no
corresponding socket found
for(udp:10.70.0.72:5080)</div>
<div>Mar 1 20:04:35 bt1proxy1
/usr/sbin/kamailio[20372]:
ERROR: tm [t_fwd.c:520]:
prepare_new_uac(): ERROR: can't
fwd to af 2, proto 1 (no
corresponding listening socket)</div>
<div><br>
</div>
<div><br>
</div>
<div>This is when listening on the
VIP which is 10.70.0.75 and I
also look to force_socket out of
this IP. It just doesnt work,
however if I use the physical
interface on the server, that
being 10.70.0.70, it works fine
and forwards requests on the
Private LAN.</div>
<div><br>
</div>
<div>I have added
net.ipv4.ip_nonlocal_bind = 1 to
sysctl.conf as well but no joy.</div>
<div><br>
</div>
<div>If 1 VIP is defined I have no
issue, its just with 2, has
anyone had this issue before ?</div>
<div><br>
</div>
<div>Any help would be great.</div>
<div><br>
</div>
<div>Many thanks</div>
<div><br>
</div>
<div>Jon</div>
</div>
<br>
<fieldset class="ecxmimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="ecxmoz-signature">--
Daniel-Constantin Mierla
<a class="ecxmoz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a class="ecxmoz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Training, Berlin, March 7-9, 2016 - <a class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
<br>
_______________________________________________
SIP Express Router (SER) and Kamailio
(OpenSER) - sr-users mailing list <a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org"></a><a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div>
</div>
</div>
<br>
_______________________________________________
SIP Express Router (SER) and Kamailio
(OpenSER) - sr-users mailing list <a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org"></a><a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div>
</div>
</div>
</blockquote>
<br>
<pre class="ecxmoz-signature">--
Daniel-Constantin Mierla
<a class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a class="ecxmoz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a class="ecxmoz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="ecxmoz-txt-link-freetext" href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
</div>
</div>
</div>
</div>
<br>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div>
</div>
</div>
</blockquote>
<br>
<pre class="ecxmoz-signature">--
Daniel-Constantin Mierla
<a class="ecxmoz-txt-link-freetext" href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a class="ecxmoz-txt-link-freetext" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a class="ecxmoz-txt-link-freetext" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, Berlin, May 18-20, 2016 - <a class="ecxmoz-txt-link-freetext" href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre></div></div> </div></body>
</html>