I tried it again. When the line is parked and idle. the raw events can always be generated.<div>but if the line is kept busy such as the following case this events is trend to have problem</div><div><br></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span><extension name="skype-in" break="on-false"></div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span><condition field="destination_number" expression="^5655$"></div><div> <action application="answer"/> </div>
<div> <action application="sleep" data="1000"/></div><div><span class="Apple-tab-span" style="white-space:pre">                                </span><!--<action application="park"/> --></div><div>
<span class="Apple-tab-span" style="white-space:pre">                                </span><action application="playback" data="test.wav"/> </div><div><span class="Apple-tab-span" style="white-space:pre">                                </span><action application="playback" data="test.wav"/> </div>
<div><span class="Apple-tab-span" style="white-space:pre">                                </span><action application="playback" data="test.wav"/> </div><div><div> <action application="playback" data="test.wav"/> </div>
<div><span class="Apple-tab-span" style="white-space: pre; ">                                </span><action application="playback" data="test.wav"/> </div><div><span class="Apple-tab-span" style="white-space: pre; ">                                </span><action application="playback" data="test.wav"/> </div>
</div><div> <action application="playback" data="test.wav"/> </div><div><span class="Apple-tab-span" style="white-space: pre; ">                                </span><action application="playback" data="test.wav"/> </div>
<div><span class="Apple-tab-span" style="white-space: pre; ">                                </span><action application="playback" data="test.wav"/> </div><div> <span class="Apple-tab-span" style="white-space:pre">        </span></condition></div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span></extension></div></div><div><br></div><div><br><br><div class="gmail_quote">On Thu, Dec 2, 2010 at 2:01 AM, Giovanni Maruzzelli <span dir="ltr"><<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I repeat, if you subscribe to "message" events you get only those.<br>
Also, how I can replicate your problem?<br>
I've tested events and I had no problem at all with spurious or<br>
unreliable events in mod-skypopen.<br>
Please, can you indicate a detailed way to reproduce your problem?<br>
-giovanni<br>
<div><div></div><div class="h5"><br>
On 12/2/10, xuyan yang <<a href="mailto:xyangni@gmail.com">xyangni@gmail.com</a>> wrote:<br>
> I got it. Then the problem should be the unstable behavior of raw events<br>
> which has about 25% chances of being missed.<br>
><br>
> Fortunately, I have found a way to avoid this issue. Ignore all message<br>
> events which contains Unique-ID field.<br>
><br>
> On Wed, Dec 1, 2010 at 11:18 PM, Giovanni Maruzzelli<br>
> <<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>>wrote:<br>
><br>
>> On Thu, Dec 2, 2010 at 12:15 AM, Giovanni Maruzzelli<br>
>> <<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>> wrote:<br>
>> > If you subscribe only to "MESSAGE" kind of events, you'll get only<br>
>> > those.<br>
>> ><br>
>> > The other events are "raw" events, that other users have requested for<br>
>> > other purposes.<br>
>><br>
>> or at least that is the expected behavior, please let me know if I<br>
>> introduced some regression in integrating that "raw event" thingy.<br>
>><br>
>> -giovanni<br>
>><br>
>> ><br>
>> > -giovanni<br>
>> ><br>
>> > On Wed, Dec 1, 2010 at 11:35 PM, xuyan yang <<a href="mailto:xyangni@gmail.com">xyangni@gmail.com</a>> wrote:<br>
>> >> Thanks for your reply. I have read this page before. but the random<br>
>> emerging<br>
>> >> of the second verbose esl events is causing trouble. And I guess it may<br>
>> be a<br>
>> >> bug, or it should be predictable.<br>
>> >> Before reporting to jira, I just want to check whether I have made any<br>
>> >> mistake.<br>
>> >><br>
>> >><br>
>> >> On Wed, Dec 1, 2010 at 9:35 PM, Giovanni Maruzzelli <<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>><br>
>> >> wrote:<br>
>> >>><br>
>> >>><br>
>> >>><br>
>> <a href="http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#MESSAGE_.28Chat.29" target="_blank">http://wiki.freeswitch.org/wiki/Mod_skypopen_Skype_Endpoint_and_Trunk#MESSAGE_.28Chat.29</a><br>
>> >>><br>
>> >>> On Wed, Dec 1, 2010 at 10:23 PM, xuyan yang <<a href="mailto:xyangni@gmail.com">xyangni@gmail.com</a>> wrote:<br>
>> >>> > hi,<br>
>> >>> > I am writing ESL program on FreeSWITCH Version 1.0.head (git-8825b6e<br>
>> >>> > 2010-11-28 17-15-39 -0500)<br>
>> >>> > I need to handle skype chat message with a inbound ESL connection.<br>
>> But<br>
>> >>> > there<br>
>> >>> > are 1 or 2 esl events received randomly for each message.<br>
>> >>> > the first short one is alway generated, but the second one is<br>
>> >>> > random.<br>
>> So<br>
>> >>> > when trying to filter according to UUID, nothing is caught in many<br>
>> >>> > cases.<br>
>> >>> > If I make filter based on skype ID, duplicated messages are often<br>
>> heard.<br>
>> >>> > I do not why the behavior of the second event is random.<br>
>> >>> > How should I setup the filter to get 1 and only 1 event for each<br>
>> >>> > chat<br>
>> >>> > message? Thanks.<br>
>> >>> ><br>
>> >>> > the first is a short one with the following header:<br>
>> >>> > [Event-Name] = [MESSAGE]<br>
>> >>> > [Event-Calling-Function] = [incoming_chatmessage]<br>
>> >>> > [Event-Date-GMT] = [Wed, 01 Dec 2010 21:02:37 GMT]<br>
>> >>> > [Core-UUID] = [7d858a18-fcb8-11df-8f82-835ae03a7500]<br>
>> >>> > [Content-Length] = [1]<br>
>> >>> > [subject] = [SIMPLE MESSAGE]<br>
>> >>> > [FreeSWITCH-IPv4] = [192.168.0.3]<br>
>> >>> > [hint] = [niqizhi]<br>
>> >>> > [from] = [niqizhi]<br>
>> >>> > [Event-Date-Local] = [2010-12-01 21:02:37]<br>
>> >>> > [proto] = [skype]<br>
>> >>> > [FreeSWITCH-IPv6] = [::1]<br>
>> >>> > [id] = [5334]<br>
>> >>> > [Event-Calling-File] = [mod_skypopen.c]<br>
>> >>> > [Event-Date-Timestamp] = [1291237357051788]<br>
>> >>> > [FreeSWITCH-Hostname] = [EYSRV]<br>
>> >>> > [login] = [interface1]<br>
>> >>> > [during-call] = [true]<br>
>> >>> > [Event-Calling-Line-Number] = [2915]<br>
>> >>> > [chatname] = [#niqizhi/$abcdericunion;631dd843d9b3eb1a]<br>
>> >>> > the second is much longer:<br>
>> >>> > [Caller-Source] = [mod_skypopen]<br>
>> >>> > [Event-Calling-Function] = [incoming_chatmessage]<br>
>> >>> > [Event-Date-GMT] = [Wed, 01 Dec 2010 21:02:37 GMT]<br>
>> >>> > [Answer-State] = [answered]<br>
>> >>> > [FreeSWITCH-IPv4] = [192.168.0.3]<br>
>> >>> > [Channel-State] = [CS_EXECUTE]<br>
>> >>> > [Channel-Read-Codec-Bit-Rate] = [256000]<br>
>> >>> > [FreeSWITCH-IPv6] = [::1]<br>
>> >>> > [Unique-ID] = [412764c0-fd8e-11df-9019-835ae03a7500]<br>
>> >>> > [Channel-Read-Codec-Rate] = [16000]<br>
>> >>> > [Caller-Destination-Number] = [5655]<br>
>> >>> > [Caller-Channel-Transfer-Time] = [0]<br>
>> >>> > [Channel-Call-State] = [ACTIVE]<br>
>> >>> > [Caller-Channel-Progress-Media-Time] = [0]<br>
>> >>> > [FreeSWITCH-Hostname] = [EYSRV]<br>
>> >>> > [Caller-Channel-Answered-Time] = [1291237326697085]<br>
>> >>> > [login] = [interface1]<br>
>> >>> > [during-call] = [true]<br>
>> >>> > [Channel-Name] = [skypopen/interface1]<br>
>> >>> > [Caller-Unique-ID] = [412764c0-fd8e-11df-9019-835ae03a7500]<br>
>> >>> > [Core-UUID] = [7d858a18-fcb8-11df-8f82-835ae03a7500]<br>
>> >>> > [Channel-Read-Codec-Name] = [L16]<br>
>> >>> > [Caller-Channel-Name] = [skypopen/interface1]<br>
>> >>> > [Caller-Caller-ID-Number] = [niqizhi]<br>
>> >>> > [Event-Date-Timestamp] = [1291237357051788]<br>
>> >>> > [Channel-State-Number] = [4]<br>
>> >>> > [Event-Calling-Line-Number] = [2888]<br>
>> >>> > [chatname] = [#niqizhi/$abcdericunion;631dd843d9b3eb1a]<br>
>> >>> > [Event-Name] = [MESSAGE]<br>
>> >>> > [Content-Length] = [1]<br>
>> >>> > [subject] = [SIMPLE MESSAGE]<br>
>> >>> > [Caller-Caller-ID-Name] = [niqizhi]<br>
>> >>> > [from] = [niqizhi]<br>
>> >>> > [Caller-Dialplan] = [XML]<br>
>> >>> > [Caller-Channel-Hangup-Time] = [0]<br>
>> >>> > [id] = [5334]<br>
>> >>> > [Caller-Profile-Index] = [1]<br>
>> >>> > [Caller-Direction] = [inbound]<br>
>> >>> > [Caller-Username] = [skypopen]<br>
>> >>> > [Channel-Write-Codec-Name] = [L16]<br>
>> >>> > [Call-Direction] = [inbound]<br>
>> >>> > [Caller-Screen-Bit] = [true]<br>
>> >>> > [hint] = [niqizhi]<br>
>> >>> > [Caller-Privacy-Hide-Number] = [false]<br>
>> >>> > [Event-Date-Local] = [2010-12-01 21:02:37]<br>
>> >>> > [proto] = [skype]<br>
>> >>> > [Caller-Channel-Created-Time] = [1291237326468855]<br>
>> >>> > [Event-Calling-File] = [mod_skypopen.c]<br>
>> >>> > [Caller-Channel-Progress-Time] = [0]<br>
>> >>> > [Caller-Privacy-Hide-Name] = [false]<br>
>> >>> > [Channel-Write-Codec-Rate] = [16000]<br>
>> >>> > [Caller-Context] = [default]<br>
>> >>> > [Channel-Write-Codec-Bit-Rate] = [256000]<br>
>> >>> > [Presence-Call-Direction] = [inbound]<br>
>> >>> > [Caller-Profile-Created-Time] = [1291237326468855]<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:<br>
>> <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>
>> >>> ><br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>> --<br>
>> >>> Sincerely,<br>
>> >>><br>
>> >>> Giovanni Maruzzelli<br>
>> >>> Cell : +39-347-2665618<br>
>> >>><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:<br>
>> <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>
>> >><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:<br>
>> <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>
>> >><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Sincerely,<br>
>> ><br>
>> > Giovanni Maruzzelli<br>
>> > Cell : +39-347-2665618<br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Sincerely,<br>
>><br>
>> Giovanni Maruzzelli<br>
>> Cell : +39-347-2665618<br>
>><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>
><br>
<br>
</div></div><font color="#888888">--<br>
Sent from my mobile device<br>
</font><div><div></div><div class="h5"><br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : +39-347-2665618<br>
<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>
</div></div></blockquote></div><br></div>