[YMCS/YDMP Free Trial Program]Yealink would like to offer Free Trial Program of Yealink device management service for our current eligible customers. You can see the details below.
https://www.yealink.com/ydmp-freetrial-2020


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Variable in common.cfg
Author Message
yeacpt Offline
Junior Member
**

Posts: 44
Joined: Jul 2014
Reputation: 0
Post: #1
Variable in common.cfg
Hi,

Can we use variables on the file common.cfg.

I need to call a web page from a programable key and I would like to pass the USER (phone number) to a XML browser application.

Whithout that, I will have to connect on the web page of all the phones to add their USER in my URL.

programablekey.1.type = 27
programablekey.X.label = MyApp
programablekey.X.value = http://10.10.10.10/app/index.php?phone=$user
(i.e. programablekey.X.value = http://10.10.10.10/app/index.php?phone=3120)

Regards.
11-06-2015 11:24 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yealink_Michael Offline
Administrator
*******

Posts: 382
Joined: Jul 2015
Reputation: 2
Post: #2
RE: Variable in common.cfg
hi

Thanks for your information

i am sorry that the common.cfg can not support variables for the moment

but if you want to use web page to call, you can refer to the action URI feature download from below link :

http://support.yealink.com/faq/faqInfo?id=173

TKS & BR

Michael
11-07-2015 04:31 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Frank Drews Offline
Member
***

Posts: 63
Joined: Jan 2014
Reputation: 0
Post: #3
RE: Variable in common.cfg
Hi Yeacpt,

how do you provision your phones? Maybe you can just use the MAC-specific provisioning file and use the variables provided by your pbx. E.g. with 3cx this should work fine, you only have to edit the template ones.

best regards Frank

(11-06-2015 11:24 PM)yeacpt Wrote:  Hi,

Can we use variables on the file common.cfg.

I need to call a web page from a programable key and I would like to pass the USER (phone number) to a XML browser application.

Whithout that, I will have to connect on the web page of all the phones to add their USER in my URL.

programablekey.1.type = 27
programablekey.X.label = MyApp
programablekey.X.value = http://10.10.10.10/app/index.php?phone=$user
(i.e. programablekey.X.value = http://10.10.10.10/app/index.php?phone=3120)

Regards.
11-23-2015 08:05 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
yeacpt Offline
Junior Member
**

Posts: 44
Joined: Jul 2014
Reputation: 0
Post: #4
RE: Variable in common.cfg
Hi,

It is with Asterisk, and the common file is edited by hand.

It is not the mac file.

Regards.
11-27-2015 11:25 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
mkeuter Offline
Asterisk Integrator
***

Posts: 82
Joined: Jul 2013
Reputation: 3
Post: #5
RE: Variable in common.cfg
@ yeacpt

Since you use Asterisk, maybe you like to take a look at AstLinux:
http://www.astlinux.org

It includes a provisioning framework where you can easily do what you want with templates:
http://doc.astlinux.org/userdoc:tt_ip_phoneprov_howto

Michael

http://www.mksolutions.info
(This post was last modified: 11-28-2015 03:45 AM by mkeuter.)
11-28-2015 03:44 AM
Visit this user's website Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Action url variable $cfg_all not working on Yealink T57W Ivan86 1 6,878 03-19-2021 03:07 PM
Last Post: Ivan86
  Autoprovisioning for SIP-T21 V.83 - common sip server name econnet 0 4,346 07-24-2018 03:58 PM
Last Post: econnet
  Common config with t46s not working Alan11111111 3 12,050 09-08-2017 11:03 AM
Last Post: Fuur
  Stop RPS from asking for <mac>.cfg and common cfg zirophyz 4 10,267 11-14-2016 06:32 AM
Last Post: Lucia_Yealink
  Common Config File Name CraigFox 1 8,369 05-07-2016 06:23 AM
Last Post: Karl_Yealink
  Broadsoft Group Common Directory fal 5 13,755 04-03-2015 02:34 AM
Last Post: Flora_Yealink
  Download Source For T48G Common CFG File Slator 2 12,358 10-17-2014 01:44 AM
Last Post: Slator

Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us   Yealink   Return to Top   Return to Content   Lite (Archive) Mode   RSS Syndication