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 <[email protected]> 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
> [email protected]
> 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:[email protected] <msn%[email protected]>
GTALK/JABBER/PAYPAL:[email protected]<paypal%[email protected]>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:[email protected] <sip%[email protected]>
iax:[email protected]/888
googletalk:[email protected]<googletalk%3aconf%[email protected]>
pstn:213-799-1400
_______________________________________________
FreeSWITCH-dev mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
http://www.freeswitch.org

Reply via email to