I want to receive events from the erlang module and for that execute the following commands[root@fs1 xml]# erl -sname test -setcookie ClueConErlang/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@fs1)1> {foo, fs1@fs1} ! {event, 'CHANNEL_CREATE'}, receive Y -> Y after 1000 -> timeout end.ok(test@fs1)2>And second way[root@fs1 xml]# erl -sname test -setcookie ClueConErlang/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@fs1)1> {foo, fs1@fs1} ! {event, 'ALL'}.{event,'ALL'}(test@fs1)2> receive Y -> Y after 1000 -> timeout end.ok(test@fs1)3>And I can not get events.What am I doing wrong?
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
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