if you are directly controlling a session &quot;myevents &lt;session&gt;&quot; or it was an outbound socket call<br>you can send the command &quot;divert_events&quot; to get the events on event_socket <br>if you are in an embedded script you can get them from the input callback <br>
<br><div class="gmail_quote">On Tue, Jan 26, 2010 at 1:51 AM, afshin afzali <span dir="ltr">&lt;<a href="mailto:a.afzali2003@gmail.com">a.afzali2003@gmail.com</a>&gt;</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;">
As I see in the code, exchanging chat messages don&#39;t fire by events at least if there is not any sip session between parties.<br><font color="#888888"><br>--afshin <br></font><div><div></div><div class="h5"><br><div class="gmail_quote">
On Mon, Jan 25, 2010 at 11:23 PM, Diego Toro <span dir="ltr">&lt;<a href="mailto:dftoro@yahoo.com" target="_blank">dftoro@yahoo.com</a>&gt;</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;">Hi, try with ESL  (libs/esl).<br>
<br>
<br>
Diego Toro<br>
<a href="http://lacarretade.blogspot.com/" target="_blank">http://lacarretade.blogspot.com/</a><br>
<br>
<br>
--- On Sun, 1/24/10, Giovanni Maruzzelli &lt;<a href="mailto:gmaruzz@celliax.org" target="_blank">gmaruzz@celliax.org</a>&gt; wrote:<br>
<br>
&gt; From: Giovanni Maruzzelli &lt;<a href="mailto:gmaruzz@celliax.org" target="_blank">gmaruzz@celliax.org</a>&gt;<br>
&gt; Subject: Re: [Freeswitch-users] How to get chat message via event<br>
&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
&gt; Date: Sunday, January 24, 2010, 4:05 PM<br>
<div><div></div><div>&gt; Which events you don&#39;t get? From<br>
&gt; which channel in which circumstances?<br>
&gt; (I mean what you do and what do you expect?)<br>
&gt;<br>
&gt; -giovanni<br>
&gt;<br>
&gt; On Sun, Jan 24, 2010 at 9:59 PM, afshin afzali &lt;<a href="mailto:a.afzali2003@gmail.com" target="_blank">a.afzali2003@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; As you say, I&#39;ve already done and unfortunately did<br>
&gt; not get the message<br>
&gt; &gt; events although other events are fired as expected :(<br>
&gt; &gt;<br>
&gt; &gt; -- afshin<br>
&gt; &gt;<br>
&gt; &gt; On Sun, Jan 24, 2010 at 7:18 PM, Giovanni Maruzzelli<br>
&gt; &lt;<a href="mailto:gmaruzz@celliax.org" target="_blank">gmaruzz@celliax.org</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; you subscribe to them as MESSAGE events<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; eg, from a telnet session:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; telnet localhost 8021<br>
&gt; &gt;&gt; auth ClueCon<br>
&gt; &gt;&gt; events plain message<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; then those events will show up in your telnet<br>
&gt; session.<br>
&gt; &gt;&gt; -gm<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Sun, Jan 24, 2010 at 4:39 PM, afshin afzali<br>
&gt; &lt;<a href="mailto:a.afzali2003@gmail.com" target="_blank">a.afzali2003@gmail.com</a>&gt;<br>
&gt; &gt;&gt; wrote:<br>
&gt; &gt;&gt; &gt; Hi,<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; It seems that the chat messages don&#39;t fire<br>
&gt; via events by default and<br>
&gt; &gt;&gt; &gt; just<br>
&gt; &gt;&gt; &gt; exchange between parties.<br>
&gt; &gt;&gt; &gt; Is it true? Is it possible to enable those<br>
&gt; via events?<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt; appreciate all,<br>
&gt; &gt;&gt; &gt; -- afshin<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; _______________________________________________<br>
&gt; &gt;&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt;&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt;&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt;&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt;&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; --<br>
&gt; &gt;&gt; Sincerely,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Giovanni Maruzzelli<br>
&gt; &gt;&gt; Cell : +39-347-2665618<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; FreeSWITCH-users mailing list<br>
&gt; &gt;&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt;&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt;&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt;&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Sincerely,<br>
&gt;<br>
&gt; Giovanni Maruzzelli<br>
&gt; Cell : +39-347-2665618<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
<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><br>
</div></div></blockquote></div><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><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>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</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:+19193869900<br>