please try trunk,<br><br>I changed the module to do blocking reads on the socket which should work even better than sleeping less.<br><br>so.. about this multicast presence stuff???<br><br><br><div class="gmail_quote">On Fri, Dec 4, 2009 at 4:19 AM, Matteo <span dir="ltr">&lt;<a href="mailto:mbrancaleoni@voismart.it">mbrancaleoni@voismart.it</a>&gt;</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 again,<br>
<br>
I&#39;ve found a fix, but maybe the error is hidded somewhere else.<br>
<br>
If in the function SWITCH_MODULE_RUNTIME_FUNCTION(mod_event_multicast_runtime),<br>
line 515 in mod_event_multicast.c I change switch_yield(100000);  to a lower<br>
time, for example switch_yield(1000); it works ok.<br>
<br>
so maybe a loo long sleep time makes the multicast receiver loose<br>
packets if we have many events (I&#39;m sending all the events for now,<br>
maybe with filters this will not happen).<br>
<br>
So, with switch_yield(1000); works ok.<br>
<br>
But this&#39;s the right fix?<br>
<div><div></div><div class="h5"><br>
regards,<br>
matteo<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>