OBi110 進階設定篇。
**9 222-222-222
假設簡碼為 *00
OBiTalk Expert > PHONE >
假設該分機使用 SP1 註冊
OBi Talk > Enter OBi Expert > ITSP Profile A General
在某些特殊應用,例如警衛室,只需要有一個話筒,不需人工撥號下當拿起話筒時就會自動撥號。
OBi Talk > Enter OBi Expert > PHONE Port
DigitMap = S0:**812345678
說明:
(http://obihai.com/OBiAdminGuide.htm#_Toc333506159)
InboundCallRoute = {Rule},{Rule},{Rule} (用大括號包含每一條規則)
Rule = perring-list:terminal-list
peering-list = peering,peering,... (以逗號區隔)
terminal-list = terminal,terminal,... (以逗號區隔)
peering = caller-list > callee-list
caller-list = caller|caller|caller|...
callee-list = callee|callee|callee|...
caller = 來話號碼 或 digitmap 或 ? 或 @
callee = 受話號碼 或 digitmap 或 ? 或 @
Notes:
* 當沒有指定 terminal-list 時,表示拒絕該通話。冒號:不可省略,最多可以指定 4 個 terminal,而且每個 terminal 同時會響鈴。
提示語音 | 操作說明 |
Press 1 to continue this call. | The call will be sent to the PHONE port of the OBi and rung the attached telephone. |
Press 2 to make a new call. | If “Use PIN” authentication is enabled and the user enters a matching PIN, the OBi Attendant will immediately prompt the user to enter number followed by the pound (#) key. If the entered PIN is not a match, the Attendant will give the user two additional attempts to enter the PIN. If the third attempt does not match, the Attendant will announce a thank you message and disconnect the call. |
Press 3 to enter a callback number. | If a valid number is entered, the OBi Attendant says “Thank you” and “Goodbye”, then hangs up, and then after a two second wait, calls the previously entered number. It the given number is invalid, the OBi Attendant plays a tone followed by an error message. Tip: Callers may simply dial 00# to have the OBi call back the current number as recorded by its Caller ID. |
※如果用戶都沒有做選擇,電話會被轉到 PHONE。
(http://obihai.com/OBiAdminGuide.htm#_Toc288059355)
在 OBi 裝置裡要設定撥號規則,必須尋找 DigitMap 的設定參數,其用法如下:
DigitMap 類型共分為幾種
以上任何一種可以被另一種所包含(include),例如在 DigitMap for SP2 可以 include Msp1,一旦被包含後就套用了這個規則。
規則的定義
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.)
其他規則
所謂 Trunk 模式就是將 OBi110 作為類似 FXO 形式的路由,可撥出及接收來電。
Trunks > Add Trunk
host=dynamic type=friend secret=<自訂從OBi110註冊的密碼> context=from-trunk disallow=all allow=g729 canreinvite=no quality=yes
Tips:
Trunk Name 就是 OBi110 要註冊的 SIP 帳戶
不用參數 username
**8+. 這必須與 OBi110 的 LINE 撥出規則相同,預設 **8 的 prefix code 會從 LINE 撥出,這裡配合 OBi110 > SP2 Service > X_InboundCallRoute 的規則。
Outbound Routes > Add Route
Inbound Routes > Add Route
OBiTalk (OBi Expert Mode) > Service Providers > ITSP Profile B SIP
OBiTalk (OBi Expert Mode) > Voice Serice > SP2 Service >
{@>(<**2:>xx.):sp2},{@>(<**8:>xx.):li},{@>(<**9:>xx.):pp}
Tips:
- 註冊 Asterisk 時,不要使用 OBiTalk 的快速設定方式,否則其他設定可能會被覆蓋。
- 如果設定在 Service Provider 2(ITSP Profile B),必須 SP1 也要有註冊設定,簡言之 SP2 無法單獨使用,以作者為例,可將 SP1 用於註冊分機使用。
- sp2: SP2 Service, li: PSTN, pp: OBiTalk Gateway
- **2/8/9 必須與 Asterisk 的 dialplan 相符。
OBiTalk (OBi Expert Mode) > Physical Interface > LINE
{SP2(031234567)},{ph}
Tips:
- 031234567 是 PSTN 的電話號碼,這號碼也必須是 Asterisk 的 Inbound Route 的 DID 號碼。
- SP2 是指連接 Asterisk 的SP2 Service
- 加上 {ph},當 SP2 有問題就轉接到 Phone。
Images 0 | ||
---|---|---|
No images to display in the gallery. |