diff --git a/app/swissvoice/app_config.php b/app/swissvoice/app_config.php new file mode 100644 index 0000000000..c89167fe43 --- /dev/null +++ b/app/swissvoice/app_config.php @@ -0,0 +1,40 @@ + diff --git a/app/yealink/app_config.php b/app/yealink/app_config.php index adf7931de5..121db7a414 100755 --- a/app/yealink/app_config.php +++ b/app/yealink/app_config.php @@ -854,4 +854,220 @@ $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; $apps[$x]['default_settings'][$y]['default_setting_description'] = "Required trusted certificate for provisioning."; $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "e1d03aea-1563-4c57-86de-4d4d274b8352"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_opus_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "22683fe3-d2c0-4f84-a99d-3a4b8a821570"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g723_63_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "21f7bdbe-97cd-456f-911a-8dd4101a4dd9"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g722_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ea57f5d1-a52f-4973-9073-d5f8ef3f5b26"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g723_53_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "3b6685b3-0ca7-49f5-8863-f1b358b1c0e4"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g723_53_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2f7e7465-31f4-4fb1-87ba-54d283f9b96b"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g729_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "6483045a-931d-4d8d-ba21-75bc2c9aa9ce"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_pcma_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "226b612f-ed90-4c1c-965d-030bd0c0f5c0"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_pcmu_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c8d10105-152b-419b-8836-c5af755b36cf"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_ilbc_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "d4e238e6-877b-4b39-a99f-6cee3d2f1919"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_gsm_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "b49dc66e-0ff9-4a41-ac0d-1cc0743cc3be"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g726_32_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "eb9261fc-d2b2-4bb5-aebf-3357b5d41f49"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g726_40_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "314b14aa-7d5e-4bbf-92c8-7801b19ad078"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g726_24_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "bb18c828-7e10-4f75-948f-8cd7804a0bb4"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g726_16_enable"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "boolean"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "a018c028-0f99-4ef8-869d-f5322636ae36"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_opus_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "13"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "3b6685b3-0ca7-49f5-8863-f1b358b1c0e4"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g723_53_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "5"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "4cab3f85-da3d-47b0-b3e6-15129583bc86"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g729_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "3"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "0d96067e-5cfd-4618-b779-00a37ae80bc2"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_pcmu_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "1"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "f1396ecd-3a56-4573-995e-446ddd2cb2c2"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_pcma_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "2"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "57d98ac9-9df0-41bd-b494-2d46ce9a10e9"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g723_63_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "6"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "314425f8-2fe8-4a1c-8ae5-c540cfc3072d"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g722_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "4"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "true"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "792cee0e-f2af-42a9-9b59-a8cbaabf17be"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_ilbc_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "7"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "c8dd14e4-b8be-4b91-ad71-2d83b97d1bb3"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g726_16_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "8"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "ed2914e6-4af5-49aa-9310-590b6492798d"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g726_24_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "9"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "2e13034b-14b6-4dc9-b390-921eacdbc536"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g726_32_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "10"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "3bee322f-7de7-48ed-91be-ee5dfa14c55c"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_g726_40_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "11"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; + $apps[$x]['default_settings'][$y]['default_setting_uuid'] = "8dd3b8c5-885d-494a-bca5-266e2b317f31"; + $apps[$x]['default_settings'][$y]['default_setting_category'] = "provision"; + $apps[$x]['default_settings'][$y]['default_setting_subcategory'] = "yealink_codec_gsm_priority"; + $apps[$x]['default_settings'][$y]['default_setting_name'] = "numeric"; + $apps[$x]['default_settings'][$y]['default_setting_value'] = "12"; + $apps[$x]['default_settings'][$y]['default_setting_enabled'] = "false"; + $apps[$x]['default_settings'][$y]['default_setting_description'] = "Set to enable or disable the selected Yealink codec."; + $y++; ?> diff --git a/resources/templates/provision/swissvoice/cp2502/CP2502.cfg b/resources/templates/provision/swissvoice/cp2502/CP2502.cfg new file mode 100644 index 0000000000..e69de29bb2 diff --git a/resources/templates/provision/swissvoice/cp2502/{$mac}.cfg b/resources/templates/provision/swissvoice/cp2502/{$mac}.cfg new file mode 100644 index 0000000000..d0e22e2524 --- /dev/null +++ b/resources/templates/provision/swissvoice/cp2502/{$mac}.cfg @@ -0,0 +1,1485 @@ +<>Version:2.0000000000 + +# Local SIP settings # + +SIP Port :5060 +STUN Server : +STUN Port :3478 +STUN Refresh Time :50 +SIP Wait Stun Time :800 +Extern NAT Addrs : +Reg Fail Interval :32 +SIP Pswd Encryption:0 +Strict BranchPrefix:0 +Video Mute Attr :0 +Enable Group Backup:0 +Enable RFC4475 :1 +Strict UA Match :1 +CSTA Enable :0 +Notify Reboot :0 + +# SIP Line settings # +--SIP Line List-- : + +#SIP1 Enable Reg :0 +{if isset($account.1.password) } +SIP1 Enable Reg :1 +{else} +SIP1 Enable Reg :0 +{/if} + +SIP1 Phone Number :{$account.1.auth_id} +SIP1 Display Name :{$account.1.display_name} +SIP1 Register Addr :{$account.1.server_address} +SIP1 Register Port :{$account.1.sip_port} +SIP1 Register User :{$account.1.auth_id} +SIP1 Register Pswd :{$account.1.password} +SIP1 Register TTL :{$account.1.register_expires} +SIP1 Proxy Addr :{$account.1.outbound_proxy} +SIP1 Proxy Port :{$account.1.sip_port} +SIP1 Proxy User :{$account.1.auth_id} +SIP1 Proxy Pswd :{$account.1.password} +SIP1 BakProxy Addr :{$account.1.outbound_proxy_secondary} +SIP1 BakProxy Port :{$account.1.sip_port} +SIP1 Sub Expire :{$account.1.register_expires} +{if $account.1.sip_transport == 'dns srv'}SIP1 DNS SRV :1{/if} + +SIP1 Sip Name :{$account.1.auth_id} +SIP1 Enable Failback :0 +SIP1 Signal Crypto :0 +SIP1 SigCrypto Key : +SIP1 Media Crypto :0 +SIP1 MedCrypto Key : +SIP1 SRTP Auth-Tag :0 +SIP1 Local Domain : +SIP1 Always FWD :0 +SIP1 Busy FWD :0 +SIP1 No Answer FWD :0 +SIP1 Always FWD Num : +SIP1 Busy FWD Num : +SIP1 NoAnswer FWD Num : +SIP1 FWD Timer :5 +SIP1 Hotline Num : +SIP1 Enable Hotline :0 +SIP1 WarmLine Time :0 +SIP1 Pickup Num : +SIP1 Join Num : +SIP1 Intercom Num : +SIP1 Ring Type :Default +SIP1 NAT UDPUpdate :2 +SIP1 UDPUpdate TTL :60 +SIP1 Server Type :0 +SIP1 User Agent : +SIP1 PRACK :0 +SIP1 Keep AUTH :0 +SIP1 Session Timer :0 +SIP1 S Timer Expires :0 +SIP1 Enable GRUU :0 +SIP1 DTMF Mode :3 +SIP1 DTMF Info Mode :0 +SIP1 NAT Type :0 +SIP1 Enable Rport :1 +SIP1 Subscribe :0 +SIP1 Single Codec :0 +SIP1 CLIR :0 +SIP1 Strict Proxy :1 +SIP1 Direct Contact :0 +SIP1 History Info :0 +SIP1 DNS Mode :0 +SIP1 XFER Expire :0 +SIP1 Ban Anonymous :0 +SIP1 Dial Off Line :0 +SIP1 Quota Name :0 +SIP1 Presence Mode :0 +SIP1 RFC Ver :1 +SIP1 Phone Port :0 +SIP1 Signal Port :5060 +SIP1 Transport :0 +SIP1 Use SRV Mixer :0 +SIP1 SRV Mixer Uri : +SIP1 Long Contact :0 +SIP1 Auto TCP :0 +SIP1 Uri Escaped :1 +SIP1 Click to Talk :0 +SIP1 MWI Num : +SIP1 CallPark Num : +SIP1 Retrieve Num : +SIP1 MSRPHelp Num : +SIP1 User Is Phone :0 +SIP1 Auto Answer :0 +SIP1 NoAnswerTime :5 +SIP1 MissedCallLog :1 +SIP1 SvcCode Mode :0 +SIP1 DNDOn SvcCode : +SIP1 DNDOff SvcCode : +SIP1 CFUOn SvcCode : +SIP1 CFUOff SvcCode : +SIP1 CFBOn SvcCode : +SIP1 CFBOff SvcCode : +SIP1 CFNOn SvcCode : +SIP1 CFNOff SvcCode : +SIP1 ANCOn SvcCode : +SIP1 ANCOff SvcCode : +SIP1 Send ANOn Code : +SIP1 Send ANOffCode : +SIP1 CW On Code : +SIP1 CW Off Code : +SIP1 VoiceCodecMap :{$swissvoice_codec_order} +SIP1 VideoCodecMap : +SIP1 BLFList Uri : +SIP1 BLF Server : +SIP1 Respond 182 :0 +SIP1 Enable BLFList :0 +SIP1 Caller Id Type :4 +SIP1 Syn Clock Time :0 +SIP1 Use VPN :1 +SIP1 Enable DND :0 +SIP1 Inactive Hold :0 +SIP1 Req With Port :0 +SIP1 Update Reg Expire :1 +SIP1 Enable SCA :0 +SIP1 Sub CallPark :0 +SIP1 Sub CC Status :0 +SIP1 Feature Sync :0 +SIP1 Enable XferBack :0 +SIP1 XferBack Time :35 +SIP1 Use Tel Call :0 +SIP1 Enable Preview :0 +SIP1 Preview Mode :1 +SIP1 TLS Version :0 +SIP1 CSTA Number : +SIP1 Enable ChgPort :0 +SIP1 VQ Name : +SIP1 VQ Server : +SIP1 VQ Server Port :5060 +SIP1 VQ HTTP Server : +SIP1 Flash Mode :0 +SIP1 Content Type : +SIP1 Content Body : +SIP1 Unregister On Boot :0 +SIP1 Enable MAC Header :0 +SIP1 Record Start :Record:on +SIP1 Record Stop :Record:off + +#SIP2 Enable Reg :0 +{if isset($account.2.password) } +SIP2 Enable Reg :1 +{else} +SIP2 Enable Reg :0 +{/if} + +SIP2 Phone Number :{$account.2.auth_id} +SIP2 Display Name :{$account.2.display_name} +SIP2 Sip Name :{$account.2.auth_id} +SIP2 Register Addr :{$account.2.server_address} +SIP2 Register Port :{$account.2.sip_port} +SIP2 Register User :{$account.2.auth_id} +SIP2 Register Pswd :{$account.2.password} +SIP2 Register TTL :{$account.2.register_expires} +SIP2 Proxy Addr :{$account.2.outbound_proxy} +SIP2 Proxy Port :{$account.2.sip_port} +SIP2 Proxy User :{$account.2.auth_id} +SIP2 Proxy Pswd :{$account.2.password} +SIP2 BakProxy Addr :{$account.2.outbound_proxy_secondary} +SIP2 BakProxy Port :{$account.2.sip_port} +{if $account.2.sip_transport == 'dns srv'}SIP2 DNS SRV :1{/if} + +SIP2 Enable Failback :0 +SIP2 Signal Crypto :0 +SIP2 SigCrypto Key : +SIP2 Media Crypto :0 +SIP2 MedCrypto Key : +SIP2 SRTP Auth-Tag :0 +SIP2 Local Domain : +SIP2 Always FWD :0 +SIP2 Busy FWD :0 +SIP2 No Answer FWD :0 +SIP2 Always FWD Num : +SIP2 Busy FWD Num : +SIP2 NoAnswer FWD Num : +SIP2 FWD Timer :5 +SIP2 Hotline Num : +SIP2 Enable Hotline :0 +SIP2 WarmLine Time :0 +SIP2 Pickup Num : +SIP2 Join Num : +SIP2 Intercom Num : +SIP2 Ring Type :default +SIP2 NAT UDPUpdate :2 +SIP2 UDPUpdate TTL :60 +SIP2 Server Type :0 +SIP2 User Agent : +SIP2 PRACK :0 +SIP2 Keep AUTH :0 +SIP2 Session Timer :0 +SIP2 S Timer Expires :0 +SIP2 Enable GRUU :0 +SIP2 DTMF Mode :3 +SIP2 DTMF Info Mode :0 +SIP2 NAT Type :0 +SIP2 Enable Rport :1 +SIP2 Subscribe :0 +SIP2 Sub Expire :{$account.2.register_expires} +SIP2 Single Codec :0 +SIP2 CLIR :0 +SIP2 Strict Proxy :1 +SIP2 Direct Contact :0 +SIP2 History Info :0 +SIP2 DNS Mode :0 +SIP2 XFER Expire :0 +SIP2 Ban Anonymous :0 +SIP2 Dial Off Line :0 +SIP2 Quota Name :0 +SIP2 Presence Mode :0 +SIP2 RFC Ver :1 +SIP2 Phone Port :0 +SIP2 Signal Port :5060 +SIP2 Transport :0 +SIP2 Use SRV Mixer :0 +SIP2 SRV Mixer Uri : +SIP2 Long Contact :0 +SIP2 Auto TCP :0 +SIP2 Uri Escaped :1 +SIP2 Click to Talk :0 +SIP2 MWI Num : +SIP2 CallPark Num : +SIP2 Retrieve Num : +SIP2 MSRPHelp Num : +SIP2 User Is Phone :0 +SIP2 Auto Answer :0 +SIP2 NoAnswerTime :5 +SIP2 MissedCallLog :1 +SIP2 SvcCode Mode :0 +SIP2 DNDOn SvcCode : +SIP2 DNDOff SvcCode : +SIP2 CFUOn SvcCode : +SIP2 CFUOff SvcCode : +SIP2 CFBOn SvcCode : +SIP2 CFBOff SvcCode : +SIP2 CFNOn SvcCode : +SIP2 CFNOff SvcCode : +SIP2 ANCOn SvcCode : +SIP2 ANCOff SvcCode : +SIP2 Send ANOn Code : +SIP2 Send ANOffCode : +SIP2 CW On Code : +SIP2 CW Off Code : +SIP2 VoiceCodecMap :{$swissvoice_codec_order} +SIP2 VideoCodecMap : +SIP2 BLFList Uri : +SIP2 BLF Server : +SIP2 Respond 182 :0 +SIP2 Enable BLFList :0 +SIP2 Caller Id Type :4 +SIP2 Syn Clock Time :0 +SIP2 Use VPN :1 +SIP2 Enable DND :0 +SIP2 Inactive Hold :0 +SIP2 Req With Port :0 +SIP2 Update Reg Expire :1 +SIP2 Enable SCA :0 +SIP2 Sub CallPark :0 +SIP2 Sub CC Status :0 +SIP2 Feature Sync :0 +SIP2 Enable XferBack :0 +SIP2 XferBack Time :35 +SIP2 Use Tel Call :0 +SIP2 Enable Preview :0 +SIP2 Preview Mode :1 +SIP2 TLS Version :0 +SIP2 CSTA Number : +SIP2 Enable ChgPort :0 +SIP2 VQ Name : +SIP2 VQ Server : +SIP2 VQ Server Port :5060 +SIP2 VQ HTTP Server : +SIP2 Flash Mode :0 +SIP2 Content Type : +SIP2 Content Body : +SIP2 Unregister On Boot :0 +SIP2 Enable MAC Header :0 +SIP2 Record Start :Record:on +SIP2 Record Stop :Record:off + +#SIP3 Enable Reg :0 +{if isset($account.3.password) } +SIP3 Enable Reg :1 +{else} +SIP3 Enable Reg :0 +{/if} + +SIP3 Phone Number :{$account.3.auth_id} +SIP3 Display Name :{$account.3.display_name} +SIP3 Sip Name : +SIP3 Register Addr :{$account.3.server_address} +SIP3 Register Port :{$account.3.sip_port} +SIP3 Register User :{$account.3.auth_id} +SIP3 Register Pswd :{$account.3.password} +SIP3 Register TTL :{$account.3.register_expires} +SIP3 Proxy Addr :{$account.3.outbound_proxy} +SIP3 Proxy Port :{$account.3.sip_port} +SIP3 Proxy User :{$account.3.auth_id} +SIP3 Proxy Pswd :{$account.3.password} +SIP3 BakProxy Addr :{$account.3.outbound_proxy_secondary} +SIP3 BakProxy Port :{$account.3.sip_port} +{if $account.3.sip_transport == 'dns srv'}SIP3 DNS SRV :1{/if} + +SIP3 Enable Failback :0 +SIP3 Signal Crypto :0 +SIP3 SigCrypto Key : +SIP3 Media Crypto :0 +SIP3 MedCrypto Key : +SIP3 SRTP Auth-Tag :0 +SIP3 Local Domain : +SIP3 Always FWD :0 +SIP3 Busy FWD :0 +SIP3 No Answer FWD :0 +SIP3 Always FWD Num : +SIP3 Busy FWD Num : +SIP3 NoAnswer FWD Num : +SIP3 FWD Timer :5 +SIP3 Hotline Num : +SIP3 Enable Hotline :0 +SIP3 WarmLine Time :0 +SIP3 Pickup Num : +SIP3 Join Num : +SIP3 Intercom Num : +SIP3 Ring Type :default +SIP3 NAT UDPUpdate :2 +SIP3 UDPUpdate TTL :60 +SIP3 Server Type :0 +SIP3 User Agent : +SIP3 PRACK :0 +SIP3 Keep AUTH :0 +SIP3 Session Timer :0 +SIP3 S Timer Expires :0 +SIP3 Enable GRUU :0 +SIP3 DTMF Mode :3 +SIP3 DTMF Info Mode :0 +SIP3 NAT Type :0 +SIP3 Enable Rport :1 +SIP3 Subscribe :0 +SIP3 Sub Expire :{$account.3.register_expires} +SIP3 Single Codec :0 +SIP3 CLIR :0 +SIP3 Strict Proxy :1 +SIP3 Direct Contact :0 +SIP3 History Info :0 +SIP3 DNS Mode :0 +SIP3 XFER Expire :0 +SIP3 Ban Anonymous :0 +SIP3 Dial Off Line :0 +SIP3 Quota Name :0 +SIP3 Presence Mode :0 +SIP3 RFC Ver :1 +SIP3 Phone Port :0 +SIP3 Signal Port :5060 +SIP3 Transport :0 +SIP3 Use SRV Mixer :0 +SIP3 SRV Mixer Uri : +SIP3 Long Contact :0 +SIP3 Auto TCP :0 +SIP3 Uri Escaped :1 +SIP3 Click to Talk :0 +SIP3 MWI Num : +SIP3 CallPark Num : +SIP3 Retrieve Num : +SIP3 MSRPHelp Num : +SIP3 User Is Phone :0 +SIP3 Auto Answer :0 +SIP3 NoAnswerTime :5 +SIP3 MissedCallLog :1 +SIP3 SvcCode Mode :0 +SIP3 DNDOn SvcCode : +SIP3 DNDOff SvcCode : +SIP3 CFUOn SvcCode : +SIP3 CFUOff SvcCode : +SIP3 CFBOn SvcCode : +SIP3 CFBOff SvcCode : +SIP3 CFNOn SvcCode : +SIP3 CFNOff SvcCode : +SIP3 ANCOn SvcCode : +SIP3 ANCOff SvcCode : +SIP3 Send ANOn Code : +SIP3 Send ANOffCode : +SIP3 CW On Code : +SIP3 CW Off Code : +SIP3 VoiceCodecMap :{$swissvoice_codec_order} +SIP3 VideoCodecMap : +SIP3 BLFList Uri : +SIP3 BLF Server : +SIP3 Respond 182 :0 +SIP3 Enable BLFList :0 +SIP3 Caller Id Type :4 +SIP3 Syn Clock Time :0 +SIP3 Use VPN :1 +SIP3 Enable DND :0 +SIP3 Inactive Hold :0 +SIP3 Req With Port :0 +SIP3 Update Reg Expire :1 +SIP3 Enable SCA :0 +SIP3 Sub CallPark :0 +SIP3 Sub CC Status :0 +SIP3 Feature Sync :0 +SIP3 Enable XferBack :0 +SIP3 XferBack Time :35 +SIP3 Use Tel Call :0 +SIP3 Enable Preview :0 +SIP3 Preview Mode :1 +SIP3 TLS Version :0 +SIP3 CSTA Number : +SIP3 Enable ChgPort :0 +SIP3 VQ Name : +SIP3 VQ Server : +SIP3 VQ Server Port :5060 +SIP3 VQ HTTP Server : +SIP3 Flash Mode :0 +SIP3 Content Type : +SIP3 Content Body : +SIP3 Unregister On Boot :0 +SIP3 Enable MAC Header :0 +SIP3 Record Start :Record:on +SIP3 Record Stop :Record:off + +#SIP4 Enable Reg :0 +{if isset($account.4.password) } +SIP4 Enable Reg :1 +{else} +SIP4 Enable Reg :0 +{/if} + +SIP4 Phone Number :{$account.4.auth_id} +SIP4 Display Name :{$account.4.display_name} +SIP4 Sip Name : +SIP4 Register Addr :{$account.4.server_address} +SIP4 Register Port :{$account.4.sip_port} +SIP4 Register User :{$account.4.auth_id} +SIP4 Register Pswd :{$account.4.password} +SIP4 Register TTL :{$account.4.register_expires} +SIP4 Proxy Addr :{$account.4.outbound_proxy} +SIP4 Proxy Port :{$account.4.sip_port} +SIP4 Proxy User :{$account.4.auth_id} +SIP4 Proxy Pswd :{$account.4.password} +SIP4 BakProxy Addr :{$account.4.outbound_proxy_secondary} +SIP4 BakProxy Port :{$account.4.sip_port} +{if $account.4.sip_transport == 'dns srv'}SIP4 DNS SRV :1{/if} + +SIP4 Enable Failback :0 +SIP4 Signal Crypto :0 +SIP4 SigCrypto Key : +SIP4 Media Crypto :0 +SIP4 MedCrypto Key : +SIP4 SRTP Auth-Tag :0 +SIP4 Local Domain : +SIP4 Always FWD :0 +SIP4 Busy FWD :0 +SIP4 No Answer FWD :0 +SIP4 Always FWD Num : +SIP4 Busy FWD Num : +SIP4 NoAnswer FWD Num : +SIP4 FWD Timer :5 +SIP4 Hotline Num : +SIP4 Enable Hotline :0 +SIP4 WarmLine Time :0 +SIP4 Pickup Num : +SIP4 Join Num : +SIP4 Intercom Num : +SIP4 Ring Type :default +SIP4 NAT UDPUpdate :2 +SIP4 UDPUpdate TTL :60 +SIP4 Server Type :0 +SIP4 User Agent : +SIP4 PRACK :0 +SIP4 Keep AUTH :0 +SIP4 Session Timer :0 +SIP4 S Timer Expires :0 +SIP4 Enable GRUU :0 +SIP4 DTMF Mode :3 +SIP4 DTMF Info Mode :0 +SIP4 NAT Type :0 +SIP4 Enable Rport :1 +SIP4 Subscribe :0 +SIP4 Sub Expire :{$account.4.register_expires} +SIP4 Single Codec :0 +SIP4 CLIR :0 +SIP4 Strict Proxy :1 +SIP4 Direct Contact :0 +SIP4 History Info :0 +SIP4 DNS Mode :0 +SIP4 XFER Expire :0 +SIP4 Ban Anonymous :0 +SIP4 Dial Off Line :0 +SIP4 Quota Name :0 +SIP4 Presence Mode :0 +SIP4 RFC Ver :1 +SIP4 Phone Port :0 +SIP4 Signal Port :5060 +SIP4 Transport :0 +SIP4 Use SRV Mixer :0 +SIP4 SRV Mixer Uri : +SIP4 Long Contact :0 +SIP4 Auto TCP :0 +SIP4 Uri Escaped :1 +SIP4 Click to Talk :0 +SIP4 MWI Num : +SIP4 CallPark Num : +SIP4 Retrieve Num : +SIP4 MSRPHelp Num : +SIP4 User Is Phone :0 +SIP4 Auto Answer :0 +SIP4 NoAnswerTime :5 +SIP4 MissedCallLog :1 +SIP4 SvcCode Mode :0 +SIP4 DNDOn SvcCode : +SIP4 DNDOff SvcCode : +SIP4 CFUOn SvcCode : +SIP4 CFUOff SvcCode : +SIP4 CFBOn SvcCode : +SIP4 CFBOff SvcCode : +SIP4 CFNOn SvcCode : +SIP4 CFNOff SvcCode : +SIP4 ANCOn SvcCode : +SIP4 ANCOff SvcCode : +SIP4 Send ANOn Code : +SIP4 Send ANOffCode : +SIP4 CW On Code : +SIP4 CW Off Code : +SIP4 VoiceCodecMap :{$swissvoice_codec_order} +SIP4 VideoCodecMap : +SIP4 BLFList Uri : +SIP4 BLF Server : +SIP4 Respond 182 :0 +SIP4 Enable BLFList :0 +SIP4 Caller Id Type :4 +SIP4 Syn Clock Time :0 +SIP4 Use VPN :1 +SIP4 Enable DND :0 +SIP4 Inactive Hold :0 +SIP4 Req With Port :0 +SIP4 Update Reg Expire :1 +SIP4 Enable SCA :0 +SIP4 Sub CallPark :0 +SIP4 Sub CC Status :0 +SIP4 Feature Sync :0 +SIP4 Enable XferBack :0 +SIP4 XferBack Time :35 +SIP4 Use Tel Call :0 +SIP4 Enable Preview :0 +SIP4 Preview Mode :1 +SIP4 TLS Version :0 +SIP4 CSTA Number : +SIP4 Enable ChgPort :0 +SIP4 VQ Name : +SIP4 VQ Server : +SIP4 VQ Server Port :5060 +SIP4 VQ HTTP Server : +SIP4 Flash Mode :0 +SIP4 Content Type : +SIP4 Content Body : +SIP4 Unregister On Boot :0 +SIP4 Enable MAC Header :0 +SIP4 Record Start :Record:on +SIP4 Record Stop :Record:off + +#SIP5 Enable Reg :0 +{if isset($account.5.password) } +SIP5 Enable Reg :1 +{else} +SIP5 Enable Reg :0 +{/if} + +SIP5 Phone Number :{$account.5.auth_id} +SIP5 Display Name :{$account.5.display_name} +SIP5 Sip Name : +SIP5 Register Addr :{$account.5.server_address} +SIP5 Register Port :{$account.5.sip_port} +SIP5 Register User :{$account.5.auth_id} +SIP5 Register Pswd :{$account.5.password} +SIP5 Register TTL :{$account.5.register_expires} +SIP5 Proxy Addr :{$account.5.outbound_proxy} +SIP5 Proxy Port :{$account.5.sip_port} +SIP5 Proxy User :{$account.5.auth_id} +SIP5 Proxy Pswd :{$account.5.password} +SIP5 BakProxy Addr :{$account.5.outbound_proxy_secondary} +SIP5 BakProxy Port :{$account.5.sip_port} +{if $account.5.sip_transport == 'dns srv'}SIP5 DNS SRV :1{/if} + +SIP5 Enable Failback :0 +SIP5 Signal Crypto :0 +SIP5 SigCrypto Key : +SIP5 Media Crypto :0 +SIP5 MedCrypto Key : +SIP5 SRTP Auth-Tag :0 +SIP5 Local Domain : +SIP5 Always FWD :0 +SIP5 Busy FWD :0 +SIP5 No Answer FWD :0 +SIP5 Always FWD Num : +SIP5 Busy FWD Num : +SIP5 NoAnswer FWD Num : +SIP5 FWD Timer :5 +SIP5 Hotline Num : +SIP5 Enable Hotline :0 +SIP5 WarmLine Time :0 +SIP5 Pickup Num : +SIP5 Join Num : +SIP5 Intercom Num : +SIP5 Ring Type :default +SIP5 NAT UDPUpdate :2 +SIP5 UDPUpdate TTL :60 +SIP5 Server Type :0 +SIP5 User Agent : +SIP5 PRACK :0 +SIP5 Keep AUTH :0 +SIP5 Session Timer :0 +SIP5 S Timer Expires :0 +SIP5 Enable GRUU :0 +SIP5 DTMF Mode :3 +SIP5 DTMF Info Mode :0 +SIP5 NAT Type :0 +SIP5 Enable Rport :1 +SIP5 Subscribe :0 +SIP5 Sub Expire :{$account.5.register_expires} +SIP5 Single Codec :0 +SIP5 CLIR :0 +SIP5 Strict Proxy :1 +SIP5 Direct Contact :0 +SIP5 History Info :0 +SIP5 DNS Mode :0 +SIP5 XFER Expire :0 +SIP5 Ban Anonymous :0 +SIP5 Dial Off Line :0 +SIP5 Quota Name :0 +SIP5 Presence Mode :0 +SIP5 RFC Ver :1 +SIP5 Phone Port :0 +SIP5 Signal Port :5060 +SIP5 Transport :0 +SIP5 Use SRV Mixer :0 +SIP5 SRV Mixer Uri : +SIP5 Long Contact :0 +SIP5 Auto TCP :0 +SIP5 Uri Escaped :1 +SIP5 Click to Talk :0 +SIP5 MWI Num : +SIP5 CallPark Num : +SIP5 Retrieve Num : +SIP5 MSRPHelp Num : +SIP5 User Is Phone :0 +SIP5 Auto Answer :0 +SIP5 NoAnswerTime :5 +SIP5 MissedCallLog :1 +SIP5 SvcCode Mode :0 +SIP5 DNDOn SvcCode : +SIP5 DNDOff SvcCode : +SIP5 CFUOn SvcCode : +SIP5 CFUOff SvcCode : +SIP5 CFBOn SvcCode : +SIP5 CFBOff SvcCode : +SIP5 CFNOn SvcCode : +SIP5 CFNOff SvcCode : +SIP5 ANCOn SvcCode : +SIP5 ANCOff SvcCode : +SIP5 Send ANOn Code : +SIP5 Send ANOffCode : +SIP5 CW On Code : +SIP5 CW Off Code : +SIP5 VoiceCodecMap :{$swissvoice_codec_order} +SIP5 VideoCodecMap : +SIP5 BLFList Uri : +SIP5 BLF Server : +SIP5 Respond 182 :0 +SIP5 Enable BLFList :0 +SIP5 Caller Id Type :4 +SIP5 Syn Clock Time :0 +SIP5 Use VPN :1 +SIP5 Enable DND :0 +SIP5 Inactive Hold :0 +SIP5 Req With Port :0 +SIP5 Update Reg Expire :1 +SIP5 Enable SCA :0 +SIP5 Sub CallPark :0 +SIP5 Sub CC Status :0 +SIP5 Feature Sync :0 +SIP5 Enable XferBack :0 +SIP5 XferBack Time :35 +SIP5 Use Tel Call :0 +SIP5 Enable Preview :0 +SIP5 Preview Mode :1 +SIP5 TLS Version :0 +SIP5 CSTA Number : +SIP5 Enable ChgPort :0 +SIP5 VQ Name : +SIP5 VQ Server : +SIP5 VQ Server Port :5060 +SIP5 VQ HTTP Server : +SIP5 Flash Mode :0 +SIP5 Content Type : +SIP5 Content Body : +SIP5 Unregister On Boot :0 +SIP5 Enable MAC Header :0 +SIP5 Record Start :Record:on +SIP5 Record Stop :Record:off + +#SIP6 Enable Reg :0 +{if isset($account.6.password) } +SIP6 Enable Reg :1 +{else} +SIP6 Enable Reg :0 +{/if} + +SIP6 Phone Number :{$account.6.auth_id} +SIP6 Display Name :{$account.6.display_name} +SIP6 Sip Name : +SIP6 Register Addr :{$account.6.server_address} +SIP6 Register Port :{$account.6.sip_port} +SIP6 Register User :{$account.6.auth_id} +SIP6 Register Pswd :{$account.6.password} +SIP6 Register TTL :{$account.6.register_expires} +SIP6 Proxy Addr :{$account.6.outbound_proxy} +SIP6 Proxy Port :{$account.6.sip_port} +SIP6 Proxy User :{$account.6.auth_id} +SIP6 Proxy Pswd :{$account.6.password} +SIP6 BakProxy Addr :{$account.6.outbound_proxy_secondary} +SIP6 BakProxy Port :{$account.6.sip_port} +{if $account.6.sip_transport == 'dns srv'}SIP6 DNS SRV :1{/if} + +SIP6 Enable Failback :0 +SIP6 Signal Crypto :0 +SIP6 SigCrypto Key : +SIP6 Media Crypto :0 +SIP6 MedCrypto Key : +SIP6 SRTP Auth-Tag :0 +SIP6 Local Domain : +SIP6 Always FWD :0 +SIP6 Busy FWD :0 +SIP6 No Answer FWD :0 +SIP6 Always FWD Num : +SIP6 Busy FWD Num : +SIP6 NoAnswer FWD Num : +SIP6 FWD Timer :5 +SIP6 Hotline Num : +SIP6 Enable Hotline :0 +SIP6 WarmLine Time :0 +SIP6 Pickup Num : +SIP6 Join Num : +SIP6 Intercom Num : +SIP6 Ring Type :default +SIP6 NAT UDPUpdate :2 +SIP6 UDPUpdate TTL :60 +SIP6 Server Type :0 +SIP6 User Agent : +SIP6 PRACK :0 +SIP6 Keep AUTH :0 +SIP6 Session Timer :0 +SIP6 S Timer Expires :0 +SIP6 Enable GRUU :0 +SIP6 DTMF Mode :3 +SIP6 DTMF Info Mode :0 +SIP6 NAT Type :0 +SIP6 Enable Rport :1 +SIP6 Subscribe :0 +SIP6 Sub Expire :{$account.6.register_expires} +SIP6 Single Codec :0 +SIP6 CLIR :0 +SIP6 Strict Proxy :1 +SIP6 Direct Contact :0 +SIP6 History Info :0 +SIP6 DNS Mode :0 +SIP6 XFER Expire :0 +SIP6 Ban Anonymous :0 +SIP6 Dial Off Line :0 +SIP6 Quota Name :0 +SIP6 Presence Mode :0 +SIP6 RFC Ver :1 +SIP6 Phone Port :0 +SIP6 Signal Port :5060 +SIP6 Transport :0 +SIP6 Use SRV Mixer :0 +SIP6 SRV Mixer Uri : +SIP6 Long Contact :0 +SIP6 Auto TCP :0 +SIP6 Uri Escaped :1 +SIP6 Click to Talk :0 +SIP6 MWI Num : +SIP6 CallPark Num : +SIP6 Retrieve Num : +SIP6 MSRPHelp Num : +SIP6 User Is Phone :0 +SIP6 Auto Answer :0 +SIP6 NoAnswerTime :5 +SIP6 MissedCallLog :1 +SIP6 SvcCode Mode :0 +SIP6 DNDOn SvcCode : +SIP6 DNDOff SvcCode : +SIP6 CFUOn SvcCode : +SIP6 CFUOff SvcCode : +SIP6 CFBOn SvcCode : +SIP6 CFBOff SvcCode : +SIP6 CFNOn SvcCode : +SIP6 CFNOff SvcCode : +SIP6 ANCOn SvcCode : +SIP6 ANCOff SvcCode : +SIP6 Send ANOn Code : +SIP6 Send ANOffCode : +SIP6 CW On Code : +SIP6 CW Off Code : +SIP6 VoiceCodecMap :{$swissvoice_codec_order} +SIP6 VideoCodecMap : +SIP6 BLFList Uri : +SIP6 BLF Server : +SIP6 Respond 182 :0 +SIP6 Enable BLFList :0 +SIP6 Caller Id Type :4 +SIP6 Syn Clock Time :0 +SIP6 Use VPN :1 +SIP6 Enable DND :0 +SIP6 Inactive Hold :0 +SIP6 Req With Port :0 +SIP6 Update Reg Expire :1 +SIP6 Enable SCA :0 +SIP6 Sub CallPark :0 +SIP6 Sub CC Status :0 +SIP6 Feature Sync :0 +SIP6 Enable XferBack :0 +SIP6 XferBack Time :35 +SIP6 Use Tel Call :0 +SIP6 Enable Preview :0 +SIP6 Preview Mode :1 +SIP6 TLS Version :0 +SIP6 CSTA Number : +SIP6 Enable ChgPort :0 +SIP6 VQ Name : +SIP6 VQ Server : +SIP6 VQ Server Port :5060 +SIP6 VQ HTTP Server : +SIP6 Flash Mode :0 +SIP6 Content Type : +SIP6 Content Body : +SIP6 Unregister On Boot :0 +SIP6 Enable MAC Header :0 +SIP6 Record Start :Record:on +SIP6 Record Stop :Record:off + + +--Port Config-- : +P1 Enable XferDPlan :1 +P1 Enable FwdDPlan :0 +P1 Enable Pre DPlan :0 +P1 IP Dial Prefix :. +P1 Enable DND :1 +P1 DND Mode :0 +P1 Enable Space DND :0 +P1 DND Start Time :1500 +P1 DND End Time :1730 +P1 Enable White List :1 +P1 Enable Black List :1 +P1 Enable CallBar :1 +P1 Mute Ringing :0 +P1 Ban Dial Out :0 +P1 Ban Empty CID :0 +P1 Accept Any Call :1 +P1 Enable CLIP :1 +P1 CallWaiting :1 +P1 CallTransfer :1 +P1 CallSemiXfer :1 +P1 CallConference :1 +P1 Auto PickupNext :0 +P1 Busy No Line :1 +P1 Auto Onhook :1 +P1 Auto Onhook Time :3 +P1 Enable Intercom :1 +P1 Intercom Mute :0 +P1 Intercom Tone :1 +P1 Intercom Barge :1 +P1 Use Auto Redial :0 +P1 Redial EnterCallLog:1 +P1 AutoRedial Delay :30 +P1 AutoRedial Times :5 +P1 Call Complete :0 +P1 CHolding Tone :1 +P1 CWaiting Tone :1 +P1 Hide DTMF Type :0 +P1 Talk DTMF Tone :1 +P1 Dial DTMF Tone :1 +P1 Psw Dial Mode :0 +P1 Psw Dial Length :0 +P1 Psw Dial Prefix : +P1 Enable MultiLine :1 +P1 Allow IP Call :1 +P1 Caller Name Type :0 +P1 Mute For Ring :0 +P1 Auto Handle Video :0 +P1 Default Ans Mode :2 +P1 Default Dial Mode :1 +P1 Hold To Transfer :0 +P1 Enable PreDial :1 +P1 Default Ext Line :1 +P1 Enable Def Line :0 +P1 Enable SelLine :1 +P1 Ring in Headset :0 +P1 Auto Headset :0 +P1 DND Return Code :480 +P1 Busy Return Code :486 +P1 Reject Return Code :603 +P1 Contact Type :0 +P1 Enable Country Code:0 +P1 Country Code : +P1 Call Area Code : +P1 Number Privacy :0 +P1 Privacy Rule : +P1 Transf DTMF Code : +P1 Hold DTMF Code : +P1 Conf DTMF Code : +--Basic DialPlan-- : +Dial by Pound :1 +BTransfer by Pound :0 +Onhook to BXfer :0 +Onhook to AXfer :0 +Conf Onhook to Xfer:0 +Dial Fixed Length :0 +Fixed Length Nums :11 +Dial by Timeout :1 +Dial Timeout value :10 +Enable E OneSixFour:0 +--Alert Info Ring--: +Alert1 Text : +Alert1 Ring Type :Type 1 +Alert2 Text : +Alert2 Ring Type :Type 1 +Alert3 Text : +Alert3 Ring Type :Type 1 +Alert4 Text : +Alert4 Ring Type :Type 1 +Alert5 Text : +Alert5 Ring Type :Type 1 +Alert6 Text : +Alert6 Ring Type :Type 1 +Alert7 Text : +Alert7 Ring Type :Type 1 +Alert8 Text : +Alert8 Ring Type :Type 1 +Alert9 Text : +Alert9 Ring Type :Type 1 +Alert10 Text : +Alert10 Ring Type :Type 1 + + +Menu Password :123 +KeyLock Password :123 +Fast Keylock Code : +Enable KeyLock :0 +KeyLock Timeout :0 +Emergency Call :110 +Push XML IP : +SIP Number Plan :0 +LDAP Search :0 +Search Path :0 +Caller Display T :0 +CallLog DisplayType:0 +Enable Recv SMS :1 +Enable Call History:1 +Line Display Format:$name@$protocol$instance +Enable MWI Tone :0 +--Display Input-- : +LCD Title :CP2505G +LCD Constrast :5 +Enable Energysaving:4 +LCD Luminance Level:12 +Backlight Off Time :45 +Disable CHN IME :0 +Phone Model : +#Host Name :bcm911188sv +Default Language :en +Enable Greetings :0 +--Power LED-- : +Power :0 +MWI Or SMS :3 +In Using :0 +Ring :2 +Hold :0 +Mute :0 +Missed Call :3 +--Voice Volume-- : +Handset Vol :5 +Handset Mic Vol :3 +Headset Vol :5 +Headset Mic Vol :3 +Headset Ring Vol :5 +HandFree Vol :5 +HandFree Mic Vol :3 +HandFree Ring Vol :5 +Ring Type :Type 2 +--DateTime Config--: +Enable SNTP :1 +SNTP Server :0.pool.ntp.org +Second SNTP Server :time.nist.gov +Time Zone :4 +Time Zone Name :UTC+1 +SNTP Timeout :60 +DST Type :0 +DST Location :0 +DST Rule Mode :0 +DST Min Offset :60 +DST Start Mon :3 +DST Start Week :5 +DST Start Wday :0 +DST Start Hour :2 +DST End Mon :10 +DST End Week :5 +DST End Wday :0 +DST End Hour :2 +--DateTime Display--: +Enable TimeDisplay :0 +Time Display Style :0 +Date Display Style :0 +Date Separator :0 +--ScreenSaver Config-- : +Screen Saver Type :0 +Screen Timeout :0 +Enable ActivePeriod:0 +Period One Start :0 +Period One End Time:0 +Period Two Start :0 +Period Two End Time:0 +Screen Saver App : +Sleep After Active :0 +Sleep Timeout :0 +--Softkey Config-- : +Desktop Softkey :history;contact;dnd;menu; +Talking Softkey :hold;xfer;conf;end; +Ringing Softkey :accept;none;forward;reject; +Alerting Softkey :end;none;none;none; +XAlerting Softkey :end;none;none;none; +Conference Softkey :hold;none;split;end; +Waiting Softkey :hold;xfer;conf;end; +Ending Softkey :repeat;none;none;end; +DialerPre Softkey :send;2aB;delete;exit; +DialerCall Softkey :repeat;2aB;delete;exit; +DialerXfer Softkey :repeat;2aB;delete;exit; +DialerCfwd Softkey :repeat;2aB;delete;exit; +Desktop Click :history;status;none;none;none; +Dailer Click :none;none;none;none;none; +Call Click :none;none;voldown;volup;none; +Desktop Long Press :status;none;none;none;reset; +Softkey Mode :0 +DialerConf Softkey :contact;clogs;redial;video;cancel; +--LDAP Config-- : +LDAP1 Title : +LDAP1 Server : +LDAP1 port :389 +LDAP1 Base : +LDAP1 Use SSL :0 +LDAP1 Version :3 +LDAP1 Calling Line :1 +LDAP1 In Call Search :0 +LDAP1 Out Call Search :0 +LDAP1 Authenticate :3 +LDAP1 Username : +LDAP1 Password : +LDAP1 Tel Attr :telephoneNumber +LDAP1 Mobile Attr :mobile +LDAP1 Other Attr :other +LDAP1 Name Attr :cn sn ou +LDAP1 Sort Attr :cn +LDAP1 Displayname :cn +LDAP1 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP1 Name Filter :(|(cn=%)(sn=%)) +LDAP1 Max Hits :50 +LDAP2 Title : +LDAP2 Server : +LDAP2 port :389 +LDAP2 Base : +LDAP2 Use SSL :0 +LDAP2 Version :3 +LDAP2 Calling Line :1 +LDAP2 In Call Search :0 +LDAP2 Out Call Search :0 +LDAP2 Authenticate :3 +LDAP2 Username : +LDAP2 Password : +LDAP2 Tel Attr :telephoneNumber +LDAP2 Mobile Attr :mobile +LDAP2 Other Attr :other +LDAP2 Name Attr :cn sn ou +LDAP2 Sort Attr :cn +LDAP2 Displayname :cn +LDAP2 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP2 Name Filter :(|(cn=%)(sn=%)) +LDAP2 Max Hits :50 +LDAP3 Title : +LDAP3 Server : +LDAP3 port :389 +LDAP3 Base : +LDAP3 Use SSL :0 +LDAP3 Version :3 +LDAP3 Calling Line :1 +LDAP3 In Call Search :0 +LDAP3 Out Call Search :0 +LDAP3 Authenticate :3 +LDAP3 Username : +LDAP3 Password : +LDAP3 Tel Attr :telephoneNumber +LDAP3 Mobile Attr :mobile +LDAP3 Other Attr :other +LDAP3 Name Attr :cn sn ou +LDAP3 Sort Attr :cn +LDAP3 Displayname :cn +LDAP3 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP3 Name Filter :(|(cn=%)(sn=%)) +LDAP3 Max Hits :50 +LDAP4 Title : +LDAP4 Server : +LDAP4 port :389 +LDAP4 Base : +LDAP4 Use SSL :0 +LDAP4 Version :3 +LDAP4 Calling Line :1 +LDAP4 In Call Search :0 +LDAP4 Out Call Search :0 +LDAP4 Authenticate :3 +LDAP4 Username : +LDAP4 Password : +LDAP4 Tel Attr :telephoneNumber +LDAP4 Mobile Attr :mobile +LDAP4 Other Attr :other +LDAP4 Name Attr :cn sn ou +LDAP4 Sort Attr :cn +LDAP4 Displayname :cn +LDAP4 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP4 Name Filter :(|(cn=%)(sn=%)) +LDAP4 Max Hits :50 +LDAP5 Title : +LDAP5 Server : +LDAP5 port :389 +LDAP5 Base : +LDAP5 Use SSL :0 +LDAP5 Version :3 +LDAP5 Calling Line :1 +LDAP5 In Call Search :0 +LDAP5 Out Call Search :0 +LDAP5 Authenticate :3 +LDAP5 Username : +LDAP5 Password : +LDAP5 Tel Attr :telephoneNumber +LDAP5 Mobile Attr :mobile +LDAP5 Other Attr :other +LDAP5 Name Attr :cn sn ou +LDAP5 Sort Attr :cn +LDAP5 Displayname :cn +LDAP5 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP5 Name Filter :(|(cn=%)(sn=%)) +LDAP5 Max Hits :50 +--Xml PhoneBook-- : +XML-PBook1 Name : +XML-PBook1 Addr : +XML-PBook1 UserName : +XML-PBook1 PassWd : +XML-PBook1 Sipline :0 +XML-PBook2 Name : +XML-PBook2 Addr : +XML-PBook2 UserName : +XML-PBook2 PassWd : +XML-PBook2 Sipline :0 +XML-PBook3 Name : +XML-PBook3 Addr : +XML-PBook3 UserName : +XML-PBook3 PassWd : +XML-PBook3 Sipline :0 +XML-PBook4 Name : +XML-PBook4 Addr : +XML-PBook4 UserName : +XML-PBook4 PassWd : +XML-PBook4 Sipline :0 +XML-PBook5 Name : +XML-PBook5 Addr : +XML-PBook5 UserName : +XML-PBook5 PassWd : +XML-PBook5 Sipline :0 + + +Onhook Time :120 + + +Web Server Type :0 +Web Port :80 +Https Web Port :443 +Remote Control :1 +Enable MMI Filter :0 +Web Authentication :0 +Enable Telnet :0 +Telnet Port :23 +Telnet Prompt : +Logon Timeout :15 +--MMI Account-- : +Account1 Name :admin +Account1 Password :admin +Account1 Level :10 +Account2 Name :guest +Account2 Password :guest +Account2 Level :5 + + +Enable VLAN :0 +VLAN ID :256 +Enable PVID :0 +PVID Value :254 +Signalling Priority:0 +Voice Priority :0 +Video Priority :0 +Enable diffServ :0 +Singalling DSCP :46 +Voice DSCP :46 +Video DSCP :46 +LLDP Transmit :1 +LLDP Refresh Time :60 +LLDP Learn Policy :0 +LLDP Save Learn Data:0 +CDP Enable :0 +CDP Refresh Time :60 +DHCP Option Vlan :0 + + +Level :INFO +Style :level,tag +Output Device :stdout +File Name :platform.log +File Size :512KB +Syslog Tag :platform +Syslog Server :0.0.0.0 +Syslog Server Port :514 + + +Enabled :1 +Voice Codec :G729 +Record Type :0 +File Size Limit :8 +Server Addr : +Server Port :0 + + +Select DsskeyAction:0 +Memory Key to BXfer:3 +FuncKey Page Num :5 +DSS Home Page :0 +Expand Board Enable:0 +Extern1 Page Belong :0 +Extern2 Page Belong :0 +Extern3 Page Belong :0 +Extern4 Page Belong :0 +Extern5 Page Belong :0 +--Dsskey Config1--: +Fkey1 Type :2 +Fkey1 Value :SIP1 +Fkey1 Title : +Fkey2 Type :2 +Fkey2 Value :SIP2 +Fkey2 Title : +Fkey3 Type :2 +Fkey3 Value :SIP3 +Fkey3 Title : +Fkey4 Type :2 +Fkey4 Value :SIP4 +Fkey4 Title : +Fkey5 Type :2 +Fkey5 Value :SIP5 +Fkey5 Title : +Fkey6 Type :2 +Fkey6 Value :SIP6 +Fkey6 Title : +Fkey7 Type :3 +Fkey7 Value :F_MWI +Fkey7 Title : +Fkey8 Type :3 +Fkey8 Value :F_HEADSET +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--Dsskey Config2--: +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--Dsskey Config3--: +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--Dsskey Config4--: +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--Dsskey Config5--: +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--SoftDss Config-- : +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +Fkey10 Type :0 +Fkey10 Value : +Fkey10 Title : + +--Xml PhoneBook-- : +XML-PBook1 Name :Users +XML-PBook1 Addr :https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users +XML-PBook1 Auth :: +XML-PBook1 Policy :0 +XML-PBook1 Sipline :0 +XML-PBook2 Name :Groups +XML-PBook2 Addr :https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups +XML-PBook2 Auth :: +XML-PBook2 Policy :0 +XML-PBook2 Sipline :0 +XML-PBook3 Name :Extensions +XML-PBook3 Addr :https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions +XML-PBook3 Auth :: +XML-PBook3 Policy :0 +XML-PBook3 Sipline :0 +XML-PBook4 Name : +XML-PBook4 Addr : +XML-PBook4 Auth :: +XML-PBook4 Policy :0 +XML-PBook4 Sipline :0 +XML-PBook5 Name : +XML-PBook5 Addr : +XML-PBook5 Auth :: +XML-PBook5 Policy :0 +XML-PBook5 Sipline :0 +XML-PBook6 Name : +XML-PBook6 Addr : +XML-PBook6 Auth :: +XML-PBook6 Policy :0 +XML-PBook6 Sipline :0 +XML-PBook7 Name : +XML-PBook7 Addr : +XML-PBook7 Auth :: +XML-PBook7 Policy :0 +XML-PBook7 Sipline :0 +XML-PBook8 Name : +XML-PBook8 Addr : +XML-PBook8 Auth :: +XML-PBook8 Policy :0 +XML-PBook8 Sipline :0 +Phonebook Groups : +<> diff --git a/resources/templates/provision/swissvoice/cp2505g/CP2505.cfg b/resources/templates/provision/swissvoice/cp2505g/CP2505.cfg new file mode 100644 index 0000000000..e69de29bb2 diff --git a/resources/templates/provision/swissvoice/cp2505g/{$mac}.cfg b/resources/templates/provision/swissvoice/cp2505g/{$mac}.cfg new file mode 100644 index 0000000000..d0e22e2524 --- /dev/null +++ b/resources/templates/provision/swissvoice/cp2505g/{$mac}.cfg @@ -0,0 +1,1485 @@ +<>Version:2.0000000000 + +# Local SIP settings # + +SIP Port :5060 +STUN Server : +STUN Port :3478 +STUN Refresh Time :50 +SIP Wait Stun Time :800 +Extern NAT Addrs : +Reg Fail Interval :32 +SIP Pswd Encryption:0 +Strict BranchPrefix:0 +Video Mute Attr :0 +Enable Group Backup:0 +Enable RFC4475 :1 +Strict UA Match :1 +CSTA Enable :0 +Notify Reboot :0 + +# SIP Line settings # +--SIP Line List-- : + +#SIP1 Enable Reg :0 +{if isset($account.1.password) } +SIP1 Enable Reg :1 +{else} +SIP1 Enable Reg :0 +{/if} + +SIP1 Phone Number :{$account.1.auth_id} +SIP1 Display Name :{$account.1.display_name} +SIP1 Register Addr :{$account.1.server_address} +SIP1 Register Port :{$account.1.sip_port} +SIP1 Register User :{$account.1.auth_id} +SIP1 Register Pswd :{$account.1.password} +SIP1 Register TTL :{$account.1.register_expires} +SIP1 Proxy Addr :{$account.1.outbound_proxy} +SIP1 Proxy Port :{$account.1.sip_port} +SIP1 Proxy User :{$account.1.auth_id} +SIP1 Proxy Pswd :{$account.1.password} +SIP1 BakProxy Addr :{$account.1.outbound_proxy_secondary} +SIP1 BakProxy Port :{$account.1.sip_port} +SIP1 Sub Expire :{$account.1.register_expires} +{if $account.1.sip_transport == 'dns srv'}SIP1 DNS SRV :1{/if} + +SIP1 Sip Name :{$account.1.auth_id} +SIP1 Enable Failback :0 +SIP1 Signal Crypto :0 +SIP1 SigCrypto Key : +SIP1 Media Crypto :0 +SIP1 MedCrypto Key : +SIP1 SRTP Auth-Tag :0 +SIP1 Local Domain : +SIP1 Always FWD :0 +SIP1 Busy FWD :0 +SIP1 No Answer FWD :0 +SIP1 Always FWD Num : +SIP1 Busy FWD Num : +SIP1 NoAnswer FWD Num : +SIP1 FWD Timer :5 +SIP1 Hotline Num : +SIP1 Enable Hotline :0 +SIP1 WarmLine Time :0 +SIP1 Pickup Num : +SIP1 Join Num : +SIP1 Intercom Num : +SIP1 Ring Type :Default +SIP1 NAT UDPUpdate :2 +SIP1 UDPUpdate TTL :60 +SIP1 Server Type :0 +SIP1 User Agent : +SIP1 PRACK :0 +SIP1 Keep AUTH :0 +SIP1 Session Timer :0 +SIP1 S Timer Expires :0 +SIP1 Enable GRUU :0 +SIP1 DTMF Mode :3 +SIP1 DTMF Info Mode :0 +SIP1 NAT Type :0 +SIP1 Enable Rport :1 +SIP1 Subscribe :0 +SIP1 Single Codec :0 +SIP1 CLIR :0 +SIP1 Strict Proxy :1 +SIP1 Direct Contact :0 +SIP1 History Info :0 +SIP1 DNS Mode :0 +SIP1 XFER Expire :0 +SIP1 Ban Anonymous :0 +SIP1 Dial Off Line :0 +SIP1 Quota Name :0 +SIP1 Presence Mode :0 +SIP1 RFC Ver :1 +SIP1 Phone Port :0 +SIP1 Signal Port :5060 +SIP1 Transport :0 +SIP1 Use SRV Mixer :0 +SIP1 SRV Mixer Uri : +SIP1 Long Contact :0 +SIP1 Auto TCP :0 +SIP1 Uri Escaped :1 +SIP1 Click to Talk :0 +SIP1 MWI Num : +SIP1 CallPark Num : +SIP1 Retrieve Num : +SIP1 MSRPHelp Num : +SIP1 User Is Phone :0 +SIP1 Auto Answer :0 +SIP1 NoAnswerTime :5 +SIP1 MissedCallLog :1 +SIP1 SvcCode Mode :0 +SIP1 DNDOn SvcCode : +SIP1 DNDOff SvcCode : +SIP1 CFUOn SvcCode : +SIP1 CFUOff SvcCode : +SIP1 CFBOn SvcCode : +SIP1 CFBOff SvcCode : +SIP1 CFNOn SvcCode : +SIP1 CFNOff SvcCode : +SIP1 ANCOn SvcCode : +SIP1 ANCOff SvcCode : +SIP1 Send ANOn Code : +SIP1 Send ANOffCode : +SIP1 CW On Code : +SIP1 CW Off Code : +SIP1 VoiceCodecMap :{$swissvoice_codec_order} +SIP1 VideoCodecMap : +SIP1 BLFList Uri : +SIP1 BLF Server : +SIP1 Respond 182 :0 +SIP1 Enable BLFList :0 +SIP1 Caller Id Type :4 +SIP1 Syn Clock Time :0 +SIP1 Use VPN :1 +SIP1 Enable DND :0 +SIP1 Inactive Hold :0 +SIP1 Req With Port :0 +SIP1 Update Reg Expire :1 +SIP1 Enable SCA :0 +SIP1 Sub CallPark :0 +SIP1 Sub CC Status :0 +SIP1 Feature Sync :0 +SIP1 Enable XferBack :0 +SIP1 XferBack Time :35 +SIP1 Use Tel Call :0 +SIP1 Enable Preview :0 +SIP1 Preview Mode :1 +SIP1 TLS Version :0 +SIP1 CSTA Number : +SIP1 Enable ChgPort :0 +SIP1 VQ Name : +SIP1 VQ Server : +SIP1 VQ Server Port :5060 +SIP1 VQ HTTP Server : +SIP1 Flash Mode :0 +SIP1 Content Type : +SIP1 Content Body : +SIP1 Unregister On Boot :0 +SIP1 Enable MAC Header :0 +SIP1 Record Start :Record:on +SIP1 Record Stop :Record:off + +#SIP2 Enable Reg :0 +{if isset($account.2.password) } +SIP2 Enable Reg :1 +{else} +SIP2 Enable Reg :0 +{/if} + +SIP2 Phone Number :{$account.2.auth_id} +SIP2 Display Name :{$account.2.display_name} +SIP2 Sip Name :{$account.2.auth_id} +SIP2 Register Addr :{$account.2.server_address} +SIP2 Register Port :{$account.2.sip_port} +SIP2 Register User :{$account.2.auth_id} +SIP2 Register Pswd :{$account.2.password} +SIP2 Register TTL :{$account.2.register_expires} +SIP2 Proxy Addr :{$account.2.outbound_proxy} +SIP2 Proxy Port :{$account.2.sip_port} +SIP2 Proxy User :{$account.2.auth_id} +SIP2 Proxy Pswd :{$account.2.password} +SIP2 BakProxy Addr :{$account.2.outbound_proxy_secondary} +SIP2 BakProxy Port :{$account.2.sip_port} +{if $account.2.sip_transport == 'dns srv'}SIP2 DNS SRV :1{/if} + +SIP2 Enable Failback :0 +SIP2 Signal Crypto :0 +SIP2 SigCrypto Key : +SIP2 Media Crypto :0 +SIP2 MedCrypto Key : +SIP2 SRTP Auth-Tag :0 +SIP2 Local Domain : +SIP2 Always FWD :0 +SIP2 Busy FWD :0 +SIP2 No Answer FWD :0 +SIP2 Always FWD Num : +SIP2 Busy FWD Num : +SIP2 NoAnswer FWD Num : +SIP2 FWD Timer :5 +SIP2 Hotline Num : +SIP2 Enable Hotline :0 +SIP2 WarmLine Time :0 +SIP2 Pickup Num : +SIP2 Join Num : +SIP2 Intercom Num : +SIP2 Ring Type :default +SIP2 NAT UDPUpdate :2 +SIP2 UDPUpdate TTL :60 +SIP2 Server Type :0 +SIP2 User Agent : +SIP2 PRACK :0 +SIP2 Keep AUTH :0 +SIP2 Session Timer :0 +SIP2 S Timer Expires :0 +SIP2 Enable GRUU :0 +SIP2 DTMF Mode :3 +SIP2 DTMF Info Mode :0 +SIP2 NAT Type :0 +SIP2 Enable Rport :1 +SIP2 Subscribe :0 +SIP2 Sub Expire :{$account.2.register_expires} +SIP2 Single Codec :0 +SIP2 CLIR :0 +SIP2 Strict Proxy :1 +SIP2 Direct Contact :0 +SIP2 History Info :0 +SIP2 DNS Mode :0 +SIP2 XFER Expire :0 +SIP2 Ban Anonymous :0 +SIP2 Dial Off Line :0 +SIP2 Quota Name :0 +SIP2 Presence Mode :0 +SIP2 RFC Ver :1 +SIP2 Phone Port :0 +SIP2 Signal Port :5060 +SIP2 Transport :0 +SIP2 Use SRV Mixer :0 +SIP2 SRV Mixer Uri : +SIP2 Long Contact :0 +SIP2 Auto TCP :0 +SIP2 Uri Escaped :1 +SIP2 Click to Talk :0 +SIP2 MWI Num : +SIP2 CallPark Num : +SIP2 Retrieve Num : +SIP2 MSRPHelp Num : +SIP2 User Is Phone :0 +SIP2 Auto Answer :0 +SIP2 NoAnswerTime :5 +SIP2 MissedCallLog :1 +SIP2 SvcCode Mode :0 +SIP2 DNDOn SvcCode : +SIP2 DNDOff SvcCode : +SIP2 CFUOn SvcCode : +SIP2 CFUOff SvcCode : +SIP2 CFBOn SvcCode : +SIP2 CFBOff SvcCode : +SIP2 CFNOn SvcCode : +SIP2 CFNOff SvcCode : +SIP2 ANCOn SvcCode : +SIP2 ANCOff SvcCode : +SIP2 Send ANOn Code : +SIP2 Send ANOffCode : +SIP2 CW On Code : +SIP2 CW Off Code : +SIP2 VoiceCodecMap :{$swissvoice_codec_order} +SIP2 VideoCodecMap : +SIP2 BLFList Uri : +SIP2 BLF Server : +SIP2 Respond 182 :0 +SIP2 Enable BLFList :0 +SIP2 Caller Id Type :4 +SIP2 Syn Clock Time :0 +SIP2 Use VPN :1 +SIP2 Enable DND :0 +SIP2 Inactive Hold :0 +SIP2 Req With Port :0 +SIP2 Update Reg Expire :1 +SIP2 Enable SCA :0 +SIP2 Sub CallPark :0 +SIP2 Sub CC Status :0 +SIP2 Feature Sync :0 +SIP2 Enable XferBack :0 +SIP2 XferBack Time :35 +SIP2 Use Tel Call :0 +SIP2 Enable Preview :0 +SIP2 Preview Mode :1 +SIP2 TLS Version :0 +SIP2 CSTA Number : +SIP2 Enable ChgPort :0 +SIP2 VQ Name : +SIP2 VQ Server : +SIP2 VQ Server Port :5060 +SIP2 VQ HTTP Server : +SIP2 Flash Mode :0 +SIP2 Content Type : +SIP2 Content Body : +SIP2 Unregister On Boot :0 +SIP2 Enable MAC Header :0 +SIP2 Record Start :Record:on +SIP2 Record Stop :Record:off + +#SIP3 Enable Reg :0 +{if isset($account.3.password) } +SIP3 Enable Reg :1 +{else} +SIP3 Enable Reg :0 +{/if} + +SIP3 Phone Number :{$account.3.auth_id} +SIP3 Display Name :{$account.3.display_name} +SIP3 Sip Name : +SIP3 Register Addr :{$account.3.server_address} +SIP3 Register Port :{$account.3.sip_port} +SIP3 Register User :{$account.3.auth_id} +SIP3 Register Pswd :{$account.3.password} +SIP3 Register TTL :{$account.3.register_expires} +SIP3 Proxy Addr :{$account.3.outbound_proxy} +SIP3 Proxy Port :{$account.3.sip_port} +SIP3 Proxy User :{$account.3.auth_id} +SIP3 Proxy Pswd :{$account.3.password} +SIP3 BakProxy Addr :{$account.3.outbound_proxy_secondary} +SIP3 BakProxy Port :{$account.3.sip_port} +{if $account.3.sip_transport == 'dns srv'}SIP3 DNS SRV :1{/if} + +SIP3 Enable Failback :0 +SIP3 Signal Crypto :0 +SIP3 SigCrypto Key : +SIP3 Media Crypto :0 +SIP3 MedCrypto Key : +SIP3 SRTP Auth-Tag :0 +SIP3 Local Domain : +SIP3 Always FWD :0 +SIP3 Busy FWD :0 +SIP3 No Answer FWD :0 +SIP3 Always FWD Num : +SIP3 Busy FWD Num : +SIP3 NoAnswer FWD Num : +SIP3 FWD Timer :5 +SIP3 Hotline Num : +SIP3 Enable Hotline :0 +SIP3 WarmLine Time :0 +SIP3 Pickup Num : +SIP3 Join Num : +SIP3 Intercom Num : +SIP3 Ring Type :default +SIP3 NAT UDPUpdate :2 +SIP3 UDPUpdate TTL :60 +SIP3 Server Type :0 +SIP3 User Agent : +SIP3 PRACK :0 +SIP3 Keep AUTH :0 +SIP3 Session Timer :0 +SIP3 S Timer Expires :0 +SIP3 Enable GRUU :0 +SIP3 DTMF Mode :3 +SIP3 DTMF Info Mode :0 +SIP3 NAT Type :0 +SIP3 Enable Rport :1 +SIP3 Subscribe :0 +SIP3 Sub Expire :{$account.3.register_expires} +SIP3 Single Codec :0 +SIP3 CLIR :0 +SIP3 Strict Proxy :1 +SIP3 Direct Contact :0 +SIP3 History Info :0 +SIP3 DNS Mode :0 +SIP3 XFER Expire :0 +SIP3 Ban Anonymous :0 +SIP3 Dial Off Line :0 +SIP3 Quota Name :0 +SIP3 Presence Mode :0 +SIP3 RFC Ver :1 +SIP3 Phone Port :0 +SIP3 Signal Port :5060 +SIP3 Transport :0 +SIP3 Use SRV Mixer :0 +SIP3 SRV Mixer Uri : +SIP3 Long Contact :0 +SIP3 Auto TCP :0 +SIP3 Uri Escaped :1 +SIP3 Click to Talk :0 +SIP3 MWI Num : +SIP3 CallPark Num : +SIP3 Retrieve Num : +SIP3 MSRPHelp Num : +SIP3 User Is Phone :0 +SIP3 Auto Answer :0 +SIP3 NoAnswerTime :5 +SIP3 MissedCallLog :1 +SIP3 SvcCode Mode :0 +SIP3 DNDOn SvcCode : +SIP3 DNDOff SvcCode : +SIP3 CFUOn SvcCode : +SIP3 CFUOff SvcCode : +SIP3 CFBOn SvcCode : +SIP3 CFBOff SvcCode : +SIP3 CFNOn SvcCode : +SIP3 CFNOff SvcCode : +SIP3 ANCOn SvcCode : +SIP3 ANCOff SvcCode : +SIP3 Send ANOn Code : +SIP3 Send ANOffCode : +SIP3 CW On Code : +SIP3 CW Off Code : +SIP3 VoiceCodecMap :{$swissvoice_codec_order} +SIP3 VideoCodecMap : +SIP3 BLFList Uri : +SIP3 BLF Server : +SIP3 Respond 182 :0 +SIP3 Enable BLFList :0 +SIP3 Caller Id Type :4 +SIP3 Syn Clock Time :0 +SIP3 Use VPN :1 +SIP3 Enable DND :0 +SIP3 Inactive Hold :0 +SIP3 Req With Port :0 +SIP3 Update Reg Expire :1 +SIP3 Enable SCA :0 +SIP3 Sub CallPark :0 +SIP3 Sub CC Status :0 +SIP3 Feature Sync :0 +SIP3 Enable XferBack :0 +SIP3 XferBack Time :35 +SIP3 Use Tel Call :0 +SIP3 Enable Preview :0 +SIP3 Preview Mode :1 +SIP3 TLS Version :0 +SIP3 CSTA Number : +SIP3 Enable ChgPort :0 +SIP3 VQ Name : +SIP3 VQ Server : +SIP3 VQ Server Port :5060 +SIP3 VQ HTTP Server : +SIP3 Flash Mode :0 +SIP3 Content Type : +SIP3 Content Body : +SIP3 Unregister On Boot :0 +SIP3 Enable MAC Header :0 +SIP3 Record Start :Record:on +SIP3 Record Stop :Record:off + +#SIP4 Enable Reg :0 +{if isset($account.4.password) } +SIP4 Enable Reg :1 +{else} +SIP4 Enable Reg :0 +{/if} + +SIP4 Phone Number :{$account.4.auth_id} +SIP4 Display Name :{$account.4.display_name} +SIP4 Sip Name : +SIP4 Register Addr :{$account.4.server_address} +SIP4 Register Port :{$account.4.sip_port} +SIP4 Register User :{$account.4.auth_id} +SIP4 Register Pswd :{$account.4.password} +SIP4 Register TTL :{$account.4.register_expires} +SIP4 Proxy Addr :{$account.4.outbound_proxy} +SIP4 Proxy Port :{$account.4.sip_port} +SIP4 Proxy User :{$account.4.auth_id} +SIP4 Proxy Pswd :{$account.4.password} +SIP4 BakProxy Addr :{$account.4.outbound_proxy_secondary} +SIP4 BakProxy Port :{$account.4.sip_port} +{if $account.4.sip_transport == 'dns srv'}SIP4 DNS SRV :1{/if} + +SIP4 Enable Failback :0 +SIP4 Signal Crypto :0 +SIP4 SigCrypto Key : +SIP4 Media Crypto :0 +SIP4 MedCrypto Key : +SIP4 SRTP Auth-Tag :0 +SIP4 Local Domain : +SIP4 Always FWD :0 +SIP4 Busy FWD :0 +SIP4 No Answer FWD :0 +SIP4 Always FWD Num : +SIP4 Busy FWD Num : +SIP4 NoAnswer FWD Num : +SIP4 FWD Timer :5 +SIP4 Hotline Num : +SIP4 Enable Hotline :0 +SIP4 WarmLine Time :0 +SIP4 Pickup Num : +SIP4 Join Num : +SIP4 Intercom Num : +SIP4 Ring Type :default +SIP4 NAT UDPUpdate :2 +SIP4 UDPUpdate TTL :60 +SIP4 Server Type :0 +SIP4 User Agent : +SIP4 PRACK :0 +SIP4 Keep AUTH :0 +SIP4 Session Timer :0 +SIP4 S Timer Expires :0 +SIP4 Enable GRUU :0 +SIP4 DTMF Mode :3 +SIP4 DTMF Info Mode :0 +SIP4 NAT Type :0 +SIP4 Enable Rport :1 +SIP4 Subscribe :0 +SIP4 Sub Expire :{$account.4.register_expires} +SIP4 Single Codec :0 +SIP4 CLIR :0 +SIP4 Strict Proxy :1 +SIP4 Direct Contact :0 +SIP4 History Info :0 +SIP4 DNS Mode :0 +SIP4 XFER Expire :0 +SIP4 Ban Anonymous :0 +SIP4 Dial Off Line :0 +SIP4 Quota Name :0 +SIP4 Presence Mode :0 +SIP4 RFC Ver :1 +SIP4 Phone Port :0 +SIP4 Signal Port :5060 +SIP4 Transport :0 +SIP4 Use SRV Mixer :0 +SIP4 SRV Mixer Uri : +SIP4 Long Contact :0 +SIP4 Auto TCP :0 +SIP4 Uri Escaped :1 +SIP4 Click to Talk :0 +SIP4 MWI Num : +SIP4 CallPark Num : +SIP4 Retrieve Num : +SIP4 MSRPHelp Num : +SIP4 User Is Phone :0 +SIP4 Auto Answer :0 +SIP4 NoAnswerTime :5 +SIP4 MissedCallLog :1 +SIP4 SvcCode Mode :0 +SIP4 DNDOn SvcCode : +SIP4 DNDOff SvcCode : +SIP4 CFUOn SvcCode : +SIP4 CFUOff SvcCode : +SIP4 CFBOn SvcCode : +SIP4 CFBOff SvcCode : +SIP4 CFNOn SvcCode : +SIP4 CFNOff SvcCode : +SIP4 ANCOn SvcCode : +SIP4 ANCOff SvcCode : +SIP4 Send ANOn Code : +SIP4 Send ANOffCode : +SIP4 CW On Code : +SIP4 CW Off Code : +SIP4 VoiceCodecMap :{$swissvoice_codec_order} +SIP4 VideoCodecMap : +SIP4 BLFList Uri : +SIP4 BLF Server : +SIP4 Respond 182 :0 +SIP4 Enable BLFList :0 +SIP4 Caller Id Type :4 +SIP4 Syn Clock Time :0 +SIP4 Use VPN :1 +SIP4 Enable DND :0 +SIP4 Inactive Hold :0 +SIP4 Req With Port :0 +SIP4 Update Reg Expire :1 +SIP4 Enable SCA :0 +SIP4 Sub CallPark :0 +SIP4 Sub CC Status :0 +SIP4 Feature Sync :0 +SIP4 Enable XferBack :0 +SIP4 XferBack Time :35 +SIP4 Use Tel Call :0 +SIP4 Enable Preview :0 +SIP4 Preview Mode :1 +SIP4 TLS Version :0 +SIP4 CSTA Number : +SIP4 Enable ChgPort :0 +SIP4 VQ Name : +SIP4 VQ Server : +SIP4 VQ Server Port :5060 +SIP4 VQ HTTP Server : +SIP4 Flash Mode :0 +SIP4 Content Type : +SIP4 Content Body : +SIP4 Unregister On Boot :0 +SIP4 Enable MAC Header :0 +SIP4 Record Start :Record:on +SIP4 Record Stop :Record:off + +#SIP5 Enable Reg :0 +{if isset($account.5.password) } +SIP5 Enable Reg :1 +{else} +SIP5 Enable Reg :0 +{/if} + +SIP5 Phone Number :{$account.5.auth_id} +SIP5 Display Name :{$account.5.display_name} +SIP5 Sip Name : +SIP5 Register Addr :{$account.5.server_address} +SIP5 Register Port :{$account.5.sip_port} +SIP5 Register User :{$account.5.auth_id} +SIP5 Register Pswd :{$account.5.password} +SIP5 Register TTL :{$account.5.register_expires} +SIP5 Proxy Addr :{$account.5.outbound_proxy} +SIP5 Proxy Port :{$account.5.sip_port} +SIP5 Proxy User :{$account.5.auth_id} +SIP5 Proxy Pswd :{$account.5.password} +SIP5 BakProxy Addr :{$account.5.outbound_proxy_secondary} +SIP5 BakProxy Port :{$account.5.sip_port} +{if $account.5.sip_transport == 'dns srv'}SIP5 DNS SRV :1{/if} + +SIP5 Enable Failback :0 +SIP5 Signal Crypto :0 +SIP5 SigCrypto Key : +SIP5 Media Crypto :0 +SIP5 MedCrypto Key : +SIP5 SRTP Auth-Tag :0 +SIP5 Local Domain : +SIP5 Always FWD :0 +SIP5 Busy FWD :0 +SIP5 No Answer FWD :0 +SIP5 Always FWD Num : +SIP5 Busy FWD Num : +SIP5 NoAnswer FWD Num : +SIP5 FWD Timer :5 +SIP5 Hotline Num : +SIP5 Enable Hotline :0 +SIP5 WarmLine Time :0 +SIP5 Pickup Num : +SIP5 Join Num : +SIP5 Intercom Num : +SIP5 Ring Type :default +SIP5 NAT UDPUpdate :2 +SIP5 UDPUpdate TTL :60 +SIP5 Server Type :0 +SIP5 User Agent : +SIP5 PRACK :0 +SIP5 Keep AUTH :0 +SIP5 Session Timer :0 +SIP5 S Timer Expires :0 +SIP5 Enable GRUU :0 +SIP5 DTMF Mode :3 +SIP5 DTMF Info Mode :0 +SIP5 NAT Type :0 +SIP5 Enable Rport :1 +SIP5 Subscribe :0 +SIP5 Sub Expire :{$account.5.register_expires} +SIP5 Single Codec :0 +SIP5 CLIR :0 +SIP5 Strict Proxy :1 +SIP5 Direct Contact :0 +SIP5 History Info :0 +SIP5 DNS Mode :0 +SIP5 XFER Expire :0 +SIP5 Ban Anonymous :0 +SIP5 Dial Off Line :0 +SIP5 Quota Name :0 +SIP5 Presence Mode :0 +SIP5 RFC Ver :1 +SIP5 Phone Port :0 +SIP5 Signal Port :5060 +SIP5 Transport :0 +SIP5 Use SRV Mixer :0 +SIP5 SRV Mixer Uri : +SIP5 Long Contact :0 +SIP5 Auto TCP :0 +SIP5 Uri Escaped :1 +SIP5 Click to Talk :0 +SIP5 MWI Num : +SIP5 CallPark Num : +SIP5 Retrieve Num : +SIP5 MSRPHelp Num : +SIP5 User Is Phone :0 +SIP5 Auto Answer :0 +SIP5 NoAnswerTime :5 +SIP5 MissedCallLog :1 +SIP5 SvcCode Mode :0 +SIP5 DNDOn SvcCode : +SIP5 DNDOff SvcCode : +SIP5 CFUOn SvcCode : +SIP5 CFUOff SvcCode : +SIP5 CFBOn SvcCode : +SIP5 CFBOff SvcCode : +SIP5 CFNOn SvcCode : +SIP5 CFNOff SvcCode : +SIP5 ANCOn SvcCode : +SIP5 ANCOff SvcCode : +SIP5 Send ANOn Code : +SIP5 Send ANOffCode : +SIP5 CW On Code : +SIP5 CW Off Code : +SIP5 VoiceCodecMap :{$swissvoice_codec_order} +SIP5 VideoCodecMap : +SIP5 BLFList Uri : +SIP5 BLF Server : +SIP5 Respond 182 :0 +SIP5 Enable BLFList :0 +SIP5 Caller Id Type :4 +SIP5 Syn Clock Time :0 +SIP5 Use VPN :1 +SIP5 Enable DND :0 +SIP5 Inactive Hold :0 +SIP5 Req With Port :0 +SIP5 Update Reg Expire :1 +SIP5 Enable SCA :0 +SIP5 Sub CallPark :0 +SIP5 Sub CC Status :0 +SIP5 Feature Sync :0 +SIP5 Enable XferBack :0 +SIP5 XferBack Time :35 +SIP5 Use Tel Call :0 +SIP5 Enable Preview :0 +SIP5 Preview Mode :1 +SIP5 TLS Version :0 +SIP5 CSTA Number : +SIP5 Enable ChgPort :0 +SIP5 VQ Name : +SIP5 VQ Server : +SIP5 VQ Server Port :5060 +SIP5 VQ HTTP Server : +SIP5 Flash Mode :0 +SIP5 Content Type : +SIP5 Content Body : +SIP5 Unregister On Boot :0 +SIP5 Enable MAC Header :0 +SIP5 Record Start :Record:on +SIP5 Record Stop :Record:off + +#SIP6 Enable Reg :0 +{if isset($account.6.password) } +SIP6 Enable Reg :1 +{else} +SIP6 Enable Reg :0 +{/if} + +SIP6 Phone Number :{$account.6.auth_id} +SIP6 Display Name :{$account.6.display_name} +SIP6 Sip Name : +SIP6 Register Addr :{$account.6.server_address} +SIP6 Register Port :{$account.6.sip_port} +SIP6 Register User :{$account.6.auth_id} +SIP6 Register Pswd :{$account.6.password} +SIP6 Register TTL :{$account.6.register_expires} +SIP6 Proxy Addr :{$account.6.outbound_proxy} +SIP6 Proxy Port :{$account.6.sip_port} +SIP6 Proxy User :{$account.6.auth_id} +SIP6 Proxy Pswd :{$account.6.password} +SIP6 BakProxy Addr :{$account.6.outbound_proxy_secondary} +SIP6 BakProxy Port :{$account.6.sip_port} +{if $account.6.sip_transport == 'dns srv'}SIP6 DNS SRV :1{/if} + +SIP6 Enable Failback :0 +SIP6 Signal Crypto :0 +SIP6 SigCrypto Key : +SIP6 Media Crypto :0 +SIP6 MedCrypto Key : +SIP6 SRTP Auth-Tag :0 +SIP6 Local Domain : +SIP6 Always FWD :0 +SIP6 Busy FWD :0 +SIP6 No Answer FWD :0 +SIP6 Always FWD Num : +SIP6 Busy FWD Num : +SIP6 NoAnswer FWD Num : +SIP6 FWD Timer :5 +SIP6 Hotline Num : +SIP6 Enable Hotline :0 +SIP6 WarmLine Time :0 +SIP6 Pickup Num : +SIP6 Join Num : +SIP6 Intercom Num : +SIP6 Ring Type :default +SIP6 NAT UDPUpdate :2 +SIP6 UDPUpdate TTL :60 +SIP6 Server Type :0 +SIP6 User Agent : +SIP6 PRACK :0 +SIP6 Keep AUTH :0 +SIP6 Session Timer :0 +SIP6 S Timer Expires :0 +SIP6 Enable GRUU :0 +SIP6 DTMF Mode :3 +SIP6 DTMF Info Mode :0 +SIP6 NAT Type :0 +SIP6 Enable Rport :1 +SIP6 Subscribe :0 +SIP6 Sub Expire :{$account.6.register_expires} +SIP6 Single Codec :0 +SIP6 CLIR :0 +SIP6 Strict Proxy :1 +SIP6 Direct Contact :0 +SIP6 History Info :0 +SIP6 DNS Mode :0 +SIP6 XFER Expire :0 +SIP6 Ban Anonymous :0 +SIP6 Dial Off Line :0 +SIP6 Quota Name :0 +SIP6 Presence Mode :0 +SIP6 RFC Ver :1 +SIP6 Phone Port :0 +SIP6 Signal Port :5060 +SIP6 Transport :0 +SIP6 Use SRV Mixer :0 +SIP6 SRV Mixer Uri : +SIP6 Long Contact :0 +SIP6 Auto TCP :0 +SIP6 Uri Escaped :1 +SIP6 Click to Talk :0 +SIP6 MWI Num : +SIP6 CallPark Num : +SIP6 Retrieve Num : +SIP6 MSRPHelp Num : +SIP6 User Is Phone :0 +SIP6 Auto Answer :0 +SIP6 NoAnswerTime :5 +SIP6 MissedCallLog :1 +SIP6 SvcCode Mode :0 +SIP6 DNDOn SvcCode : +SIP6 DNDOff SvcCode : +SIP6 CFUOn SvcCode : +SIP6 CFUOff SvcCode : +SIP6 CFBOn SvcCode : +SIP6 CFBOff SvcCode : +SIP6 CFNOn SvcCode : +SIP6 CFNOff SvcCode : +SIP6 ANCOn SvcCode : +SIP6 ANCOff SvcCode : +SIP6 Send ANOn Code : +SIP6 Send ANOffCode : +SIP6 CW On Code : +SIP6 CW Off Code : +SIP6 VoiceCodecMap :{$swissvoice_codec_order} +SIP6 VideoCodecMap : +SIP6 BLFList Uri : +SIP6 BLF Server : +SIP6 Respond 182 :0 +SIP6 Enable BLFList :0 +SIP6 Caller Id Type :4 +SIP6 Syn Clock Time :0 +SIP6 Use VPN :1 +SIP6 Enable DND :0 +SIP6 Inactive Hold :0 +SIP6 Req With Port :0 +SIP6 Update Reg Expire :1 +SIP6 Enable SCA :0 +SIP6 Sub CallPark :0 +SIP6 Sub CC Status :0 +SIP6 Feature Sync :0 +SIP6 Enable XferBack :0 +SIP6 XferBack Time :35 +SIP6 Use Tel Call :0 +SIP6 Enable Preview :0 +SIP6 Preview Mode :1 +SIP6 TLS Version :0 +SIP6 CSTA Number : +SIP6 Enable ChgPort :0 +SIP6 VQ Name : +SIP6 VQ Server : +SIP6 VQ Server Port :5060 +SIP6 VQ HTTP Server : +SIP6 Flash Mode :0 +SIP6 Content Type : +SIP6 Content Body : +SIP6 Unregister On Boot :0 +SIP6 Enable MAC Header :0 +SIP6 Record Start :Record:on +SIP6 Record Stop :Record:off + + +--Port Config-- : +P1 Enable XferDPlan :1 +P1 Enable FwdDPlan :0 +P1 Enable Pre DPlan :0 +P1 IP Dial Prefix :. +P1 Enable DND :1 +P1 DND Mode :0 +P1 Enable Space DND :0 +P1 DND Start Time :1500 +P1 DND End Time :1730 +P1 Enable White List :1 +P1 Enable Black List :1 +P1 Enable CallBar :1 +P1 Mute Ringing :0 +P1 Ban Dial Out :0 +P1 Ban Empty CID :0 +P1 Accept Any Call :1 +P1 Enable CLIP :1 +P1 CallWaiting :1 +P1 CallTransfer :1 +P1 CallSemiXfer :1 +P1 CallConference :1 +P1 Auto PickupNext :0 +P1 Busy No Line :1 +P1 Auto Onhook :1 +P1 Auto Onhook Time :3 +P1 Enable Intercom :1 +P1 Intercom Mute :0 +P1 Intercom Tone :1 +P1 Intercom Barge :1 +P1 Use Auto Redial :0 +P1 Redial EnterCallLog:1 +P1 AutoRedial Delay :30 +P1 AutoRedial Times :5 +P1 Call Complete :0 +P1 CHolding Tone :1 +P1 CWaiting Tone :1 +P1 Hide DTMF Type :0 +P1 Talk DTMF Tone :1 +P1 Dial DTMF Tone :1 +P1 Psw Dial Mode :0 +P1 Psw Dial Length :0 +P1 Psw Dial Prefix : +P1 Enable MultiLine :1 +P1 Allow IP Call :1 +P1 Caller Name Type :0 +P1 Mute For Ring :0 +P1 Auto Handle Video :0 +P1 Default Ans Mode :2 +P1 Default Dial Mode :1 +P1 Hold To Transfer :0 +P1 Enable PreDial :1 +P1 Default Ext Line :1 +P1 Enable Def Line :0 +P1 Enable SelLine :1 +P1 Ring in Headset :0 +P1 Auto Headset :0 +P1 DND Return Code :480 +P1 Busy Return Code :486 +P1 Reject Return Code :603 +P1 Contact Type :0 +P1 Enable Country Code:0 +P1 Country Code : +P1 Call Area Code : +P1 Number Privacy :0 +P1 Privacy Rule : +P1 Transf DTMF Code : +P1 Hold DTMF Code : +P1 Conf DTMF Code : +--Basic DialPlan-- : +Dial by Pound :1 +BTransfer by Pound :0 +Onhook to BXfer :0 +Onhook to AXfer :0 +Conf Onhook to Xfer:0 +Dial Fixed Length :0 +Fixed Length Nums :11 +Dial by Timeout :1 +Dial Timeout value :10 +Enable E OneSixFour:0 +--Alert Info Ring--: +Alert1 Text : +Alert1 Ring Type :Type 1 +Alert2 Text : +Alert2 Ring Type :Type 1 +Alert3 Text : +Alert3 Ring Type :Type 1 +Alert4 Text : +Alert4 Ring Type :Type 1 +Alert5 Text : +Alert5 Ring Type :Type 1 +Alert6 Text : +Alert6 Ring Type :Type 1 +Alert7 Text : +Alert7 Ring Type :Type 1 +Alert8 Text : +Alert8 Ring Type :Type 1 +Alert9 Text : +Alert9 Ring Type :Type 1 +Alert10 Text : +Alert10 Ring Type :Type 1 + + +Menu Password :123 +KeyLock Password :123 +Fast Keylock Code : +Enable KeyLock :0 +KeyLock Timeout :0 +Emergency Call :110 +Push XML IP : +SIP Number Plan :0 +LDAP Search :0 +Search Path :0 +Caller Display T :0 +CallLog DisplayType:0 +Enable Recv SMS :1 +Enable Call History:1 +Line Display Format:$name@$protocol$instance +Enable MWI Tone :0 +--Display Input-- : +LCD Title :CP2505G +LCD Constrast :5 +Enable Energysaving:4 +LCD Luminance Level:12 +Backlight Off Time :45 +Disable CHN IME :0 +Phone Model : +#Host Name :bcm911188sv +Default Language :en +Enable Greetings :0 +--Power LED-- : +Power :0 +MWI Or SMS :3 +In Using :0 +Ring :2 +Hold :0 +Mute :0 +Missed Call :3 +--Voice Volume-- : +Handset Vol :5 +Handset Mic Vol :3 +Headset Vol :5 +Headset Mic Vol :3 +Headset Ring Vol :5 +HandFree Vol :5 +HandFree Mic Vol :3 +HandFree Ring Vol :5 +Ring Type :Type 2 +--DateTime Config--: +Enable SNTP :1 +SNTP Server :0.pool.ntp.org +Second SNTP Server :time.nist.gov +Time Zone :4 +Time Zone Name :UTC+1 +SNTP Timeout :60 +DST Type :0 +DST Location :0 +DST Rule Mode :0 +DST Min Offset :60 +DST Start Mon :3 +DST Start Week :5 +DST Start Wday :0 +DST Start Hour :2 +DST End Mon :10 +DST End Week :5 +DST End Wday :0 +DST End Hour :2 +--DateTime Display--: +Enable TimeDisplay :0 +Time Display Style :0 +Date Display Style :0 +Date Separator :0 +--ScreenSaver Config-- : +Screen Saver Type :0 +Screen Timeout :0 +Enable ActivePeriod:0 +Period One Start :0 +Period One End Time:0 +Period Two Start :0 +Period Two End Time:0 +Screen Saver App : +Sleep After Active :0 +Sleep Timeout :0 +--Softkey Config-- : +Desktop Softkey :history;contact;dnd;menu; +Talking Softkey :hold;xfer;conf;end; +Ringing Softkey :accept;none;forward;reject; +Alerting Softkey :end;none;none;none; +XAlerting Softkey :end;none;none;none; +Conference Softkey :hold;none;split;end; +Waiting Softkey :hold;xfer;conf;end; +Ending Softkey :repeat;none;none;end; +DialerPre Softkey :send;2aB;delete;exit; +DialerCall Softkey :repeat;2aB;delete;exit; +DialerXfer Softkey :repeat;2aB;delete;exit; +DialerCfwd Softkey :repeat;2aB;delete;exit; +Desktop Click :history;status;none;none;none; +Dailer Click :none;none;none;none;none; +Call Click :none;none;voldown;volup;none; +Desktop Long Press :status;none;none;none;reset; +Softkey Mode :0 +DialerConf Softkey :contact;clogs;redial;video;cancel; +--LDAP Config-- : +LDAP1 Title : +LDAP1 Server : +LDAP1 port :389 +LDAP1 Base : +LDAP1 Use SSL :0 +LDAP1 Version :3 +LDAP1 Calling Line :1 +LDAP1 In Call Search :0 +LDAP1 Out Call Search :0 +LDAP1 Authenticate :3 +LDAP1 Username : +LDAP1 Password : +LDAP1 Tel Attr :telephoneNumber +LDAP1 Mobile Attr :mobile +LDAP1 Other Attr :other +LDAP1 Name Attr :cn sn ou +LDAP1 Sort Attr :cn +LDAP1 Displayname :cn +LDAP1 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP1 Name Filter :(|(cn=%)(sn=%)) +LDAP1 Max Hits :50 +LDAP2 Title : +LDAP2 Server : +LDAP2 port :389 +LDAP2 Base : +LDAP2 Use SSL :0 +LDAP2 Version :3 +LDAP2 Calling Line :1 +LDAP2 In Call Search :0 +LDAP2 Out Call Search :0 +LDAP2 Authenticate :3 +LDAP2 Username : +LDAP2 Password : +LDAP2 Tel Attr :telephoneNumber +LDAP2 Mobile Attr :mobile +LDAP2 Other Attr :other +LDAP2 Name Attr :cn sn ou +LDAP2 Sort Attr :cn +LDAP2 Displayname :cn +LDAP2 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP2 Name Filter :(|(cn=%)(sn=%)) +LDAP2 Max Hits :50 +LDAP3 Title : +LDAP3 Server : +LDAP3 port :389 +LDAP3 Base : +LDAP3 Use SSL :0 +LDAP3 Version :3 +LDAP3 Calling Line :1 +LDAP3 In Call Search :0 +LDAP3 Out Call Search :0 +LDAP3 Authenticate :3 +LDAP3 Username : +LDAP3 Password : +LDAP3 Tel Attr :telephoneNumber +LDAP3 Mobile Attr :mobile +LDAP3 Other Attr :other +LDAP3 Name Attr :cn sn ou +LDAP3 Sort Attr :cn +LDAP3 Displayname :cn +LDAP3 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP3 Name Filter :(|(cn=%)(sn=%)) +LDAP3 Max Hits :50 +LDAP4 Title : +LDAP4 Server : +LDAP4 port :389 +LDAP4 Base : +LDAP4 Use SSL :0 +LDAP4 Version :3 +LDAP4 Calling Line :1 +LDAP4 In Call Search :0 +LDAP4 Out Call Search :0 +LDAP4 Authenticate :3 +LDAP4 Username : +LDAP4 Password : +LDAP4 Tel Attr :telephoneNumber +LDAP4 Mobile Attr :mobile +LDAP4 Other Attr :other +LDAP4 Name Attr :cn sn ou +LDAP4 Sort Attr :cn +LDAP4 Displayname :cn +LDAP4 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP4 Name Filter :(|(cn=%)(sn=%)) +LDAP4 Max Hits :50 +LDAP5 Title : +LDAP5 Server : +LDAP5 port :389 +LDAP5 Base : +LDAP5 Use SSL :0 +LDAP5 Version :3 +LDAP5 Calling Line :1 +LDAP5 In Call Search :0 +LDAP5 Out Call Search :0 +LDAP5 Authenticate :3 +LDAP5 Username : +LDAP5 Password : +LDAP5 Tel Attr :telephoneNumber +LDAP5 Mobile Attr :mobile +LDAP5 Other Attr :other +LDAP5 Name Attr :cn sn ou +LDAP5 Sort Attr :cn +LDAP5 Displayname :cn +LDAP5 Number Filter :(|(telephoneNumber=%)(mobile=%)(other=%)) +LDAP5 Name Filter :(|(cn=%)(sn=%)) +LDAP5 Max Hits :50 +--Xml PhoneBook-- : +XML-PBook1 Name : +XML-PBook1 Addr : +XML-PBook1 UserName : +XML-PBook1 PassWd : +XML-PBook1 Sipline :0 +XML-PBook2 Name : +XML-PBook2 Addr : +XML-PBook2 UserName : +XML-PBook2 PassWd : +XML-PBook2 Sipline :0 +XML-PBook3 Name : +XML-PBook3 Addr : +XML-PBook3 UserName : +XML-PBook3 PassWd : +XML-PBook3 Sipline :0 +XML-PBook4 Name : +XML-PBook4 Addr : +XML-PBook4 UserName : +XML-PBook4 PassWd : +XML-PBook4 Sipline :0 +XML-PBook5 Name : +XML-PBook5 Addr : +XML-PBook5 UserName : +XML-PBook5 PassWd : +XML-PBook5 Sipline :0 + + +Onhook Time :120 + + +Web Server Type :0 +Web Port :80 +Https Web Port :443 +Remote Control :1 +Enable MMI Filter :0 +Web Authentication :0 +Enable Telnet :0 +Telnet Port :23 +Telnet Prompt : +Logon Timeout :15 +--MMI Account-- : +Account1 Name :admin +Account1 Password :admin +Account1 Level :10 +Account2 Name :guest +Account2 Password :guest +Account2 Level :5 + + +Enable VLAN :0 +VLAN ID :256 +Enable PVID :0 +PVID Value :254 +Signalling Priority:0 +Voice Priority :0 +Video Priority :0 +Enable diffServ :0 +Singalling DSCP :46 +Voice DSCP :46 +Video DSCP :46 +LLDP Transmit :1 +LLDP Refresh Time :60 +LLDP Learn Policy :0 +LLDP Save Learn Data:0 +CDP Enable :0 +CDP Refresh Time :60 +DHCP Option Vlan :0 + + +Level :INFO +Style :level,tag +Output Device :stdout +File Name :platform.log +File Size :512KB +Syslog Tag :platform +Syslog Server :0.0.0.0 +Syslog Server Port :514 + + +Enabled :1 +Voice Codec :G729 +Record Type :0 +File Size Limit :8 +Server Addr : +Server Port :0 + + +Select DsskeyAction:0 +Memory Key to BXfer:3 +FuncKey Page Num :5 +DSS Home Page :0 +Expand Board Enable:0 +Extern1 Page Belong :0 +Extern2 Page Belong :0 +Extern3 Page Belong :0 +Extern4 Page Belong :0 +Extern5 Page Belong :0 +--Dsskey Config1--: +Fkey1 Type :2 +Fkey1 Value :SIP1 +Fkey1 Title : +Fkey2 Type :2 +Fkey2 Value :SIP2 +Fkey2 Title : +Fkey3 Type :2 +Fkey3 Value :SIP3 +Fkey3 Title : +Fkey4 Type :2 +Fkey4 Value :SIP4 +Fkey4 Title : +Fkey5 Type :2 +Fkey5 Value :SIP5 +Fkey5 Title : +Fkey6 Type :2 +Fkey6 Value :SIP6 +Fkey6 Title : +Fkey7 Type :3 +Fkey7 Value :F_MWI +Fkey7 Title : +Fkey8 Type :3 +Fkey8 Value :F_HEADSET +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--Dsskey Config2--: +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--Dsskey Config3--: +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--Dsskey Config4--: +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--Dsskey Config5--: +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +--SoftDss Config-- : +Fkey1 Type :0 +Fkey1 Value : +Fkey1 Title : +Fkey2 Type :0 +Fkey2 Value : +Fkey2 Title : +Fkey3 Type :0 +Fkey3 Value : +Fkey3 Title : +Fkey4 Type :0 +Fkey4 Value : +Fkey4 Title : +Fkey5 Type :0 +Fkey5 Value : +Fkey5 Title : +Fkey6 Type :0 +Fkey6 Value : +Fkey6 Title : +Fkey7 Type :0 +Fkey7 Value : +Fkey7 Title : +Fkey8 Type :0 +Fkey8 Value : +Fkey8 Title : +Fkey9 Type :0 +Fkey9 Value : +Fkey9 Title : +Fkey10 Type :0 +Fkey10 Value : +Fkey10 Title : + +--Xml PhoneBook-- : +XML-PBook1 Name :Users +XML-PBook1 Addr :https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=users +XML-PBook1 Auth :: +XML-PBook1 Policy :0 +XML-PBook1 Sipline :0 +XML-PBook2 Name :Groups +XML-PBook2 Addr :https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=groups +XML-PBook2 Auth :: +XML-PBook2 Policy :0 +XML-PBook2 Sipline :0 +XML-PBook3 Name :Extensions +XML-PBook3 Addr :https://{if isset($http_auth_username)}{$http_auth_username}:{$http_auth_password}@{/if}{$domain_name}/app/provision/?file=directory.xml&contacts=extensions +XML-PBook3 Auth :: +XML-PBook3 Policy :0 +XML-PBook3 Sipline :0 +XML-PBook4 Name : +XML-PBook4 Addr : +XML-PBook4 Auth :: +XML-PBook4 Policy :0 +XML-PBook4 Sipline :0 +XML-PBook5 Name : +XML-PBook5 Addr : +XML-PBook5 Auth :: +XML-PBook5 Policy :0 +XML-PBook5 Sipline :0 +XML-PBook6 Name : +XML-PBook6 Addr : +XML-PBook6 Auth :: +XML-PBook6 Policy :0 +XML-PBook6 Sipline :0 +XML-PBook7 Name : +XML-PBook7 Addr : +XML-PBook7 Auth :: +XML-PBook7 Policy :0 +XML-PBook7 Sipline :0 +XML-PBook8 Name : +XML-PBook8 Addr : +XML-PBook8 Auth :: +XML-PBook8 Policy :0 +XML-PBook8 Sipline :0 +Phonebook Groups : +<> diff --git a/resources/templates/provision/yealink/cp860/{$mac}.cfg b/resources/templates/provision/yealink/cp860/{$mac}.cfg index 4a270c8783..8d0a7fc553 100644 --- a/resources/templates/provision/yealink/cp860/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp860/{$mac}.cfg @@ -229,66 +229,71 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/cp920/{$mac}.cfg b/resources/templates/provision/yealink/cp920/{$mac}.cfg index 4a270c8783..8efd6af756 100644 --- a/resources/templates/provision/yealink/cp920/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp920/{$mac}.cfg @@ -229,66 +229,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/cp960/{$mac}.cfg b/resources/templates/provision/yealink/cp960/{$mac}.cfg index b0eb1aa284..c350a38c86 100644 --- a/resources/templates/provision/yealink/cp960/{$mac}.cfg +++ b/resources/templates/provision/yealink/cp960/{$mac}.cfg @@ -229,66 +229,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t19p/{$mac}.cfg b/resources/templates/provision/yealink/t19p/{$mac}.cfg index 6c210d827b..bde1e02166 100644 --- a/resources/templates/provision/yealink/t19p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t19p/{$mac}.cfg @@ -274,70 +274,71 @@ account.1.picture_info_enable = #account.1.codec.y.priority = #account.1.codec.y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =4 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = -account.1.codec.7.payload_type = -account.1.codec.7.priority = -account.1.codec.7.rtpmap = +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 112 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 102 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 -account.1.codec.10.rtpmap = 2 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 -account.1.codec.11.rtpmap = 104 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 -account.1.codec.12.payload_type = iLBC_13_3 -account.1.codec.12.priority = 0 -account.1.codec.12.rtpmap = 97 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.13.enable = 0 -account.1.codec.13.payload_type = iLBC_15_2 -account.1.codec.13.priority = 0 -account.1.codec.13.rtpmap = 97 ####################################################################################### ## Account2 Settings ## diff --git a/resources/templates/provision/yealink/t20p/{$mac}.cfg b/resources/templates/provision/yealink/t20p/{$mac}.cfg index 82a331933b..42309c42e0 100644 --- a/resources/templates/provision/yealink/t20p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t20p/{$mac}.cfg @@ -274,70 +274,71 @@ account.1.picture_info_enable = #account.1.codec.y.priority = #account.1.codec.y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =4 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = -account.1.codec.7.payload_type = -account.1.codec.7.priority = -account.1.codec.7.rtpmap = +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 112 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 102 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 -account.1.codec.10.rtpmap = 2 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 -account.1.codec.11.rtpmap = 104 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 -account.1.codec.12.payload_type = iLBC_13_3 -account.1.codec.12.priority = 0 -account.1.codec.12.rtpmap = 97 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.13.enable = 0 -account.1.codec.13.payload_type = iLBC_15_2 -account.1.codec.13.priority = 0 -account.1.codec.13.rtpmap = 97 ####################################################################################### ## Account2 Settings ## diff --git a/resources/templates/provision/yealink/t21p/{$mac}.cfg b/resources/templates/provision/yealink/t21p/{$mac}.cfg index 7d321b52c4..5946084960 100644 --- a/resources/templates/provision/yealink/t21p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t21p/{$mac}.cfg @@ -229,66 +229,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t22p/{$mac}.cfg b/resources/templates/provision/yealink/t22p/{$mac}.cfg index 6c210d827b..bde1e02166 100644 --- a/resources/templates/provision/yealink/t22p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t22p/{$mac}.cfg @@ -274,70 +274,71 @@ account.1.picture_info_enable = #account.1.codec.y.priority = #account.1.codec.y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =4 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = -account.1.codec.7.payload_type = -account.1.codec.7.priority = -account.1.codec.7.rtpmap = +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 112 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 102 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 -account.1.codec.10.rtpmap = 2 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 -account.1.codec.11.rtpmap = 104 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 -account.1.codec.12.payload_type = iLBC_13_3 -account.1.codec.12.priority = 0 -account.1.codec.12.rtpmap = 97 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.13.enable = 0 -account.1.codec.13.payload_type = iLBC_15_2 -account.1.codec.13.priority = 0 -account.1.codec.13.rtpmap = 97 ####################################################################################### ## Account2 Settings ## diff --git a/resources/templates/provision/yealink/t23g/{$mac}.cfg b/resources/templates/provision/yealink/t23g/{$mac}.cfg index 38cff43332..c38ee344fb 100644 --- a/resources/templates/provision/yealink/t23g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23g/{$mac}.cfg @@ -242,66 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t23p/{$mac}.cfg b/resources/templates/provision/yealink/t23p/{$mac}.cfg index 52bdd8a879..9f0621498f 100644 --- a/resources/templates/provision/yealink/t23p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t23p/{$mac}.cfg @@ -228,66 +228,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t26p/{$mac}.cfg b/resources/templates/provision/yealink/t26p/{$mac}.cfg index 049f318f04..70e3e09b2a 100644 --- a/resources/templates/provision/yealink/t26p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t26p/{$mac}.cfg @@ -274,70 +274,71 @@ account.1.picture_info_enable = #account.1.codec.y.priority = #account.1.codec.y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =4 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = -account.1.codec.7.payload_type = -account.1.codec.7.priority = -account.1.codec.7.rtpmap = +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 112 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 102 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 -account.1.codec.10.rtpmap = 2 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 -account.1.codec.11.rtpmap = 104 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 -account.1.codec.12.payload_type = iLBC_13_3 -account.1.codec.12.priority = 0 -account.1.codec.12.rtpmap = 97 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.13.enable = 0 -account.1.codec.13.payload_type = iLBC_15_2 -account.1.codec.13.priority = 0 -account.1.codec.13.rtpmap = 97 ####################################################################################### ## Account2 Settings ## diff --git a/resources/templates/provision/yealink/t27g/{$mac}.cfg b/resources/templates/provision/yealink/t27g/{$mac}.cfg index 282af7d004..6f58cc9dcb 100644 --- a/resources/templates/provision/yealink/t27g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t27g/{$mac}.cfg @@ -242,66 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t27p/{$mac}.cfg b/resources/templates/provision/yealink/t27p/{$mac}.cfg index df1489e97a..237e3dcb91 100644 --- a/resources/templates/provision/yealink/t27p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t27p/{$mac}.cfg @@ -242,66 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t28p/{$mac}.cfg b/resources/templates/provision/yealink/t28p/{$mac}.cfg index 049f318f04..70e3e09b2a 100644 --- a/resources/templates/provision/yealink/t28p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t28p/{$mac}.cfg @@ -274,70 +274,71 @@ account.1.picture_info_enable = #account.1.codec.y.priority = #account.1.codec.y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =4 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = -account.1.codec.7.payload_type = -account.1.codec.7.priority = -account.1.codec.7.rtpmap = +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 112 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 102 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 -account.1.codec.10.rtpmap = 2 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 -account.1.codec.11.rtpmap = 104 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 -account.1.codec.12.payload_type = iLBC_13_3 -account.1.codec.12.priority = 0 -account.1.codec.12.rtpmap = 97 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.13.enable = 0 -account.1.codec.13.payload_type = iLBC_15_2 -account.1.codec.13.priority = 0 -account.1.codec.13.rtpmap = 97 ####################################################################################### ## Account2 Settings ## diff --git a/resources/templates/provision/yealink/t29g/{$mac}.cfg b/resources/templates/provision/yealink/t29g/{$mac}.cfg index 73a2ad9ffb..b9e16d6860 100644 --- a/resources/templates/provision/yealink/t29g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t29g/{$mac}.cfg @@ -242,66 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t32g/{$mac}.cfg b/resources/templates/provision/yealink/t32g/{$mac}.cfg index 6aea469e21..dbfaa29e2f 100644 --- a/resources/templates/provision/yealink/t32g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t32g/{$mac}.cfg @@ -265,70 +265,71 @@ account.1.picture_info_enable = #account.1.codec.y.priority = #account.1.codec.y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =4 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = -account.1.codec.7.payload_type = -account.1.codec.7.priority = -account.1.codec.7.rtpmap = +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 112 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 102 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 -account.1.codec.10.rtpmap = 2 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 -account.1.codec.11.rtpmap = 104 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 -account.1.codec.12.payload_type = iLBC_13_3 -account.1.codec.12.priority = 0 -account.1.codec.12.rtpmap = 97 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.13.enable = 0 -account.1.codec.13.payload_type = iLBC_15_2 -account.1.codec.13.priority = 0 -account.1.codec.13.rtpmap = 97 ####################################################################################### ## Account2 Settings ## diff --git a/resources/templates/provision/yealink/t38g/{$mac}.cfg b/resources/templates/provision/yealink/t38g/{$mac}.cfg index 6aea469e21..dbfaa29e2f 100644 --- a/resources/templates/provision/yealink/t38g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t38g/{$mac}.cfg @@ -265,70 +265,71 @@ account.1.picture_info_enable = #account.1.codec.y.priority = #account.1.codec.y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =4 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = -account.1.codec.7.payload_type = -account.1.codec.7.priority = -account.1.codec.7.rtpmap = +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 112 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 102 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 -account.1.codec.10.rtpmap = 2 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 -account.1.codec.11.rtpmap = 104 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 -account.1.codec.12.payload_type = iLBC_13_3 -account.1.codec.12.priority = 0 -account.1.codec.12.rtpmap = 97 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.13.enable = 0 -account.1.codec.13.payload_type = iLBC_15_2 -account.1.codec.13.priority = 0 -account.1.codec.13.rtpmap = 97 ####################################################################################### ## Account2 Settings ## diff --git a/resources/templates/provision/yealink/t40g/{$mac}.cfg b/resources/templates/provision/yealink/t40g/{$mac}.cfg index 860d7aa02f..0d6c4aa59f 100644 --- a/resources/templates/provision/yealink/t40g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t40g/{$mac}.cfg @@ -242,66 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t40p/{$mac}.cfg b/resources/templates/provision/yealink/t40p/{$mac}.cfg index cd63d15711..ea9a10c5d3 100644 --- a/resources/templates/provision/yealink/t40p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t40p/{$mac}.cfg @@ -229,66 +229,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t41p/{$mac}.cfg b/resources/templates/provision/yealink/t41p/{$mac}.cfg index 58a78006bf..f942bf7937 100644 --- a/resources/templates/provision/yealink/t41p/{$mac}.cfg +++ b/resources/templates/provision/yealink/t41p/{$mac}.cfg @@ -228,66 +228,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t41s/{$mac}.cfg b/resources/templates/provision/yealink/t41s/{$mac}.cfg index 79a21cafdc..73473bcda2 100644 --- a/resources/templates/provision/yealink/t41s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t41s/{$mac}.cfg @@ -242,71 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_3_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_5_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_4_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_2_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 -account.1.codec.13.enable = 1 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} account.1.codec.13.payload_type = opus -account.1.codec.13.priority = {$yealink_codec_1_priority} +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} account.1.codec.13.rtpmap = 106 + ####################################################################################### ## Audio Advanced ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t42g/{$mac}.cfg b/resources/templates/provision/yealink/t42g/{$mac}.cfg index 7a8e6b09d2..55fa1f9702 100644 --- a/resources/templates/provision/yealink/t42g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42g/{$mac}.cfg @@ -242,66 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t42s/{$mac}.cfg b/resources/templates/provision/yealink/t42s/{$mac}.cfg index 5b9d5a4afc..af765a0a06 100644 --- a/resources/templates/provision/yealink/t42s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t42s/{$mac}.cfg @@ -242,71 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_4_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_5_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority = {$yealink_codec_6_priority} +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = {$yealink_codec_7_priority} +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_2_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 -account.1.codec.13.enable = 1 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} account.1.codec.13.payload_type = opus -account.1.codec.13.priority = {$yealink_codec_1_priority} +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} account.1.codec.13.rtpmap = 106 + ####################################################################################### ## Audio Advanced ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t46g/{$mac}.cfg b/resources/templates/provision/yealink/t46g/{$mac}.cfg index c88bcf7119..b799035300 100755 --- a/resources/templates/provision/yealink/t46g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46g/{$mac}.cfg @@ -242,66 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t46s/{$mac}.cfg b/resources/templates/provision/yealink/t46s/{$mac}.cfg index 70016b4a02..5a9b46c9c2 100644 --- a/resources/templates/provision/yealink/t46s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t46s/{$mac}.cfg @@ -242,71 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_3_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_5_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_4_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_2_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 -account.1.codec.13.enable = 1 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} account.1.codec.13.payload_type = opus -account.1.codec.13.priority = {$yealink_codec_1_priority} +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} account.1.codec.13.rtpmap = 106 + ####################################################################################### ## Audio Advanced ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t48g/{$mac}.cfg b/resources/templates/provision/yealink/t48g/{$mac}.cfg index c7ae3db488..357cb7230f 100644 --- a/resources/templates/provision/yealink/t48g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48g/{$mac}.cfg @@ -242,66 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t48s/{$mac}.cfg b/resources/templates/provision/yealink/t48s/{$mac}.cfg index 79a21cafdc..73473bcda2 100644 --- a/resources/templates/provision/yealink/t48s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t48s/{$mac}.cfg @@ -242,71 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_3_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_5_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_4_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_2_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 -account.1.codec.13.enable = 1 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} account.1.codec.13.payload_type = opus -account.1.codec.13.priority = {$yealink_codec_1_priority} +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} account.1.codec.13.rtpmap = 106 + ####################################################################################### ## Audio Advanced ## ####################################################################################### diff --git a/resources/templates/provision/yealink/t49g/{$mac}.cfg b/resources/templates/provision/yealink/t49g/{$mac}.cfg index 7940744deb..0bc5ce963d 100644 --- a/resources/templates/provision/yealink/t49g/{$mac}.cfg +++ b/resources/templates/provision/yealink/t49g/{$mac}.cfg @@ -242,66 +242,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_2_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_4_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_1_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/t52s/{$mac}.cfg b/resources/templates/provision/yealink/t52s/{$mac}.cfg index 7398014fd9..babc86a719 100644 --- a/resources/templates/provision/yealink/t52s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t52s/{$mac}.cfg @@ -136,33 +136,33 @@ account.6.phone_setting.call_appearance.calls_per_linekey= ####################################################################################### ## Codec ## ####################################################################################### -account.1.codec.ilbc_15_2kbps.priority= -account.1.codec.ilbc_15_2kbps.enable= -account.1.codec.ilbc_13_33kbps.priority= -account.1.codec.ilbc_13_33kbps.enable = -account.1.codec.pcma.enable= 1 -account.1.codec.pcma.priority= {$yealink_codec_5_priority} -account.1.codec.pcmu.enable= 1 -account.1.codec.pcmu.priority= {$yealink_codec_4_priority} -account.1.codec.opus.priority = {$yealink_codec_1_priority} -account.1.codec.opus.enable= 1 +account.1.codec.ilbc_15_2kbps.priority= 0 +account.1.codec.ilbc_15_2kbps.enable= 0 +account.1.codec.ilbc_13_33kbps.priority= {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} +account.1.codec.pcma.priority= {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} +account.1.codec.pcmu.priority= {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} +account.1.codec.opus.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} account.1.codec.opus.para= -account.1.codec.g726_40.enable= -account.1.codec.g726_40.priority= -account.1.codec.g726_32.enable= -account.1.codec.g726_32.priority= -account.1.codec.g726_24.enable= -account.1.codec.g726_24.priority= -account.1.codec.g726_16.enable= -account.1.codec.g726_16.priority= -account.1.codec.g723_63.priority= -account.1.codec.g723_63.enable= -account.1.codec.g723_53.priority= -account.1.codec.g723_53.enable= -account.1.codec.g729.priority= {$yealink_codec_3_priority} -account.1.codec.g729.enable= 1 -account.1.codec.g722.priority= {$yealink_codec_2_priority} -account.1.codec.g722.enable= 1 +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.g726_40.priority= {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.g726_32.priority= {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.g726_24.priority= {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.g726_16.priority= {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.g723_63.priority= {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} +account.1.codec.g723_53.priority= {if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} +account.1.codec.g729.priority= {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} +account.1.codec.g722.priority= {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.2.codec.ilbc_15_2kbps.priority= account.2.codec.ilbc_15_2kbps.enable= diff --git a/resources/templates/provision/yealink/t53w/{$mac}.cfg b/resources/templates/provision/yealink/t53w/{$mac}.cfg index 01ac731d6f..bd1b12b7c5 100644 --- a/resources/templates/provision/yealink/t53w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t53w/{$mac}.cfg @@ -44,36 +44,33 @@ account.1.phone_setting.call_appearance.calls_per_linekey= ####################################################################################### ## Codec ## ####################################################################################### -account.1.codec.ilbc_15_2kbps.priority= -account.1.codec.ilbc_15_2kbps.enable= -account.1.codec.ilbc_13_33kbps.priority= -account.1.codec.ilbc_13_33kbps.enable = -account.1.codec.pcma.enable = 1 -account.1.codec.pcma.priority = {$yealink_codec_5_priority} - -account.1.codec.pcmu.enable = 1 -account.1.codec.pcmu.priority = {$yealink_codec_4_priority} - -account.1.codec.opus.enable = 1 -account.1.codec.opus.priority = {$yealink_codec_1_priority} +account.1.codec.ilbc_15_2kbps.priority= 0 +account.1.codec.ilbc_15_2kbps.enable= 0 +account.1.codec.ilbc_13_33kbps.priority= {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} +account.1.codec.pcma.priority= {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} +account.1.codec.pcmu.priority= {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} +account.1.codec.opus.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} account.1.codec.opus.para= -account.1.codec.g726_40.enable= -account.1.codec.g726_40.priority= -account.1.codec.g726_32.enable= -account.1.codec.g726_32.priority= -account.1.codec.g726_24.enable= -account.1.codec.g726_24.priority= -account.1.codec.g726_16.enable= -account.1.codec.g726_16.priority= -account.1.codec.g723_63.priority= -account.1.codec.g723_63.enable= -account.1.codec.g723_53.priority= -account.1.codec.g723_53.enable= -account.1.codec.g729.enable = 1 -account.1.codec.g729.priority = {$yealink_codec_3_priority} - -account.1.codec.g722.enable = 1 -account.1.codec.g722.priority = {$yealink_codec_2_priority} +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.g726_40.priority= {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.g726_32.priority= {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.g726_24.priority= {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.g726_16.priority= {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.g723_63.priority= {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} +account.1.codec.g723_53.priority= {if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} +account.1.codec.g729.priority= {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} +account.1.codec.g722.priority= {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.G722_1_24kpbs.priority= account.1.codec.G722_1_24kpbs.enable= diff --git a/resources/templates/provision/yealink/t54s/{$mac}.cfg b/resources/templates/provision/yealink/t54s/{$mac}.cfg index c5b876b2e2..58e0bd48b1 100644 --- a/resources/templates/provision/yealink/t54s/{$mac}.cfg +++ b/resources/templates/provision/yealink/t54s/{$mac}.cfg @@ -136,33 +136,33 @@ account.6.phone_setting.call_appearance.calls_per_linekey= ####################################################################################### ## Codec ## ####################################################################################### -account.1.codec.ilbc_15_2kbps.priority= -account.1.codec.ilbc_15_2kbps.enable= -account.1.codec.ilbc_13_33kbps.priority= -account.1.codec.ilbc_13_33kbps.enable = -account.1.codec.pcma.enable= 1 -account.1.codec.pcma.priority= {$yealink_codec_5_priority} -account.1.codec.pcmu.enable= 1 -account.1.codec.pcmu.priority= {$yealink_codec_4_priority} -account.1.codec.opus.priority = {$yealink_codec_1_priority} -account.1.codec.opus.enable= 1 +account.1.codec.ilbc_15_2kbps.priority= 0 +account.1.codec.ilbc_15_2kbps.enable= 0 +account.1.codec.ilbc_13_33kbps.priority= {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} +account.1.codec.pcma.priority= {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} +account.1.codec.pcmu.priority= {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} +account.1.codec.opus.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} account.1.codec.opus.para= -account.1.codec.g726_40.enable= -account.1.codec.g726_40.priority= -account.1.codec.g726_32.enable= -account.1.codec.g726_32.priority= -account.1.codec.g726_24.enable= -account.1.codec.g726_24.priority= -account.1.codec.g726_16.enable= -account.1.codec.g726_16.priority= -account.1.codec.g723_63.priority= -account.1.codec.g723_63.enable= -account.1.codec.g723_53.priority= -account.1.codec.g723_53.enable= -account.1.codec.g729.priority= {$yealink_codec_3_priority} -account.1.codec.g729.enable= 1 -account.1.codec.g722.priority= {$yealink_codec_2_priority} -account.1.codec.g722.enable= 1 +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.g726_40.priority= {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.g726_32.priority= {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.g726_24.priority= {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.g726_16.priority= {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.g723_63.priority= {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} +account.1.codec.g723_53.priority= {if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} +account.1.codec.g729.priority= {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} +account.1.codec.g722.priority= {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.2.codec.ilbc_15_2kbps.priority= account.2.codec.ilbc_15_2kbps.enable= diff --git a/resources/templates/provision/yealink/t54w/{$mac}.cfg b/resources/templates/provision/yealink/t54w/{$mac}.cfg index 01ac731d6f..bd1b12b7c5 100644 --- a/resources/templates/provision/yealink/t54w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t54w/{$mac}.cfg @@ -44,36 +44,33 @@ account.1.phone_setting.call_appearance.calls_per_linekey= ####################################################################################### ## Codec ## ####################################################################################### -account.1.codec.ilbc_15_2kbps.priority= -account.1.codec.ilbc_15_2kbps.enable= -account.1.codec.ilbc_13_33kbps.priority= -account.1.codec.ilbc_13_33kbps.enable = -account.1.codec.pcma.enable = 1 -account.1.codec.pcma.priority = {$yealink_codec_5_priority} - -account.1.codec.pcmu.enable = 1 -account.1.codec.pcmu.priority = {$yealink_codec_4_priority} - -account.1.codec.opus.enable = 1 -account.1.codec.opus.priority = {$yealink_codec_1_priority} +account.1.codec.ilbc_15_2kbps.priority= 0 +account.1.codec.ilbc_15_2kbps.enable= 0 +account.1.codec.ilbc_13_33kbps.priority= {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} +account.1.codec.pcma.priority= {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} +account.1.codec.pcmu.priority= {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} +account.1.codec.opus.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} account.1.codec.opus.para= -account.1.codec.g726_40.enable= -account.1.codec.g726_40.priority= -account.1.codec.g726_32.enable= -account.1.codec.g726_32.priority= -account.1.codec.g726_24.enable= -account.1.codec.g726_24.priority= -account.1.codec.g726_16.enable= -account.1.codec.g726_16.priority= -account.1.codec.g723_63.priority= -account.1.codec.g723_63.enable= -account.1.codec.g723_53.priority= -account.1.codec.g723_53.enable= -account.1.codec.g729.enable = 1 -account.1.codec.g729.priority = {$yealink_codec_3_priority} - -account.1.codec.g722.enable = 1 -account.1.codec.g722.priority = {$yealink_codec_2_priority} +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.g726_40.priority= {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.g726_32.priority= {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.g726_24.priority= {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.g726_16.priority= {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.g723_63.priority= {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} +account.1.codec.g723_53.priority= {if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} +account.1.codec.g729.priority= {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} +account.1.codec.g722.priority= {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.G722_1_24kpbs.priority= account.1.codec.G722_1_24kpbs.enable= diff --git a/resources/templates/provision/yealink/t56a/{$mac}.cfg b/resources/templates/provision/yealink/t56a/{$mac}.cfg index ff8d0b416e..7ae842cc89 100644 --- a/resources/templates/provision/yealink/t56a/{$mac}.cfg +++ b/resources/templates/provision/yealink/t56a/{$mac}.cfg @@ -242,48 +242,33 @@ account.1.callpark_enable = ## Audio Codec ## ####################################################################################### -account.1.codec.g722.enable = 1 -account.1.codec.g722.priority = {$yealink_codec_2_priority} - -account.1.codec.g729.enable = 1 -account.1.codec.g729.priority = {$yealink_codec_3_priority} - -account.1.codec.g723_53.enable = -account.1.codec.g723_53.priority = - -account.1.codec.g723_63.enable = -account.1.codec.g723_63.priority = - -account.1.codec.g726_16.enable = -account.1.codec.g726_16.priority = -account.1.codec.g726_16.rtpmap = - -account.1.codec.g726_24.enable = -account.1.codec.g726_24.priority = -account.1.codec.g726_24.rtpmap = - -account.1.codec.g726_32.enable = -account.1.codec.g726_32.priority = -account.1.codec.g726_32.rtpmap = - -account.1.codec.g726_40.enable = -account.1.codec.g726_40.priority = -account.1.codec.g726_40.rtpmap = - -account.1.codec.ilbc.enable = -account.1.codec.ilbc.priority = -account.1.codec.ilbc.rtpmap = - -account.1.codec.opus.enable = 1 -account.1.codec.opus.priority = {$yealink_codec_1_priority} -account.1.codec.opus.rtpmap = 106 -account.1.codec.opus.samplerate = - -account.1.codec.pcmu.enable = 1 -account.1.codec.pcmu.priority = {$yealink_codec_4_priority} - -account.1.codec.pcma.enable = 1 -account.1.codec.pcma.priority = {$yealink_codec_5_priority} +account.1.codec.ilbc_15_2kbps.priority= 0 +account.1.codec.ilbc_15_2kbps.enable= 0 +account.1.codec.ilbc_13_33kbps.priority= {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} +account.1.codec.pcma.priority= {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} +account.1.codec.pcmu.priority= {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} +account.1.codec.opus.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.opus.para= +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.g726_40.priority= {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.g726_32.priority= {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.g726_24.priority= {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.g726_16.priority= {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.g723_63.priority= {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} +account.1.codec.g723_53.priority= {if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} +account.1.codec.g729.priority= {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} +account.1.codec.g722.priority= {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.g722_1_24kpbs.enable = account.1.codec.g722_1_24kpbs.para = diff --git a/resources/templates/provision/yealink/t57w/{$mac}.cfg b/resources/templates/provision/yealink/t57w/{$mac}.cfg index 01ac731d6f..bd1b12b7c5 100644 --- a/resources/templates/provision/yealink/t57w/{$mac}.cfg +++ b/resources/templates/provision/yealink/t57w/{$mac}.cfg @@ -44,36 +44,33 @@ account.1.phone_setting.call_appearance.calls_per_linekey= ####################################################################################### ## Codec ## ####################################################################################### -account.1.codec.ilbc_15_2kbps.priority= -account.1.codec.ilbc_15_2kbps.enable= -account.1.codec.ilbc_13_33kbps.priority= -account.1.codec.ilbc_13_33kbps.enable = -account.1.codec.pcma.enable = 1 -account.1.codec.pcma.priority = {$yealink_codec_5_priority} - -account.1.codec.pcmu.enable = 1 -account.1.codec.pcmu.priority = {$yealink_codec_4_priority} - -account.1.codec.opus.enable = 1 -account.1.codec.opus.priority = {$yealink_codec_1_priority} +account.1.codec.ilbc_15_2kbps.priority= 0 +account.1.codec.ilbc_15_2kbps.enable= 0 +account.1.codec.ilbc_13_33kbps.priority= {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} +account.1.codec.pcma.priority= {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} +account.1.codec.pcmu.priority= {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} +account.1.codec.opus.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} account.1.codec.opus.para= -account.1.codec.g726_40.enable= -account.1.codec.g726_40.priority= -account.1.codec.g726_32.enable= -account.1.codec.g726_32.priority= -account.1.codec.g726_24.enable= -account.1.codec.g726_24.priority= -account.1.codec.g726_16.enable= -account.1.codec.g726_16.priority= -account.1.codec.g723_63.priority= -account.1.codec.g723_63.enable= -account.1.codec.g723_53.priority= -account.1.codec.g723_53.enable= -account.1.codec.g729.enable = 1 -account.1.codec.g729.priority = {$yealink_codec_3_priority} - -account.1.codec.g722.enable = 1 -account.1.codec.g722.priority = {$yealink_codec_2_priority} +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.g726_40.priority= {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.g726_32.priority= {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.g726_24.priority= {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.g726_16.priority= {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.g723_63.priority= {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} +account.1.codec.g723_53.priority= {if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} +account.1.codec.g729.priority= {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} +account.1.codec.g722.priority= {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.G722_1_24kpbs.priority= account.1.codec.G722_1_24kpbs.enable= diff --git a/resources/templates/provision/yealink/t58v/{$mac}.cfg b/resources/templates/provision/yealink/t58v/{$mac}.cfg index 0dc6b71a49..4f61c833a6 100644 --- a/resources/templates/provision/yealink/t58v/{$mac}.cfg +++ b/resources/templates/provision/yealink/t58v/{$mac}.cfg @@ -242,48 +242,33 @@ account.1.callpark_enable = ## Audio Codec ## ####################################################################################### -account.1.codec.g722.enable = 1 -account.1.codec.g722.priority = {$yealink_codec_2_priority} - -account.1.codec.g729.enable = 1 -account.1.codec.g729.priority = {$yealink_codec_3_priority} - -account.1.codec.g723_53.enable = -account.1.codec.g723_53.priority = - -account.1.codec.g723_63.enable = -account.1.codec.g723_63.priority = - -account.1.codec.g726_16.enable = -account.1.codec.g726_16.priority = -account.1.codec.g726_16.rtpmap = - -account.1.codec.g726_24.enable = -account.1.codec.g726_24.priority = -account.1.codec.g726_24.rtpmap = - -account.1.codec.g726_32.enable = -account.1.codec.g726_32.priority = -account.1.codec.g726_32.rtpmap = - -account.1.codec.g726_40.enable = -account.1.codec.g726_40.priority = -account.1.codec.g726_40.rtpmap = - -account.1.codec.ilbc.enable = -account.1.codec.ilbc.priority = -account.1.codec.ilbc.rtpmap = - -account.1.codec.opus.enable = 1 -account.1.codec.opus.priority = {$yealink_codec_1_priority} -account.1.codec.opus.rtpmap = 106 -account.1.codec.opus.samplerate = - -account.1.codec.pcmu.enable = 1 -account.1.codec.pcmu.priority = {$yealink_codec_4_priority} - -account.1.codec.pcma.enable = 1 -account.1.codec.pcma.priority = {$yealink_codec_5_priority} +account.1.codec.ilbc_15_2kbps.priority= 0 +account.1.codec.ilbc_15_2kbps.enable= 0 +account.1.codec.ilbc_13_33kbps.priority= {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.ilbc_13_33kbps.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.pcma.enable= {if isset($yealink_codec_pcma_enable)}1{else}0{/if} +account.1.codec.pcma.priority= {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} +account.1.codec.pcmu.enable= {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} +account.1.codec.pcmu.priority= {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} +account.1.codec.opus.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.opus.enable= {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.opus.para= +account.1.codec.g726_40.enable= {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.g726_40.priority= {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.g726_32.enable= {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.g726_32.priority= {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.g726_24.enable= {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.g726_24.priority= {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.g726_16.enable= {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.g726_16.priority= {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.g723_63.priority= {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} +account.1.codec.g723_63.enable= {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} +account.1.codec.g723_53.priority= {if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} +account.1.codec.g723_53.enable= {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} +account.1.codec.g729.priority= {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} +account.1.codec.g729.enable= {if isset($yealink_codec_g729_enable)}1{else}0{/if} +account.1.codec.g722.priority= {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} +account.1.codec.g722.enable= {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.g722_1_24kpbs.enable = account.1.codec.g722_1_24kpbs.para = diff --git a/resources/templates/provision/yealink/vp530/{$mac}.cfg b/resources/templates/provision/yealink/vp530/{$mac}.cfg index 5eb9ed3ad3..d886965de0 100644 --- a/resources/templates/provision/yealink/vp530/{$mac}.cfg +++ b/resources/templates/provision/yealink/vp530/{$mac}.cfg @@ -223,66 +223,72 @@ account.1.bla_subscribe_period = 300 #The payload of the specified codec. #account.1.codec.Y.rtpmap = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} account.1.codec.7.payload_type = iLBC -account.1.codec.7.priority = 0 +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} account.1.codec.8.payload_type = G726-16 -account.1.codec.8.priority = 0 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} account.1.codec.8.rtpmap = 103 -account.1.codec.9.enable = 0 +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} account.1.codec.9.payload_type = G726-24 -account.1.codec.9.priority = 0 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} account.1.codec.9.rtpmap = 104 -account.1.codec.10.enable = 0 +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} account.1.codec.10.payload_type = G726-32 -account.1.codec.10.priority = 0 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} account.1.codec.10.rtpmap = 102 -account.1.codec.11.enable = 0 +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} account.1.codec.11.payload_type = G726-40 -account.1.codec.11.priority = 0 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} account.1.codec.11.rtpmap = 105 -account.1.codec.12.enable = 0 +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} account.1.codec.12.payload_type = GSM -account.1.codec.12.priority = 0 +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} account.1.codec.12.rtpmap = 3 +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 + + ####################################################################################### ## Audio Advanced ## diff --git a/resources/templates/provision/yealink/w52p/{$mac}.cfg b/resources/templates/provision/yealink/w52p/{$mac}.cfg index 1072fe1806..5450e1a403 100644 --- a/resources/templates/provision/yealink/w52p/{$mac}.cfg +++ b/resources/templates/provision/yealink/w52p/{$mac}.cfg @@ -189,50 +189,71 @@ account.1.advanced.timer_t1 = account.1.advanced.timer_t2 = account.1.advanced.timer_t4 = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 -account.1.codec.7.payload_type = G726-32 -account.1.codec.7.priority = 0 -account.1.codec.7.rtpmap = 2 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 -account.1.codec.8.payload_type = iLBC_13_3 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 97 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.8.payload_type = G726-16 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 + +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.9.payload_type = G726-24 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 + +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.10.payload_type = G726-32 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 + +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.11.payload_type = G726-40 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 + +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.9.enable = 0 -account.1.codec.9.payload_type = iLBC_15_2 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 97 ####################################################################################### ## Call Forward ## diff --git a/resources/templates/provision/yealink/w56p/{$mac}.cfg b/resources/templates/provision/yealink/w56p/{$mac}.cfg index 44025313e2..4c2f7c970c 100644 --- a/resources/templates/provision/yealink/w56p/{$mac}.cfg +++ b/resources/templates/provision/yealink/w56p/{$mac}.cfg @@ -189,50 +189,71 @@ account.1.advanced.timer_t1 = account.1.advanced.timer_t2 = account.1.advanced.timer_t4 = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 -account.1.codec.7.payload_type = G726-32 -account.1.codec.7.priority = 0 -account.1.codec.7.rtpmap = 2 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 -account.1.codec.8.payload_type = iLBC_13_3 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 97 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.8.payload_type = G726-16 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 + +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.9.payload_type = G726-24 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 + +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.10.payload_type = G726-32 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 + +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.11.payload_type = G726-40 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 + +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.9.enable = 0 -account.1.codec.9.payload_type = iLBC_15_2 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 97 ####################################################################################### ## Call Forward ## diff --git a/resources/templates/provision/yealink/w60b/{$mac}.cfg b/resources/templates/provision/yealink/w60b/{$mac}.cfg index 28fbb62702..c854c13059 100644 --- a/resources/templates/provision/yealink/w60b/{$mac}.cfg +++ b/resources/templates/provision/yealink/w60b/{$mac}.cfg @@ -153,50 +153,71 @@ account.1.advanced.timer_t1 = account.1.advanced.timer_t2 = account.1.advanced.timer_t4 = -account.1.codec.1.enable = 1 +account.1.codec.1.enable = {if isset($yealink_codec_pcmu_enable)}1{else}0{/if} account.1.codec.1.payload_type = PCMU -account.1.codec.1.priority = {$yealink_codec_1_priority} +account.1.codec.1.priority = {if isset{$yealink_codec_pcmu_priority}{$yealink_codec_pcmu_priority}{else}0{/if} account.1.codec.1.rtpmap = 0 -account.1.codec.2.enable = 1 +account.1.codec.2.enable = {if isset($yealink_codec_pcma_enable)}1{else}0{/if} account.1.codec.2.payload_type = PCMA -account.1.codec.2.priority = {$yealink_codec_2_priority} +account.1.codec.2.priority = {if isset{$yealink_codec_pcma_priority}{$yealink_codec_pcma_priority}{else}0{/if} account.1.codec.2.rtpmap = 8 -account.1.codec.3.enable = 0 +account.1.codec.3.enable = {if isset($yealink_codec_g723_53_enable)}1{else}0{/if} account.1.codec.3.payload_type = G723_53 -account.1.codec.3.priority =0 +account.1.codec.3.priority ={if isset{$yealink_codec_g723_53_priority}{$yealink_codec_g723_53_priority}{else}0{/if} account.1.codec.3.rtpmap = 4 -account.1.codec.4.enable = 0 +account.1.codec.4.enable = {if isset($yealink_codec_g723_63_enable)}1{else}0{/if} account.1.codec.4.payload_type = G723_63 -account.1.codec.4.priority = 0 +account.1.codec.4.priority = {if isset{$yealink_codec_g723_63_priority}{$yealink_codec_g723_63_priority}{else}0{/if} account.1.codec.4.rtpmap = 4 -account.1.codec.5.enable = 1 +account.1.codec.5.enable = {if isset($yealink_codec_g729_enable)}1{else}0{/if} account.1.codec.5.payload_type = G729 -account.1.codec.5.priority = {$yealink_codec_3_priority} +account.1.codec.5.priority = {if isset{$yealink_codec_g729_priority}{$yealink_codec_g729_priority}{else}0{/if} account.1.codec.5.rtpmap = 18 -account.1.codec.6.enable = 1 +account.1.codec.6.enable = {if isset($yealink_codec_g722_enable)}1{else}0{/if} account.1.codec.6.payload_type = G722 -account.1.codec.6.priority = {$yealink_codec_4_priority} +account.1.codec.6.priority = {if isset{$yealink_codec_g722_priority}{$yealink_codec_g722_priority}{else}0{/if} account.1.codec.6.rtpmap = 9 -account.1.codec.7.enable = 0 -account.1.codec.7.payload_type = G726-32 -account.1.codec.7.priority = 0 -account.1.codec.7.rtpmap = 2 +account.1.codec.7.enable = {if isset($yealink_codec_iLBC_enable)}1{else}0{/if} +account.1.codec.7.payload_type = iLBC +account.1.codec.7.priority = {if isset{$yealink_codec_iLBC_priority}{$yealink_codec_iLBC_priority}{else}0{/if} +account.1.codec.7.rtpmap = 106 -account.1.codec.8.enable = 0 -account.1.codec.8.payload_type = iLBC_13_3 -account.1.codec.8.priority = 0 -account.1.codec.8.rtpmap = 97 +account.1.codec.8.enable = {if isset($yealink_codec_g726_16_enable)}1{else}0{/if} +account.1.codec.8.payload_type = G726-16 +account.1.codec.8.priority = {if isset{$yealink_codec_g726_16_priority}{$yealink_codec_g726_16_priority}{else}0{/if} +account.1.codec.8.rtpmap = 103 + +account.1.codec.9.enable = {if isset($yealink_codec_g726_24_enable)}1{else}0{/if} +account.1.codec.9.payload_type = G726-24 +account.1.codec.9.priority = {if isset{$yealink_codec_g726_24_priority}{$yealink_codec_g726_24_priority}{else}0{/if} +account.1.codec.9.rtpmap = 104 + +account.1.codec.10.enable = {if isset($yealink_codec_g726_32_enable)}1{else}0{/if} +account.1.codec.10.payload_type = G726-32 +account.1.codec.10.priority = {if isset{$yealink_codec_g726_32_priority}{$yealink_codec_g726_32_priority}{else}0{/if} +account.1.codec.10.rtpmap = 102 + +account.1.codec.11.enable = {if isset($yealink_codec_g726_40_enable)}1{else}0{/if} +account.1.codec.11.payload_type = G726-40 +account.1.codec.11.priority = {if isset{$yealink_codec_g726_40_priority}{$yealink_codec_g726_40_priority}{else}0{/if} +account.1.codec.11.rtpmap = 105 + +account.1.codec.12.enable = {if isset($yealink_codec_gsm_enable)}1{else}0{/if} +account.1.codec.12.payload_type = GSM +account.1.codec.12.priority = {if isset{$yealink_codec_gsm_priority}{$yealink_codec_gsm_priority}{else}0{/if} +account.1.codec.12.rtpmap = 3 + +account.1.codec.13.enable = {if isset($yealink_codec_opus_enable)}1{else}0{/if} +account.1.codec.13.payload_type = opus +account.1.codec.13.priority = {if isset{$yealink_codec_opus_priority}{$yealink_codec_opus_priority}{else}0{/if} +account.1.codec.13.rtpmap = 106 -account.1.codec.9.enable = 0 -account.1.codec.9.payload_type = iLBC_15_2 -account.1.codec.9.priority = 0 -account.1.codec.9.rtpmap = 97 ####################################################################################### ## Call Forward ##