Hi List.<br><br>Have some problems with the force_send_socket function.<br><br>I have one Opensips 1.4 server with two physical interfaces and one alias interface.<br><br>eth0 195.x.x.101/28<br>eth0:1 195.x.x.106/28<br>
<br>eth1: 10.x.x.x<br><br>The script looks something like this where I use the force_send_socket function.<br><br>if(uri=~"sip:0009.*") {<br> force_send_socket(udp:195.x.x.106:5060);<br> strip(4);<br>
rewritehostport("195.x.x.102:5060");<br> route(1);<br>}<br><br>In the end the Via field is set to 106 but NOT the source IP that stays .101 ..<br><br>Am I doing something wrong with this function or is OpenSIPS giving me a hard time?<br>
<br>/Ola<br>