[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
User Agent
Author Message
jolouis Offline
Moderator
*****

Posts: 339
Joined: Oct 2013
Reputation: 6
Post: #13
RE: User Agent
If you're using HTTP provisioning, one quick and easy work around would be to create a script that copies the HTTP UA to the "account.1.custom_ua" variable. the HTTP UA automatically contains the model, firmware version and MAC address in it which I assume is everything you want.

For example a quick PHP snippet:
<?php
$httpUA = $_SERVER['HTTP_USER_AGENT'];

echo "account.1.custom_ua=$httpUA";
?>
(obviously you would probably want more provisioning than that, but gives you an idea). Definitely not as elegant as a simple config variable saying do it automatically, but it does work and is not so ugly...
03-29-2017 01:29 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
User Agent - VOIP - 03-19-2017, 10:42 PM
RE: User Agent - VOIP - 03-21-2017, 06:54 PM
RE: User Agent - Karl_Yealink - 03-23-2017, 09:33 AM
RE: User Agent - VOIP - 03-23-2017, 05:09 PM
RE: User Agent - Karl_Yealink - 03-24-2017, 02:53 PM
RE: User Agent - VOIP - 03-24-2017, 04:41 PM
RE: User Agent - Karl_Yealink - 03-27-2017, 03:29 PM
RE: User Agent - VOIP - 03-27-2017, 05:36 PM
RE: User Agent - Karl_Yealink - 03-27-2017, 07:53 PM
RE: User Agent - VOIP - 03-28-2017, 09:52 PM
RE: User Agent - Karl_Yealink - 06-15-2017, 03:07 AM
RE: User Agent - CWR - 03-28-2017, 10:57 PM
RE: User Agent - VOIP - 03-29-2017, 03:09 AM
RE: User Agent - jolouis - 03-29-2017 01:29 PM
RE: User Agent - VOIP - 03-31-2017, 05:56 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  user-agent name edit (add mac address) kapetrosyan 2 5,033 12-30-2019 09:00 AM
Last Post: kapetrosyan
Question DHCP Hostname from User Name stan0ne 2 7,394 11-07-2018 10:54 AM
Last Post: stan0ne
  User access level on W56P yeacpt 4 9,111 07-09-2018 11:36 PM
Last Post: bruno
  Yealink T42S - User Agent and HW version Ale 4 8,715 01-11-2018 09:48 AM
Last Post: Ale
  How to change admin and user password stephenh 2 18,857 10-26-2016 10:37 AM
Last Post: oooinzn
  Empty user agent string on T46G stefan@nunetworx.com 6 17,722 08-12-2013 03:48 PM
Last Post: chopsywa

Forum Jump:


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

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