[Freeswitch-users] event inconsistency
Adam Kelloway
adam.kelloway at newpace.ca
Fri May 27 17:38:37 MSD 2011
Thank you for that suggestion,
I am running the latest git FS (from two days ago) with Ubuntu 10.10. My
event-listening app uses ESL (the org.freeswitch.esl java library) to
listen for the events. I see the same behaviour when I run the app on
the local host or on a separate machine. Currently, I am doing the
latter. Running tcpdump on the FS host shows that all traffic to the
port that my app is listening on is reliably received.
Listening for the event from fs_cli shows that event does get fired
consistently, but tcpdump does not show it as being sent over the
socket. Again, the behaviour is not consistent. Sometimes I do see the
event sent out (both in tcpdump and in my app) and sometimes I don't.
There doesn't appear to be any differences in the FS logs.
Is the event notification to the fs_cli done in the same way as an esl
notification?
Thanks,
Adam
On 3:59 PM, Anthony Minessale wrote:
> how are you consuming events? are you using ESL?
>
> I recommend using fs_cli as a control to rule out faulty client logic.
>
> start fs_cli and issue the events command from there
>
> /events channel_hangup
> /log 0
>
> then watch for the events there.
>
> P.S. you did not mention your platform or any other pertinent details
> about your setup.
>
>
>
> On Thu, May 26, 2011 at 1:51 PM, Adam Kelloway<adam.kelloway at newpace.ca> wrote:
>> I got the latest git yesterday from scratch just to make sure. Is there
>> any way I can see debug output of the send operations?
>>
>> I didn't notice this behaviour when I was running the 1.0.6 tar, it is
>> only since I started using git that I saw it.
>>
>> On 3:59 PM, Peter Olsson wrote:
>>> Did you try latest git? I recently submitted a patch to handle resend on the socket, if the socket is really busy (and returns "would block" state). It's in latest git.
>>>
>>> Besides that I've never seen any problems.
>>>
>>> /Peter
>>> ________________________________________
>>> Från: freeswitch-users-bounces at lists.freeswitch.org [freeswitch-users-bounces at lists.freeswitch.org] för Adam Kelloway [adam.kelloway at newpace.ca]
>>> Skickat: den 26 maj 2011 17:36
>>> Till: FreeSWITCH Users Help
>>> Ämne: [Freeswitch-users] event inconsistency
>>>
>>> Hi there,
>>>
>>> Has anyone ever had problems with events not being sent out over socket
>>> connections reliably? I am noticing that sometimes event notifications
>>> are sent, and sometimes they are not. For example, I have subscribed to
>>> CHANNEL_HANGUP, but depending on the timing of when I hangup the call
>>> (or when the dial plan hangs up), the event is not received. I confirmed
>>> with tcpdump that it is not even sent over the socket.
>>>
>>> Has anyone else seen his? What might be the problem?
>>>
>>> Thanks
>>>
>>> _______________________________________________
>>> FreeSWITCH-users mailing list
>>> FreeSWITCH-users at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>>
>>> !DSPAM:4dde73da32761960016355!
>>>
>>>
>>>
>>
>> --
>> Adam Kelloway
>> Software Engineer
>> NewPace Technology Development Inc.
>> adam.kelloway at newpace.ca
>> +1 902-406-8375 x1031
>> www.newpace.ca
>>
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
--
Adam Kelloway
Software Engineer
NewPace Technology Development Inc.
adam.kelloway at newpace.ca
+1 902-406-8375 x1031
www.newpace.ca
More information about the FreeSWITCH-users
mailing list