New Forum system requires email address which you used to apply for your account to replace your original username. Password stays the same.Please see this post for more details
http://forum.yealink.com/forum/showthread.php?tid=40344

Yealink Test Club has been officially launched. Please visit post below to get detail information. Come and join us!
http://forum.yealink.com/forum/announcements.php?aid=18

We just had the YMCS online and we are also working on the features plan on the future versions, in this regard we are need to hear your voice about the YMCS.
Please visit : http://forum.yealink.com/forum/showthread.php?tid=42322


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yealink T46s Park button
Author Message
jolouis Offline
Moderator
*****

Posts: 305
Joined: Oct 2013
Reputation: 5
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
  Firmware x.84.0.80 and Yealink RPS jstl 0 14 10-17-2019 06:03 PM
Last Post: jstl
  Yealink Phone to Send Private IP Address on Register Ari 2 179 09-22-2019 11:00 PM
Last Post: Ari
  Upload online Voicemail - Yealink T21PE2 andreirp 0 127 09-09-2019 01:31 PM
Last Post: andreirp
  Yealink T41S Call log JoseVM 1 167 09-08-2019 10:34 PM
Last Post: Babylonia
  Yealink T22p Quality Issue Bessie64 1 276 07-24-2019 07:50 AM
Last Post: complex1
  BLF re-park joegilmr 9 736 07-11-2019 12:58 PM
Last Post: jolouis
  Lost Password for Webinterface for the Yealink T58A DeKay 1 516 05-27-2019 06:21 PM
Last Post: complex1
  Yealink VCD Internet Video Call Settings Nezar 0 287 05-09-2019 12:34 PM
Last Post: Nezar
Question Hide Call History on Yealink IP Phones wizardwebsolutions 5 1,570 04-04-2019 09:58 AM
Last Post: Marie7
  Yealink T48S and Cisco Unified Communications Manager (CUCM) aka:Call Manager AAP1811 1 1,116 02-13-2019 07:46 PM
Last Post: jolouis

Forum Jump:


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

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