<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Lorenzo,<br>
<br>
The error you get means that OpenSIPS does not have any IPv4 + UDP
listener defined. IF you do "netstat -ulnp| grep opensips" , what do
you get ?<br>
<br>
Best regards,<br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2017, Houston, US
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html">http://opensips.org/training/OpenSIPS_Bootcamp_2017.html</a>
</pre>
<div class="moz-cite-prefix">On 06/09/2017 06:24 PM, lorenzo tombini
wrote:<br>
</div>
<blockquote
cite="mid:CAOC6kh0hb=_L+MdeYy2CSLFgPcF5OEP7XZyWfdX_t0miAEAp-w@mail.gmail.com"
type="cite">
<div dir="ltr">Hi all,
<div>always on my centos7 64bt with opensips 2.3<br>
<div>i'm trying to use regex.</div>
<div><br>
</div>
<div>I've make this change to catch call from user 5001 </div>
<div><br>
</div>
<div>
<div>#if ($rU=~"^\+[1-9][0-9]+$") { -> this is the
default line that works.</div>
<div> if (pcre_match("$fU","5001")) {</div>
<div><br>
</div>
<div> $rd="10.10.10.10"; #CUSTOMIZE ME</div>
<div> $rp=5060;</div>
<div><br>
</div>
<div> route(relay);</div>
<div> exit;</div>
<div> }</div>
<div><br>
</div>
<div>i've loaded module regex.so</div>
<div><br>
</div>
<div>this is in the logs</div>
<div>Seems that after log branch, there is no way to relay
the call, but I cannot understand way</div>
<div><br>
</div>
<div>
<div>Jun 9 17:15:41 sip-proxy /usr/sbin/opensips[5836]:
new branch 5001,<a moz-do-not-send="true"
href="mailto:sip%3A5001@10.10.10.10">sip:5001@10.10.10.10</a>
-> <a class="moz-txt-link-freetext" href="sip:5002@10.10.10.10:5060;user=phone,5002">sip:5002@10.10.10.10:5060;user=phone,5002</a></div>
<div>Jun 9 17:15:41 sip-proxy /usr/sbin/opensips[5836]:
ERROR:tm:update_uac_dst: failed to fwd to af 2, proto 1
(no corresponding listening socket)</div>
<div>Jun 9 17:15:41 sip-proxy /usr/sbin/opensips[5836]:
ERROR:tm:t_forward_nonack: failure to add branches</div>
<div>Jun 9 17:15:41 sip-proxy /usr/sbin/opensips[5837]:
ERROR:tm:update_uac_dst: failed to fwd to af 2, proto 1
(no corresponding listening socket)</div>
<div>Jun 9 17:15:41 sip-proxy /usr/sbin/opensips[5837]:
ERROR:tm:t_forward_nonack: failure to add branches</div>
</div>
<div><br>
</div>
<div>could someone help me to understand this?</div>
<div><br>
</div>
<div>thanks alot in advanced</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">Lorenzo Tombini</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>