77 lines
4.3 KiB
XML
77 lines
4.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<flat-profile>
|
|
<!--<Restricted_Access_Domains/>-->
|
|
<!--<Enable_Web_Admin_Access>Yes</Enable_Web_Admin_Access>-->
|
|
<!--<IVR_Admin_Passwd></IVR_Admin_Passwd>-->
|
|
<Provision_Enable>Yes</Provision_Enable>
|
|
<Resync_On_Reset>Yes</Resync_On_Reset>
|
|
<Resync_Random_Delay>2</Resync_Random_Delay>
|
|
<Resync_Periodic>0</Resync_Periodic>
|
|
<Resync_Error_Retry_Delay>300</Resync_Error_Retry_Delay>
|
|
<Forced_Resync_Delay>30</Forced_Resync_Delay>
|
|
<Resync_From_SIP>Yes</Resync_From_SIP>
|
|
<Resync_After_Upgrade_Attempt>Yes</Resync_After_Upgrade_Attempt>
|
|
{if isset ($http_auth_username)}
|
|
<Profile_Rule>[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA</Profile_Rule>
|
|
{else}
|
|
<Profile_Rule>http://{$domain_name}{$project_path}/app/provision/?mac=$MA</Profile_Rule>
|
|
{/if}
|
|
<Upgrade_Enable>Yes</Upgrade_Enable>
|
|
<RTP_Packet_Size>0.020</RTP_Packet_Size>
|
|
<Line_Enable_1_>Yes</Line_Enable_1_>
|
|
<Mailbox_ID_1_>*97</Mailbox_ID_1_>
|
|
<Proxy_1_>{$server_address_1}</Proxy_1_>
|
|
<Outbound_Proxy_1_>{$account.1.outbound_proxy_primary}</Outbound_Proxy_1_>
|
|
<Use_Outbound_Proxy_1_>{if isset ($account.1.outbound_proxy_primary)}Yes{else}No{/if}</Use_Outbound_Proxy_1_>
|
|
<SIP_Transport_1_ group="Ext_1/SIP_Settings">{$account.1.sip_transport|upper}</SIP_Transport_1_>
|
|
<SIP_Port_1_ group="Ext_1/SIP_Settings">{$account.1.sip_port}</SIP_Port_1_>
|
|
<Register_Expires_1_ group="Ext_1/Proxy_and_Registration">{$account.1.register_expires}</Register_Expires_1_>
|
|
<Register_1_>Yes</Register_1_>
|
|
<Display_Name_1_>{$account.1.display_name}</Display_Name_1_>
|
|
<User_ID_1_>{$account.1.user_id}</User_ID_1_>
|
|
<Password_1_>{$account.1.password}</Password_1_>
|
|
<Use_Auth_ID_1_>No</Use_Auth_ID_1_>
|
|
<Auth_ID_1_></Auth_ID_1_>
|
|
<Call_Waiting_Serv_1_>{$spa_call_waiting}</Call_Waiting_Serv_1_>
|
|
<Dial_Plan_1_>{$spa_dial_plan}</Dial_Plan_1_>
|
|
<!--<Dial_Plan_1_>(<:31516>xxxxxxx|<:3>xxxxxxxxxx|<:3>xxxxxxxxxxx|*xxxxx|*xxxx|*xxx|*xx|**xx|**xxx|**xxxx|**xxxxx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>-->
|
|
<Line_Enable_2_>Yes</Line_Enable_2_>
|
|
<Mailbox_ID_2_>*97</Mailbox_ID_2_>
|
|
<Proxy_2_>{$account.2.server_address}</Proxy_2_>
|
|
<Outbound_Proxy_2_>{$account.2.outbound_proxy_primary}</Outbound_Proxy_2_>
|
|
<Use_Outbound_Proxy_2_>{if isset ($account.2.outbound_proxy_primary)}Yes{else}No{/if}</Use_Outbound_Proxy_2_>
|
|
<Register_2_>Yes</Register_2_>
|
|
<SIP_Transport_2_ group="Ext_1/SIP_Settings">{$account.2.sip_transport|upper}</SIP_Transport_2_>
|
|
<SIP_Port_2_ group="Ext_1/SIP_Settings">{$account.2.sip_port}</SIP_Port_2_>
|
|
<Register_Expires_2_ group="Ext_2/Proxy_and_Registration">{$account.2.register_expires}</Register_Expires_2_>
|
|
<Display_Name_2_>{$account.2.display_name}</Display_Name_2_>
|
|
<User_ID_2_>{$account.2.user_id}</User_ID_2_>
|
|
<Password_2_>{$account.2.password}</Password_2_>
|
|
<Use_Auth_ID_2_>No</Use_Auth_ID_2_>
|
|
<Auth_ID_2_></Auth_ID_2_>
|
|
<Dial_Plan_2_>{$spa_dial_plan}</Dial_Plan_2_>
|
|
<!--<Dial_Plan_1_>(<:31516>xxxxxxx|<:3>xxxxxxxxxx|<:3>xxxxxxxxxxx|*xxxxx|*xxxx|*xxx|*xx|**xx|**xxx|**xxxx|**xxxxx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_1_>-->
|
|
<Handle_VIA_rport>{$spa_handle_via_rport}</Handle_VIA_rport>
|
|
<Insert_VIA_received>No</Insert_VIA_received>
|
|
<Insert_VIA_rport>{$spa_insert_via_rport}</Insert_VIA_rport>
|
|
<Time_Zone>{$spa_time_zone}</Time_Zone>
|
|
<Primary_NTP_Server>{$ntp_server_primary}</Primary_NTP_Server>
|
|
<Secondary_NTP_Server>{$ntp_server_secondary}</Secondary_NTP_Server>
|
|
<!--
|
|
<Reset_Button_Enable>0</Reset_Button_Enable>
|
|
<Web_Management>
|
|
<Web_Utility_Access_HTTP>1</Web_Utility_Access_HTTP>
|
|
<Web_Utility_Access_HTTPS>1</Web_Utility_Access_HTTPS>
|
|
<Web_Remote_Management>1</Web_Remote_Management>
|
|
<Remote_Web_Utility_Access>1</Remote_Web_Utility_Access>
|
|
<Web_Remote_Upgrade>1</Web_Remote_Upgrade>
|
|
<Allowed_Remote_IP_Type>1</Allowed_Remote_IP_Type>
|
|
<Remote_Management_Port>80</Remote_Management_Port>
|
|
</Web_Management>
|
|
-->
|
|
{if isset ($admin_name)}<Web_Login_Admin_Name>{$admin_name}</Web_Login_Admin_Name>{/if}
|
|
{if isset ($admin_password)}<Web_Login_Admin_Password>{$admin_password}</Web_Login_Admin_Password>{/if}
|
|
{if isset ($admin_name)}<Web_Login_Guest_Name>{$admin_name}</Web_Login_Guest_Name>{/if}
|
|
{if isset ($admin_password)}<Web_Login_Guest_Password>{$admin_password}</Web_Login_Guest_Password>{/if}
|
|
</flat-profile>
|