[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
[RESOLVED] Server initiated pushXML to port 443
Author Message
alisio Offline
Junior Member
**

Posts: 5
Joined: Nov 2012
Reputation: 0
Post: #1
[RESOLVED] Server initiated pushXML to port 443
Hi there!

I can successfully push xml to my yealink phones using port 80, but nothing happens when I try to sendit using port 443

I'm using a function much like this one taken from yealink's TextScreen.php, but changing port to 443 causes the phone to ignore it.

Code:
function push2phone($server,$phone,$data)
{
  $xml = "xml=".$data;
  $post = "POST / HTTP/1.1\r\n";
  $post .= "Host: $phone\r\n";
  $post .= "Referer: $server\r\n";
  $post .= "Connection: Keep-Alive\r\n";
  $post .= "Content-Type: text/xml\r\n";
  $post .= "Content-Length: ".strlen($xml)."\r\n\r\n";
  $fp = @fsockopen ( $phone, 80, $errno, $errstr, 5);
  if($fp)
  {
    fputs($fp, $post.$xml);
    flush();
    fclose($fp);
  }
}

Is is possible? Am I missing something?
(This post was last modified: 01-29-2016 12:04 AM by alisio.)
01-28-2016 04:02 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 


Messages In This Thread
[RESOLVED] Server initiated pushXML to port 443 - alisio - 01-28-2016 04:02 AM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Direct IP Call Outside LAN with specific port BumbleBears 2 660 05-28-2020 02:13 PM
Last Post: Lewis-H
  .cfg file needed for Zultys provisioning server jerryp 0 395 01-30-2020 09:26 PM
Last Post: jerryp
  Set PC port link to 1Gb from provisioning file avayax 1 836 09-10-2019 03:30 PM
Last Post: complex1
  LDAP server is unavailable Andrei9385 1 1,401 07-12-2019 08:34 AM
Last Post: Kevin_Yealink
  Slow speed on the PC port Sur 4 2,963 04-12-2019 09:28 AM
Last Post: Johnny88
  Daisy chain off of PC port on T23G avayax 2 1,700 01-28-2019 03:37 PM
Last Post: jolouis
  How to specify an IP range in the "PushXML allowed server" field? nSolvePaul 2 1,590 11-02-2018 09:59 AM
Last Post: nSolvePaul
  Syslog capturing port status changes? avayax 0 1,346 02-15-2018 12:34 AM
Last Post: avayax
  Multicast to PC through PC port agle 1 2,641 09-30-2017 07:45 AM
Last Post: Samuel_Yealink
  Multicast to PC through PC port Dennis_1 1 2,536 09-27-2017 01:59 AM
Last Post: Samuel_Yealink

Forum Jump:


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

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