[Freeswitch-users] How to get chat message via event

Anthony Minessale anthony.minessale at gmail.com
Tue Jan 26 07:30:15 PST 2010


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

On Tue, Jan 26, 2010 at 1:51 AM, afshin afzali <a.afzali2003 at gmail.com>wrote:

> 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.
>
> --afshin
>
> On Mon, Jan 25, 2010 at 11:23 PM, Diego Toro <dftoro at yahoo.com> wrote:
>
>> Hi, try with ESL  (libs/esl).
>>
>>
>> Diego Toro
>> http://lacarretade.blogspot.com/
>>
>>
>> --- On Sun, 1/24/10, Giovanni Maruzzelli <gmaruzz at celliax.org> wrote:
>>
>> > From: Giovanni Maruzzelli <gmaruzz at celliax.org>
>> > Subject: Re: [Freeswitch-users] How to get chat message via event
>> > To: freeswitch-users at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:+19193869900
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100126/5d942320/attachment-0002.html 


More information about the FreeSWITCH-users mailing list