VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
kristjan.ugrin at gmai... Guest
|
Posted: Fri Dec 19, 2008 4:13 am Post subject: [Freeswitch-users] [Java] Catching dingaling messages |
|
|
Hello!
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.
Is it possible?
Cheers,
--
kriko
_______________________________________________
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 |
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Fri Dec 19, 2008 4:27 am Post subject: [Freeswitch-users] [Java] Catching dingaling messages |
|
|
On Fri, Dec 19, 2008 at 10:12:49AM +0100, kriko wrote:
Quote: | 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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
kristjan.ugrin at gmai... Guest
|
Posted: Fri Dec 19, 2008 11:26 am Post subject: [Freeswitch-users] [Java] Catching dingaling messages |
|
|
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@jasonjgw.net> wrote:
Quote: | On Fri, Dec 19, 2008 at 10:12:49AM +0100, kriko wrote:
Quote: | 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@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.
_______________________________________________
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 |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|