hello ! I test mod_erlang from : http://wiki.freeswitch.org/wiki/Mod_erlang_event but when I input :
{foo, freeswitch@localhost } ! {api, status, ""}. I received (test@wangdq-laptop)2> =ERROR REPORT==== 18-Feb-2010::11:10:13 === Error in process <0.41.0> on node 'test@wangdq-laptop' with exit value: {badarg,[{erlang,list_to_existing_atom,["freeswitch@wangdq-laptop"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]} and at freeswitch console : [NOTICE] mod_erlang_event.c:1720 Ignorable error in ei_accept - probable bad client version, bad cookie or bad nodename and I think the mod_erlang config file is : <configuration name="erlang_event.conf" description="Erlang Socket Client"> <settings> <param name="listen-ip" value="0.0.0.0"/> <param name="listen-port" value="8031"/> <param name="cookie" value="ClueCon"/> <param name="shortname" value="true"/> <!-- in additon to cookie, optionally restrict by ACL --> <param name="apply-inbound-acl" value="lan"/> <!-- alternative is "binary" --> <param name="encoding" value="string"/> <!-- provide compatability with previous OTP release (use with care) --> <!--<param name="compat-rel" value="12"/> --> </settings> </configuration> ~ Thanks !
On Thu, Feb 18, 2010 at 11:17:26AM +0800, daqiang wang wrote:
hello ! I test mod_erlang from : http://wiki.freeswitch.org/wiki/Mod_erlang_event but when I input :
{foo, freeswitch@localhost } ! {api, status, ""}. I received (test@wangdq-laptop)2> =ERROR REPORT==== 18-Feb-2010::11:10:13 === Error in process <0.41.0> on node 'test@wangdq-laptop' with exit value: {badarg,[{erlang,list_to_existing_atom,["freeswitch@wangdq-laptop"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}
Try {foo, 'freeswitch@wangdq-laptop' } ! {api, status, ""}. instead. Andrew
ok, thank you very much! 2010/2/19 Andrew Thompson <andrew@hijacked.us>
On Thu, Feb 18, 2010 at 11:17:26AM +0800, daqiang wang wrote:
hello ! I test mod_erlang from : http://wiki.freeswitch.org/wiki/Mod_erlang_event but when I input :
{foo, freeswitch@localhost } ! {api, status, ""}. I received (test@wangdq-laptop)2> =ERROR REPORT==== 18-Feb-2010::11:10:13 === Error in process <0.41.0> on node 'test@wangdq-laptop' with exit value: {badarg,[{erlang,list_to_existing_atom,["freeswitch@wangdq-laptop "]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}
Try {foo, 'freeswitch@wangdq-laptop' } ! {api, status, ""}. instead.
Andrew
_______________________________________________ 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
participants (2)
-
Andrew Thompson
-
daqiang wang