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