diff --git a/resources/templates/provision/cisco/8851/{$mac}.xml b/resources/templates/provision/cisco/8851/{$mac}.xml index 9da3d5be6b..b03271a46c 100644 --- a/resources/templates/provision/cisco/8851/{$mac}.xml +++ b/resources/templates/provision/cisco/8851/{$mac}.xml @@ -1,64 +1,44 @@ - - Yes -Http +Http Yes 3600 3600 80 Yes - - +{$admin_password} +{$user_password} +No No -Yes -No - - -Enabled - -Normal - -Dual Mode -Disable IP DF flag -DHCP +DHCP -DHCP - -1 - - - -Disabled -Enabled No -Manual,DHCP -Parallel +Manual,DHCP +Parallel Yes -AUTO -AUTO +AUTO +AUTO Yes -No -None -NOTICE - - -No +NOTICE + +{$ntp_server_primary} +{$ntp_server_secondary} +No No 1 @@ -66,12 +46,6 @@ Yes Yes 3 - - - - - - @@ -94,14 +68,13 @@ No 5060 5080 -PAID-RPID-FROM +PAID-RPID-FROM No No No No No -none -IPv4 +none No .5 @@ -130,44 +103,34 @@ 16384 16482 -0.02 +0.030 0 0 -No -IPv4 -No -No +96 +97 +98 +99 +101 + PCMU PCMA G729a +G729ab G722 AMR-WB iLBC iSAC OPUS telephone-event -96 -103 -97 -105 -98 -99 -101 -107 -108 - - -No No -No +{$spa_handle_via_rport} No -No +{$spa_insert_via_rport} No No No -No No @@ -181,30 +144,28 @@ 600 3600 -60,120,240,480,960,1920,3840,7680,15360,30720,61440,86400 +3600 14400 Yes Yes -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,60,43,125 -17,160,159 $PN $MAC -- Requesting resync $SCHEME://$SERVIP:$PORT$PATH $PN $MAC -- Successful resync $SCHEME://$SERVIP:$PORT$PATH $PN $MAC -- Resync failed: $ERR - - -POST -On Request -3600 -60 +Yes Yes 3600 @@ -212,21 +173,13 @@ $PN $MAC -- Requesting upgrade $SCHEME://$SERVIP:$PORT$PATH $PN $MAC -- Successful upgrade $SCHEME://$SERVIP:$PORT$PATH -- $ERR $PN $MAC -- Upgrade failed: $ERR -Yes - - - $VERSION ($MA) -POST - - - - +POST @@ -261,8 +214,6 @@ 397@-19,507@-19;15(0/2/0,.2/.1/1,.1/2.1/2) 600@-16;.3(.05/0.05/1) 600@-19;.2(.05/0.05/1) - - 600@-16;.1(.05/0.05/1) 440@-10;30(.3/9.7/1) @@ -305,16 +256,10 @@ *18 *19 *96 -*68 -*97 -*88 -*98 -#64 -#61 -#62 -#63 -*11 -*15 +#68 +#97 +#88 +#98 @@ -338,89 +283,43 @@ *01056 *02056 - - -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 English-US -en-US -No +en-US - - - - -No +{$device_label} +{$display_name_1} +{$voicemail_number} -Phone -5 -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 - +Phone +5 + + +{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 +Horizontal First No No -2 - -Default - - - - - - - - - - - - - - - +2 Yes Yes @@ -435,31 +334,9 @@ Yes Yes Yes +No Yes No -No -Yes - -Yes -Yes -Yes -Yes -Yes -Yes -Yes -Yes -Yes -Yes - -Yes -Yes -No -50 - -Default - -Yes -Yes n=Sunrise;w=file://Sunrise.rwb;c=1 n=Chirp 1;w=file://chirp1.raw;c=1 @@ -477,50 +354,15 @@ No -480 +480 10 -Alphanumeric - - -Login Credentials - - - - + No -No -Enterprise + -No - -No - -No - -No - -No - -No -No -1 -Phone - -No - -5222 - - -No -30 -No - -Default - - -.* - - +Enterprise + + @@ -529,29 +371,18 @@ No -Local Credential +Local Credential - - - - - - - - - - +pggrp=224.168.168.168:34560;name=All;num=800;listen=yes; No -No -None -No +None @@ -562,22 +393,20 @@ No -em_login;acd_login;acd_logout;astate;avail;unavail;redial;recents;cfwd;dnd;lcr;pickup;gpickup;unpark;em_logout;guestin;guestout;callretrieve;bridgein; +em_login;acd_login;acd_logout;astate;avail;unavail;redial;recents;cfwd;dnd;lcr;pickup;gpickup;unpark;em_logout;guestin;guestout; lcr|1;miss|4; option;redial;cancel;dir;cfwd;dnd;lcr;unpark;pickup;gpickup; option|1;call|2;delchar|3;cancel|4; endcall|2; -hold|1;endcall|2;conf|3;xfer|4;bxfer;confLx;xferLx;park;phold;crdstart;crdpause;crdresume;crdstop;callpush;dnd; -hold|1;endcall|2;xfer|3;dnd; -hold|1;endcall|2;conf|3;dnd; -hold|1;endcall|2;join|4;phold;crdstart|5;crdpause|5;crdresume|5;crdstop|6;dnd; +bxfer|1;xfer|2;endcall|3;conf|4;hold;crdstart;crdstop;confLx;xferLx;park;phold;flash;dnd; +hold|1;endcall|2;xfer|4;crdstart;crdstop;dnd; +hold|1;endcall|2;conf|3;crdstart;crdstop;dnd; +hold|1;endcall|2;join|4;crdstart;crdstop;dnd; endcall|2; -resume|1;endcall|2;newcall|3;redial;dir;cfwd;dnd;callpush; -answer|1;ignore|2;ignoresilent|3; -newcall|1;barge|2;bargesilent|3;cfwd|4;dnd|5;callretrieve;bridgein; -resume|1;barge|2;cfwd|3;dnd|4; -proxycall|2;divert|3; -option|1;call|2;editcall|3; +resume|1;endcall|2;newcall|3;redial;dir;cfwd;dnd;crdstart;crdstop; +answer|1;ignore|2; +newcall|1;barge|2;bargesilent|3;cfwd|4;dnd|5;crdstart;crdstop; +resume|1;barge|2;cfwd|3;dnd|4;crdstart;crdstop; @@ -597,9 +426,9 @@ Yes -No +{if $shared_line_1 == "shared"}shared{else}private{/if} -3600 +600 No No @@ -610,8 +439,8 @@ 0x68 0xb8 -UDP -5060 +{$account.1.sip_transport|upper} +{$account.1.sip_port} No 0 Yes @@ -624,90 +453,55 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes -No +{$spa_feature_key_sync} No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.1.outbound_proxy_primary} Yes Yes No -3600 +{$account.1.register_expires} No -No -Yes -3600 -Normal +{if $account.1.sip_transport == 'dns srv'}Yes{/if} +{if $account.1.sip_transport != 'dns srv'}No{/if} +No +600 +Normal No No -Yes - - - +{$account.1.display_name} +{$account.1.user_id} +{$account.1.password} - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -715,24 +509,19 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - Yes -No - +{if $account.2.shared_line == "shared"}shared{else}private{/if} + 3600 No @@ -744,8 +533,8 @@ 0x68 0xb8 -UDP -5061 +{$account.2.sip_transport|upper} +{$account.2.sip_port} No 0 Yes @@ -758,90 +547,55 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes No No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.2.outbound_proxy_primary} Yes Yes No -3600 +{$account.2.register_expires} No -No -Yes -3600 -Normal +{if $account.2.sip_transport == 'dns srv'}Yes{/if} +{if $account.2.sip_transport != 'dns srv'}No{/if} +No +600 +Normal No No -Yes - - - +{$account.2.display_name} +{$account.2.user_id} +{$account.2.password} - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -849,25 +603,20 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - Yes -No +{if $account.3.shared_line == "shared"}shared{else}private{/if} -3600 +600 No No @@ -878,8 +627,8 @@ 0x68 0xb8 -UDP -5062 +{$account.3.sip_transport|upper} +{$account.3.sip_port} No 0 Yes @@ -892,90 +641,55 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes -No +{$spa_feature_key_sync} No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.3.outbound_proxy_primary} Yes Yes No -3600 +{$account.3.register_expires} No -No -Yes -3600 -Normal +{if $account.3.sip_transport == 'dns srv'}Yes{/if} +{if $account.3.sip_transport != 'dns srv'}No{/if} +No +600 +Normal No No -Yes - - - +{$account.3.display_name} +{$account.3.user_id} +{$account.3.password} - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -983,25 +697,20 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - Yes -No +{if $account.4.shared_line == "shared"}shared{else}private{/if} -3600 +600 No No @@ -1012,8 +721,8 @@ 0x68 0xb8 -UDP -5063 +{$account.4.sip_transport|upper} +{$account.4.sip_port} No 0 Yes @@ -1026,90 +735,56 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes -No +{$spa_feature_key_sync} No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.4.outbound_proxy_primary} Yes Yes No -3600 +{$account.4.register_expires} No -No +{if $account.4.sip_transport == 'dns srv'}Yes{/if} +{if $account.4.sip_transport != 'dns srv'}No{/if} Yes -3600 -Normal +600 +Normal No No -Yes - - - +{$account.4.display_name} +{$account.4.user_id} +{$account.4.password} + - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -1117,25 +792,20 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - Yes -No +{if $account.5.shared_line == "shared"}shared{else}private{/if} -3600 +600 No No @@ -1146,8 +816,8 @@ 0x68 0xb8 -UDP -5064 +{$account.5.sip_transport|upper} +{$account.5.sip_port} No 0 Yes @@ -1160,90 +830,55 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes -No +{$spa_feature_key_sync} No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.5.outbound_proxy_primary} Yes Yes No -3600 +{$account.5.register_expires} No -No +{if $account.5.sip_transport == 'dns srv'}Yes{/if} +{if $account.5.sip_transport != 'dns srv'}No{/if} Yes -3600 -Normal +600 +Normal No -No -Yes +Yes - - - +{$account.5.display_name} +{$account.5.user_id} +{$account.5.user_password} - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -1251,25 +886,20 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - Yes -No +{if $account.6.shared_line == "shared"}shared{else}private{/if} -3600 +600 No No @@ -1280,8 +910,8 @@ 0x68 0xb8 -UDP -5065 +{$account.6.sip_transport|upper} +{$account.6.sip_port} No 0 Yes @@ -1294,90 +924,55 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes -No +{$spa_feature_key_sync} No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.6.outbound_proxy_primary} Yes Yes No -3600 +{$account.6.register_expires} No -No +{if $account.6.sip_transport == 'dns srv'}Yes{/if} +{if $account.6.sip_transport != 'dns srv'}No{/if} Yes -3600 -Normal +600 +Normal No No -Yes - - - +{$account.6.display_name} +{$account.6.user_id} +{$account.6.password} - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -1385,25 +980,20 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - Yes -No +{if $account.7.shared_line == "shared"}shared{else}private{/if} -3600 +600 No No @@ -1414,8 +1004,8 @@ 0x68 0xb8 -UDP -5066 +{$account.7.sip_transport|upper} +{$account.7.sip_port} No 0 Yes @@ -1428,90 +1018,54 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes -No +{$spa_feature_key_sync} No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.7.outbound_proxy_primary} Yes Yes No -3600 +{$account.7.register_expires} No No Yes 3600 -Normal +Normal No No -Yes - - - +{$account.7.display_name} +{$account.7.user_id} +{$account.7.password} - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -1519,25 +1073,20 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - Yes -No +{if $account.8.shared_line == "shared"}shared{else}private{/if} -3600 +600 No No @@ -1548,8 +1097,8 @@ 0x68 0xb8 -UDP -5067 +{$account.8.sip_transport|upper} +{$account.8.sip_port} No 0 Yes @@ -1562,90 +1111,55 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes -No +{$spa_feature_key_sync} No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.8.outbound_proxy_primary} Yes Yes No -3600 +{$account.8.register_expires} No -No +{if $account.8.sip_transport == 'dns srv'}Yes{/if} +{if $account.8.sip_transport != 'dns srv'}No{/if} Yes -3600 -Normal +600 +Normal No No -Yes - - - +{$account.8.display_name} +{$account.8.user_id} +{$account.8.password} - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -1653,25 +1167,20 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - Yes No -3600 +600 No No @@ -1682,8 +1191,8 @@ 0x68 0xb8 -UDP -5068 +{$account.9.sip_transport|upper} +{$account.9.sip_port} No 0 Yes @@ -1696,90 +1205,55 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes -No +{$spa_feature_key_sync} No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.9.outbound_proxy_primary} Yes Yes No -3600 +{$account.9.register_expires} No -No +{if $account.9.sip_transport == 'dns srv'}Yes{/if} +{if $account.9.sip_transport != 'dns srv'}No{/if} Yes -3600 -Normal +600 +Normal No No -Yes - - - +{$account.9.display_name} +{$account.9.user_id} +{$account.9.password} - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -1787,25 +1261,20 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - Yes -No +{if $account.10.shared_line == "shared"}shared{else}private{/if} -3600 +600 No No @@ -1816,8 +1285,8 @@ 0x68 0xb8 -UDP -5069 +{$account.10.sip_transport|upper} +{$account.10.sip_port} No 0 Yes @@ -1830,90 +1299,55 @@ No No Yes -Yes -No - -0 - +yes +20 No -SIPREC -Disabled -No -No -No -No -Disabled No No No -1 +1 -No 86400 +No Yes -No +{$spa_feature_key_sync} No No 3600 -Optional -No - -No -No -No -No -No -No -Sync From Server -No -Yes - - +{$domain_name} +{$account.10.outbound_proxy_primary} Yes Yes No -3600 +{$account.10.register_expires} No -No +{if $account.10.sip_transport == 'dns srv'}Yes{/if} +{if $account.10.sip_transport != 'dns srv'}No{/if} Yes -3600 -Normal +600 +Normal No No -Yes - - - +{$account.10.display_name} +{$account.10.user_id} +{$account.10.password} - - -Login Credentials - - -No -No -No -No -No -No -G711u +G711u No -Unspecified -Unspecified -Yes -Yes +Unspecified +Unspecified Yes Yes Yes @@ -1921,28 +1355,21 @@ No Yes No -Auto -Default -AES 128 - +Auto +Default +AES 128 -(*xx|[3469]11|0|00|[2-9]xxxxxx|1xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.) +{$spa_dial_plan} No - - - - - -2 +0 +2 -No +Yes -No -No 20 @@ -1963,18 +1390,17 @@ -Yes +{$spa_call_waiting} No No No No Yes Yes -None -12hr -month/day +None +{$spa_time_format} +{$spa_date_format} No -Voicemail No Yes Yes @@ -1998,157 +1424,54 @@ 9 9 No - -Default -Default -Low - -TIA -No - -No -Normal -1200 -600 -1000 -Normal No -Clock +Clock 300 10 -5m +5m 15 -Default +Default -Default +Default - - 1800 30 -2 +0 1 -Broadsoft -BEKEM +Broadsoft -blf+sd+cp No -sd; -Show No 12 No No -No -Name -No - - - - - - - - - - - - - - - - - - - - - - - - +Name - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +{foreach $keys["expansion"] as $row} +{$row.device_key_value} +{/foreach} +{foreach $keys["expansion-1"] as $row} +{$row.device_key_value} +{/foreach} +{foreach $keys["expansion-2"] as $row} +{$row.device_key_value} +{/foreach} + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + No + + 20 Yes No @@ -2159,5 +1482,58 @@ - + +cisco-voice +cisco-voice +EAP-FAST +TKIP +1 +64 bits(10 hex digits) + + +AUTO + +***** +***** +MD5 + + +Disable + + + + + + + + + + + + + + + + + + + +Disable + + + + + + + + + + + + + + + + +