[Freeswitch-users] (no subject)

Sergey Safarov s.safarov at gmail.com
Thu Mar 5 18:00:45 MSK 2015


I want to receive events from the erlang module and for that execute the
following commands

[root at fs1 xml]# erl -sname test -setcookie ClueCon
Erlang/OTP 17 [erts-6.2.1] [source] [64-bit] [smp:2:2] [async-threads:10]
[hipe] [kernel-poll:false]

Eshell V6.2.1  (abort with ^G)
(test at fs1)1>  {foo, fs1 at fs1} ! {event, 'CHANNEL_CREATE'}, receive Y -> Y
after 1000 -> timeout end.
ok
(test at fs1)2>


And second way
[root at fs1 xml]# erl -sname test -setcookie ClueCon
Erlang/OTP 17 [erts-6.2.1] [source] [64-bit] [smp:2:2] [async-threads:10]
[hipe] [kernel-poll:false]

Eshell V6.2.1  (abort with ^G)
(test at fs1)1>  {foo, fs1 at fs1} ! {event, 'ALL'}.
{event,'ALL'}
(test at fs1)2> receive Y -> Y after 1000 -> timeout end.
ok
(test at fs1)3>

And I can not get events.
What am I doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150305/49dfd772/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list