[attachment=578]
I am working on a PHP application for Click to Dial.
Phone Info:
Phone Type T28
Firmware Version 2.71.0.140
Hardware Version 1.0.0.39
When I send the following info to my T28 phone, it will dial OK.
But the "Outgoing call" Action URL does not fire at all.
<YealinkIPPhoneExecute Beep=no>
<ExecuteItem URI=18005551212>
</YealinkIPPhoneExecute>
If I manually dial the same telephone number on the T28 phone, the Action URL "Outgoing call" fires OK.
Is this a bug?
If so, can it be fixed in the future?
(02-23-2014 12:03 AM)Billx Wrote: [ -> ]I am working on a PHP application for Click to Dial.
Phone Info:
Phone Type T28
Firmware Version 2.71.0.140
Hardware Version 1.0.0.39
When I send the following info to my T28 phone, it will dial OK.
But the "Outgoing call" Action URL does not fire at all.
<YealinkIPPhoneExecute Beep=no>
<ExecuteItem URI=18005551212>
</YealinkIPPhoneExecute>
If I manually dial the same telephone number on the T28 phone, the Action URL "Outgoing call" fires OK.
Is this a bug?
If so, can it be fixed in the future?
I think you are forgetting some quotes and dial command.
<YealinkIPPhoneExecute Beep="no">
<ExecuteItem URI="Dial:18005551212">
</YealinkIPPhoneExecute>
Thank you for your response.
You are correct about the quotes.
I actually made the "cleaned up "example I used in my post from my real PHP script and forgot to put the quotes in.
Here is a portion of PHP to Push to the phone:
$xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
$xml .= "<YealinkIPPhoneExecute Beep=\"no\">\n";
$xml .= "<ExecuteItem URI=\"$DIAL\"/>\n";
$xml .= "</YealinkIPPhoneExecute>\n";
Where $DIAL is the actual telephone number.
That works fine and I can Click to Dial OK.
I am trying to use the Action URL "Outgoing call" send the actual telephone number from $DIAL to another PHP script and then to my GUI, but the T28 never sends it.
I can simulate the Action URL by placing the same info that I would expect from the Action URL into a web browser and then sending it to my PHP script.
Then my GUI works just fine.
I am using a different method now to get it to work as desired, but I would like to get it working woith the Action URL instead.