I asked if you enter noevents before you hangup.&nbsp; Is the part you are saying i understood?<br>The instant you type noevents you are turning off the event queue for that socket.<br>That&#39;s why I am trying to clarify so we are on the same page.&nbsp; 1 nanosecond after FS gets that command you will never get another event unless you turn it back on.<br>
<br><br><br><br><div class="gmail_quote">On Thu, Jun 5, 2008 at 3:41 AM, UV &lt;<a href="mailto:uv@talknet.com.au">uv@talknet.com.au</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">











<div link="blue" vlink="blue" lang="EN-US">

<div>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">You understood me right.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">We ran the tests on several boxes over and
over again and the results were conclusive – it's not a
CPU/Memory/Machine issue. All tests were on a windows machines. We haven't
tried on anything else.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I assume you tested it on a linux machine.
</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">I guess if it's not replicating there,
it must be a windows specific issue.</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Anthony Minessale<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, June 05, 2008 8:43
AM<div><div></div><div class="Wj3C7c"><br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users]
inconsistent Event XML (Event PLAINworkingfine)</div></div></span></font></p>

</div><div><div></div><div class="Wj3C7c">

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">do you mean noevents
before or after you hangup?<br>
cos noevents first would obviously kill the events before you ever saw them.<br>
I ask because I ran script in 2 shells telneted to 8021 on a box one <br>
<br>
&quot;events plain&quot;<br>
and the other <br>
&quot;events xml&quot;<br>
<br>
Then I called 3011 and hungup again and all the events were there in both.<br>
<br>
Could this be a windows specific issue?<br>
<br>
<br>
</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Wed, Jun 4, 2008 at 2:57 PM, UV &lt;<a href="mailto:uv@talknet.com.au" target="_blank">uv@talknet.com.au</a>&gt; wrote:</span></font></p>

<div link="blue" vlink="blue">

<div>

<p><font color="navy" face="Trebuchet MS" size="2"><span style="font-size: 10pt; color: navy;" lang="EN-AU">These steps
instruct how to manually reproduce these symptoms using a VoIP endpoint
(IPPhone/SoftPhone) and a terminal (telnet/putty).</span></font></p>

<p><font color="navy" face="Trebuchet MS" size="2"><span style="font-size: 10pt; color: navy;" lang="EN-AU">In step 7 you
physically put the phone down (on-hook). I recommended entering in the terminal
&quot;NOEVENTS&quot; to stop receiving events so you can scroll up and compare
the events.</span></font></p>

<p><font color="navy" face="Trebuchet MS" size="2"><span style="font-size: 10pt; color: navy;" lang="EN-AU">&nbsp;</span></font></p>

<p><font color="navy" face="Trebuchet MS" size="2"><span style="font-size: 10pt; color: navy;" lang="EN-AU">Obviously, these
are not the steps made by the call-control engine which is fully automatic.</span></font></p>

<p><font color="navy" face="Trebuchet MS" size="2"><span style="font-size: 10pt; color: navy;" lang="EN-AU">&nbsp;</span></font></p>

<p><font color="navy" face="Trebuchet MS" size="2"><span style="font-size: 10pt; color: navy;" lang="EN-AU">Sorry for that.
I hope it&#39;s clearer now. Did that solve your confusion or am I the one
confused?</span></font></p>

<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">&nbsp;</span></font></p>

<div>

<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Anthony Minessale<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, June 05, 2008 4:27
AM<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users]
inconsistent Event XML (Event PLAIN workingfine)</span></font></p>

</div>

<div>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">&nbsp;</span></font></p>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">I dont get step 7?<br>
hangup the call and send noevents ?<br>
<br>
</span></font></p>

<div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Wed,
Jun 4, 2008 at 12:09 AM, UV &lt;<a href="mailto:uv@talknet.com.au" target="_blank">uv@talknet.com.au</a>&gt; wrote:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">We&#39;ve
been having various problems intercepting events using the<br>
Event_Socket mod where we found different events to be missing from time to<br>
time. This included events concerning call-control (CHANNEL_CREATE,<br>
CHANNEL_ANSWER, CHANNEL_HANGUP and CHANNEL_DESTROY) which were out biggest<br>
problem as we&#39;re trying to build a call-control engine on top of the FS.<br>
<br>
We later found this problem was restricted to events in XML format (i.e.<br>
event xml all) while PLAIN events (i.e. event plain all) seem to be working<br>
fine.<br>
<br>
To reproduce this it requires loading the FS to some extent, however we<br>
found a easily reproducible scenario in which you can see the difference:<br>
1. Start a call to the conference room 3011<br>
2. Wait until the call in answered and all prompts resumed<br>
3. Initiate two event_socket interfaces (such as telnet/ssh to 8021)<br>
4. Register on one for EVENT XML ALL<br>
5. Register on the other EVENT PLAIN ALL<br>
7. Hang up the call (and send NOEVENTS)<br>
<br>
This will reproduce a noticeable difference of at least 4 missing events in<br>
the XML events interface: CODEC, CHANNEL_EXECUTE_COMPLETE, PRESENCE_IN and<br>
most important CHANNEL_DESTROY<br>
<br>
I&#39;ve posted both results on PB:<br>
Working PLAIN events: <a href="http://pastebin.freeswitch.org/4560" target="_blank">http://pastebin.freeswitch.org/4560</a><br>
Inconsistent XML events: <a href="http://pastebin.freeswitch.org/4561" target="_blank">http://pastebin.freeswitch.org/4561</a><br>
<br>
BTW, it&#39;s FreeSwitch Version 1.0.0 (8697) running on a Windows XP machine.<br>
<br>
Any ideas? Suggestions?<br>
<br>
<br>
_______________________________________________<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></span></font></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><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 </span></font></p>

</div>

</div>

</div>

</div>

<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
_______________________________________________<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></span></font></p>

</div>

<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><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 </span></font></p>

</div></div></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><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400