1 {$account.1.display_name} {$account.1.server_address} {$account.1.user_id} {$account.1.auth_id} {$account.1.password} {$account.1.display_name} {$voicemail_number} 0 0 0 1 0 {$account.1.register_expires} 0 5060 20 50 400 {if $account.1.sip_transport == 'udp'}0{/if} {if $account.1.sip_transport == 'tcp'}1{/if} {if $account.1.sip_transport == 'tls'}2{/if} {if $account.1.sip_transport == 'dns srv'}1{/if} 1 0 0 1 0 0 0 0 0 0 0 0 0 0 {if isset($grandstream_feature_key_sync)} {$grandstream_feature_key_sync} {/if} 15 {if $nway_conference == 'true'}nway{$account.1.user_id}@{$account.1.server_address}{/if} ** 0 100 180 90 0 0 0 0 1 0 0 0 0 0 0 0 1 0 101 0 8 4 18 9 98 2 0 0 0 0 2 1 0 1 97 1 2 0 {if isset($grandstream_dial_plan) } {$grandstream_dial_plan} {else} {literal}{x+|*x+|*++|\p\a\r\k\+*x+|\p\a\r\k\+x+|\f\l\o\w\+*x+}{/literal} {/if} 20 1 0 0 {$grandstream_distinctive_ringtone_name_1} {$grandstream_distinctive_ringtone_1} {$grandstream_distinctive_ringtone_name_2} {$grandstream_distinctive_ringtone_2} {$grandstream_distinctive_ringtone_name_3} {$grandstream_distinctive_ringtone_3} 60 0 0 0 1 0 0 4 1 1 {$account.2.display_name} {$account.2.server_address} {$account.2.user_id} {$account.2.user_id} {$account.2.password} {$account.2.display_name} {$voicemail_number} 0 0 0 1 0 {$account.2.register_expires} 0 5062 20 50 400 {if $account.2.sip_transport == 'udp'}0{/if} {if $account.2.sip_transport == 'tcp'}1{/if} {if $account.2.sip_transport == 'tls'}2{/if} {if $account.2.sip_transport == 'dns srv'}1{/if} 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 15 {if $nway_conference == 'true'}nway{$account.2.user_id}@{$account.2.server_address}{/if} ** 0 100 180 90 0 0 0 0 1 0 0 0 0 0 0 0 1 0 101 0 8 4 18 9 98 2 0 0 0 0 2 1 0 1 97 1 2 0 { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } 20 1 0 0 0 0 0 60 0 0 0 0 0 0 4 1 1 {$account.3.display_name} {$account.3.server_address} {$account.3.user_id} {$account.3.user_id} {$account.3.password} {$account.3.display_name} {$voicemail_number} 0 0 0 1 0 {$account.3.register_expires} 0 5064 20 50 400 {if $account.3.sip_transport == 'udp'}0{/if} {if $account.3.sip_transport == 'tcp'}1{/if} {if $account.3.sip_transport == 'tls'}2{/if} {if $account.3.sip_transport == 'dns srv'}1{/if} 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 15 {if $nway_conference == 'true'}nway{$account.3.user_id}@{$account.3.server_address}{/if} ** 0 100 180 90 0 0 0 0 1 0 0 0 0 0 0 0 1 0 101 0 8 4 18 9 98 2 0 0 0 0 2 1 0 1 97 1 2 0 { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } 20 1 0 0 {$grandstream_distinctive_ringtone_name_1} 0 0 0 60 0 0 0 0 0 0 4 1 1 {$account.4.display_name} {$account.4.server_address} {$account.4.user_id} {$account.4.user_id} {$account.4.password} {$account.4.display_name} {$voicemail_number} 0 0 0 1 0 {$account.4.register_expires} 0 5066 20 50 400 {if $account.4.sip_transport == 'udp'}0{/if} {if $account.4.sip_transport == 'tcp'}1{/if} {if $account.4.sip_transport == 'tls'}2{/if} {if $account.4.sip_transport == 'dns srv'}1{/if} 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 15 {if $nway_conference == 'true'}nway{$account.4.user_id}@{$account.4.server_address}{/if} ** 0 100 180 90 0 0 0 0 1 0 0 0 0 0 0 0 1 0 101 0 8 4 18 9 98 2 0 0 0 0 2 1 0 1 97 1 2 0 { x+ | *x+ | *xx*x+ } 20 1 0 0 0 0 0 60 0 0 0 0 0 0 4 1 1 {$account.5.display_name} {$account.5.server_address} {$account.5.user_id} {$account.5.user_id} {$account.5.password} {$account.5.display_name} {$voicemail_number} 0 0 0 1 0 {$account.5.register_expires} 0 5068 20 50 400 {if $account.5.sip_transport == 'udp'}0{/if} {if $account.5.sip_transport == 'tcp'}1{/if} {if $account.5.sip_transport == 'tls'}2{/if} {if $account.5.sip_transport == 'dns srv'}1{/if} 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 15 {if $nway_conference == 'true'}nway{$account.5.user_id}@{$account.5.server_address}{/if} ** 0 100 180 90 0 0 0 0 1 0 0 0 0 0 0 0 1 0 101 0 8 4 18 9 98 2 0 0 0 0 2 1 0 1 97 1 2 0 { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } 20 1 0 0 0 0 0 60 0 0 0 0 0 0 4 1 1 {$account.6.display_name} {$account.6.server_address} {$account.6.user_id} {$account.6.user_id} {$account.6.password} {$account.6.display_name} {$voicemail_number} 0 0 0 1 0 {$account.6.register_expires} 0 5070 20 50 400 {if $account.6.sip_transport == 'udp'}0{/if} {if $account.6.sip_transport == 'tcp'}1{/if} {if $account.6.sip_transport == 'tls'}2{/if} {if $account.6.sip_transport == 'dns srv'}1{/if} 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 15 {if $nway_conference == 'true'}nway{$account.6.user_id}@{$account.6.server_address}{/if} ** 0 100 180 90 0 0 0 0 1 0 0 0 0 0 0 0 1 0 101 0 8 4 18 9 98 2 0 0 0 0 2 1 0 1 97 1 2 0 { x+ | *x+ | *xx | *xxx | *xxxx | *xxxxx | *xxxxxx | **xx | **xxx | **xxxx | **xxxxx | **xxxxxx | **xxxxxxx | **xxxxxxxx | *xx*x+ } 20 1 0 0 0 0 0 60 0 0 0 0 0 0 {if isset($grandstream_ipv_mode)}{$grandstream_ipv_mode}{else}0{/if} 0 Grandstream GXP 192 168 0 160 255 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12 0 0 0 1 {$user_password} {$admin_password} 0 {$http_auth_username} {$http_auth_password} 2 {if isset($grandstream_firmware_path) && isset($firmware_version)} {$grandstream_firmware_path}/gxp21xx/{$firmware_version} {elseif isset($grandstream_firmware_path)} {$grandstream_firmware_path}/gxp21xx {else} {$domain_name}{$project_path}/app/provision {/if} {if $grandstream_config_server_path=="none"} {elseif isset($grandstream_config_server_path)} {$grandstream_config_server_path} {elseif isset($domain_name)} {$domain_name}{$project_path}/app/provision {/if} {if isset($grandstream_dhcp_option_override)}{$grandstream_dhcp_option_override}{else}1{/if} {if isset($grandstream_dhcp_option_override_sip_server)}{$grandstream_dhcp_option_override_sip_server}{else}0{/if} 0 10080 1 1 0 0 0 1 auto 0 0 86400 0 0 1 1 0 0 0 1 0 389 3 50 30 0 0 0 5004 1 20 {if isset($grandstream_stun_server)} {$grandstream_stun_server} {else} {/if} {if isset($public_mode) } {if $public_mode|strtolower == 'true'} 1 {elseif $public_mode|strtolower == 'yes'} 1 {elseif $public_mode == '1'} 1 {else} 0 {/if} {else} 0 {/if} 30 0 0 0 0 0 0 0 0 0 0 0 0 0 300 200 {if isset($grandstream_headset_key_mode)} {$grandstream_headset_key_mode} {/if} {if isset($grandstream_headset_type)} {$grandstream_headset_type} {$grandstream_headset_type} {/if} {if isset($grandstream_headset_ring)} {$grandstream_headset_ring} {/if} {if isset($grandstream_headset_tx_gain)} {$grandstream_headset_tx_gain} {else} 0 {/if} {if isset($grandstream_headset_rx_gain)} {$grandstream_headset_rx_gain} {else} 0 {/if} 1 0 6 2 7 1 us.pool.ntp.org 1 1 1 15 auto 0 0 0 0 0 {$line_key_type_1} {$line_key_line_1} {$line_key_label_1} {$line_key_value_1} {$line_key_type_2} {$line_key_line_2} {$line_key_label_2} {$line_key_value_2} {$line_key_type_3} {$line_key_line_3} {$line_key_label_3} {$line_key_value_3} {$line_key_type_4} {$line_key_line_4} {$line_key_label_4} {$line_key_value_4} {$line_key_type_5} {$line_key_line_5} {$line_key_label_5} {$line_key_value_5} {$line_key_type_6} {$line_key_line_6} {$line_key_label_6} {$line_key_value_6} {$memory_key_type_1} {$memory_key_line_1} {$memory_key_label_1} {$memory_key_value_1} {$memory_key_type_2} {$memory_key_line_2} {$memory_key_label_2} {$memory_key_value_2} {$memory_key_type_3} {$memory_key_line_3} {$memory_key_label_3} {$memory_key_value_3} {$memory_key_type_4} {$memory_key_line_4} {$memory_key_label_4} {$memory_key_value_4} {$memory_key_type_5} {$memory_key_line_5} {$memory_key_label_5} {$memory_key_value_5} {$memory_key_type_6} {$memory_key_line_6} {$memory_key_label_6} {$memory_key_value_6} {$memory_key_type_7} {$memory_key_line_7} {$memory_key_label_7} {$memory_key_value_7} {$memory_key_type_8} {$memory_key_line_8} {$memory_key_label_8} {$memory_key_value_8} {$memory_key_type_9} {$memory_key_line_9} {$memory_key_label_9} {$memory_key_value_9} {$memory_key_type_10} {$memory_key_line_10} {$memory_key_label_10} {$memory_key_value_10} {$memory_key_type_11} {$memory_key_line_11} {$memory_key_label_11} {$memory_key_value_11} {$memory_key_type_12} {$memory_key_line_12} {$memory_key_label_12} {$memory_key_value_12} {$memory_key_type_13} {$memory_key_line_13} {$memory_key_label_13} {$memory_key_value_13} {$memory_key_type_14} {$memory_key_line_14} {$memory_key_value_14} {$memory_key_type_15} {$memory_key_line_15} {$memory_key_label_15} {$memory_key_value_15} {$memory_key_type_16} {$memory_key_line_16} {$memory_key_value_16} {$memory_key_type_17} {$memory_key_line_17} {$memory_key_label_17} {$memory_key_value_17} {$memory_key_type_18} {$memory_key_line_18} {$memory_key_label_18} {$memory_key_value_18} {$start_id = 23000} {foreach $keys["expansion"] as $row} {$key_id = $row.device_key_id - 1} {$type_id = $start_id + ($key_id * 5)} {$line_id = ($start_id + 1) + ($key_id * 5)} {$label_id = ($start_id + 2) + ($key_id * 5)} {$value_id = ($start_id + 3) + ($key_id * 5)} {if $row.device_key_type == "speed dial"} 0{/if} {if $row.device_key_type == "blf"} 1{/if} {if $row.device_key_type == "presence watcher"} 2{/if} {if $row.device_key_type == "eventlist blf"} 3{/if} {if $row.device_key_type == "speed dial active"} 4{/if} {if $row.device_key_type == "dial dtmf"} 5{/if} {if $row.device_key_type == "voicemail"} 6{/if} {if $row.device_key_type == "call return"} 7{/if} {if $row.device_key_type == "transfer"} 8{/if} {if $row.device_key_type == "call park"} 9{/if} {if $row.device_key_type == "intercom"} 10{/if} {if $row.device_key_type == "ldap search"} 11{/if} {$row.device_key_line} {$row.device_key_label} {$row.device_key_value} {/foreach}