hi, I am writing ESL program on FreeSWITCH Version 1.0.head (git-8825b6e 2010-11-28 17-15-39 -0500) I need to handle skype chat message with a inbound ESL connection. But there are 1 or 2 esl events received randomly for each message. the first short one is alway generated, but the second one is random. So when trying to filter according to UUID, nothing is caught in many cases. If I make filter based on skype ID, duplicated messages are often heard. I do not why the behavior of the second event is random. How should I setup the filter to get 1 and only 1 event for each chat message? Thanks. the first is a short one with the following header: [Event-Name] = [MESSAGE] [Event-Calling-Function] = [incoming_chatmessage] [Event-Date-GMT] = [Wed, 01 Dec 2010 21:02:37 GMT] [Core-UUID] = [7d858a18-fcb8-11df-8f82-835ae03a7500] [Content-Length] = [1] [subject] = [SIMPLE MESSAGE] [FreeSWITCH-IPv4] = [192.168.0.3] [hint] = [niqizhi] [from] = [niqizhi] [Event-Date-Local] = [2010-12-01 21:02:37] [proto] = [skype] [FreeSWITCH-IPv6] = [::1] [id] = [5334] [Event-Calling-File] = [mod_skypopen.c] [Event-Date-Timestamp] = [1291237357051788] [FreeSWITCH-Hostname] = [EYSRV] [login] = [interface1] [during-call] = [true] [Event-Calling-Line-Number] = [2915] [chatname] = [#niqizhi/$abcdericunion;631dd843d9b3eb1a] the second is much longer: [Caller-Source] = [mod_skypopen] [Event-Calling-Function] = [incoming_chatmessage] [Event-Date-GMT] = [Wed, 01 Dec 2010 21:02:37 GMT] [Answer-State] = [answered] [FreeSWITCH-IPv4] = [192.168.0.3] [Channel-State] = [CS_EXECUTE] [Channel-Read-Codec-Bit-Rate] = [256000] [FreeSWITCH-IPv6] = [::1] [Unique-ID] = [412764c0-fd8e-11df-9019-835ae03a7500] [Channel-Read-Codec-Rate] = [16000] [Caller-Destination-Number] = [5655] [Caller-Channel-Transfer-Time] = [0] [Channel-Call-State] = [ACTIVE] [Caller-Channel-Progress-Media-Time] = [0] [FreeSWITCH-Hostname] = [EYSRV] [Caller-Channel-Answered-Time] = [1291237326697085] [login] = [interface1] [during-call] = [true] [Channel-Name] = [skypopen/interface1] [Caller-Unique-ID] = [412764c0-fd8e-11df-9019-835ae03a7500] [Core-UUID] = [7d858a18-fcb8-11df-8f82-835ae03a7500] [Channel-Read-Codec-Name] = [L16] [Caller-Channel-Name] = [skypopen/interface1] [Caller-Caller-ID-Number] = [niqizhi] [Event-Date-Timestamp] = [1291237357051788] [Channel-State-Number] = [4] [Event-Calling-Line-Number] = [2888] [chatname] = [#niqizhi/$abcdericunion;631dd843d9b3eb1a] [Event-Name] = [MESSAGE] [Content-Length] = [1] [subject] = [SIMPLE MESSAGE] [Caller-Caller-ID-Name] = [niqizhi] [from] = [niqizhi] [Caller-Dialplan] = [XML] [Caller-Channel-Hangup-Time] = [0] [id] = [5334] [Caller-Profile-Index] = [1] [Caller-Direction] = [inbound] [Caller-Username] = [skypopen] [Channel-Write-Codec-Name] = [L16] [Call-Direction] = [inbound] [Caller-Screen-Bit] = [true] [hint] = [niqizhi] [Caller-Privacy-Hide-Number] = [false] [Event-Date-Local] = [2010-12-01 21:02:37] [proto] = [skype] [Caller-Channel-Created-Time] = [1291237326468855] [Event-Calling-File] = [mod_skypopen.c] [Caller-Channel-Progress-Time] = [0] [Caller-Privacy-Hide-Name] = [false] [Channel-Write-Codec-Rate] = [16000] [Caller-Context] = [default] [Channel-Write-Codec-Bit-Rate] = [256000] [Presence-Call-Direction] = [inbound] [Caller-Profile-Created-Time] = [1291237326468855]