[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
Action URL entry is causing a "File Format Error"
Author Message
lazlototh Offline
Junior Member
**

Posts: 4
Joined: Jan 2015
Reputation: 0
Post: #1
Action URL entry is causing a "File Format Error"
Model: T38G
Firmware Version: 38.70.1.33
Hardware Version: 21.2.3.160.0.0.0

When I enter the following Action URL's my phone returns a File Format Error.

Can you please tell me how I can correct this problem?

Code:
http://192.168.1.112:8080/offhook/yealink?device=$mac&local=$local&model=$model&firmware=$firmware
http://192.168.1.112:8080/onhook/yealink?device=$mac&local=$local
http://192.168.1.112:8080/incomingcall/yealink?device=$mac&local=$local&remote=$remote&displayremote=$display_remote
http://192.168.1.112:8080/outgoingcall/yealink?device=$mac&local=$local&remote=$remote&displayremote=$display_remote
http://192.168.1.112:8080/callestablished/yealink?&device=$mac&local=$local
http://192.168.1.112:8080/callterminated/yealink?device=$mac&local=$local
(This post was last modified: 01-12-2015 06:45 AM by lazlototh.)
01-12-2015 06:45 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CWR Offline
Moderator
*****

Posts: 717
Joined: May 2013
Reputation: 7
Post: #2
RE: Action URL entry is causing a "File Format Error"
I think seeing the file on your server at 192.168.1.112:8080 would be helpful to help diagnose.

Craig Reilly
MCSA, 3cx Advanced Certified
Scottsdale, AZ
01-13-2015 02:39 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
lazlototh Offline
Junior Member
**

Posts: 4
Joined: Jan 2015
Reputation: 0
Post: #3
RE: Action URL entry is causing a "File Format Error"
(01-13-2015 02:39 AM)craigreilly Wrote:  I think seeing the file on your server at 192.168.1.112:8080 would be helpful to help diagnose.

Okay, how would I go about showing that to you?
01-13-2015 05:25 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CWR Offline
Moderator
*****

Posts: 717
Joined: May 2013
Reputation: 7
Post: #4
RE: Action URL entry is causing a "File Format Error"
You enter IP of 192.168.1.112 and expect something to happen, correct?
What is running at 192.168.1.112 that will process the data you send (parameters) and send information back to you?

Craig Reilly
MCSA, 3cx Advanced Certified
Scottsdale, AZ
01-13-2015 06:18 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
lazlototh Offline
Junior Member
**

Posts: 4
Joined: Jan 2015
Reputation: 0
Post: #5
Photo RE: Action URL entry is causing a "File Format Error"
I am trying to use an app called "Phone Amego" to control my Yealink phone. Everything seems to be working with the exception of seeing a "File Format Error" warning that keeps popping up on my phone. The error message pops up on my phone whenever I lift the receiver off of the phone or whenever I execute a command from the software. If I quit the software and lift the receiver the errors stop.

I started this thread in the Phone Amego forum (http://goo.gl/ALXVtF) and the developer suggested that the solution to the problem that I am experiencing could be found here in this Yealink forum thread (http://goo.gl/NvIfdn).

Unfortunately the thread that he directed me to is about a clear as mud. The examples that are given in the thread do not seem applicable to the code examples that I posted above.

NOTE: The code that I am entering into the Action URL's on my phone is being generated by the Phone Amego application. I am simply copying an pasting the URL's into my phone.

I am guessing that the format of the URL's are outdated due to a change in the phone's firmware.

[Image: 16269980132_28274442b1_o.png]
(This post was last modified: 01-13-2015 07:38 PM by lazlototh.)
01-13-2015 07:34 PM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CWR Offline
Moderator
*****

Posts: 717
Joined: May 2013
Reputation: 7
Post: #6
RE: Action URL entry is causing a "File Format Error"
These commands - Action URL - are from the Phone to the Amego app. This is simply the phone telling the software it is doing something. The error seems to be thrown when you try to do something in the software to control the phone. Those are known as Action URI's.

The command to dial the phone from a web browser or other software would be similar to this:
http://username:password@phoneip/cgi-bin/cgiServer.exx?number=$toNumber

(This command may have changed. I do not use these commands anymore)

Craig Reilly
MCSA, 3cx Advanced Certified
Scottsdale, AZ
(This post was last modified: 01-14-2015 12:11 AM by CWR.)
01-14-2015 12:00 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
lazlototh Offline
Junior Member
**

Posts: 4
Joined: Jan 2015
Reputation: 0
Post: #7
RE: Action URL entry is causing a "File Format Error"
(01-14-2015 12:00 AM)craigreilly Wrote:  These commands - Action URL - are from the Phone to the Amego app. This is simply the phone telling the software it is doing something. The error seems to be thrown when you try to do something in the software to control the phone. Those are known as Action URI's.

The command to dial the phone from a web browser or other software would be similar to this:
http://username:password@phoneip/cgi-bin/cgiServer.exx?number=$toNumber

(This command may have changed. I do not use these commands anymore)

There is something about how those URL commands are formatted that the phone does not like. I am guessing that it's due to a firmware update and the format has changed. Like I said, the commands are working with the "Phone Amego" software, and if I never looked at the LCD display on the phone I probably would not know that there was a problem.
01-14-2015 12:26 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
CWR Offline
Moderator
*****

Posts: 717
Joined: May 2013
Reputation: 7
Post: #8
RE: Action URL entry is causing a "File Format Error"
Those URLs you showed me are not making a call... they send a command to the software from the phone.

Craig Reilly
MCSA, 3cx Advanced Certified
Scottsdale, AZ
01-14-2015 05:58 AM
Find all posts by this user    like0    dislike0 Quote this message in a reply
psichel Offline
Junior Member
**

Posts: 11
Joined: Apr 2013
Reputation: 0
Post: #9
RE: Action URL entry is causing a "File Format Error"
We did ultimately find a fix for this. Instead of responding normally to the HTTP GET Action URI, I changed Phone Amego to just close the connection. No more "File format error!"

Enjoy!
01-25-2015 12:17 AM
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
  Remote PhoneBook format for T38G aralmeida 1 8,359 10-02-2019 05:06 PM
Last Post: Chris708
  POE failure causing phone to reboot jasit 1 10,990 11-09-2017 07:32 AM
Last Post: Aishion_Yealink
  OpenVPN Error with PfSense Peleska 12 69,367 08-24-2016 08:25 AM
Last Post: bk6662
  T38G File Format Error w03zd8rc 3 15,247 03-25-2016 09:52 PM
Last Post: w03zd8rc
  inter digit timeout in provision file kg4ysy 2 12,809 02-19-2015 11:53 PM
Last Post: kg4ysy
  T38G - I want to set forwarding using an XML file awander 1 8,465 01-19-2015 05:34 AM
Last Post: awander
  Action URI to hangup call on T3x V70 W3TEL_Support 8 31,418 10-16-2014 08:22 PM
Last Post: Wilson_Yealink
  transfers error whith exp mod, and blfs in t38g whit firmware 38.70.0.125 rleon 2 13,258 04-18-2013 11:21 PM
Last Post: rleon

Forum Jump:


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

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