https://www.cnblogs.com/yjmyzz/p/freeswitch-esl-java-client-turorial.html
需要更改 ip
的conf/autoload_configs/event_socket.conf.xml 找到
1 <configuration name="event_socket.conf" description="Socket Client"> 2 <settings> 3 <param name="nat-map" value="false"/> 4 <param name="listen-ip" value="0.0.0.0"/> 5 <param name="listen-port" value="8021"/> 6 <param name="password" value="ClueCon"/> 7 <!--<param name="apply-inbound-acl" value="loopback.auto"/>--> 8 <!--<param name="stop-on-bind-error" value="true"/>--> 9 </settings> 10 </configuration>
外呼需要填写拨号计划
/usr/local/freeswitch/conf/dialplan/default.xml
<extension name="socket_400_example"> <condition field="destination_number" expression="^400\d+$"> <action application="socket" data="localhost:8086 async full"/> </condition> </extension>