cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4186
Views
0
Helpful
5
Replies

PHP or CGI

hotrot_net
Level 1
Level 1

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

5 Replies 5

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/guide/cmeapi.html

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.html

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_home.html

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_wsma.html#wp1096719

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.

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

I see. You may want to take a look at the UCC solution.

Unified Call Connector offers multiple ways to integrate with existing contact databases. More info on:

http://www.cisco.com/en/US/prod/collateral/voicesw/ps6789/ps7046/ps7274/ps7067/product_data_sheet0900aecd8053c8ad.html

Marcos Hernandez
Technical Marketing Engineer
Cisco Systems, Inc.

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: