<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 href="mailto:sip%3A5001@10.10.10.10">sip:5001@10.10.10.10</a> -> sip:5002@10.10.10.10:5060;user=phone,5002</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>