Lightning fast Bogdan.. ;-)<br><br>I think so.<br>#opensips<br>
Listening on <br>
udp: <a href="http://127.0.0.1">127.0.0.1</a> [<a href="http://127.0.0.1">127.0.0.1</a>]:5060<br>
udp: 195.x.x.101 [195.x.x.101]:5060<br>
udp: 195.x.x.106 [195.x.x.106]:5060<br>
udp: 10.x.x.102 [10.x.x.102]:5060<br>
tcp: <a href="http://127.0.0.1">127.0.0.1</a> [<a href="http://127.0.0.1">127.0.0.1</a>]:5060<br>
tcp: 195.x.x.101 [195.x.x.101]:5060<br>
tcp: 195.x.x.106 [195.x.x.106]:5060<br>
tcp: 10.x.x.102 [10.x.x.102]:5060<br>
<br>#netstat -lut | grep sip<br>tcp 0 0 10.100.100.102:sip *:* LISTEN <br>tcp 0 0 195.x.x.106:sip *:* LISTEN <br>tcp 0 0 195.x.x.101:sip *:* LISTEN <br>
tcp 0 0 localhost:sip *:* LISTEN <br>udp 0 0 10.x.x.102:sip *:* <br>udp 0 0 195.x.x.106:sip *:* <br>
udp 0 0 195.x.x.101:sip *:* <br>udp 0 0 localhost:sip *:* <br><br>/Ola<br><br><div class="gmail_quote">On Tue, Nov 11, 2008 at 7:37 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Ola,<br>
<br>
Is your opensips listening on udp:195.x.x.106:5060 ?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
Ola Karlsson wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
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></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br>