diff --git a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml index 82e8e75c9a..75b5daa7f8 100644 --- a/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml +++ b/resources/templates/provision/grandstream/gxp21xx/{$mac}.xml @@ -2714,7 +2714,7 @@ - 1 + 0 @@ -2943,7 +2943,19 @@ Outgoing calls. 0 - No, 1 - Yes. Default is 0 --> + {if isset($public_mode) } + {if $public_mode|strtolower == 'true'} + 1 + {elseif $public_mode|strtolower == 'yes'} + 1 + {elseif $public_mode == '1'} + 1 + {else} 0 + {/if} + {else} + 0 + {/if}