Thx Brian,<br><br>I understand that you can set the <u>destination</u> IP:Port via variables, but I was concerned with the source interface of the multicast traffic.<br><br>And I just confirmed that on FreeBSD you do not need to specify a route in the single interface case because:<br>
<pre>"the default multicast route is via the interface<br>with the default route; setting a route isn't necessary unless you need to<br>force multicast to go via a particular interface by default, this is done<br>
by longest-prefix matching like all other IPv4 routing activities."<br><br><font size="4">They also state that:<br><br></font>"An unprivileged userland application is also able to control where it is <br>sending its multicast traffic (without mucking with the routing table) <br>
by using the sockopt IP_MULTICAST_IF. It can specify the address of any interface on the <br>machine"<br><br><font size="4">But this would really be a hassle for the programmer :)<br><br>Thx for your help!<br></font><font size="4"><br>
</font></pre><br><div class="gmail_quote">On Mon, Feb 22, 2010 at 4:35 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</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;">
The args to the app are the ip and port to send on...<br>
<font color="#888888"><br>
/b<br>
</font><div class="im"><br>
On Feb 22, 2010, at 4:27 PM, Luis F Urrea wrote:<br>
<br>
> Since this would be in the category of a host operation and there would be no need to forward multicast traffic between interfaces I thought that maybe there could be code in the esf application that would choose the IP it would bound to.<br>
<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br>