VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
irmatov at gmail.com Guest
|
Posted: Thu Sep 03, 2009 6:29 am Post subject: [Freeswitch-users] trying mod_erlang_event |
|
|
Hi,
I have installed FreeSWITCH and mod_erlang_event. Now I'm trying to
receive events from FreeSWITCH through mod_erlang_event. Simple
command like 'api status' works, but I cannot receive events from
FreeSWTICH:
erl -sname test@localhost
Erlang (BEAM) emulator version 5.6.3 [source] [async-threads:0]
[kernel-poll:false]
Eshell V5.6.3 (abort with ^G)
(test@localhost)1> {foo, freeswitch@localhost} ! {api, status, ""}.
{api,status,[]}
(test@localhost)2> receive X -> X after 10000 -> timeout end.
{ok,"UP 0 years, 0 days, 0 hours, 5 minutes, 10 seconds, 886
milliseconds, 421 microseconds\n0 session(s) since startup\n0
session(s) 0/30\n1000 session(s) max\n"}
(test@localhost)3> {foo, freeswitch@localhost} ! {event, 'ALL'}.
{event,'ALL'}
(test@localhost)4> receive Y -> Y after 10000 -> timeout end.
ok
(test@localhost)5> receive Y -> Y after 10000 -> timeout end.
timeout
(test@localhost)6> receive Y -> Y after 10000 -> timeout end.
timeout
(test@localhost)7>
Do I miss something obvious? Thanks in advance for any suggestions.
--
Timur Irmatov, xmpp:irmatov@jabber.ru
_______________________________________________
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 |
|
|
irmatov at gmail.com Guest
|
Posted: Thu Sep 03, 2009 7:20 am Post subject: [Freeswitch-users] trying mod_erlang_event |
|
|
On Thu, Sep 3, 2009 at 4:24 PM, Timur Irmatov<irmatov@gmail.com> wrote:
Quote: | I have installed FreeSWITCH and mod_erlang_event. Now I'm trying to
receive events from FreeSWITCH through mod_erlang_event. Simple
command like 'api status' works, but I cannot receive events from
FreeSWTICH:
|
Ah, I needed to send register_event_handler before trying to receive
any events. Sorry for the noise..
--
Timur Irmatov, xmpp:irmatov@jabber.ru
_______________________________________________
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
|