提交 8481d09e authored 作者: Anthony Minessale's avatar Anthony Minessale

socket2me

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4906 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 a2dd62f6
socket2me: socket2me.c
$(CC) -Wall socket2me.c -o socket2me -l spandsp
clean:
rm socket2me
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
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论