utendo Posted June 4, 2019 Report Share Posted June 4, 2019 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. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted June 5, 2019 Report Share Posted June 5, 2019 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". Quote Link to comment Share on other sites More sharing options...
utendo Posted June 5, 2019 Author Report Share Posted June 5, 2019 What is "param1"? and "whatever"? Thanks Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted June 6, 2019 Report Share Posted June 6, 2019 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.