[Freeswitch-users] how to use mod_erlang ?

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


hello !
I test mod_erlang from : http://wiki.freeswitch.org/wiki/Mod_erlang_event
but when I input :
 >

{foo, freeswitch at localhost } ! {api, status, ""}.
I received
  (test at wangdq-laptop)2>
=ERROR REPORT==== 18-Feb-2010::11:10:13 ===
Error in process <0.41.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}]}

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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100218/055ca0c0/attachment-0002.html 


More information about the FreeSWITCH-users mailing list