diff --git a/resources/templates/provision/flyingvoice/audiokit/y000000000000.cfg b/resources/templates/provision/flyingvoice/audiokit/y000000000000.cfg index 824dd7fc56..b56901c57b 100644 --- a/resources/templates/provision/flyingvoice/audiokit/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/audiokit/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/fip10/y000000000000.cfg b/resources/templates/provision/flyingvoice/fip10/y000000000000.cfg index 77f1e38072..38d4334fd8 100644 --- a/resources/templates/provision/flyingvoice/fip10/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/fip10/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/fip11c/y000000000000.cfg b/resources/templates/provision/flyingvoice/fip11c/y000000000000.cfg index 0eb4653b14..91fd65cb84 100644 --- a/resources/templates/provision/flyingvoice/fip11c/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/fip11c/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/fip12wp/y000000000000.cfg b/resources/templates/provision/flyingvoice/fip12wp/y000000000000.cfg index 9407362d9e..ded51ac664 100644 --- a/resources/templates/provision/flyingvoice/fip12wp/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/fip12wp/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/fip13g/y000000000000.cfg b/resources/templates/provision/flyingvoice/fip13g/y000000000000.cfg index f92db0f769..bb461791d9 100644 --- a/resources/templates/provision/flyingvoice/fip13g/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/fip13g/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/fip14g/y000000000000.cfg b/resources/templates/provision/flyingvoice/fip14g/y000000000000.cfg index ed3f51f24d..fdd9fbd021 100644 --- a/resources/templates/provision/flyingvoice/fip14g/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/fip14g/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/fip15g/y000000000000.cfg b/resources/templates/provision/flyingvoice/fip15g/y000000000000.cfg index 1a5876321d..188e3a4c8f 100644 --- a/resources/templates/provision/flyingvoice/fip15g/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/fip15g/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/fip16/y000000000000.cfg b/resources/templates/provision/flyingvoice/fip16/y000000000000.cfg index fa8f4edf3f..aac8e93e43 100644 --- a/resources/templates/provision/flyingvoice/fip16/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/fip16/y000000000000.cfg @@ -368,8 +368,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/fip16plus/y000000000000.cfg b/resources/templates/provision/flyingvoice/fip16plus/y000000000000.cfg index 0e39408668..81ebe02539 100644 --- a/resources/templates/provision/flyingvoice/fip16plus/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/fip16plus/y000000000000.cfg @@ -368,8 +368,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/i86box/y000000000000.cfg b/resources/templates/provision/flyingvoice/i86box/y000000000000.cfg index 21c5d22018..783075ee5c 100644 --- a/resources/templates/provision/flyingvoice/i86box/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/i86box/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/imetalbox/y000000000000.cfg b/resources/templates/provision/flyingvoice/imetalbox/y000000000000.cfg index f5c5ce975e..d591b80004 100644 --- a/resources/templates/provision/flyingvoice/imetalbox/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/imetalbox/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p10/y000000000000.cfg b/resources/templates/provision/flyingvoice/p10/y000000000000.cfg index 945a0c114b..33221caa38 100644 --- a/resources/templates/provision/flyingvoice/p10/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p10/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p10g/y000000000000.cfg b/resources/templates/provision/flyingvoice/p10g/y000000000000.cfg index 945a0c114b..33221caa38 100644 --- a/resources/templates/provision/flyingvoice/p10g/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p10g/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p10lte/y000000000000.cfg b/resources/templates/provision/flyingvoice/p10lte/y000000000000.cfg index 38fefe14bd..79367a4c90 100644 --- a/resources/templates/provision/flyingvoice/p10lte/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p10lte/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p10p/y000000000000.cfg b/resources/templates/provision/flyingvoice/p10p/y000000000000.cfg index 945a0c114b..33221caa38 100644 --- a/resources/templates/provision/flyingvoice/p10p/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p10p/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p10w/y000000000000.cfg b/resources/templates/provision/flyingvoice/p10w/y000000000000.cfg index 56f6cc4462..56986432fd 100644 --- a/resources/templates/provision/flyingvoice/p10w/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p10w/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p11/y000000000000.cfg b/resources/templates/provision/flyingvoice/p11/y000000000000.cfg index c95899ee47..8595a70042 100644 --- a/resources/templates/provision/flyingvoice/p11/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p11/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p11g/y000000000000.cfg b/resources/templates/provision/flyingvoice/p11g/y000000000000.cfg index c95899ee47..8595a70042 100644 --- a/resources/templates/provision/flyingvoice/p11g/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p11g/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p11lte/y000000000000.cfg b/resources/templates/provision/flyingvoice/p11lte/y000000000000.cfg index 4ac37e9898..0376be8e3e 100644 --- a/resources/templates/provision/flyingvoice/p11lte/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p11lte/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p11p/y000000000000.cfg b/resources/templates/provision/flyingvoice/p11p/y000000000000.cfg index c95899ee47..8595a70042 100644 --- a/resources/templates/provision/flyingvoice/p11p/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p11p/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p11w/y000000000000.cfg b/resources/templates/provision/flyingvoice/p11w/y000000000000.cfg index aeef974c69..64c3b7575b 100644 --- a/resources/templates/provision/flyingvoice/p11w/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p11w/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p20/y000000000000.cfg b/resources/templates/provision/flyingvoice/p20/y000000000000.cfg index c74f1c1198..db264160df 100644 --- a/resources/templates/provision/flyingvoice/p20/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p20/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p20g/y000000000000.cfg b/resources/templates/provision/flyingvoice/p20g/y000000000000.cfg index c74f1c1198..db264160df 100644 --- a/resources/templates/provision/flyingvoice/p20g/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p20g/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p20p/y000000000000.cfg b/resources/templates/provision/flyingvoice/p20p/y000000000000.cfg index c74f1c1198..db264160df 100644 --- a/resources/templates/provision/flyingvoice/p20p/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p20p/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p20w/y000000000000.cfg b/resources/templates/provision/flyingvoice/p20w/y000000000000.cfg index 70a682ebe3..50070ff07f 100644 --- a/resources/templates/provision/flyingvoice/p20w/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p20w/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p21/y000000000000.cfg b/resources/templates/provision/flyingvoice/p21/y000000000000.cfg index aa9b725514..da7db5a5d1 100644 --- a/resources/templates/provision/flyingvoice/p21/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p21/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p21p/y000000000000.cfg b/resources/templates/provision/flyingvoice/p21p/y000000000000.cfg index aa9b725514..da7db5a5d1 100644 --- a/resources/templates/provision/flyingvoice/p21p/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p21p/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p21w/y000000000000.cfg b/resources/templates/provision/flyingvoice/p21w/y000000000000.cfg index af26463ec4..d79892384d 100644 --- a/resources/templates/provision/flyingvoice/p21w/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p21w/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p22g/y000000000000.cfg b/resources/templates/provision/flyingvoice/p22g/y000000000000.cfg index 3adf8160c6..9a39488587 100644 --- a/resources/templates/provision/flyingvoice/p22g/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p22g/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p22p/y000000000000.cfg b/resources/templates/provision/flyingvoice/p22p/y000000000000.cfg index 3adf8160c6..9a39488587 100644 --- a/resources/templates/provision/flyingvoice/p22p/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p22p/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p23g/y000000000000.cfg b/resources/templates/provision/flyingvoice/p23g/y000000000000.cfg index ccfde70127..d05b3e29e7 100644 --- a/resources/templates/provision/flyingvoice/p23g/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p23g/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p23gw/y000000000000.cfg b/resources/templates/provision/flyingvoice/p23gw/y000000000000.cfg index 69358a1140..228d1208b8 100644 --- a/resources/templates/provision/flyingvoice/p23gw/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p23gw/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p24gw/y000000000000.cfg b/resources/templates/provision/flyingvoice/p24gw/y000000000000.cfg index 18e361b317..03ce3dc7f9 100644 --- a/resources/templates/provision/flyingvoice/p24gw/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p24gw/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p33/y000000000000.cfg b/resources/templates/provision/flyingvoice/p33/y000000000000.cfg index 0a625140df..c3036078e6 100644 --- a/resources/templates/provision/flyingvoice/p33/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p33/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p33g/y000000000000.cfg b/resources/templates/provision/flyingvoice/p33g/y000000000000.cfg index 428b617cc4..455e18160d 100644 --- a/resources/templates/provision/flyingvoice/p33g/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p33g/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p33p/y000000000000.cfg b/resources/templates/provision/flyingvoice/p33p/y000000000000.cfg index 0a625140df..c3036078e6 100644 --- a/resources/templates/provision/flyingvoice/p33p/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p33p/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p510/y000000000000.cfg b/resources/templates/provision/flyingvoice/p510/y000000000000.cfg index 9e7bd5cb3a..344d1f67fb 100644 --- a/resources/templates/provision/flyingvoice/p510/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p510/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p53/y000000000000.cfg b/resources/templates/provision/flyingvoice/p53/y000000000000.cfg index 18805c5a23..b8991d653b 100644 --- a/resources/templates/provision/flyingvoice/p53/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p53/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p54/y000000000000.cfg b/resources/templates/provision/flyingvoice/p54/y000000000000.cfg index 5d3e488664..c1d18b92c0 100644 --- a/resources/templates/provision/flyingvoice/p54/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p54/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p55/y000000000000.cfg b/resources/templates/provision/flyingvoice/p55/y000000000000.cfg index 0b296a60c1..64aa18bf7b 100644 --- a/resources/templates/provision/flyingvoice/p55/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p55/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p57/y000000000000.cfg b/resources/templates/provision/flyingvoice/p57/y000000000000.cfg index b43b7a56ae..0b9e52ebf1 100644 --- a/resources/templates/provision/flyingvoice/p57/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p57/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/flyingvoice/p58/y000000000000.cfg b/resources/templates/provision/flyingvoice/p58/y000000000000.cfg index 77fa7801b0..ac0a2fd79a 100644 --- a/resources/templates/provision/flyingvoice/p58/y000000000000.cfg +++ b/resources/templates/provision/flyingvoice/p58/y000000000000.cfg @@ -453,8 +453,8 @@ sip.reg_surge_prevention = ################################################################ -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/cp965/y000000000143.cfg b/resources/templates/provision/yealink/cp965/y000000000143.cfg index 43bdef5356..4d76abdbe1 100644 --- a/resources/templates/provision/yealink/cp965/y000000000143.cfg +++ b/resources/templates/provision/yealink/cp965/y000000000143.cfg @@ -718,8 +718,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t42s/y000000000067.cfg b/resources/templates/provision/yealink/t42s/y000000000067.cfg index 24d0cf2345..44c0d1d49d 100644 --- a/resources/templates/provision/yealink/t42s/y000000000067.cfg +++ b/resources/templates/provision/yealink/t42s/y000000000067.cfg @@ -616,8 +616,7 @@ network.static_nat.addr = {$yealink_static_nat} ice.enable = sip.nat_stun.enable = {if isset($stun_server)}1{else}0{/if} - -sip.nat_stun.server = {$stun_server} +sip.nat_stun.server = {if isset($stun_server)}{$stun_server}{/if} sip.nat_stun.port = {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t46s/y000000000066.cfg b/resources/templates/provision/yealink/t46s/y000000000066.cfg index a7746f704a..ba8f2db43f 100644 --- a/resources/templates/provision/yealink/t46s/y000000000066.cfg +++ b/resources/templates/provision/yealink/t46s/y000000000066.cfg @@ -605,8 +605,7 @@ network.static_nat.addr = {$yealink_static_nat} ice.enable = sip.nat_stun.enable = {if isset($stun_server)}1{else}0{/if} - -sip.nat_stun.server = {$stun_server} +sip.nat_stun.server = {if isset($stun_server)}{$stun_server}{/if} sip.nat_stun.port = {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t53/y000000000095.cfg b/resources/templates/provision/yealink/t53/y000000000095.cfg index d0dac2755e..6df00f1634 100644 --- a/resources/templates/provision/yealink/t53/y000000000095.cfg +++ b/resources/templates/provision/yealink/t53/y000000000095.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t54w/y000000000096.cfg b/resources/templates/provision/yealink/t54w/y000000000096.cfg index f99574b5ab..4c88c6c1df 100644 --- a/resources/templates/provision/yealink/t54w/y000000000096.cfg +++ b/resources/templates/provision/yealink/t54w/y000000000096.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t57w/y000000000097.cfg b/resources/templates/provision/yealink/t57w/y000000000097.cfg index 4f6addfc30..5079705bc1 100644 --- a/resources/templates/provision/yealink/t57w/y000000000097.cfg +++ b/resources/templates/provision/yealink/t57w/y000000000097.cfg @@ -692,8 +692,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t5x/y000000000095.cfg b/resources/templates/provision/yealink/t5x/y000000000095.cfg index 0a28898b01..2a2b820eb2 100644 --- a/resources/templates/provision/yealink/t5x/y000000000095.cfg +++ b/resources/templates/provision/yealink/t5x/y000000000095.cfg @@ -688,8 +688,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t5x/y000000000096.cfg b/resources/templates/provision/yealink/t5x/y000000000096.cfg index 48befe17e0..3c542ba23a 100644 --- a/resources/templates/provision/yealink/t5x/y000000000096.cfg +++ b/resources/templates/provision/yealink/t5x/y000000000096.cfg @@ -689,8 +689,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t5x/y000000000097.cfg b/resources/templates/provision/yealink/t5x/y000000000097.cfg index 7e61a0b313..b5b17a27c6 100644 --- a/resources/templates/provision/yealink/t5x/y000000000097.cfg +++ b/resources/templates/provision/yealink/t5x/y000000000097.cfg @@ -689,8 +689,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t73u/y000000000186.cfg b/resources/templates/provision/yealink/t73u/y000000000186.cfg index 569e3ec9d4..ae2db5a30c 100644 --- a/resources/templates/provision/yealink/t73u/y000000000186.cfg +++ b/resources/templates/provision/yealink/t73u/y000000000186.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t73w/y000000000183.cfg b/resources/templates/provision/yealink/t73w/y000000000183.cfg index 932392997f..ef735d3d60 100644 --- a/resources/templates/provision/yealink/t73w/y000000000183.cfg +++ b/resources/templates/provision/yealink/t73w/y000000000183.cfg @@ -701,8 +701,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t74u/y000000000187.cfg b/resources/templates/provision/yealink/t74u/y000000000187.cfg index e40b3948bd..e66a607ff0 100644 --- a/resources/templates/provision/yealink/t74u/y000000000187.cfg +++ b/resources/templates/provision/yealink/t74u/y000000000187.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t74w/y000000000184.cfg b/resources/templates/provision/yealink/t74w/y000000000184.cfg index a6ed842f5b..d6703dd495 100644 --- a/resources/templates/provision/yealink/t74w/y000000000184.cfg +++ b/resources/templates/provision/yealink/t74w/y000000000184.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t77u/y000000000188.cfg b/resources/templates/provision/yealink/t77u/y000000000188.cfg index e8b66b4ef3..2a0397441d 100644 --- a/resources/templates/provision/yealink/t77u/y000000000188.cfg +++ b/resources/templates/provision/yealink/t77u/y000000000188.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t85w/y000000000196.cfg b/resources/templates/provision/yealink/t85w/y000000000196.cfg index ba96013569..5835091f06 100644 --- a/resources/templates/provision/yealink/t85w/y000000000196.cfg +++ b/resources/templates/provision/yealink/t85w/y000000000196.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t87w/y000000000197.cfg b/resources/templates/provision/yealink/t87w/y000000000197.cfg index d583e0ba85..4f1fb4e140 100644 --- a/resources/templates/provision/yealink/t87w/y000000000197.cfg +++ b/resources/templates/provision/yealink/t87w/y000000000197.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t88v/y000000000192.cfg b/resources/templates/provision/yealink/t88v/y000000000192.cfg index b0a5cdd5d9..c09f5d74e4 100644 --- a/resources/templates/provision/yealink/t88v/y000000000192.cfg +++ b/resources/templates/provision/yealink/t88v/y000000000192.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/t88w/y000000000192.cfg b/resources/templates/provision/yealink/t88w/y000000000192.cfg index 3555026066..2ca831f48c 100644 --- a/resources/templates/provision/yealink/t88w/y000000000192.cfg +++ b/resources/templates/provision/yealink/t88w/y000000000192.cfg @@ -693,8 +693,8 @@ static.sip.nat_turn.password= static.sip.nat_turn.server= static.sip.nat_turn.port= -static.sip.nat_stun.enable= -static.sip.nat_stun.server= +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} diff --git a/resources/templates/provision/yealink/w60b/y000000000077.cfg b/resources/templates/provision/yealink/w60b/y000000000077.cfg index 1b7eb34c3b..8f83093635 100644 --- a/resources/templates/provision/yealink/w60b/y000000000077.cfg +++ b/resources/templates/provision/yealink/w60b/y000000000077.cfg @@ -85,6 +85,14 @@ network.lldp.enable = #Require reboot; network.lldp.packet_interval = +################################################################ +# NAT ## +################################################################ + +static.sip.nat_stun.enable= {if isset($stun_server)}1{else}0{/if} +static.sip.nat_stun.server= {if isset($stun_server)}{$stun_server}{/if} +static.sip.nat_stun.port= {if isset($stun_port)}{$stun_port}{else}3478{/if} + ####################################################################################### ## Syslog Server ## ####################################################################################### diff --git a/resources/templates/provision/yealink/w70b/{$mac}.cfg b/resources/templates/provision/yealink/w70b/{$mac}.cfg index cef3e79ada..9dc2849a9f 100644 --- a/resources/templates/provision/yealink/w70b/{$mac}.cfg +++ b/resources/templates/provision/yealink/w70b/{$mac}.cfg @@ -143,13 +143,13 @@ account.1.dtmf.info_type = ####################################################################################### #Enable or disable the NAT traversal; 0-Disabled (default), 1-STUN; -account.1.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if}{""} +account.1.nat.nat_traversal = {if isset($stun_server)}1{else}0{/if} #Configure the STUN server address. -account.1.nat.stun_server = {$stun_server} +account.1.nat.stun_server = {if isset($stun_server)}{$stun_server}{/if} #Configure the STUN server port, the default value is 3478. -account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if}{""} +account.1.nat.stun_port = {if isset($stun_port)}{$stun_port}{else}3478{/if} #Enable or disable the NAT keep-alive; 0-Disabled, 1-Default (default), 2-Option, 3-Notify; account.1.nat.udp_update_enable = {if isset($account.1.password)}{if isset($yealink_udp_update_enable)}{$yealink_udp_update_enable}{else}3{/if}{else}1{/if}{""}