#!version:1.0.0.1 #################PROVISIONER.NET################## # This Configuration file was generated from the Provisioner.net Library by {$provisioner_processor_info} # Generated on: {$provisioner_generated_timestamp} # # Provisioner Information Follows: # Brand Revision Timestamp: {$provisioner_brand_timestamp} # Family Revision Timestamp: {$provisioner_family_timestamp} # ################################################## {% set x = 0 %} {% for line in lines %} {% set x = x + 1 %} account.{{ x }}.enable = {{ line.enable|default('1') }} account.{{ x }}.label = {{ line.display_name }} account.{{ x }}.display_name = {{ line.display_name }} account.{{ x }}.user_name = {{ line.username }} account.{{ x }}.auth_name = {{ line.auth_name }} account.{{ x }}.password = {{ line.auth_password }} account.{{ x }}.sip_server_host = {{ line.sip_server.primary.host }} account.{{ x }}.outbound_proxy_enable = {{ line.outbound_proxy.enable|default('1') }} account.{{ x }}.outbound_host = {{ line.outbound_proxy.primary.host }} account.{{ x }}.subscribe_mwi = {{ line.subscribe_mwi|default('1') }} account.{{ x }}.transport = {{ line.transport|default('1') }} {% endfor %} {% set x = 1 %} {% for account_key in provision.settings.accounts %} {% set x = x + 1 %} account.{{ x }}.enable = {{ account_key.basic.enable }} account.{{ x }}.label = {{ account_key.basic.display_name }} account.{{ x }}.display_name = {{ account_key.basic.display_name }} account.{{ x }}.user_name = {{ account_key.sip.username }} account.{{ x }}.auth_name = {{ account_key.sip.username }} account.{{ x }}.password = {{ account_key.sip.password }} account.{{ x }}.sip_server_host = {{ account_key.sip.realm_01 }} account.{{ x }}.outbound_proxy_enable = {{ account_key.sip.outbound_proxy.enable|default('1') }} account.{{ x }}.outbound_host = {{ account_key.sip.outbound_proxy_01 }} account.{{ x }}.transport = {{ account_key.sip.transport|default('1') }} {% endfor %} network.vlan.internet_port_enable = {{ vlan.enable|default('0') }} network.vlan.internet_port_vid = {{ vlan.vid }} network.vlan.internet_port_priority = 0 network.vlan.pc_port_enable = {{ vlan.pc.enable|default('0') }} network.vlan.pc_port_vid = {{ vlan.vid }} network.vlan.pc_port_priority = 0 call_waiting.enable = 1 features.hotline_number = {{ hotline }} features.hotline_delay = 0 features.intercom.barge = 0 features.busy_tone_delay = features.direct_ip_call_enable = 0 {% set x = 0 %} {% for mem_key in provision.settings.combo_keys %} {% set x = x + 1 %} memorykey.{{ x }}.line = {{ mem_key.key.line|default('1') }} memorykey.{{ x }}.value = {{ mem_key.key.value }} memorykey.{{ x }}.pickup_value = {{ mem_key.key.pickup_value }} memorykey.{{ x }}.type = {{ mem_key.type }} memorykey.{{ x }}.xml_phonebook = {{ mem_key.key.xml_phonebook }} {% endfor %} #START Line Key Options {% set x = 0 %} {% for line_key in provision.settings.lines %} {% set x = x + 1 %} linekey.{{ x }}.line = {{ line_key.key.line|default('1') }} linekey.{{ x }}.value = {{ line_key.key.value }} linekey.{{ x }}.pickup_value = {{ line_key.key.pickup_value }} linekey.{{ x }}.type = {{ line_key.type }} linekey.{{ x }}.xml_phonebook = {{ line_key.key.xml_phonebook }} linekey.{{ x }}.label = {{ line_key.key.label }} {% endfor %} #END Line Key Options {% set x = 0 %} {% for sidecar_key in provision.settings.lines %} {% set x = x + 1 %} expansion_module.1.key.{{ x }}.line = {{ sidecar_key.key.line|default('1') }} expansion_module.1.key.{{ x }}.value = {{ sidecar_key.key.value }} expansion_module.1.key.{{ x }}.pickup_value = {{ sidecar_key.key.pickup_value }} expansion_module.1.key.{{ x }}.type = {{ sidecar_key.type }} expansion_module.1.key.{{ x }}.xml_phonebook = {{ sidecar_key.key.xml_phonebook }} expansion_module.1.key.{{ x }}.label = {{ sidecar_key.key.label }} {% endfor %} [ DialNow ] path = /tmp/dialnow.xml {loop_dialnow} {$count} = {$rule} {/loop_dialnow} {% set x = 0 %} {% for sdext38 in sdext38s %} [ Key{{ x }} ] Path = /config/vpPhone/Ext38_00000000000001.cfg DKtype = {{ sdext38.dk_type }} Line = 0 Value = {{ sdext38.value }} type = {{ sdext38.type }} PickupValue = {{ sdext38.pickup_value }} Label = {{ sdext38.label }} {% set x = x + 1 %} {% endfor %} #START Soft Keys {% set x = 0 %} {% for soft_key in soft_keys %} [ programablekey{{ x }} ] path = /config/vpPhone/vpPhone.ini Label = {{ soft_key.label }} DKtype = {{ soft_key.dk_type }} Line = 0 Value = {{ soft_key.value }} XMLPhoneBook = {% set x = x + 1 %} {% endfor %} #END Soft Keys #Program UP Key [ programablekey5 ] path = /config/vpPhone/vpPhone.ini DKtype = {{ up_key.dk_type }} Line = {{ up_key.line }} Value = {{ up_key.value }} XMLPhoneBook = #Program DOWN Key [ programablekey6 ] path = /config/vpPhone/vpPhone.ini DKtype = {{ down_key.dk_type }} Line = {{ down_key.line }} Value = {{ down_key.value }} XMLPhoneBook = #Program LEFT Key [ programablekey7 ] path = /config/vpPhone/vpPhone.ini DKtype = {{ left_key.dk_type }} Line = {{ left_key.line }} Value = {{ left_key.value }} XMLPhoneBook = #Program RIGHT Key [ programablekey8 ] path = /config/vpPhone/vpPhone.ini DKtype = {{ right_key.dk_type }} Line = {{ right_key.line }} Value = {{ right_key.value }} XMLPhoneBook = #Program OK Key [ programablekey9 ] path = /config/vpPhone/vpPhone.ini DKtype = {{ ok_key.dk_type }} Line = {{ ok_key.line }} Value = {{ ok_key.value }} XMLPhoneBook = #Program CANCEL Key [ programablekey10 ] path = /config/vpPhone/vpPhone.ini DKtype = {{ cancel_key.dk_type }} Line = {{ cancel_key.line }} Value = {{ cancel_key.value }} XMLPhoneBook = #Program FWD Key [ programablekey14 ] path = /config/vpPhone/vpPhone.ini DKtype = 0 Line = 0 Value = 0 XMLPhoneBook = [ AdminPassword ] Password = {{ password.admin|default('admin') }} [ UserPassword ] path = /config/Setting/autop.cfg password = {{ password.user|default('') }}