Provisioning

Status
Not open for further replies.

sander4000

New Member
May 4, 2019
9
1
3
49
Hi,

in the Yealink template provisioning template there is a if statement that does not seem to work, is something changed? it never gives any value
it only prints

linekey.4.pickup_value =
but the type is 16


{if $row.device_key_type == "1" || $row.device_key_type == "16"}
linekey.{$row.device_key_id}.pickup_value = {$row.device_key_extension}
{else}
linekey.{$row.device_key_id}.extension = {$row.device_key_extension}
{/if}
 

sander4000

New Member
May 4, 2019
9
1
3
49
Changed it to:

{if $row.device_key_type == "16"}
linekey.{$row.device_key_id}.extension = **{$row.device_key_value}
{/if}

this seems to work for me.
 
Status
Not open for further replies.