[Freeswitch-users] (no subject)

Sergey Safarov s.safarov at gmail.com
Thu Mar 5 20:21:23 MSK 2015


In the console I get errors
2015-03-05 17:03:18.232604 [ERR] ei_helpers.c:274 Invalid process type!

What is the process uset there?

On Thu, Mar 5, 2015 at 3:00 PM, Sergey Safarov <s.safarov at gmail.com> wrote:

> 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?
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150305/754b21a3/attachment.html 


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