三汇无线语音网关与freeswitch互打
环境:语音网关三汇smg4032
freeswitch1.8
坐席软电话:
microsip
拓扑图
配置三汇语音网关
添加端口组
端口静态绑定
路由配置
配置freeswitch
注册三汇语音网关
1
2
3
4
5
6
7
8<include>
<gateway name="smg4032">
<param name="realm" value="192.168.50.199"/>
<param name="expire-seconds" value="3600"/>
<param name="register" value="false"/>
<param name="retry-seconds" value="30"/>
</gateway>
</include>Inbound路由配置
1
2
3
4
5
6
7
8
9
10<extension name="6666666" continue="false" uuid="5b0c7c95-9aff-4824-96c7-b131d1e700de">
<condition field="destination_number" expression="^(6666666)$">
<action application="export" data="call_direction=inbound" inline="true"/>
<action application="set" data="domain_uuid=7c612313-2f19-452e-9cf5-ce7871c588ea" inline="true"/>
<action application="set" data="domain_name=192.168.50.188" inline="true"/>
<action application="set" data="hangup_after_bridge=true"/>
<action application="set" data="continue_on_fail=true"/>
<action application="transfer" data="1001 XML 192.168.50.188"/>
</condition>
</extension>