[Freeswitch-dev] mod event multicast drops some events on outbound call legs ?
Anthony Minessale
anthony.minessale at gmail.com
Fri Dec 4 15:43:39 PST 2009
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 at 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 at 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 at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20091204/b7623945/attachment.html
More information about the FreeSWITCH-dev
mailing list