[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
XML push client/phone intiated?
Author Message
KNERD Offline
Junior Member
**

Posts: 39
Joined: Mar 2014
Reputation: 0
Post: #1
XML push client/phone intiated?
Looking at the example "TextScreen.php," it has the following code:


Code:
push2phone("10.1.3.8","10.1.3.180",$xml);
#replace 10.1.3.8 with your Apache ip address
#replace 10.1.3.180 with your phone ip address

This suggests you need the IP address of the phones to push.
What if the phones are on the WAN side, and not the LAN?
There is no means to push to an IP address on a WAN side.

Can we get the phones to initiate the PUSH, to have it check sever for updates, etc?

Thank you.
11-21-2016 04:10 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jolouis Offline
Moderator
*****

Posts: 339
Joined: Oct 2013
Reputation: 6
Post: #2
RE: XML push client/phone intiated?
Sounds like you're getting the idea of PUSH confused...

By definition, PUSH is when the server sends something to the phone. If the phone was to ask for something, that would be a PULL.

So the question is, what information or settings are you trying to get to the phone, or what do you want it do actually do? Knowing that will determine which approach you use.

For example, if you want the phone to update it's configuration from time to time, you can use Scheduled Auto Provisioning. This will tell the phone to periodically PULL the config from the server, and update itself with the new settings.

If you want the user to be able to view some random XML/information at their whim, then just setup a DSS button as XML browser. When the user presses the button, they cause the phone to PULL the XML from your server.

Finally, if you want the server to be in control, you may able to achieve that by using SIP Notify messages. I know you can do a Notify to tell the phone to Auto Provision (incase you want to do so immediately rather than on a schedule or at boot up). I think you might also be able to do generic XML pushes through notify (thought I saw that in one of the recent firmware manuals) but not 100% on that one, you would have to do some research...
11-22-2016 02:31 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Karl_Yealink Offline
Super Moderator
******

Posts: 673
Joined: Apr 2015
Reputation: 5
Post: #3
RE: XML push client/phone intiated?
XML PUSH is a feature which server Push something to phone, and the phone recognize the message and take effect.
As you attach, it's TextScreen.php, if server Push this to phone, the phone will popup a text on screen.

No matter the phone in which side, the point is that the server's network can connect to phone's network. So the phone can receive PUSH XML message.

And as floor 2 words, if your request is not as Push XML feature, please tell me detail request.
11-25-2016 10:14 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
KNERD Offline
Junior Member
**

Posts: 39
Joined: Mar 2014
Reputation: 0
Post: #4
RE: XML push client/phone intiated?
What I am trying to do is get the phone to display a message of my choosing, such as status updates on events.

Since I probably cannot reach a phone via PUSH on the WAN side, to let the phone there an updated message what other option is there?

Thank you for the replies.
11-28-2016 05:21 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Karl_Yealink Offline
Super Moderator
******

Posts: 673
Joined: Apr 2015
Reputation: 5
Post: #5
RE: XML push client/phone intiated?
(11-28-2016 05:21 PM)KNERD Wrote:  What I am trying to do is get the phone to display a message of my choosing, such as status updates on events.

Since I probably cannot reach a phone via PUSH on the WAN side, to let the phone there an updated message what other option is there?

Thank you for the replies.

web path->feature->remote control->Push XML Server IP Address.
Please check this option, do you fill the PUSH server IP address in this option.
11-29-2016 03:48 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
KNERD Offline
Junior Member
**

Posts: 39
Joined: Mar 2014
Reputation: 0
Post: #6
RE: XML push client/phone intiated?
(11-29-2016 03:48 PM)Karl Wrote:  
(11-28-2016 05:21 PM)KNERD Wrote:  What I am trying to do is get the phone to display a message of my choosing, such as status updates on events.

Since I probably cannot reach a phone via PUSH on the WAN side, to let the phone there an updated message what other option is there?

Thank you for the replies.

web path->feature->remote control->Push XML Server IP Address.
Please check this option, do you fill the PUSH server IP address in this option.


Will it matter if the server does not have the IP addresses of the phones?
11-30-2016 09:17 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
KNERD Offline
Junior Member
**

Posts: 39
Joined: Mar 2014
Reputation: 0
Post: #7
RE: XML push client/phone intiated?
I am sorry, but looking at the "TextScreen.php" there is no means to push a message to the phone if you do not have the the IP address.
Is there something else which can be done?
12-03-2016 09:51 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jolouis Offline
Moderator
*****

Posts: 339
Joined: Oct 2013
Reputation: 6
Post: #8
RE: XML push client/phone intiated?
Aha I knew I'd seen it somewhere! Was looking for some info on something else and came across the answer to your question!

Check this one out:
http://forum.yealink.com/forum/showthread.php?tid=3662

If you follow the link to the guide provided by the Yealink response, as promised you'll see on page 99+ on the PDF a full description (with example) of how to do PUSHXML using SIP Notify. That means you can send your XML through SIP, without requiring the IP and direct access to the phone itself. That will solve your problem!
12-05-2016 07:53 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
KNERD Offline
Junior Member
**

Posts: 39
Joined: Mar 2014
Reputation: 0
Post: #9
RE: XML push client/phone intiated?
(12-05-2016 07:53 PM)jolouis Wrote:  Aha I knew I'd seen it somewhere! Was looking for some info on something else and came across the answer to your question!

Check this one out:
http://forum.yealink.com/forum/showthread.php?tid=3662

If you follow the link to the guide provided by the Yealink response, as promised you'll see on page 99+ on the PDF a full description (with example) of how to do PUSHXML using SIP Notify. That means you can send your XML through SIP, without requiring the IP and direct access to the phone itself. That will solve your problem!

Thanks for the response.

While I see executing the XML does not require the IP address of the phone, however sending a SIP notify does. and also requires knowing what extensions they are. A double whammy.

I thought I saw somewhere one could display a message during provisioning, which means I could set them up to check every hour, or check to see if there is a message to display. The docs on provisioning seem to be quite extensive, but I have yet to see anything with the ability to make a message appear on the screen.

Thanks again!
12-06-2016 05:36 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
jolouis Offline
Moderator
*****

Posts: 339
Joined: Oct 2013
Reputation: 6
Post: #10
RE: XML push client/phone intiated?
(12-06-2016 05:36 AM)KNERD Wrote:  While I see executing the XML does not require the IP address of the phone, however sending a SIP notify does. and also requires knowing what extensions they are. A double whammy.

Huh? Okay now I'm confused. The phones you are trying to send messages to... they are registered to your PBX correct? If they are registered to the PBX you can send them a SIP notify from the PBX, no further details needed. The SIP will flow through the WAN firewalls/etc to the phone in the same way a phone call would...

On the other hand, if you don't know the extension numbers and have no access to the PBX... why on earth are you trying to send messages to the phones?? Maybe if you explain your actual goal a little better we can help more.

I have never run into a way of sending a message/alert/etc during provisioning (honestly I have no idea why you would want to do that since Yealink tries to make provisioning as seamless/behind the scenes as possible), but I suppose it could be another one of those "undocumented features"...
12-06-2016 01:44 PM
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
  Can MP56 Teams phone be converted to a standard SIP phone? jliu@grandriver.ca 0 199 11-10-2022 01:25 AM
Last Post: jliu@grandriver.ca
  Multicast Stops Working until Phone Rebooted Blake1 9 3,302 10-15-2022 12:04 AM
Last Post: jedhcrs
  MP56 phone stuck in Company Portal - Connecting loop jhurst@lansolutions.net 0 591 09-08-2022 06:59 AM
Last Post: jhurst@lansolutions.net
  xml push beep when on call jimk4484 0 519 07-08-2022 03:39 AM
Last Post: jimk4484
  URL for returning the current phone state? johnbeaumont 6 5,291 06-15-2022 05:21 AM
Last Post: troy44
  Visitor preview before picking up the phone T58 dermosko 0 2,044 10-01-2021 11:41 AM
Last Post: dermosko
  Questions about the new MP58 phone jaseinatl 4 6,027 09-03-2021 01:09 AM
Last Post: ystrooba
Question why phone send gateway ip detect packet pig_tails 1 3,605 06-04-2021 08:38 PM
Last Post: KaithlynMoore
Question Show "called line" on phone? Voodoopupp 2 4,267 02-25-2021 04:17 PM
Last Post: Voodoopupp
  Phone Book not showing name Dominik333 2 5,426 09-01-2020 10:53 AM
Last Post: Dominik333

Forum Jump:


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

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