diff --git a/resources/templates/provision/gac2500/{$mac}.xml b/resources/templates/provision/gac2500/{$mac}.xml new file mode 100644 index 0000000000..2862ee9fc4 --- /dev/null +++ b/resources/templates/provision/gac2500/{$mac}.xml @@ -0,0 +1,4615 @@ + + + +{$mac|replace:'-':''} + + + + + + + + + + + + + 1 + + + {$display_name_1} + + + {$server_address_1} + + + 99 + + + 99 + + + {$user_password_1} + + + *97 + + + {$display_name_1} + + + + 0 + + + + 0 + + + + + + + + + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + 1 + + + + 2 + + + + {$register_expires_1} + + + + 0 + + + + 20 + + + + 5060 + + + + {if isset($subscribe_mwi)} + 1 + {else} + P99>0 + /if} + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + + 0 + + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + + 0 + + + + + {$tp=0} + {if $sip_transport_1 == 'udp'}{$tp=0}{/if} + {if $sip_transport_1 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_1 == 'tls'}{$tp=2}{/if} + {if $sip_transport_1 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + + 50 + + + + + + 400 + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + + 1 + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + P183>{$grandstream_srtp} + else} + P183>0 + /if} + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + + 0 + + + {if isset($grandstream_dial_plan) } + P290>{$grandstream_dial_plan} + {else} + P290>{literal}{x+|*x+|*++|\p\a\r\k\+*x+| \f\l\o\w\+*x+}{/literal} + {/if} + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + + 0 + + + + + + 100 + + + + 0 + + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + {if isset($grandstream_account_ring_tone_1)} + {$grandstream_account_ring_tone_1} + {else} + content://settings/system/ringtone + {/if} + + + 20 + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_2)} + 1 + {else} + 0 + {/if} + + {$display_name_2} + + + {$server_address_2} + + + {$user_id_2} + + + {$auth_id_2} + + + {$user_password_2} + + + *97 + + {$display_name_2} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_2} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 0 + + + + {$register_expires_2} + + + + 0 + + + + 20 + + + + 5062 + + + + + {if isset($subscribe_mwi)} + 1 + {else} + 0 + {/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 1800 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + {$tp=0} + {if $sip_transport_2 == 'udp'}{$tp=0}{/if} + {if $sip_transport_2 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_2 == 'tls'}{$tp=2}{/if} + {if $sip_transport_2 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + 0 + + + {$grandstream_dial_plan} + + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + 20 + + + + + + + content://settings/system/ringtone + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_3)} + 1 + {else} + 0 + {/if} + + + {$display_name_3} + + + {$server_address_3} + + + {$user_id_3} + + + {$auth_id_3} + + + {$user_password_3} + + + *97 + + + {$display_name_3} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_3} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 0 + + + + {$register_expires_3} + + + + 0 + + + + 20 + + + + 5064 + + + + {if isset($subscribe_mwi)} + 1 + {else} + 0 + {/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + {$tp=0} + {if $sip_transport_3 == 'udp'}{$tp=0}{/if} + {if $sip_transport_3 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_3 == 'tls'}{$tp=2}{/if} + {if $sip_transport_3 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + + 0 + + + {$grandstream_dial_plan} + + + + 0 + + + + 0 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + 20 + + + + + + + content://settings/system/ringtone + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_4)} + 1 + {else} + 0 + {/if} + + + {$display_name_4} + + + {$server_address_4} + + + {$user_id_4} + + + {$auth_id_4} + + + {$user_password_4} + + + *97 + + + {$display_name_4} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_4} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 0 + + + + {$register_expires_4} + + + + 0 + + + + 20 + + + + 5066 + + + + {if isset($subscribe_mwi)} + 1 + {else} + 0 + {/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + {$tp=0} + {if $sip_transport_4 == 'udp'}{$tp=0}{/if} + {if $sip_transport_4 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_4 == 'tls'}{$tp=2}{/if} + {if $sip_transport_4 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 1 + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + + 0 + + + + {$grandstream_dial_plan} + + + + 0 + + + + 0 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + content://settings/system/ringtone + + + + 20 + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_5)} + 1 + {else} + 0 + + + {$display_name_5} + + + {$server_address_5} + + + {$user_id_5} + + + {$auth_id_5} + + + {$user_password_5} + + + *97 + + + {$display_name_5} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_5} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 0 + + + + {$register_expires_5} + + + + 0 + + + + 20 + + + + 5068 + + + + {if isset($subscribe_mwi)} +1 +{else} +0 +{/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + {$tp=0} + {if $sip_transport_5 == 'udp'}{$tp=0}{/if} + {if $sip_transport_5 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_5 == 'tls'}{$tp=2}{/if} + {if $sip_transport_5 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + + 0 + + + {$grandstream_dial_plan} + + + + 0 + + + + 0 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + 20 + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_6)} + 1 + {else} + 0 + {/if} + + + {$display_name_6} + + + {$server_address_6} + + + {$user_id_6} + + + {$auth_id_6} + + + {$user_password_6} + + + *97 + + + {$display_name_6} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_6} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 2 + + + + {$register_expires_6} + + + + 0 + + + + 20 + + + + 5070 + + + + {if isset($subscribe_mwi)} + 1 + {else} + 0 + {/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + {$tp=0} + {if $sip_transport_6 == 'udp'}{$tp=0}{/if} + {if $sip_transport_6 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_6 == 'tls'}{$tp=2}{/if} + {if $sip_transport_6 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 1 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + 50 + + + + + + + + + + + + + + + + 0 + + + {$grandstream_dial_plan} + + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + 20 + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5004 + + + + 0 + + + + 0 + + + + 20 + + + stun.ipvideotalk.com + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + + + + + 0 + + + + + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + + + f1=350@-13,f2=440@-13,c=0/0; + + + f1=440@-19,f2=480@-19,c=2000/4000; + + + f1=480@-24,f2=620@-24,c=500/500; + + + f1=480@-24,f2=620@-24,c=250/250; + + + f1=350@-11,f2=440@-11,c=100/100-100/100-100/100; + + + f1=440@-13,c=300/10000-300/10000-0/0; + + + 0 + + + f1=480@-32,f2=620@-32,c=500/500; + + + c=2000/4000; + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + + + 0 + + + + 0 + + + + 2 + + + + + + GAC2500 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + 30 + + + 48 + + + 48 + + + + {if isset($grandstream_lan_port_vlan) } + {$grandstream_lan_port_vlan} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + + + + + GAC2500 $version + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + 64 + + + + + + + + + + + + + + + + 0 + + + + + + + + + + 0 + + + + + + + {if isset($ntp_server_primary)} + {$ntp_server_primary} + {else} + pool.ntp.org + {/if} + + + + + 1 + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + 2 + + + + + + + 911 + + + + 0 + + + 0 + + + + 0 + + + + 80 + + + + {$admin_password} + + + + {$user_password} + + + + 0 + + + + + + + + + s1ptest + + + + + + + + + + 0 + + + + 0 + + + + 1 + + + + + 1 + + + + 1 + + + + 1 + + + {if isset($grandstream_firmware_path)} + {$grandstream_firmware_path} + {else} + {$domain_name}{$project_path}/app/provision + {/if} + + + + + + + + + + + + + + + + 2 + + + {if $grandstream_config_server_path=="none"} + + {elseif isset($grandstream_config_server_path)} + {$grandstream_config_server_path} + {else} + {$domain_name}{$project_path}/app/provision + {/if} + + + {$http_auth_username} + + + {$http_auth_password} + + + + + + + + + + 0 + + + + + + 0 + + + {if $grandstream_config_server_path=="none"} + + {elseif isset($grandstream_config_server_path)} + {$grandstream_config_server_path} + {else} + {$domain_name}{$project_path}/app/provision + {/if} + + + {$http_auth_username} + + + {$http_auth_password} + + + + 0 + + + + 0 + + + + + + + 1 + + + + 3 + + + + 10080 + + + 1 + + + + 1 + + + + + 1 + + + + + + + 0 + + + + 0 + + + + 1 + + + + + + + {$grandstream_syslog_server} + + + + + {if isset($grandstream_syslog_level)} + {$grandstream_syslog_level} + {else} + 0 + {/if} + + + + {if isset($grandstream_send_sip_log)} + {$grandstream_send_sip_log} + {else} + 0 + {/if} + + + 0 + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + {if isset($contact_grandstream)} + 2 + {else} + 0 + {/if} + + + + + 0 + + + + + 0 + + + + {if isset($contact_grandstream)} + 1 + {else} + 0 + {/if} + + + + + + UTF-8 + + + + + {if isset($contact_grandstream)} + {$grandstream_phonebook_xml_server_path}{$mac}/ + {elseif isset($grandstream_phonebook_xml_server_path)} + {$grandstream_phonebook_xml_server_path} + {else} + + {/if} + + + + + + + + + + {if isset($grandstream_phonebook_download_interval)} + {$grandstream_phonebook_download_interval} + {else} + 0 + {/if} + + + + + + + 0 + + + + {$grandstream_ldap_server} + + + + 389 + + + + + + {$grandstream_ldap_base_dn} + + + + {$grandstream_ldap_username} + + + + + {$grandstream_ldap_password} + + + + + {$grandstream_ldap_name_attr} + + + + + {$grandstream_ldap_number_attr} + + + + + + + + + + {$grandstream_ldap_name_filter} + + + + + {$grandstream_ldap_number_filter} + + + + + + + + + {$grandstream_ldap_display_name} + + + + + 50 + + + + + 4 + + + 0 + + + 0 + + + + 0 + + + 0 + + + + + + + 0 + + + + + + + + + + + + + 0 + + + + 86400 + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + 0 + + + 0 + + + + + + + + + + + + + {assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} + {$start_id=23000} + {for $exp=1 to 160} + {$pid=$exp*5-5} + {if isset($keys.expansion.$exp.device_key_category) && isset($keys.expansion.$exp.device_key_type) && $keys.expansion.$exp.device_key_type|in_array:$key_types} + {$key_types[$keys.expansion.$exp.device_key_type]} + {$keys.expansion.$exp.device_key_line} + {$keys.expansion.$exp.device_key_label} + {$keys.expansion.$exp.device_key_value} + {else} + -1 + 0 + + + {/if} + + {/for} + {/if} + + + + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + + + diff --git a/resources/templates/provision/grandstream/gac2500/{$mac}.xml b/resources/templates/provision/grandstream/gac2500/{$mac}.xml new file mode 100644 index 0000000000..d0010f16ef --- /dev/null +++ b/resources/templates/provision/grandstream/gac2500/{$mac}.xml @@ -0,0 +1,4615 @@ + + + +{$mac|replace:'-':''} + + + + + + + + + + + + + 1 + + + {$display_name_1} + + + {$server_address_1} + + + 99 + + + 99 + + + {$user_password_1} + + + *97 + + + {$display_name_1} + + + + 0 + + + + 0 + + + + + + + + + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + 1 + + + + 2 + + + + {$register_expires_1} + + + + 0 + + + + 20 + + + + 5060 + + + + {if isset($subscribe_mwi)} + 1 + {else} + P99>0 + /if} + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + + 0 + + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + + 0 + + + + + {$tp=0} + {if $sip_transport_1 == 'udp'}{$tp=0}{/if} + {if $sip_transport_1 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_1 == 'tls'}{$tp=2}{/if} + {if $sip_transport_1 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + + 50 + + + + + + 400 + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + + 1 + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + P183>{$grandstream_srtp} + else} + P183>0 + /if} + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + + 0 + + + {if isset($grandstream_dial_plan) } + P290>{$grandstream_dial_plan} + {else} + P290>{literal}{x+|*x+|*++|\p\a\r\k\+*x+| \f\l\o\w\+*x+}{/literal} + {/if} + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + + 0 + + + + + + 100 + + + + 0 + + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + {if isset($grandstream_account_ring_tone_1)} + {$grandstream_account_ring_tone_1} + {else} + content://settings/system/ringtone + {/if} + + + 20 + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_2)} + 1 + {else} + 0 + {/if} + + {$display_name_2} + + + {$server_address_2} + + + {$user_id_2} + + + {$auth_id_2} + + + {$user_password_2} + + + *97 + + {$display_name_2} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_2} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 0 + + + + {$register_expires_2} + + + + 0 + + + + 20 + + + + 5062 + + + + + {if isset($subscribe_mwi)} + 1 + {else} + 0 + {/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 1800 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + {$tp=0} + {if $sip_transport_2 == 'udp'}{$tp=0}{/if} + {if $sip_transport_2 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_2 == 'tls'}{$tp=2}{/if} + {if $sip_transport_2 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + 0 + + + {$grandstream_dial_plan} + + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + 20 + + + + + + + content://settings/system/ringtone + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_3)} + 1 + {else} + 0 + {/if} + + + {$display_name_3} + + + {$server_address_3} + + + {$user_id_3} + + + {$auth_id_3} + + + {$user_password_3} + + + *97 + + + {$display_name_3} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_3} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 0 + + + + {$register_expires_3} + + + + 0 + + + + 20 + + + + 5064 + + + + {if isset($subscribe_mwi)} + 1 + {else} + 0 + {/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + {$tp=0} + {if $sip_transport_3 == 'udp'}{$tp=0}{/if} + {if $sip_transport_3 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_3 == 'tls'}{$tp=2}{/if} + {if $sip_transport_3 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + + 0 + + + {$grandstream_dial_plan} + + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + 20 + + + + + + + content://settings/system/ringtone + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_4)} + 1 + {else} + 0 + {/if} + + + {$display_name_4} + + + {$server_address_4} + + + {$user_id_4} + + + {$auth_id_4} + + + {$user_password_4} + + + *97 + + + {$display_name_4} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_4} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 0 + + + + {$register_expires_4} + + + + 0 + + + + 20 + + + + 5066 + + + + {if isset($subscribe_mwi)} + 1 + {else} + 0 + {/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 0 + + + + {$tp=0} + {if $sip_transport_4 == 'udp'}{$tp=0}{/if} + {if $sip_transport_4 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_4 == 'tls'}{$tp=2}{/if} + {if $sip_transport_4 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 1 + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + + 0 + + + + {$grandstream_dial_plan} + + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + content://settings/system/ringtone + + + + 20 + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_5)} + 1 + {else} + 0 + + + {$display_name_5} + + + {$server_address_5} + + + {$user_id_5} + + + {$auth_id_5} + + + {$user_password_5} + + + *97 + + + {$display_name_5} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_5} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 0 + + + + {$register_expires_5} + + + + 0 + + + + 20 + + + + 5068 + + + + {if isset($subscribe_mwi)} +1 +{else} +0 +{/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + {$tp=0} + {if $sip_transport_5 == 'udp'}{$tp=0}{/if} + {if $sip_transport_5 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_5 == 'tls'}{$tp=2}{/if} + {if $sip_transport_5 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + + + + + + + + + + + + + 0 + + + {$grandstream_dial_plan} + + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + 20 + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {if isset($user_password_6)} + 1 + {else} + 0 + {/if} + + + {$display_name_6} + + + {$server_address_6} + + + {$user_id_6} + + + {$auth_id_6} + + + {$user_password_6} + + + *97 + + + {$display_name_6} + + + + 0 + + + + 0 + + + + + + + {$outbound_proxy_6} + + + + + + + {if isset($grandstream_dns_mode)} + {$grandstream_dns_mode} + {else} + 0 + {/if} + + + + 0 + + + + {if isset($grandstream_nat_traversal)} + {$grandstream_nat_traversal} + {else} + 2 + {/if} + + + + + + + + + + + 1 + + + + 2 + + + + {$register_expires_6} + + + + 0 + + + + 20 + + + + 5070 + + + + {if isset($subscribe_mwi)} + 1 + {else} + 0 + {/if} + + + + 0 + + + + 30 + + + + 3 + + + + + 180 + + + + 90 + + + + 0 + + + + 1 + + + + + 0 + + + + + 0 + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + {$tp=0} + {if $sip_transport_6 == 'udp'}{$tp=0}{/if} + {if $sip_transport_6 == 'tcp'}{$tp=1}{/if} + {if $sip_transport_6 == 'tls'}{$tp=2}{/if} + {if $sip_transport_6 == 'dns srv'}{$tp=1}{/if} + {$tp} + + + + + 0 + + + + + 0 + + + + 1 + + + + 0 + + + + 1 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 50 + + + + + 400 + + + + 0 + + + + 0 + + + + + 0 + + + + 0 + + + + + 1 + + + + + + + + + + + + 0 + + + + 1 + + + + 0 + + + + 101 + + + + + 0 + + + + 8 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 9 + + + + 0 + + + 1 + + + 1 + + + + 1 + + + + 0 + + + + 126 + + + 123 + + + 0 + + + 104 + + + 1 + + + + {if isset($grandstream_srtp)} + {$grandstream_srtp} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + 2 + + + + 50 + + + + + + + + + + + + + + + + 0 + + + {$grandstream_dial_plan} + + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + 100 + + + + 0 + + + + 0 + + + + 4 + + + + 60 + + + + -1 + + + + 0 + + + + 1 + + + + + + + + + + + + + + + + 20 + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + + + + + content://settings/system/ringtone + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5004 + + + + 0 + + + + 0 + + + + 20 + + + stun.ipvideotalk.com + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + + + + + 0 + + + + + + + 0 + + + + 2 + + + + 0 + + + + + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 0 + + + + 1 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + 0 + + + f1=350@-13,f2=440@-13,c=0/0; + + + f1=440@-19,f2=480@-19,c=2000/4000; + + + f1=480@-24,f2=620@-24,c=500/500; + + + f1=480@-24,f2=620@-24,c=250/250; + + + f1=350@-11,f2=440@-11,c=100/100-100/100-100/100; + + + f1=440@-13,c=300/10000-300/10000-0/0; + + + 0 + + + f1=480@-32,f2=620@-32,c=500/500; + + + c=2000/4000; + + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + 0 + + + + 0 + + + + + + + + + + + + + 0 + + + + 0 + + + + 2 + + + + + + GAC2500 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + 30 + + + 48 + + + 48 + + + + {if isset($grandstream_lan_port_vlan) } + {$grandstream_lan_port_vlan} + {else} + 0 + {/if} + + + + 0 + + + + 0 + + + + 0 + + + + + + + + GAC2500 $version + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + + + 64 + + + + + + + + + + + + + + + + 0 + + + + + + + + + + 0 + + + + + + + {if isset($ntp_server_primary)} + {$ntp_server_primary} + {else} + pool.ntp.org + {/if} + + + + + 1 + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + + + + + + + + 2 + + + + + + + 911 + + + + 0 + + + 0 + + + + 0 + + + + 80 + + + + {$admin_password} + + + + {$user_password} + + + + 0 + + + + + + + + + s1ptest + + + + + + + + + + 0 + + + + 0 + + + + 1 + + + + + 1 + + + + 1 + + + + 1 + + + {if isset($grandstream_firmware_path)} + {$grandstream_firmware_path} + {else} + {$domain_name}{$project_path}/app/provision + {/if} + + + + + + + + + + + + + + + + 2 + + + {if $grandstream_config_server_path=="none"} + + {elseif isset($grandstream_config_server_path)} + {$grandstream_config_server_path} + {else} + {$domain_name}{$project_path}/app/provision + {/if} + + + {$http_auth_username} + + + {$http_auth_password} + + + + + + + + + + 0 + + + + + + 0 + + + {if $grandstream_config_server_path=="none"} + + {elseif isset($grandstream_config_server_path)} + {$grandstream_config_server_path} + {else} + {$domain_name}{$project_path}/app/provision + {/if} + + + {$http_auth_username} + + + {$http_auth_password} + + + + 0 + + + + 0 + + + + + + + 1 + + + + 3 + + + + 10080 + + + 1 + + + + 1 + + + + + 1 + + + + + + + 0 + + + + 0 + + + + 1 + + + + + + + {$grandstream_syslog_server} + + + + + {if isset($grandstream_syslog_level)} + {$grandstream_syslog_level} + {else} + 0 + {/if} + + + + {if isset($grandstream_send_sip_log)} + {$grandstream_send_sip_log} + {else} + 0 + {/if} + + + 0 + + + + + + + + + + 0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + {if isset($contact_grandstream)} + 2 + {else} + 0 + {/if} + + + + + 0 + + + + + 0 + + + + {if isset($contact_grandstream)} + 1 + {else} + 0 + {/if} + + + + + + UTF-8 + + + + + {if isset($contact_grandstream)} + {$grandstream_phonebook_xml_server_path}{$mac}/ + {elseif isset($grandstream_phonebook_xml_server_path)} + {$grandstream_phonebook_xml_server_path} + {else} + + {/if} + + + + + + + + + + {if isset($grandstream_phonebook_download_interval)} + {$grandstream_phonebook_download_interval} + {else} + 0 + {/if} + + + + + + + 0 + + + + {$grandstream_ldap_server} + + + + 389 + + + + + + {$grandstream_ldap_base_dn} + + + + {$grandstream_ldap_username} + + + + + {$grandstream_ldap_password} + + + + + {$grandstream_ldap_name_attr} + + + + + {$grandstream_ldap_number_attr} + + + + + + + + + + {$grandstream_ldap_name_filter} + + + + + {$grandstream_ldap_number_filter} + + + + + + + + + {$grandstream_ldap_display_name} + + + + + 50 + + + + + 4 + + + 0 + + + 0 + + + + 0 + + + 0 + + + + + + + 0 + + + + + + + + + + + + + 0 + + + + 86400 + + + + + + + + + + + + + + + + + + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + 0 + + + + + + + 0 + + + 0 + + + + + + + + + + + + + {assign var=key_types value=["none"=>-1,"speed dial"=>0, "blf"=>1, "presence watcher"=>2, "eventlist blf"=>3,"speed dial active"=>4,"dial dtmf"=>5,"voicemail"=>6,"call return"=>7,"transfer"=>8,"call park"=>9,"intercom"=>10,"ldap search"=>11,"multicast paging"=>13,"record"=>14,"call log"=>15,"monitored call park"=>16,"menu"=>17]} + {$start_id=23000} + {for $exp=1 to 160} + {$pid=$exp*5-5} + {if isset($keys.expansion.$exp.device_key_category) && isset($keys.expansion.$exp.device_key_type) && $keys.expansion.$exp.device_key_type|in_array:$key_types} + {$key_types[$keys.expansion.$exp.device_key_type]} + {$keys.expansion.$exp.device_key_line} + {$keys.expansion.$exp.device_key_label} + {$keys.expansion.$exp.device_key_value} + {else} + -1 + 0 + + + {/if} + + {/for} + {/if} + + + + + + + 1 + + + + 1 + + + + 1 + + + + 1 + + + + + +