[Freeswitch-users] [Java] Catching dingaling messages

kriko kristjan.ugrin at gmail.com
Fri Dec 19 07:37:52 PST 2008


That's seems the right this, thanks.

But the dingaling is only returning this events:
  dingaling::login_success
  dingaling::login_failure
  dingaling::connected

Is it possible in any way to catch text messages?


On Fri, 19 Dec 2008 10:22:07 +0100, Jason White <jason at jasonjgw.net> wrote:

> On Fri, Dec 19, 2008 at 10:12:49AM +0100, kriko wrote:
>> I was wondering if it would be possible to catch messages from  
>> dingaling.
>> I saw it can print out messages into console when a user types in a
>> message,
>> but it doesn't understand it. I would like to catch that and do  
>> something
>> (like initiate a call).
>> I know you have to call you program via a dialplan, so I don't know how
>> would it be really possible to invoke your java app
>> when other events occur.
>
> Listen to the event socket on port 8021 and register to receive the  
> events you
> want to monitor, then issue api commands via the same socket interface  
> to make
> the outbound call.
>
> See the wiki page about the event socket.
>
> I haven't looked at this in any detail, but it's clear from the wiki  
> that this
> should be able to meet your needs.
>
>
> _______________________________________________
> 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



-- 
Porn - the reason you need a new hard drive.




More information about the FreeSWITCH-users mailing list