Jump to content
utendo

condition if

Recommended Posts

Hello,

I want to integrate an if function in the yealink provisioning file according to the extension number.

ex: if the extension is equal to 210, then I include this parameter.

I tried for example

{if_account 210}

"parameter to integrate"

{fi_account}

and it does not work.

An idea?

thank you.

Share this post


Link to post
Share on other sites

Right now I don't see that possibility - however what would work would be {if param1 = "whatever"} you can test if the general parameter for that extension was set to "whatever".

Share this post


Link to post
Share on other sites

There are three general parameters available, this is an example how to use the first. They are available through the registration tab for the extension. "Whatever" is just an example, maybe "use_feature_xxx" would be a better example. It makes it essentially possible to assign attributes to an extension that can control the rendering of the templates for that extension.

Share this post


Link to post
Share on other sites
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...