1位置 autoload_conf/signalwire.conf.xml
2.在FreeSWITCH release 1.10.5 版本以后的配置
3.配置内容
<configuration name="signalwire.conf" description="SignalWire">
<settings>
<!-- on/off/file-path -->
<!--param name="kslog" value="on"/-->
<!--param name="blade-bootstrap" value="blade://switchblade:2100"/-->
<!--param name="adoption-service" value="https://adopt.signalwire.com/adoption"/-->
<!--param name="stun-server" value="stun.freeswitch.org"/-->
<!-- <authentication></authentication> -->
<!-- override dialplan context for calls on connector -->
<!--<param name="override-context" value="signalwire"/>-->
</settings>
</configuration>
4.拨号计划中的配置 /usr/local/freeswitch/conf/dialplan/default.xml
<!-- 呼入号码的配置参数 -->
<extension name="SignalWire INTEGRATIONS incoming call">
<condition field="destination_number" expression="^(\+18005551212)$">
<action application="bridge" data="user/1000"/>
</condition>
</extension>
<!-- 呼出路由-号码的配置参数 -->
<extension name="signalwire INTEGRATIONS outgoing call">
<condition field="destination_number" expression="^(\+?\d{11})$">
<action application="answer"/>
<action application="bridge" data="sofia/gateway/signalwire/$1"/>
</condition>
</extension>