[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
Yealink T46s Park button
Author Message
jolouis Offline
Moderator
*****

Posts: 339
Joined: Oct 2013
Reputation: 6
Post: #8
RE: Yealink T46s Park button
(01-28-2019 09:40 PM)mhessels Wrote:  This sounds awesome. Is there somewhere to access an example of this script? I have quite a bit of programming knowledge but I've never tried to put a script together for Yealink phones.

I will check with my manager and see if we can release the code without too much hassle (we developed it internally so there may be licensing issues). That said if you're a coder it's not exactly rocket science. Key things:
1) XML developers guide from Yealink is available here In there, look for the example definition of YealinkIPPhoneDirectory.
2) As I said before all you need to do is run "asterisk -rx parkedcalls show" from your script on the server. Asterisk will spit out a table that shows you the parking lot number along with the channel. The format varies a little depending on what version of Asterisk you're running but the information is the same.
3) Once you get that output, parse/filter through it. Each entry will have a channel identifier. (Something like "SIP/xxx-00003424" etc). For each of those, you can call "asterisk -rx core show channel SIP/xxx-0003424" or whatever the identifier is, and all the info you could ever want should get thrown back. Once again, parse it up, then use both pieces of information to populate your YealinkIPPhoneDirectory.
01-30-2019 09:53 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
Yealink T46s Park button - mhessels - 01-24-2019, 06:07 PM
RE: Yealink T46s Park button - mhessels - 01-25-2019, 12:48 AM
RE: Yealink T46s Park button - jolouis - 01-28-2019, 03:50 PM
RE: Yealink T46s Park button - mhessels - 01-28-2019, 09:40 PM
RE: Yealink T46s Park button - jolouis - 01-30-2019 09:53 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Yealink WH67 Control Buttons Not Working with Yeastar Linkus PC. nolto 2 200 09-19-2022 12:58 AM
Last Post: nolto
Sad Disabling TLS 1.1 & 1.3 on Yealink SIP-T31P Lilpombo 2 402 08-25-2022 11:09 PM
Last Post: complex1
  Yealink Compatibility Kestrel4765 1 328 08-22-2022 03:55 AM
Last Post: complex1
  Yealink Academy is launched NOW! Leah_Yealink 2 4,638 08-11-2022 05:52 PM
Last Post: complex1
  Yealink loses network during a call jardelp90 2 719 08-05-2022 09:26 PM
Last Post: Chris708
  yealink Phonebook Tool Oliaargau 8 29,198 06-28-2022 02:00 AM
Last Post: Beachnuttz
  MP50 - Teams Button not working SP3C5 3 3,736 05-10-2022 07:17 PM
Last Post: SP3C5
  Enable/Disable Multicast from programable button bshaske 1 2,067 01-19-2022 05:28 PM
Last Post: krunkerio
  Yealink MP54 stratos 1 2,247 01-03-2022 05:23 PM
Last Post: markvdheijden
  Yealink Phones and CVE-2021-44228 DaveNL 0 1,664 12-15-2021 02:41 PM
Last Post: DaveNL

Forum Jump:


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

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