[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
  T53 Calling from call history jake 2 2,510 09-21-2023 02:37 AM
Last Post: andrew.manning
  View call logs for dropped calls computersense 0 283 08-15-2023 11:26 AM
Last Post: computersense
  Call history not showing the right information after an attended transfer wirelessmundi 5 10,997 08-15-2023 12:41 AM
Last Post: Yisroel_MongoTEL
  WH67 call forwarding issue in Teams iapbonn 0 598 06-19-2023 02:32 PM
Last Post: iapbonn
  On MP50s responding to some phone trees ends the call TRK45 1 781 05-18-2023 04:46 PM
Last Post: complex1
  T33G Divert incoming call to voicemail Integra Business Solutions_Support 1 1,052 05-02-2023 12:04 AM
Last Post: Yisroel_MongoTEL
  Create contacts programaticaly with photo Decimal 0 516 03-25-2023 08:26 PM
Last Post: Decimal
  Initiating a call on pc using the device for the conversation wilcotroost 1 1,371 01-17-2023 07:19 PM
Last Post: nolto
  MP56 Locking While on a Teams Call jvelasquez 0 832 11-15-2022 01:18 AM
Last Post: jvelasquez
  How to call with Yealink MP54 Teams edition Danielelawan 1 1,830 10-18-2022 04:24 PM
Last Post: Gunnyma

Forum Jump:

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

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