Was this page helpful?

Sipura ATA Auto-Provisioning

    這個教學適用 Sipura ATA SPA3XXX/PAP2 系列產品。

    說明:
    透過 ATA 設備的 auto-provisioning 功能,可以集中控管所有 ATA 設備上的參數設定,管理員只要修改主機上的設定檔,相關的 ATA 設備就會主動作更新套用,這個不但大大節省了用戶設備管理上的負擔,也相對提昇了設備的安全性。

    用途:

    • 公司對內部分機的設備作集中管理
    • 系統服務商綁定用戶設備的作法

    設定步驟

    1. 設備恢復出廠設定值
    2. 建立合適的設定檔 xml
    3. 設備連上網路,第一次作初始化設定

     Notes: 繼續以下設定前,請確定已經熟悉 Web UI 上的大部分設定的用途。

    - 設備恢復出廠設定值

    不管設備曾作過什麼樣的設定,請將所有的設定回復為出廠設定狀態。
    使用一般電話接上 FXS port,繼續以下操作:

    按【****】 > 按【73738#】> 按【1】

    若一切順利,設備會在幾秒鐘後自行重開機。

    此時設備的網路設定應為 DHCP 啟動,請將設備接上網路,並確定網路上有 DHCP 服務,繼續以下操作:

    按【****】 > 按【110#】> 系統會提示目前的 IP 位址,例如 xxx.xxx.xxx.xxx。
     

    - 建立合適的設定檔 xml

    檔名:init.xml

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <flat-profile>
      <Profile_Rule ua="na">http://your-provision-server/$PN/cfg_$MAU.xml</Profile_Rule>
    </flat-profile> 

    檔名:cfg_your-mac-address-of-ata.xml

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <flat-profile>
    <!-- tag case appears to be important -->
    <!-- System -->
       <Admin_Passwd ua="na">your-password</Admin_Passwd>
       <User_Passwd ua="rw">your-password</User_Passwd>
       <Primary_NTP_Server ua="na">pool.ntp.org</Primary_NTP_Server>
    
    <!-- SIP -->
       <RTP_Packet_Size ua="na">0.020</RTP_Packet_Size>
    
    <!-- Provisioning -->
       <Profile_Rule ua="na">http://your-provision-server/$PN/cfg_$MAU.xml</Profile_Rule>
       <Provision_Enable ua="na">Yes</Provision_Enable>
       <Forced_Resync_Delay ua="na">2</Forced_Resync_Delay>
       <Resync_Periodic ua="na">30</Resync_Periodic>
       <Resync_Error_Retry_Delay ua="na">30</Resync_Error_Retry_Delay>
    
    <!-- Regional -->
       <!-- Vertical Service Activation Codes -->
       <CW_Act_Code ua="na"></CW_Act_Code>
       <CW_Deact_Code ua="na"></CW_Deact_Code>
       <CW_Per_Call_Act_Code ua="na"></CW_Per_Call_Act_Code>
       <Block_CID_Act_Code ua="na"></Block_CID_Act_Code>
       <CID_Act_Code ua="na"></CID_Act_Code>
       <CID_Deact_Code ua="na"></CID_Deact_Code>
       <CWCID_Act_Code ua="na"></CWCID_Act_Code>
       <CWCID_Deact_Code ua="na"></CWCID_Deact_Code>
       <Dist_Ring_Act_Code ua="na"></Dist_Ring_Act_Code>
       <Dist_Ring_Deact_Code ua="na"></Dist_Ring_Deact_Code>
       <Modem_Line_Toggle_Code ua="na"></Modem_Line_Toggle_Code>
       <!-- Miscellaneous -->
       <Time_Zone ua="na">GMT+08:00</Time_Zone>
       <Daylight_Saving_Time_Rule ua="na"></Daylight_Saving_Time_Rule>
    
     <!-- Line 1 -->
       <SIP_Port_1_ ua="na">5063</SIP_Port_1_>
       <Proxy_1_ ua="na">your-sip-proxy-server</Proxy_1_>
       <Register_Expires_1_ ua="na">300</Register_Expires_1_>
       <Display_Name_1_ ua="na">spa3k-line1</Display_Name_1_>
       <User_ID_1_ ua="na">your-sip-id</User_ID_1_>
       <Password_1_ ua="na">your-sip-pass</Password_1_>
       <Preferred_Codec_1_ ua="na">G729a</Preferred_Codec_1_>
       <Dial_Plan_1_ ua="na">(*xx|*0xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>
       <!-- Supplementary Service Subscription;resolving Feature Code on FreePBX conflicts -->
       <Call_Waiting_Serv_1_ ua="na">Yes</Call_Waiting_Serv_1_>
       <Block_CID_Serv_1_ ua="na">No</Block_CID_Serv_1_>
       <Block_ANC_Serv_1_ ua="na">No</Block_ANC_Serv_1_>
       <Dist_Ring_Serv_1_ ua="na">No</Dist_Ring_Serv_1_>
       <Cfwd_All_Serv_1_ ua="na">No</Cfwd_All_Serv_1_>
       <Cfwd_Busy_Serv_1_ ua="na">No</Cfwd_Busy_Serv_1_>
       <Cfwd_No_Ans_Serv_1_ ua="na">No</Cfwd_No_Ans_Serv_1_>
       <Cfwd_Sel_Serv_1_ ua="na">No</Cfwd_Sel_Serv_1_>
       <Cfwd_Last_Serv_1_ ua="na">No</Cfwd_Last_Serv_1_>
       <Block_Last_Serv_1_ ua="na">No</Block_Last_Serv_1_>
       <Accept_Last_Serv_1_ ua="na">NO</Accept_Last_Serv_1_>
       <DND_Serv_1_ ua="na">No</DND_Serv_1_>
       <CID_Serv_1_ ua="na">Yes</CID_Serv_1_>
       <CWCID_Serv_1_ ua="na">Yes</CWCID_Serv_1_>
       <Call_Return_Serv_1_ ua="na">NO</Call_Return_Serv_1_>
       <Call_Redial_Serv_1_ ua="na">No</Call_Redial_Serv_1_>
       <Call_Back_Serv_1_ ua="na">No</Call_Back_Serv_1_>
       <Three_Way_Call_Serv_1_ ua="na">Yes</Three_Way_Call_Serv_1_>
       <Three_Way_Conf_Serv_1_ ua="na">Yes</Three_Way_Conf_Serv_1_>
       <Attn_Transfer_Serv_1_ ua="na">Yes</Attn_Transfer_Serv_1_>
       <Unattn_Transfer_Serv_1_ ua="na">Yes</Unattn_Transfer_Serv_1_>
       <MWI_Serv_1_ ua="na">Yes</MWI_Serv_1_>
       <VMWI_Serv_1_ ua="na">Yes</VMWI_Serv_1_>
       <Speed_Dial_Serv_1_ ua="na">No</Speed_Dial_Serv_1_>
       <Secure_Call_Serv_1_ ua="na">No</Secure_Call_Serv_1_>
       <Referral_Serv_1_ ua="na">Yes</Referral_Serv_1_>
       <Feature_Dial_Serv_1_ ua="na">Yes</Feature_Dial_Serv_1_>
       <Service_Announcement_Serv_1_ ua="na">No</Service_Announcement_Serv_1_>
    
    
    <!-- PSTN Line -->
       <!-- Network Settings -->
       <Network_Jitter_Level_2_ ua="na">low</Network_Jitter_Level_2_>
       <Jitter_Buffer_Adjustment_2_ ua="na">disable</Jitter_Buffer_Adjustment_2_>
       <!-- SIP Settings -->
       <SIP_Port_2_ ua="na">5061</SIP_Port_2_>
       <!-- Proxy and Registration -->
       <Proxy_2_ ua="na"></Proxy_2_>
       <Make_Call_Without_Reg_2_ ua="na">yes</Make_Call_Without_Reg_2_>
       <Ans_Call_Without_Reg_2_ ua="na">yes</Ans_Call_Without_Reg_2_>
       <Register_Expires_2_ ua="na">300</Register_Expires_2_>
       <!-- Subscriber Information -->
       <Display_Name_2_ ua="na"></Display_Name_2_>
       <User_ID_2_ ua="na"></User_ID_2_>
       <Password_2_ ua="na"></Password_2_>
       <!-- Audio Configuration -->
       <Preferred_Codec_2_ ua="na">G729a</Preferred_Codec_2_>
       <Silence_Supp_Enable_2_ ua="na">no</Silence_Supp_Enable_2_>
       <Echo_Canc_Enable_2_ ua="na">yes</Echo_Canc_Enable_2_>
       <Echo_Canc_Adapt_Enable_2_ ua="na">yes</Echo_Canc_Adapt_Enable_2_>
       <Echo_Supp_Enable_2_ ua="na">yes</Echo_Supp_Enable_2_>
       <DTMF_Process_INFO_2_ ua="na">yes</DTMF_Process_INFO_2_>
       <DTMF_Process_AVT_2_ ua="na">yes</DTMF_Process_AVT_2_>
       <DTMF_Tx_Method_2_ ua="na">Auto</DTMF_Tx_Method_2_>
       <!-- Dial Plans -->
       <Dial_Plan_1_2_ ua="na">(xx.)</Dial_Plan_1_2_>
       <Dial_Plan_2_2_ ua="na">(xx.)</Dial_Plan_2_2_>
       <!-- VoIP-To-PSTN Gateway Setup -->
       <VoIP-To-PSTN_Gateway_Enable_2_ ua="na">yes</VoIP-To-PSTN_Gateway_Enable_2_>
       <VoIP_Caller_Auth_Method_2_ ua="na">none</VoIP_Caller_Auth_Method_2_>
       <VoIP_PIN_Max_Retry_2_ ua="na">3</VoIP_PIN_Max_Retry_2_>
       <One_Stage_Dialing_2_ ua="na">yes</One_Stage_Dialing_2_>
       <Line_1_VoIP_Caller_DP_2_ ua="na">1</Line_1_VoIP_Caller_DP_2_>
       <VoIP_Caller_Default_DP_2_ ua="na">1</VoIP_Caller_Default_DP_2_>
       <Line_1_Fallback_DP_2_ ua="na">none</Line_1_Fallback_DP_2_>
       <!-- PSTN-To-VoIP Gateway Setup -->
       <PSTN-To-VoIP_Gateway_Enable_2_ ua="na">yes</PSTN-To-VoIP_Gateway_Enable_2_>
       <PSTN_Caller_Auth_Method_2_ ua="na">none</PSTN_Caller_Auth_Method_2_>
       <PSTN_Ring_Thru_Line_1_2_ ua="na">yes</PSTN_Ring_Thru_Line_1_2_>
       <PSTN_PIN_Max_Retry_2_ ua="na">3</PSTN_PIN_Max_Retry_2_>
       <PSTN_CID_For_VoIP_CID_2_ ua="na">no</PSTN_CID_For_VoIP_CID_2_>
       <PSTN_CID_Number_Prefix_2_ ua="na"></PSTN_CID_Number_Prefix_2_>
       <PSTN_Caller_Default_DP_2_ ua="na">1</PSTN_Caller_Default_DP_2_>
       <Off_Hook_While_Calling_VoIP_2_ ua="na">no</Off_Hook_While_Calling_VoIP_2_>
       <Line_1_Signal_Hook_Flash_To_PSTN ua="na">Disabled</Line_1_Signal_Hook_Flash_To_PSTN>
       <PSTN_CID_Name_Prefix_2_ ua="na"></PSTN_CID_Name_Prefix_2_>
       <!-- FXO Timer Values (sec) -->
       <VoIP_Answer_Delay_2_ ua="na">0</VoIP_Answer_Delay_2_>
       <VoIP_PIN_Digit_Timeout_2_ ua="na">10</VoIP_PIN_Digit_Timeout_2_>
       <PSTN_Answer_Delay_2_ ua="na">16</PSTN_Answer_Delay_2_>
       <!-- International Control -->
       <SPA_To_PSTN_Gain_2_ ua="na">0</SPA_To_PSTN_Gain_2_>
       <PSTN_To_SPA_Gain_2_ ua="na">0</PSTN_To_SPA_Gain_2_>
       <!-- FXO Timer Values (sec) -->
       <PSTN_Answer_Delay_2_ ua="na">3</PSTN_Answer_Delay_2_>
       <!-- PSTN Disconnect Detection -->
       <Detect_CPC_2_ ua="na">no</Detect_CPC_2_>
       <Detect_Polarity_Reversal_2_ ua="na">no</Detect_Polarity_Reversal_2_>
       <!-- International Control -->
       <FXO_Port_Impedance_2_ ua="na">220+820||120nF</FXO_Port_Impedance_2_>
       <SPA_To_PSTN_Gain_2_ ua="na">1</SPA_To_PSTN_Gain_2_>
       <PSTN_To_SPA_Gain_2_ ua="na">6</PSTN_To_SPA_Gain_2_>
    
    </flat-profile>
    

    日光節約

    <Daylight_Saving_Time_Rule ua="na">start=4/1/7;end=10/-1/7;save=1</Daylight_Saving_Time_Rule>
    

    特殊字元

    特殊字元 XML 輸入
     &  &amp;
     < (小於)  &lt;
     > (大於)  &gt;
     ' (單引號)  &apos;
     " (雙引號)  &quot;

     

    例如 Dial Plan: ( S0 <:18005551212> ),XML 檔應輸入為:

    <Dial_Plan_2_2_ ua="na">
      ( S0 &lt;:18005551212&gt; )
    </Dial_Plan_2_2_>
    

     

    參考連結

    Was this page helpful?
    標籤 (Edit tags)
    • No tags

    文件 1

    文件大小日期附件上傳者 
     3102sample.txt
    SPA3102 sample profile
    49.42 KB23:00, 24 Apr 2010alang動作
    查看第1個(總1個)評論: 查看所有
    Cisco 提供SPA3102 & PAP2T 最新韌體和Profile Compiler (SPC) Tool, 需要者請儘速下載, 以免將來停產後, 軟體連結也跟著消失, 此外SPA 技術文件 (Cisco Small Business Pro Analog Telephone Adapters Administration Guide ) PDF 也非常值得下載, 是研究SPA 者必讀的文件
    http://www.cisco.com/en/US/products/ps10027/index.html
    http://www.cisco.com/en/US/products/ps10024/prod_maintenance_guides_list.html
    發佈時間 03:24, 26 Aug 2010 ()
    查看第1個(總1個)評論: 查看所有
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core