[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
URL for returning the current phone state?
Author Message
johnbeaumont Offline
Junior Member
**

Posts: 4
Joined: Sep 2020
Reputation: 0
Post: #1
URL for returning the current phone state?
Hi,

We've had a request from a customer wondering if there is a URL on the Yealink IP phones that returns the phone's current state. e.g. In a call, ringing, on DND etc. Something that I can send a GET request to and get this information.

I can't find anything in the Yealink documentation to suggest this. Is there anything?
10-01-2020 04:32 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Albert_Yealink Offline
Junior Member
**

Posts: 10
Joined: Aug 2020
Reputation: 0
Post: #2
RE: URL for returning the current phone state?
(10-01-2020 04:32 PM)johnbeaumont Wrote:  Hi,

We've had a request from a customer wondering if there is a URL on the Yealink IP phones that returns the phone's current state. e.g. In a call, ringing, on DND etc. Something that I can send a GET request to and get this information.

I can't find anything in the Yealink documentation to suggest this. Is there anything?

Dear Customer,

This is Albert from Yealink Technical Support Team. Nice to work with you.

Action URL can meet your need. Please refer to P462-475 of the guide.
The guide please refer to
https://drive.google.com/file/d/16yufAtF...sp=sharing

Best Regards,
Albert
10-10-2020 10:55 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
troy44 Offline
Junior Member
**

Posts: 22
Joined: Jun 2022
Reputation: 0
Post: #3
RE: URL for returning the current phone state?
Please don't send me a link to the manual, I have the manual,
Can you please provide a working / real world example of a URL string that will return the current status of the phone extension? If it is ringing, in use, idle or muted...
these kind of things....
you folks always point to the manual....
and there is not always an easy to read example of what we are looking for..
Can you please provide a URL example of how to get the extension
STATUS

please, thank you
Troy
(This post was last modified: 06-15-2022 03:48 AM by troy44.)
06-15-2022 03:32 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yisroel_MongoTEL Offline
Senior Member
****

Posts: 281
Joined: Jul 2017
Reputation: 13
Post: #4
RE: URL for returning the current phone state?
(06-15-2022 03:32 AM)troy44 Wrote:  Please don't send me a link to the manual, I have the manual,
Can you please provide a working / real world example of a URL string that will return the current status of the phone extension? If it is ringing, in use, idle or muted...
these kind of things....
you folks always point to the manual....
and there is not always an easy to read example of what we are looking for..
Can you please provide a URL example of how to get the extension
STATUS

please, thank you
Troy

The Yealink guy mentioned Action URL, that is not Action URI you are thinking/asking about.

Action URL is a setting in the phone that will access/trigger/post to a specific URL when the phone does a specific action.

But I do not believe there is an Action URI to get the current status (there are Actions URIs to check the settings, but not actual status.)
06-15-2022 04:46 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
troy44 Offline
Junior Member
**

Posts: 22
Joined: Jun 2022
Reputation: 0
Post: #5
RE: URL for returning the current phone state?
wow, ok man,
I really thank you for your help.
It's really a drag that you can't query the extension to get the status.
Again, thanx

Can I hire you to do an hour of consulting? screenshare or other?
Teach me how to have the phone 'write' something somewhere when the line is ringing so I can check it and take and action to answer?
I'm right around the corner of being able to do this, I just don't know how to make it 'write' or send a message somewhere where I can check it...
I do see the values that are able to be entered into the phone GUI, but I don't know how they work....
any interest?
Troy
06-15-2022 04:54 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Yisroel_MongoTEL Offline
Senior Member
****

Posts: 281
Joined: Jul 2017
Reputation: 13
Post: #6
RE: URL for returning the current phone state?
(06-15-2022 04:54 AM)troy44 Wrote:  Can I hire you to do an hour of consulting? screenshare or other?
Teach me how to have the phone 'write' something somewhere when the line is ringing so I can check it and take and action to answer?
I'm right around the corner of being able to do this, I just don't know how to make it 'write' or send a message somewhere where I can check it...
I do see the values that are able to be entered into the phone GUI, but I don't know how they work....
any interest?
Troy

Ha ha, not a dev or anything... So no.

It's pretty simple in a way... but you need a place (=server/system) setup to accept the messages that phones sends.

If you want a quick test (to see how it works) you can use this webhook test site https://webhook.site/, take the "Your unique URL" from the page and paste it into one of the status field on the Feature>Action URL settings page (like Off Hook), take the phone Off Hook, and you'll see there's an incoming informational message on that https://webhook.site/ page.
06-15-2022 05:02 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
troy44 Offline
Junior Member
**

Posts: 22
Joined: Jun 2022
Reputation: 0
Post: #7
RE: URL for returning the current phone state?
thanx bro, so I just made big headway, I can set a variable on my local cpu as to weather the phone is busy or on hook/off hook, etc etc...
LOL so now here we go for another week of developing this deal...
all good...
thanx for your help...
06-15-2022 05:21 AM
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
  Yealink VOIP phone losing connection every few minutes robertpowell 1 93 03-27-2024 04:34 PM
Last Post: SRIIVF
  Yealink phone with hearing aids Jamie22RR 1 496 03-18-2024 01:49 AM
Last Post: complex1
  Yealink IP phone lesliefrench 0 434 01-25-2024 12:37 PM
Last Post: lesliefrench
  Remote Phonebook - Numbers Display Format On Phone Medryn 19 67,852 11-24-2023 02:28 AM
Last Post: shulem@theteklink.com
  IP Phone Login Error "ERR_INVALID_HTTP_RESPONSE" nolto 2 1,836 10-06-2023 04:34 PM
Last Post: nolto
  Multicast Stops Working until Phone Rebooted Blake1 10 11,165 09-21-2023 05:47 PM
Last Post: axiompm
  Is there a way to get the incoming caller phone number with an Action URI? troy44 1 1,187 09-04-2023 01:46 PM
Last Post: Regend_Yealink
  On MP50s responding to some phone trees ends the call TRK45 1 1,453 05-18-2023 04:46 PM
Last Post: complex1
  Import xml contacts to Yealink Phone upon provisioning via TFTP vusald 1 2,378 02-18-2023 06:30 PM
Last Post: complex1
  W60B - URL for Remote Phone Book Bosstoad 2 2,940 01-06-2023 02:58 AM
Last Post: Bosstoad

Forum Jump:


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

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