整合 Starface IP PBX

    Starface 這是一個由德國所開發的商用授權 IP PBX 軟體,系統是基於 Fedora 與 Asterisk 1.4。

    關於 Starface

    影片示範:

    Starface

    /etc/asterisk/manager.conf

    [vtigercrm]
    secret = amipass
    deny = 0.0.0.0/0.0.0.0
    permit = 192.168.7.63/255.255.255.0
    read = all
    write = all
    

    /etc/sysconfig/iptables

    ...
    -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 5038 -j ACCEPT
    ... 
    

    重啟 iptables

    service iptables restart
    

    AsteriskClient

    路徑:vtigercrm/cron/modules/PBXManager/
    修改說明:修改自原始檔案 AsteriskClient.php

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

    AsteriskClass.php

    路徑:vtigercrm/modules/PBXManager/utils/AsteriskClass.php

    switch($typeCalled){
                case "SIP":
                        $context = "international";
                         break;
                case "PSTN":
                         $context = "from-inside";//"outbound-dialing";
                         break;
                 default:
                         $context = "international";
    }
    
    標籤 (Edit tags)
    • No tags

    文件 1

    文件大小日期附件上傳者 
     AsteriskClient_ast14_vtiger530.php
    AsteriskClient.php for Asterisk 1.4.x
    10.84 KB09:47, 1 Jan 2012alang動作
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core