[Freeswitch-dev] how to use mod_erlang ?

daqiang wang wangdq.no1 at gmail.com
Wed Feb 17 18:26:47 PST 2010

   I am testing mod_erlang, using the wiki:


  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


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
    <param name="listen-ip" value=""/>
    <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"/> -->

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