freeswitch/scripts/socket/socket2me
Michael Jerris 55b1d281a3 fix for MODAPP-24
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5571 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-06 17:18:16 +00:00
..
Makefile add all target 2007-06-12 21:07:44 +00:00
README socket2me 2007-04-10 01:30:47 +00:00
socket2me.c fix for MODAPP-24 2007-08-06 17:18:16 +00:00

EXAMPLE OF EVENT SOCKET EXTERNAL APP: REQUIRES mod_event_socket

Set this or something similar in your dialplan

<extension name="fax">
  <condition field="destination_number" expression="^866">
    <action application="set" data="fax_file_name=/tmp/cool.tiff"/>
    <!--"send" or "recv"-->
    <action application="set" data="fax_mode=send"/>
    <action application="socket" data="127.0.0.1:8084 async"/>
  </condition>
</extension>


and in a separate process run 
#./socket2me 127.0.0.1 127.0.0.1 8084