<br><br><div class="gmail_quote">On Thu, Dec 2, 2010 at 2:56 PM, <span dir="ltr"><<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send FreeSWITCH-users mailing list submissions to<br>
<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:freeswitch-users-request@lists.freeswitch.org">freeswitch-users-request@lists.freeswitch.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:freeswitch-users-owner@lists.freeswitch.org">freeswitch-users-owner@lists.freeswitch.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of FreeSWITCH-users digest..."<br>
<br>Today's Topics:<br>
<br>
1. Sangoma D100 usage (Javier Gallart)<br>
2. Re: Sangoma D100 usage (Steven Ayre)<br>
3. Re: Sangoma D100 usage (David Ponzone)<br>
4. Re: How to filter Skypopen chat message in ESL mode?<br>
(Giovanni Maruzzelli)<br>
<br><br>---------- Forwarded message ----------<br>From: Javier Gallart <<a href="mailto:jgallartm@gmail.com">jgallartm@gmail.com</a>><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
Date: Thu, 2 Dec 2010 13:55:33 +0100<br>Subject: [Freeswitch-users] Sangoma D100 usage<br>Hello<div><br></div><div>we got a Sangoma D100 transcoding card, and we like to get it working with our freeswitch. Freeswitch and the Sangoma card are running on the same server. The module is properly loaded:</div>
<div><br>
</div><div> 2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1102 Reading sangoma codec configuration</div><div>2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1126 Found Sangoma RTP IP x.x.x.x</div><div>2010-12-02 07:46:33.393953 [NOTICE] mod_sangoma_codec.c:1193 Detected 1 and activated 1 Sangoma codec vocallo modules</div>
<div>2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1207 Loading codecs, register='all', noregister=''</div><div>2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1239 Registering implementations for codec PCMU</div>
<div>...</div><div>2010-12-02 07:46:33.394951 [DEBUG] mod_sangoma_codec.c:1239 Registering implementations for codec PCMA</div><div>...</div><div>2010-12-02 07:46:33.394951 [DEBUG] mod_sangoma_codec.c:1239 Registering implementations for codec G729</div>
<div>...</div><div>2010-12-02 07:46:33.402964 [CONSOLE] switch_loadable_module.c:946 Successfully Loaded [mod_sangoma_codec]</div><div>2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding Codec PCMU 0 Sangoma PCMU 8000hz 10ms 64000bps</div>
<div>...</div><div>2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding Codec PCMA 8 Sangoma PCMA 8000hz 20ms 64000bps</div><div>...</div><div>2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 Sangoma G729 8000hz 40ms 8000bps</div>
<div>...</div><div>2010-12-02 07:46:33.403967 [NOTICE] switch_loadable_module.c:274 Adding API Function 'sangoma_codec'</div><div><br></div><div>The codecs look also good:</div><div><div>freeswitch@internal> show codecs</div>
<div>codec,Sangoma G723,mod_sangoma_codec</div><div>codec,Sangoma G729,mod_sangoma_codec</div><div>codec,Sangoma GSM,mod_sangoma_codec</div><div>codec,Sangoma PCMA,mod_sangoma_codec</div><div>codec,Sangoma PCMU,mod_sangoma_codec</div>
<div><br></div></div><div>What we don't know is how to actually use the card. We have forced a call with g729 in the A-leg and g711 in the b-leg but freeswitch doesn't know how to bridge them. I've tried unsuccessfully this config in the vars.xml:</div>
<div><div><X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,Sangoma PCMU,Sangoma PCMA"/></div><div><X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma PCMU,Sangoma PCMA"/></div>
</div><div><br></div><div>Does anybody has any experience usgin this card?</div><div><br></div><div>Thanks</div><div><br></div><div>Javier</div><div><br></div><div><br></div><div><br></div>
<br><br>---------- Forwarded message ----------<br>From: Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Date: Thu, 2 Dec 2010 13:48:42 +0000<br>Subject: Re: [Freeswitch-users] Sangoma D100 usage<br>Sangoma is not part of the codec IANA name, just part of the interface<br>
name (description). Try it like this:<br>
<br>
<X-PRE-PROCESS cmd="set" data="global_codec_prefs=G729,PCMU,PCMA"/><br>
<X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCMU,PCMA"/><br>
<br>
Don't have mod_g729 or mod_com_g729 loaded at the same time.<br>
<br>
-Steve<br></blockquote><div><br></div><div>Hi Steve</div><div><br></div><div>removing the mod_g729 module did the trick.</div><div><br></div><div>Thanks!</div><div><br></div><div>Javi </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
On 2 December 2010 12:55, Javier Gallart <<a href="mailto:jgallartm@gmail.com">jgallartm@gmail.com</a>> wrote:<br>
> Hello<br>
> we got a Sangoma D100 transcoding card, and we like to get it working with<br>
> our freeswitch. Freeswitch and the Sangoma card are running on the same<br>
> server. The module is properly loaded:<br>
> 2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1102 Reading sangoma<br>
> codec configuration<br>
> 2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1126 Found Sangoma<br>
> RTP IP x.x.x.x<br>
> 2010-12-02 07:46:33.393953 [NOTICE] mod_sangoma_codec.c:1193 Detected 1 and<br>
> activated 1 Sangoma codec vocallo modules<br>
> 2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1207 Loading codecs,<br>
> register='all', noregister=''<br>
> 2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1239 Registering<br>
> implementations for codec PCMU<br>
> ...<br>
> 2010-12-02 07:46:33.394951 [DEBUG] mod_sangoma_codec.c:1239 Registering<br>
> implementations for codec PCMA<br>
> ...<br>
> 2010-12-02 07:46:33.394951 [DEBUG] mod_sangoma_codec.c:1239 Registering<br>
> implementations for codec G729<br>
> ...<br>
> 2010-12-02 07:46:33.402964 [CONSOLE] switch_loadable_module.c:946<br>
> Successfully Loaded [mod_sangoma_codec]<br>
> 2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding<br>
> Codec PCMU 0 Sangoma PCMU 8000hz 10ms 64000bps<br>
> ...<br>
> 2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding<br>
> Codec PCMA 8 Sangoma PCMA 8000hz 20ms 64000bps<br>
> ...<br>
> 2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding<br>
> Codec G729 18 Sangoma G729 8000hz 40ms 8000bps<br>
> ...<br>
> 2010-12-02 07:46:33.403967 [NOTICE] switch_loadable_module.c:274 Adding API<br>
> Function 'sangoma_codec'<br>
> The codecs look also good:<br>
> freeswitch@internal> show codecs<br>
> codec,Sangoma G723,mod_sangoma_codec<br>
> codec,Sangoma G729,mod_sangoma_codec<br>
> codec,Sangoma GSM,mod_sangoma_codec<br>
> codec,Sangoma PCMA,mod_sangoma_codec<br>
> codec,Sangoma PCMU,mod_sangoma_codec<br>
> What we don't know is how to actually use the card. We have forced a call<br>
> with g729 in the A-leg and g711 in the b-leg but freeswitch doesn't know how<br>
> to bridge them. I've tried unsuccessfully this config in the vars.xml:<br>
> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,Sangoma<br>
> PCMU,Sangoma PCMA"/><br>
> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma PCMU,Sangoma<br>
> PCMA"/><br>
> Does anybody has any experience usgin this card?<br>
> Thanks<br>
> Javier<br>
><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:<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>---------- Forwarded message ----------<br>From: David Ponzone <<a href="mailto:david.ponzone@ipeva.fr">david.ponzone@ipeva.fr</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Date: Thu, 2 Dec 2010 14:48:48 +0100<br>Subject: Re: [Freeswitch-users] Sangoma D100 usage<br><div style="word-wrap:break-word">Javier,<div><br></div><div>as Sangoma is working quite closely with FreeSWITCH devs (some Sangoma people are actually on this ML), I am pretty sure you can ask Sangoma support to help you out.</div>
<div><br><div>
<span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:14px;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 style="word-wrap:break-word">
<div><font face="'Helvetica Neue'"><font color="#1C00FF">David Ponzone </font><font color="#000000" size="3"><span style="font-size:12px">Direction Technique</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">email: <a href="mailto:david.ponzone@ipeva.fr" target="_blank">david.ponzone@ipeva.fr</a></span></font></font></div>
<div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">tel: 01 74 03 18 97</span></font></font></div><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">gsm: 06 66 98 76 34</span></font></font></div>
<div><font face="'Helvetica Neue'"><br></font></div><div><font color="#1C00FF" face="'Helvetica Neue'">Service Client<span> </span></font><font face="'Helvetica Neue'"><font color="#FF0000">IP</font></font><font color="#1C00FF" face="'Helvetica Neue'">eva</font></div>
<div><font color="#1C00FF" face="'Helvetica Neue'"><span style="color:rgb(0, 0, 0);font-family:Helvetica"><div><font face="'Helvetica Neue'"><font size="3"><span style="font-size:13px">tel: 0811 46 26 26</span></font></font></div>
<div><font face="'Helvetica Neue'" size="3"><span style="font-size:13px"><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><a>www.ipeva.fr</a></span><span style="color:rgb(101, 104, 149)"> - <span style="color:rgb(0, 34, 243);text-decoration:underline"><a>www.ipeva-studio.com</a></span></span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)"><span style="text-decoration:underline"><br></span></div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(0, 34, 243)">
<span><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;text-align:justify;color:rgb(192, 192, 192)"><i>Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. </i><b><i>IPeva</i></b><i> décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur.</i></div>
<div style="text-decoration:underline;text-align:justify"><font color="#C0C0C0"><i><br></i></font></div></span></div></span></font></div></span></font></div></div></span><br></span><br>
</div>
<br><div><div>Le 02/12/2010 à 13:55, Javier Gallart a écrit :</div><br><blockquote type="cite">Hello<div><br></div><div>we got a Sangoma D100 transcoding card, and we like to get it working with our freeswitch. Freeswitch and the Sangoma card are running on the same server. The module is properly loaded:</div>
<div><br>
</div><div> 2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1102 Reading sangoma codec configuration</div><div>2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1126 Found Sangoma RTP IP x.x.x.x</div><div>2010-12-02 07:46:33.393953 [NOTICE] mod_sangoma_codec.c:1193 Detected 1 and activated 1 Sangoma codec vocallo modules</div>
<div>2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1207 Loading codecs, register='all', noregister=''</div><div>2010-12-02 07:46:33.393953 [DEBUG] mod_sangoma_codec.c:1239 Registering implementations for codec PCMU</div>
<div>...</div><div>2010-12-02 07:46:33.394951 [DEBUG] mod_sangoma_codec.c:1239 Registering implementations for codec PCMA</div><div>...</div><div>2010-12-02 07:46:33.394951 [DEBUG] mod_sangoma_codec.c:1239 Registering implementations for codec G729</div>
<div>...</div><div>2010-12-02 07:46:33.402964 [CONSOLE] switch_loadable_module.c:946 Successfully Loaded [mod_sangoma_codec]</div><div>2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding Codec PCMU 0 Sangoma PCMU 8000hz 10ms 64000bps</div>
<div>...</div><div>2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding Codec PCMA 8 Sangoma PCMA 8000hz 20ms 64000bps</div><div>...</div><div>2010-12-02 07:46:33.402964 [NOTICE] switch_loadable_module.c:185 Adding Codec G729 18 Sangoma G729 8000hz 40ms 8000bps</div>
<div>...</div><div>2010-12-02 07:46:33.403967 [NOTICE] switch_loadable_module.c:274 Adding API Function 'sangoma_codec'</div><div><br></div><div>The codecs look also good:</div><div><div>freeswitch@internal> show codecs</div>
<div>codec,Sangoma G723,mod_sangoma_codec</div><div>codec,Sangoma G729,mod_sangoma_codec</div><div>codec,Sangoma GSM,mod_sangoma_codec</div><div>codec,Sangoma PCMA,mod_sangoma_codec</div><div>codec,Sangoma PCMU,mod_sangoma_codec</div>
<div><br></div></div><div>What we don't know is how to actually use the card. We have forced a call with g729 in the A-leg and g711 in the b-leg but freeswitch doesn't know how to bridge them. I've tried unsuccessfully this config in the vars.xml:</div>
<div><div><X-PRE-PROCESS cmd="set" data="global_codec_prefs=Sangoma G729,Sangoma PCMU,Sangoma PCMA"/></div><div><X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=Sangoma PCMU,Sangoma PCMA"/></div>
</div><div><br></div><div>Does anybody has any experience usgin this card?</div><div><br></div><div>Thanks</div><div><br></div><div>Javier</div><div><br></div><div><br></div><div><br></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>
</blockquote></div><br></div></div><br><br>---------- Forwarded message ----------<br>From: Giovanni Maruzzelli <<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>><br>To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
Date: Thu, 2 Dec 2010 14:55:51 +0100<br>Subject: Re: [Freeswitch-users] How to filter Skypopen chat message in ESL mode?<br>1) Is that the complete skypopen.conf.xml? I mean, do you use one only<br>
interface?<br>
<br>
2) An incoming skype call goes directly (because is in<br>
skypopen.conf.xml) to 5655 and ear the continuous message.<br>
<br>
3) While the incoming skype call is hearing the message, the same<br>
incoming skypeclient sends chatmessages to the skypopen skypeclient<br>
<br>
4) You connect via telnet to the ESL port, do the "events plain message"<br>
<br>
5) You get sometimes those longer events intermixed with the regular<br>
message events, but not everytime<br>
<br>
Is this correct? If this is correct I will test asap and fix the<br>
possible problem.<br>
<br>
Btw, I tested yesterday with skypeclient not in a call and I got no<br>
problems at all. I don't think to be in a call would make any<br>
difference.<br>
<br>
Please be certain you gave me all the info needed to exactly replicate<br>
your problem.<br>
<br>
-giovanni<br>
<br>
On Thu, Dec 2, 2010 at 12:09 PM, xuyan yang <<a href="mailto:xyangni@gmail.com">xyangni@gmail.com</a>> wrote:<br>
> OK. I will try to make it clear.<br>
> In general, my test case is to forward skype call to a extention such as<br>
> 5655. And then in the dialplan for 5655, continuously play some sound.<br>
> During playing, you can send skype chat messages from the caller and check<br>
> what esl events has been generated from it. According to my test, the raw<br>
> type event is not generated for most of chat messages.<br>
> In details,<br>
> this is my skypeopen.conf.xml:<br>
> <configuration name="skypopen.conf" description="Skypopen Configuration"><br>
> <global_settings><br>
> <param name="debug" value="8"/><br>
> <param name="dialplan" value="XML"/><br>
> <param name="context" value="default"/><br>
> <param name="destination" value="1000"/><br>
> <param name="skype_user" value="user1"/><br>
> <param name="report_incoming_chatmessages" value="true"/><br>
> <param name="silent_mode" value="false"/><br>
> <param name="write_silence_when_idle" value="true"/><br>
> </global_settings><br>
> <!-- one entry here per each skypopen interface --><br>
> <per_interface_settings><br>
> <interface id="1" name="interface1"><br>
> <param name="X11-display" value=":0.0"/><br>
> <param name="skype_user" value="xxxxxxxxx"/><br>
> <param name="destination" value="5655"/><br>
> </interface><br>
> </per_interface_settings><br>
> </configuration><br>
><br>
><br>
> in dialplan for default context, add the following to describe extention<br>
> 5655:<br>
> <extension name="skype" break="on-false"><br>
> <condition field="destination_number" expression="^5655$"><br>
> <action application="answer"/><br>
> <action application="sleep" data="1000"/><br>
> <action application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/> <action<br>
> application="playback" data="ivr/ivr-sample_submenu.wav"/><br>
> </condition><br>
> </extension><br>
> ivr-sample_submenu.wav is a sound file in en/us/callie/ivr/8000, but it can<br>
> be replaced by any other wav files.<br>
> after setup, make a call to your skype user xxxxxxxxx.<br>
> in the mean time use fs_cli to connect FS and execute /event plain MESSAGE<br>
> to listen esl events.<br>
> sent any chat messages from caller, then you are very likely to find only<br>
> the short version events.<br>
><br>
><br>
> On Thu, Dec 2, 2010 at 8:50 AM, Giovanni Maruzzelli <<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>><br>
> wrote:<br>
>><br>
>> Xuyan,<br>
>><br>
>> please.<br>
>><br>
>> Can you give a clear defined procedure to reproduce the problem?<br>
>><br>
>> Please, take the time to write it, complete of all relevant info<br>
>> (dialplan, script, etc etc) so I can reproduce it from a freshly<br>
>> installed FreeSWITCH.<br>
>><br>
>> If you don't give this information I cannot fix the problem. And I<br>
>> cannot neither read your mind, nor finding the time to try every<br>
>> possible combination.<br>
>><br>
>> Please, post something someone can cut and paste and a clear step by<br>
>> step procedure to replicate.<br>
>><br>
>> -giovanni<br>
>><br>
>> On Thu, Dec 2, 2010 at 4:45 AM, xuyan yang <<a href="mailto:xyangni@gmail.com">xyangni@gmail.com</a>> wrote:<br>
>> > I tried it again. When the line is parked and idle. the raw events can<br>
>> > always be generated.<br>
>> > but if the line is kept busy such as the following case this events is<br>
>> > trend<br>
>> > to have problem<br>
>> > <extension name="skype-in" break="on-false"><br>
>> > <condition field="destination_number" expression="^5655$"><br>
>> > <action application="answer"/><br>
>> > <action application="sleep" data="1000"/><br>
>> > <!--<action application="park"/> --><br>
>> > <action application="playback" data="test.wav"/><br>
>> > <action application="playback" data="test.wav"/><br>
>> > <action application="playback" data="test.wav"/><br>
>> > <action application="playback"<br>
>> > data="test.wav"/><br>
>> > <action application="playback" data="test.wav"/><br>
>> > <action application="playback" data="test.wav"/><br>
>> > <action application="playback"<br>
>> > data="test.wav"/><br>
>> > <action application="playback" data="test.wav"/><br>
>> > <action application="playback" data="test.wav"/><br>
>> > </condition><br>
>> > </extension><br>
>> ><br>
>> ><br>
>> > On Thu, Dec 2, 2010 at 2:01 AM, Giovanni Maruzzelli<br>
>> > <<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>><br>
>> > wrote:<br>
>> >><br>
>> >> 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>
>> >><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<br>
>> >> > events<br>
>> >> > which has about 25% chances of being missed.<br>
>> >> ><br>
>> >> > Fortunately, I have found a way to avoid this issue. Ignore all<br>
>> >> > 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<br>
>> >> >> > 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>><br>
>> >> >> > wrote:<br>
>> >> >> >> Thanks for your reply. I have read this page before. but the<br>
>> >> >> >> random<br>
>> >> >> emerging<br>
>> >> >> >> of the second verbose esl events is causing trouble. And I guess<br>
>> >> >> >> it<br>
>> >> >> >> may<br>
>> >> >> be a<br>
>> >> >> >> bug, or it should be predictable.<br>
>> >> >> >> Before reporting to jira, I just want to check whether I have<br>
>> >> >> >> made<br>
>> >> >> >> any<br>
>> >> >> >> mistake.<br>
>> >> >> >><br>
>> >> >> >><br>
>> >> >> >> On Wed, Dec 1, 2010 at 9:35 PM, Giovanni Maruzzelli<br>
>> >> >> >> <<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>><br>
>> >> >> >> wrote:<br>
>> >> >> >>><br>
>> >> >> >>><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>><br>
>> >> >> >>> wrote:<br>
>> >> >> >>> > hi,<br>
>> >> >> >>> > I am writing ESL program on FreeSWITCH Version 1.0.head<br>
>> >> >> >>> > (git-8825b6e<br>
>> >> >> >>> > 2010-11-28 17-15-39 -0500)<br>
>> >> >> >>> > I need to handle skype chat message with a inbound ESL<br>
>> >> >> >>> > 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<br>
>> >> >> >>> > many<br>
>> >> >> >>> > cases.<br>
>> >> >> >>> > If I make filter based on skype ID, duplicated messages are<br>
>> >> >> >>> > 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<br>
>> >> >> >>> > 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>
>> >> >><br>
>> >> >><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>
>> >> --<br>
>> >> Sent from my mobile device<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>
>> >><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>
>> > 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>
>><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>
> 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>
<br>
<br>
--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : +39-347-2665618<br>
<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:<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>