Cisco Unified Application Environment Developer Forums

« Back to Developers

Send Execute Error

Combination View Flat View Tree View
Threads [ Previous | Next ]
I am getting the following errors to some phones when trying to send an URL to the phone via a Send Execute.  About have the phones work, the other fail.
 
14:55:35.281 E TRAP_Send_Message-1584 Phone declined SendExecute request.
HTTP request sent from Application Server: POST /CGI/Execute HTTP/1.1
Authorization: Basic Y3VhZV9jdGk6UnVieVNsaXBwZXJz
Host: 172.19.205.180
User-Agent: Metreos-Samoa/1.0
Keep-Alive: 300
Connection: keep-alive
Content-Length: 209
Content-Type: application/x-www-form-urlencoded

XML=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3CCiscoIPPhoneExecute%3E%0D%0A%20%20%3CExecuteItem%20Priority%3D%220%22%20URL%3D%22Init:Services%22%20%2F%3E%0D%0A%3C%2FCiscoIPPhoneExecute%3E


HTTP response from phone:
HTTP/1.1 401 Unauthorized
Server: Metreos-Samoa/1.0
Server: Allegro-Software-RomPager/4.34
Connection: close
Content-Type: text/html
WWW-Authenticate: Basic realm="020

<html>
<head>
<title>Protected Object</title>
</head>
<body>
<h1>Protected Object</h1>
This object on the RomPager server is protected.<p>
Return to <A HREF="">last page</A><p>

</body>
</html>
 
 
Any help would be greatly appreaciated.
 
Thanks
Tim

Hi Tim,
 
Can u please re-check the UserName and password given and also the PhoneIP parameter. If not solved then also. Then, go to your CUCM and assign that particular device to the UserName specified.
 
 
Regards
 
 

 
I am getting the following errors to some phones when trying to send an URL to the phone via a Send Execute.  About have the phones work, the other fail.
 
14:55:35.281 E TRAP_Send_Message-1584 Phone declined SendExecute request.
HTTP request sent from Application Server: POST /CGI/Execute HTTP/1.1
Authorization: Basic Y3VhZV9jdGk6UnVieVNsaXBwZXJz
Host: 172.19.205.180
User-Agent: Metreos-Samoa/1.0
Keep-Alive: 300
Connection: keep-alive
Content-Length: 209
Content-Type: application/x-www-form-urlencoded

XML=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3CCiscoIPPhoneExecute%3E%0D%0A%20%20%3CExecuteItem%20Priority%3D%220%22%20URL%3D%22Init:Services%22%20%2F%3E%0D%0A%3C%2FCiscoIPPhoneExecute%3E


HTTP response from phone:
HTTP/1.1 401 Unauthorized
Server: Metreos-Samoa/1.0
Server: Allegro-Software-RomPager/4.34
Connection: close
Content-Type: text/html
WWW-Authenticate: Basic realm="020

<html>
<head>
<title>Protected Object</title>
</head>
<body>
<h1>Protected Object</h1>
This object on the RomPager server is protected.<p>
Return to <A HREF="">last page</A><p>

</body>
</html>
 
 
Any help would be greatly appreaciated.
 
Thanks
Tim
 

I have checked everything, its not all the phones, just some of them.  All phones have been associated with the user, but the errors still occur.  Anything else that I can check?
Thanks
Tim
 
Hi Tim,
 
Can u please re-check the UserName and password given and also the PhoneIP parameter. If not solved then also. Then, go to your CUCM and assign that particular device to the UserName specified.
 
 
Regards
 



 
I am getting the following errors to some phones when trying to send an URL to the phone via a Send Execute.  About have the phones work, the other fail.
 
14:55:35.281 E TRAP_Send_Message-1584 Phone declined SendExecute request.
HTTP request sent from Application Server: POST /CGI/Execute HTTP/1.1
Authorization: Basic Y3VhZV9jdGk6UnVieVNsaXBwZXJz
Host: 172.19.205.180
User-Agent: Metreos-Samoa/1.0
Keep-Alive: 300
Connection: keep-alive
Content-Length: 209
Content-Type: application/x-www-form-urlencoded

XML=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3CCiscoIPPhoneExecute%3E%0D%0A%20%20%3CExecuteItem%20Priority%3D%220%22%20URL%3D%22Init:Services%22%20%2F%3E%0D%0A%3C%2FCiscoIPPhoneExecute%3E


HTTP response from phone:
HTTP/1.1 401 Unauthorized
Server: Metreos-Samoa/1.0
Server: Allegro-Software-RomPager/4.34
Connection: close
Content-Type: text/html
WWW-Authenticate: Basic realm="020

<html>
<head>
<title>Protected Object</title>
</head>
<body>
<h1>Protected Object</h1>
This object on the RomPager server is protected.<p>
Return to <A HREF="">last page</A><p>

</body>
</html>
 
 
Any help would be greatly appreaciated.
 
Thanks
Tim
 



Can you provide the phone model numbers and firmware versions, as well as a network packet capture (Wireshark) from the phones' extra PC switch port?

I went out today and ran a wireshark capture on the phone and the CUAE server.  While i don't see anything really on the phone side, there are some results from the CUAE server. The IP address of the phone is 172.19.52.79.
The models are mixed, 7970s being the majority of the phone, with about half working, and half failing.  All devices are assocaited with the application user in cucm.
Fimeware is SCCP70.8-5-2S
Thanks
Tim
Attachments:

I went out today and ran a wireshark capture on the phone and the CUAE server.  While i don't see anything really on the phone side, there are some results from the CUAE server. The IP address of the phone is 172.19.52.79.
The models are mixed, 7970s being the majority of the phone, with about half working, and half failing.  All devices are assocaited with the application user in cucm.
Fimeware is SCCP70.8-5-2S
Thanks
Tim

 
Tim,
 
What version of CUAE are you running?
 
There's no custom auth URL configured on these phones by any chance, is there?
 
Craig

We are running CUAE 2.5 SR2, I am checking to see if they are custom auth URLs configured for the phones.
 
Thanks
Tim

Tim,
 
What version of CUAE are you running?
 
There's no custom auth URL configured on these phones by any chance, is there?
 
Craig

Hi Tim,
 
We faced similar issue with our Voice Pager application and found that if "Web Access" option is not checked in phone configuration (CCM Admin) "SendExecute" gets failed.
I can see similar log in your case also.
Can you please check either "web Access" option for those phones checked or not for which SendExecute getting failed?
 
Regards,
Umesh

I checked, the phones have either Web Access "Enabled" or Web Access "Full".  It doesn't seem that they are using different settings for authentication either.  Any help would greatly appreciated, as the client is getting somewhat heated as to why we can't figure this out.
 
thanks
Tim
 
Hi Tim,
 
We faced similar issue with our Voice Pager application and found that if "Web Access" option is not checked in phone configuration (CCM Admin) "SendExecute" gets failed.
I can see similar log in your case also.
Can you please check either "web Access" option for those phones checked or not for which SendExecute getting failed?
 
Regards,
Umesh

It doesn't look like either of the pcap's provided captured anything useful.  There is no relevant HTTP traffic I can find in the phone pcap, and the only thing present in the CUAE pcap is a TCP handshake (but no further messaging) from something to the phone (172.19.52.79.)
 
If we can get the pcap from phone startup through a test run, we can verify the phone's authentication configuration (seen in the config file the phone downloads during bootup via TFTP) and see exactly why authentication is failing from the phone side.

Hi,
 
Can u share ur sample code. So that i can check in our lab.
 
Regards
 
ABHISHEK SAXENA