From c73ff6cdac6a915ef6d154aa81ab834fd2688f17 Mon Sep 17 00:00:00 2001 From: Len Date: Wed, 14 Mar 2018 15:47:49 -0400 Subject: [PATCH] Update {$mac}.cfg --- resources/templates/provision/yealink/t56a/{$mac}.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/templates/provision/yealink/t56a/{$mac}.cfg b/resources/templates/provision/yealink/t56a/{$mac}.cfg index c066a63fb4..6793d7cfdd 100644 --- a/resources/templates/provision/yealink/t56a/{$mac}.cfg +++ b/resources/templates/provision/yealink/t56a/{$mac}.cfg @@ -107,15 +107,15 @@ account.1.reg_fail_retry_interval = ###################################################################################### ##It enables or disables the NAT traversal for account X.0-Disabled,1-Enabled ##The default value is 0. -account.1.nat.nat_traversal = +account.1.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} ##It configures the type of keep-alive packets sent by the phone to the NAT static to keep the communication port open so that NAT can continue to function for account X. ##0-Dsiabled,1-Default: the phone sends UDP packets to the server,2-Option: the phone sends SIP OPTION packets to the server,3-Notify: the phone sends SIP NOTIFY packets to the server. ##The default value is 1. -account.1.nat.udp_update_enable = +account.1.nat.udp_update_enable = 3 ##It configures the keep-alive interval (in seconds) for account X. ##The default value is 30.Integer from 15 to 2147483647 -account.1.nat.udp_update_time = +account.1.nat.udp_update_time = 30 ##It enables or disables NAT Rport feature for account X.0-Disabled,1-Enabled ##The default value is 0.