PHP or CGI

Unanswered Question
Mar 15th, 2009

Does anyone know if there's a way to run CGI or PHP scripting on a UC500.

I have made some nice tools for the UC500 but have to run them on a different device. I want them to run on the UC500. Is there a way to run it as a webserver?

And something like a SQL server?

Greetings

Andy Gribnau

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Marcos Hernandez Sun, 03/15/2009 - 09:31

Hi Andy,

The IOS HTTP/HTTPS server supports HTML, TXT and XML (in the case of CME, accessible through IXI or the IOS XML Infrastructure):

http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/admin/configuration/...

We have successfully run a flash movie and some Java scripting on browsers too, but the IOS Web server was simply storing the scripts, obviously.

Additionally, the IOS Call Control API (CCAPI) can interface with TCL and VXML scripts, to implement IVR, accounting and other voice related services. TCL scripts running in IOS can also post data to or retrieve data from a Web server, through an HTTP client for TCL IVR. On top of that, IOS offers a TCL shell, to run generic TCL scripts too:

http://www.cisco.com/en/US/docs/ios/voice/ivr/configuration/guide/tcl_c....

Then of course, we have all those IP protocols that can interact with various applications (SNMP, SSH, Telnet, FTP, etc.).

Last, the Embedded Event Manager (EEM) can be used as a scripting mechanism to make IOS execute arbitrary commands upon detecting a particular event:

http://www.cisco.com/en/US/products/ps6815/products_ios_protocol_group_h...

More recently, a Web Service Management Agent was introduced in IOS (version 12.4(24)T and above). This service allows you to access the entire IOS CLI via HTTP/HTTPS/SSH and have the responses presented in XML format (carried over SOAP). More info on:

http://www.cisco.com/en/US/docs/ios/netmgmt/configuration/guide/nm_cfg_w...

But IOS doesn't support CGI, PHP or ASP.

CUE on the other hand, being a Linux platform, supports more scripting, primarily used for auto attendant and voicemail functions. You can create your own AA scripts using the CUE editor. The new "Applications" tab on CCA, controls some applications (current and future) that interface with some Web services running off CUE, like Tomcat, HTTP/HTTPS, etc. but these are NOT open. Due to performance constrains, CUE cannot be used as a generic apps server.

Out of curiosity, what applications have you developed? What do they do?

Thanks,

Marcos Hernandez
Technical Marketing Engineer
Cisco Systems, Inc.

hotrot_net Mon, 03/16/2009 - 00:01

Dear Marcos,

Thankx for the reply. I think all that won't help I need to run scripting.. I might try it with an other option.

What i've build is a simpel webpage were UC500 users can see who's on te phone, a SQL based phone book.
Why you may ask, because the phone book that comes with the UC500 simply isn't enough for clients of mine who're use it.

Some of these applications are build on what other people have made in the pasted en not fine tuned it. Some are build from scrach.

Greetings

Andy Gribnau

hotrot_net Mon, 03/16/2009 - 23:58

Dear Marcos,

I've already got that.. It's not enough..

But good  you call that... Yesterday I impletet 1.5.03 I believe UCC for windows (the last versoin of UCC). That gave a problem with choosing the Dutch language. The bar in outlook was Dutch but the popup tool it self was Zwedisch.!!!! Uninstalled en reinstalled it but no suc..! A full delete of the dir didn't help.

The client for howm I installed it was very dissapoined. Maybe you have an answer that fits on that.?

Greetings

Andy Gribnau

Marcos Hernandez Wed, 03/18/2009 - 05:32

Andy,

We can certainly help you figure this one out. May I kindly ask you to open another discussion to keep the issues separate?

Thanks,

Marcos

Actions

This Discussion