From cab8aaa463be377422f3b19d8b9abbb1e57845aa Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 29 May 2025 17:42:24 -0600 Subject: [PATCH] Update the Cisco 9861 template --- .../templates/provision/cisco/9861/{$mac}.xml | 196 +++++++----------- 1 file changed, 76 insertions(+), 120 deletions(-) diff --git a/resources/templates/provision/cisco/9861/{$mac}.xml b/resources/templates/provision/cisco/9861/{$mac}.xml index 485e5b58ae..0170a659d6 100644 --- a/resources/templates/provision/cisco/9861/{$mac}.xml +++ b/resources/templates/provision/cisco/9861/{$mac}.xml @@ -1,4 +1,3 @@ -This XML file does not appear to have any style information associated with it. The document tree is shown below. @@ -10,8 +9,8 @@ This XML file does not appear to have any style information associated with it. 3600 443 Yes - - +{$admin_password} +{$user_password} Yes No @@ -73,8 +72,8 @@ This XML file does not appear to have any style information associated with it. NOTICE No - - +{$ntp_server_primary} +{$ntp_server_secondary} No 1 @@ -187,16 +186,16 @@ This XML file does not appear to have any style information associated with it. No -No +{$spa_handle_via_rport} No -No +{$spa_insert_via_rport} No No -No +{if isset($stun_server)}Yes{else}No{/if} No No No - +{$stun_server} 0 15 @@ -216,12 +215,18 @@ This XML file does not appear to have any style information associated with it. Yes Yes + Basic Http Authentication -/$PSN.xml - - - +{if isset ($http_auth_username)} +[--uid {$http_auth_username} --pwd {$http_auth_password}]http://{$domain_name}{$project_path}/app/provision/?mac=$MA +{else} +http://{$domain_name}{$project_path}/app/provision/?mac=$MA +{/if} + + + + 66,160,159,150 17,160,159 $PN $MAC -- Requesting resync $SCHEME://$SERVIP:$PORT$PATH @@ -245,7 +250,7 @@ This XML file does not appear to have any style information associated with it. Yes - +{$cisco_custom_ca_rule} $VERSION ($MA) @@ -334,10 +339,10 @@ This XML file does not appear to have any style information associated with it. *17 *18 *19 -*68 -*97 -*88 -*98 +#68 +#97 +#88 +#98 @@ -361,11 +366,11 @@ This XML file does not appear to have any style information associated with it. -GMT-08:00 +{$spa_time_zone} Yes -start=3/-1/7/2;end=10/-1/7/2;save=1 +start={$daylight_savings_start_month}/{$daylight_savings_start_day}/{$daylight_savings_start_weekday}/{$daylight_savings_start_time}:0:0;end={$daylight_savings_stop_month}/{$daylight_savings_stop_day}/{$daylight_savings_stop_weekday}/{$daylight_savings_stop_time}:0:0;save=1 Yes @@ -374,9 +379,9 @@ This XML file does not appear to have any style information associated with it. - - - +{$device_label} +{$display_name_1} +{$voicemail_number} Noise removal @@ -385,77 +390,20 @@ This XML file does not appear to have any style information associated with it. No -1 - -$USER -private - - - -2 - -$USER -private - - - -3 - -$USER -private - - - -4 - -$USER -private - - - -5 - -$USER -private - - - -6 - -$USER -private - - - -7 - -$USER -private - - - -8 - -$USER -private - - - -9 - -$USER -private - - - -10 - -$USER -private - - - - + +{foreach $keys["line"] as $row} +{if $row.device_key_category == "line"} + +{if $row.device_key_type == "disabled"}Disabled{else}{$row.device_key_line}{/if} +{$row.device_key_label} +{if $row.device_key_type == "shared"}shared{else}private{/if} +{$row.device_key_value} + +{/if} +{/foreach} + + + Horizontal First No @@ -633,9 +581,9 @@ This XML file does not appear to have any style information associated with it. Yes -No +{if $shared_line_1 == "shared"}Yes{else}No{/if} -3600 +600 No No @@ -646,9 +594,9 @@ This XML file does not appear to have any style information associated with it. 0x68 0xb8 -UDP +{$account.1.sip_transport|upper} -5060 +{$account.1.sip_port}< No 0 Yes @@ -692,7 +640,7 @@ This XML file does not appear to have any style information associated with it. 86400 Yes -No +{$spa_feature_key_sync} No No 3600 @@ -701,9 +649,16 @@ This XML file does not appear to have any style information associated with it. Yes - -192.168.2.11 - + +{$account.1.server_address} +{if isset($account.1.outbound_proxy_primary)} +{$account.1.outbound_proxy_primary} +{else} +{$account.1.server_address} +{/if} +{if isset($account.1.outbound_proxy_primary)} +{$account.1.outbound_proxy_secondary} +{/if} Yes @@ -711,19 +666,20 @@ This XML file does not appear to have any style information associated with it. No 3600 No -No -Yes -3600 +{if $account.1.sip_transport == 'dns srv'}Yes{/if} +{if $account.1.sip_transport != 'dns srv'}No{/if} +No +600 Normal No No Yes -107 -107 - -107 +{$account.1.display_name} +{$account.1.user_id} + +{$account.1.auth_id} @@ -763,7 +719,7 @@ This XML file does not appear to have any style information associated with it. Yes Yes -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No @@ -787,9 +743,9 @@ This XML file does not appear to have any style information associated with it. 0x68 0xb8 -UDP +{$account.2.sip_transport|upper} -5061 +{$account.2.sip_port} No 0 Yes @@ -850,7 +806,7 @@ This XML file does not appear to have any style information associated with it. Yes Yes No -3600 +{$account.2.register_expires} No No Yes @@ -861,9 +817,9 @@ This XML file does not appear to have any style information associated with it. No Yes - - - +{$account.2.display_name} +{$account.2.user_id} +{$account.2.password} @@ -904,7 +860,7 @@ This XML file does not appear to have any style information associated with it. Yes Yes -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No @@ -928,9 +884,9 @@ This XML file does not appear to have any style information associated with it. 0x68 0xb8 -UDP +{$account.3.sip_transport|upper} -5062 +{$account.3.sip_port} No 0 Yes @@ -974,7 +930,7 @@ This XML file does not appear to have any style information associated with it. 86400 Yes -No +{$spa_feature_key_sync} No No 3600