Voicemail 設置

    版本為 07:37, 13 Jan 2025

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    說明

    A2Billing 預設安裝時是不支援 Voicemail 功能的,本篇將提供在 A2B 新增 Voicemail 功能的教學。

    功能目的:當 A2B 使用了 DID 電話轉接服務時,如果電話不通或無人接聽時,Caller 可以自動進入語音信箱作錄音留言。

    系統設置

    系統環境:

    • Linux
    • PIAF
    • A2Billing
    方法一:使用 voicemail.conf

    需要修改以下檔案:

    1. /etc/asterisk/voicemail.conf
    2. /var/www/html/common/lib/common.defines.php
    3. /var/www/html/A2Billing_UI/Public/form_data/FG_var_card.inc

     

    voicemail.conf:

    [general]
    ...
    ...
    sendvoicemail=yes ; Allow the user to compose and send a voicemail while inside
                      ; VoiceMailMain() [option 5 from mailbox's advanced menu].
                      ; If set to 'no', option 5 will not be listed.
    searchcontexts=yes      ; Current default behavior is to search only the default context
                            ; if one is not specified.  The older behavior was to search all contexts. 
    ...
    [default]
    ...
    ...
    [a2b]
    7008374947 => 7008374947,A Lang,your@email.com
    

    common.defines.php:

     

    FG_var_card.inc:
    註:A2B-1.9.4 已經內建有這些程式碼

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)
    Powered by MindTouch Core