[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.

Post Reply 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Create call with XML Object
Author Message
danield Offline
Junior Member

Posts: 6
Joined: Sep 2015
Reputation: 0
Post: #1
Create call with XML Object

i want to generate a call with a php script.
With my script, nothing happens.
Where did I made something wrong?

PHP Code:
$xml '<?xml version="1.0" encoding="ISO-8859-1"?>';
$xml.= '<YealinkIPPhoneExecute Beep="yes">';
$xml.= '<ExecuteItem URI="Dial:12345" />';
$xml.= '<ExecuteItem URI="Led:LINE1=on"/>';
$xml.= '<ExecuteItem URI="Led:LINE2=off"/>';
$xml.= '</YealinkIPPhoneExecute>';

$xml "xml=".$xml;
$post "POST / HTTP/1.1\r\n";
$post .= "Host:\r\n";
$post .= "Referer:\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 ''80$errno$errstr5);
        } is the ip-address of my phone and of my pc

I forget to save the server ip into the phone configuration.
Now it works.
(This post was last modified: 09-15-2015 09:42 PM by danield.)
09-15-2015 09:33 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
Post Reply 

Messages In This Thread
Create call with XML Object - danield - 09-15-2015 09:33 PM

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Yealink MP52 Call History mairagonzalez 0 735 03-06-2024 11:49 AM
Last Post: mairagonzalez
  About call history Andrei9385 3 6,574 01-10-2024 08:58 PM
Last Post: sles
  Disable Internal Call History Only justyncharbonneau 1 1,242 01-05-2024 12:53 AM
Last Post: complex1
  incoming call while active call , conference sles 2 1,565 12-08-2023 06:50 PM
Last Post: sles
  How to pick up colleagues call via Yealink MP56 jayden23 0 1,079 11-29-2023 09:14 AM
Last Post: jayden23
Exclamation Can't Create Support Ticket nthoman@bmic.com 0 889 10-26-2023 04:16 AM
Last Post: nthoman@bmic.com
  T53 Calling from call history jake 2 4,166 09-21-2023 02:37 AM
Last Post: andrew.manning
  View call logs for dropped calls computersense 0 1,297 08-15-2023 11:26 AM
Last Post: computersense
  Call history not showing the right information after an attended transfer wirelessmundi 5 13,771 08-15-2023 12:41 AM
Last Post: Yisroel_MongoTEL
  WH67 call forwarding issue in Teams iapbonn 0 1,443 06-19-2023 02:32 PM
Last Post: iapbonn

Forum Jump:

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

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