Hi Anthony,<br><br>I updated to rev 13496 -- now I have a different problem... I connect to the event socket interface, ask for all events... then never receive any events!<br><br>From telnet:<br>"<br>Content-Type: auth/request<br>
auth ClueCon<br><br>Content-Type: command/reply<br>Reply-Text: +OK accepted<br>events plain all<br><br>Content-Type: command/reply<br>Reply-Text: +OK event listener enabled plain<br>"<br><br>After this point I receive no events even though I make FS do lots of things.<br>
<br>Am I doing something stupid, or is something broken?<br><br>Gerry<br><br><div class="gmail_quote">On Thu, May 28, 2009 at 7:33 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></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;">I dug up patch and it' clearly not the right patch and is only a self serving kludge for jonas.<br>
There is nothing wrong with that except he never tested our proper patch that only has on possible problem: the timeout being too short.<br>
<br>I have updated the timeout to a much higher value <br><br>please retest revision r13496 or greater <br><div><div></div><div class="h5"><br><br><br><br><br><div class="gmail_quote">On Thu, May 28, 2009 at 6:05 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></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;">and attach the patch in question<br><br><br><div class="gmail_quote"><div><div></div><div>
On Thu, May 28, 2009 at 4:36 PM, Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div>
<div>Please report bugs to <a href="http://jira.freeswitch.org" target="_blank">http://jira.freeswitch.org</a><div><br></div><div>/b</div><div><div><div></div><div><br><div><div>On May 28, 2009, at 4:20 PM, Gerry Hull wrote:</div>
<br><blockquote type="cite"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;">Hello,<br>
<br>I am a Windows developer who has written an application around the event_socket interface. My client piece started with the C# EventSocket client Jonas Gauffin had posted on CodePlex.<br>Well, Jonas did not keep up that code on Codeplex, but after communicating with him, I did get the latest client-side code from the freeaswitch SVN, and it seems to work fine.<br>
<br>However, their is a persistent, nasty bug I'm seeing:<br><br>On an inbound call to FreeSwitch, I get the EventChannelAnswer event, which gives me some of the info I need on the incoming call.<br>Following that event, I should get an EventChannelExecuteComplete event, which gives me important information like call-direction,<br>
channel-state, answer-state, caller-destination-number, caller-caller-id-name, etc.<br><br>The problem I'm seeing is that EventChannelAnswer ALWAYS fires on an inbound call, but EventChannelExecuteComplete does not fire --randomly. I thought this mighrt have something to do with linger,<br>
but executing the linger command does not help.<br><br>Jonas made the following comment on the issue:<br><br>"It has been a bug in the eventsocket implementation in freeswitch. It can sometimes skip packets if the socket layer in the os gives an error code (internal socket buffer becomes full).<br>
A simple send retry usually fixes the problem. I've created a patch for it long time ago (and reported it in FS jira). Mike Jerris have made an own fix for the issue. I do not know if it works, I'm still<br>running my own patch. I've attached it to this email. It's a patch for freeswitch\src\mod\event_handlers\mod_event_socket\ mod_event_socket.c, everything works gr8 for me with it."<br>
<br>Well, I have no idea how to apply the patch.<br><br>I've downloaded the latest code from trunk at<span> </span><a href="http://files.freeswitch.org" target="_blank">files.freeswitch.org</a>, and built FS using Visual Studio 2008. all compiles fine. However, the bug sticks it's nasty head up randomly about every other call.<br>
<br>I've never done a patch... I tried downloading GNU Patch for windows, and tried applying it, but it reported errors.<br><br>Has this issue been fixed in core code? If not, can someone help me patch this? I'm dead in the water on a project until I resolve this. In every other aspect, I've found FS to be flawless.<br>
<br>Regards,<br><br>Gerry<br></span></blockquote></div><br></div></div><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div>
<div>Brian West</div><div><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></div><div><br></div></div></span>-- Meet us at ClueCon! <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br>
<div><br></div></div></span><br></div></span><br> </div><br></div></div><br></div></div>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>
</div></div><br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>