返回列表 發帖
下个目标先学习Dialplan。

TOP

Iptel and ComNet可以在FreeSWITCH上注册,但是HKBN 2b还不可以。

现在测试一下Iptel和ComNet的打出打入的FS Dialplan是怎样设置的。

TOP

本帖最後由 角色 於 2012-10-19 13:04 編輯

ComNet Phone (Formally called CM Phone) Gateway Settings on FreeSWITCH

1. Change directory into /usr/local/freeswitch/conf/sip_profiles/external

2. Create and edit a file "cnphone.xml" containing the following scripts
  1. <include>
  2.   <gateway name="cnphone">
  3.     <param name="username" value="85235018888"/>
  4.     <param name="password" value="123123"/>
  5.     <param name="proxy" value="202.0.179.3"/>
  6.   </gateway>-->
  7. </include>
  8. ~
複製代碼
3. Update the gateway xml file: cnphone.xml
  1. sofia profile external rescan reloadxml
複製代碼
4. Check the gateway registration status by
  1. freeswitch@internal> sofia status
  2.                      Name          Type                                       Data      State
  3. =================================================================================
  4.      external::cnphone       gateway           sip:85235018888@202.0.179.3:5060      REGED
  5. =================================================================================
複製代碼
5. When you see the word "REGED", it means that your gateway registration is complete.

TOP

Gateway (Trunk) outbound call

1. Change directory into /usr/local/freeswitch/conf/dialplan

2, vi default.xml and the following script at the early part of the script
  1.     <extension name="dial-8-digit-numbers">
  2.       <condition field="destination_number" expression="^(\d{8})$">
  3.       <action application="bridge" data="sofia/gateway/cnphone614/$1"/>
  4.       </condition>
  5.     </extension>
複製代碼
3. CLI > reloadxml

TOP

set好cn phone inbound,一打入就断线,跟asterisk一样!

TOP

就是华为的Switch不Standard,一看到silenceSupp=off就跟你say bye。

TOP

因为Huawei的softswitch不会有什么更改,而FreeSWITCH暂时没有方法或者option去屏蔽了SilenceSupp=off这一句。那么CN Phone就不能在FreeSWITCH上面用了。

TOP

返回列表