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