[Freeswitch-dev] how to use mod_erlang ?
daqiang wang
wangdq.no1 at gmail.com
Wed Feb 17 18:26:47 PST 2010
hi:
I am testing mod_erlang, using the wiki:
http://wiki.freeswitch.org/wiki/Mod_erlang_event
I run : >{foo, freeswitch at localhost} ! {api, status, ""}.
but returned:
=ERROR REPORT==== 18-Feb-2010::10:17:44 ===
Error in process <0.47.0> on node 'test at wangdq-laptop' with exit value:
{badarg,[{erlang,list_to_existing_atom,["freeswitch at wangdq-laptop
"]},{dist_util,recv_challenge,1},{dist_util,handshake_we_started,1}]}
{api,status,[]}
and in the freeswitch console :
2010-02-18 10:17:44.470405 [NOTICE] mod_erlang_event.c:1720 Ignorable error
in ei_accept - probable bad client version, bad cookie or bad nodename
but , I checked the config file :
it seems no problem :
<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="nodename" value="freeswitch"/>
<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>
~
why ? can you help me ? thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20100218/d3a0c0f4/attachment.html
More information about the FreeSWITCH-dev
mailing list