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 t...@localhost
Erlang (BEAM) emulator version 5.6.3 [source] [async-threads:0]
[kernel-poll:false]

Eshell V5.6.3  (abort with ^G)
(t...@localhost)1> {foo, freeswi...@localhost} ! {api, status, ""}.
{api,status,[]}
(t...@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"}
(t...@localhost)3> {foo, freeswi...@localhost} ! {event, 'ALL'}.
{event,'ALL'}
(t...@localhost)4> receive Y -> Y after 10000 -> timeout end.
ok
(t...@localhost)5> receive Y -> Y after 10000 -> timeout end.
timeout
(t...@localhost)6> receive Y -> Y after 10000 -> timeout end.
timeout
(t...@localhost)7>

Do I miss something obvious? Thanks in advance for any suggestions.


-- 
Timur Irmatov, xmpp:[email protected]

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to