1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Session Number Presentation_ID Unity Connection Provisioning API Matt Penning Unity.

Slides:



Advertisements
Similar presentations
Company Confidential 1 © 2005 Nokia DBUpgradeTool_ ppt / / JMa A Database Upgrade Tool Nokia Networks Jukka Maaranen.
Advertisements

Chapter 10 Database Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
© 2006 Cisco Systems, Inc. All rights reserved.1 TOI Cisco Unity 8.0(3)
1 © 2006 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Using the Cisco Technical Support & Documentation Website for Voice Issues.
Advantage Data Dictionary. agenda Creating and Managing Data Dictionaries –Tables, Indexes, Fields, and Triggers –Defining Referential Integrity –Defining.
© 2006 Cisco Systems, Inc. All rights reserved. CUDN v1.1—4-1 Migrating from Voice Mail to Unified Messaging Migrating Voice Mail to Unified Messaging.
Computer Monitoring System for EE Faculty By Yaroslav Ross And Denis Zakrevsky Supervisor: Viktor Kulikov.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 13 Introduction to SQL Programming Techniques.
Fast Track to ColdFusion 9. Getting Started with ColdFusion Understanding Dynamic Web Pages ColdFusion Benchmark Introducing the ColdFusion Language Introducing.
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
Concepts of Database Management Sixth Edition
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 10: Server Administration.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Migrating to EPiServer CMS 5 Johan Björnfot -
Sharepoint Portal Server Basics. Introduction Sharepoint server belongs to Microsoft family of servers Integrated suite of server capabilities Hosted.
1 © 2001, Cisco Systems, Inc. All rights reserved. Voice Connector Features Voic Interoperability – 4.0(5) Voice Connector features Rahul Singh.
QC 9.2 Prepared By  Sriraman K. 2 Objectives Test Management Tool – What, Why, Benefits etc To make participants aware of Test Process and controlling.
Migration XenDesktop 7. © 2013 Citrix | Confidential – Do Not Distribute Migration prerequisites Set up a XenDesktop 7 Site, including the site database.
© 2013 Cisco System Inc. All rights reserved Cisco Confidential 1 © 2013 Cisco System Inc. All rights reserved. 1 Allow System Distribution Lists to be.
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Unity Connection 1.x Documentation What you need to know.
Database Design for DNN Developers Sebastian Leupold.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
1 Session Number Presentation_ID © 2001, Cisco Systems, Inc. All rights reserved. Using the Cisco TAC Website for IP Routing Issues Cisco TAC Web Seminar.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
I Copyright © 2004, Oracle. All rights reserved. Introduction.
1 PHP and MySQL. 2 Topics  Querying Data with PHP  User-Driven Querying  Writing Data with PHP and MySQL PHP and MySQL.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Software Engineering 2003 Jyrki Nummenmaa 1 CASE Tools CASE = Computer-Aided Software Engineering A set of tools to (optimally) assist in each.
1 © 2006 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Confidential Configuring Attendant Console.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Missed Call Notification Unity Connection 11.0
Section 1: Introducing Group Policy What Is Group Policy? Group Policy Scenarios New Group Policy Features Introduced with Windows Server 2008 and Windows.
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Overview Scale out architecture Servers, services, and topology in Central Administration.
1 © 2004, Cisco Systems, Inc. All rights reserved. CISCO CONFIDENTIAL Using Internet Explorer 7.0 to Access Cisco Unity 5.0(1) Web Interfaces Unity 5.0(1)
1 © 2002, Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Key differences between Cisco Unity Connection and Cisco Unity Manjit.
1 © 2001, Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Exchange 2010 TOI.
(Chapter 10 continued) Our examples feature MySQL as the database engine. It's open source and free. It's fully featured. And it's platform independent.
BA372 Stored Procedures and Triggers Lab. What needs to be done to change a customer’s credit limit? Who am I? May I? Do it Log it Display A database.
1 © 2001, Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID SQL 2005.
© 2013 Cisco System Inc. All rights reserved Cisco Confidential 1 © 2013 Cisco System Inc. All rights reserved. 1 System Backup And Restore Utility.
JDBC Java and Databases. RHS – SOC 2 JDBC JDBC – Java DataBase Connectivity An API (i.e. a set of classes and methods), for working with databases in.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Cisco Unity Connection 2.0 Phone View Troubleshooting Mike Maas, Unified.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Outline 31.1 Reviewing the Bookstore Application 31.2.
EGEE User Forum Data Management session Development of gLite Web Service Based Security Components for the ATLAS Metadata Interface Thomas Doherty GridPP.
1 © 2005 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Public Cisco Unity Connection Notification Jane Rygg Core Services.
Unity 5.0 TOI. © 2006 Cisco Systems, Inc. All rights reserved.2 Logging changes Licensing changes 144 port support Michael McCann
EbiTrack Architecture Version 1.0 September 24, 2012.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
Developing Web Services with the Eclipse Web Tools Platform David Gallardo.
Peter Peng. Agenda Introducing A simple example More complex examples (in part 2) Developing (in part 3)
1 G52IWS: Example Web-services Chris Greenhalgh. 2 Contents Software requirements AXIS web service run-time components Getting started with Jetty & AXIS.
ASSIGNMENT 2 Salim Malakouti. Ticketing Website  User submits tickets  Admins answer tickets or take appropriate actions.
1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Unity 4.1 Documentation What you need to know.
Cognos 8 BI Configuration, Administration, and Upgrade Cognos 8 BI.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 UC 7.0 Install and Upgrade Changes TOI Josh Rose UCBU Software Engineer.
David M. Kroenke and David J. Auer Database Processing Fundamentals, Design, and Implementation Appendix I: Getting Started with Web Servers, PHP and the.
1 © 2004 Cisco Systems, Inc. All rights reserved. Session Number Presentation_ID Cisco Technical Support Seminar Using the Cisco Technical Support Website.
 Project Team: Suzana Vaserman David Fleish Moran Zafir Tzvika Stein  Academic adviser: Dr. Mayer Goldberg  Technical adviser: Mr. Guy Wiener.
1 © 2004, Cisco Systems, Inc. All rights reserved. CISCO CONFIDENTIAL Private Secure Messaging Unity 4.0(5)
2nd year Computer Science & Engineer
HMA Identity Management Status
PHP / MySQL Introduction
Chapter 23 – ASP.NET Outline 23.1 Introduction NET Overview
Principles of report writing
Voice User Interface Distribution List Addressing Cisco Unity Connection 1.2 Mike Maas Unified Communications Business Unit (UCBU)
Presentation transcript:

1 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Session Number Presentation_ID Unity Connection Provisioning API Matt Penning Unity Data Team Lead, UCBU

2 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Web Service Standard SOAP, XML over HTTP/HTTPS Authentication required (authorization too) Implemented using Apache AXIS (Tomcat/Java) Installed and running by default

3 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Gateway to the Database The web service allows calling stored procedures and views These are the same stored procedures and views used internally, so they are “tried and true”. Gateway to Directory database Does not include message or report database access Users and Distribution Lists are supported More is available, but not supported

4 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Compatibility Only basic data types are used to provide wide SOAP compatibility C#, VB Script, and Java have been tried (although most testing done in Java and C#) Similar to 4.x but not identical OS independent (of course)

5 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Limitations No voice support 100 rows/query Query throttling to prevent large queries No direct table access (a feature!) Only the directory database (not messages or reports) This is intentional, the API is not intended for mailbox management or reports.

6 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Error Handling SQL Exception codes (and messages) are returned by API CUC stored procedures have well defined user exception codes SQL exceptions will come back – constraint names are consistent csp_GetErrorText can be used to return localized error messages for some common situations.

7 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Documentation and Support Unified Communications Forum Support is available on the Cisco Unified Communications Forum at Database Help File Comprehensive information about the database – structure, stored procedures, errors, etc. currently exists. This is installed in the Unity TechTools folder: TechTools\Docs\UnityDirDb.chm. It includes a chapter on the web service API.

8 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Documentation and Support (continued) CUDLE (on box) “Data Link Explorer” allows viewing data, executing queries, and includes descriptions of database objects. CUDLE includes descriptions of the tables and columns. Apache Axis web site - The Apache Axis web site has good general information on their web service implementation and tools (such as WSDL2Java).

9 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Changes from Unity 4.05 Dropped support for cual (the read only version) All clients must authenticate now Dropped CiscoUnitySystemInformation This existed to retrieve information that was not available in the database in 4.x (switch configuration, product version, licensing, etc.). This is all available in the database now (vw_LicenseCounts, vw_LocationVMS, csp_GetProductVersion, vw_MediaSwitch, vw_MediaPort, vw_MediaPortGroup)

10 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Changes from Unity 4.05 (continued) Authorization improvements The Role(s) which a user is assigned will determine what procs/views are accessible (if any). Access to only procs/views is enforced now (in 4.x it was discouraged but possible to go direct to tables) Updates to views are not allowed Error handling improvements The web service code does more error checking and returns more detail in general The database itself is more error-proof due to the addition of constraints, keys, etc.

11 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Changes from Unity 4.05 (continued) Database objects similar but not identical Stored procedure naming is now csp_ throughout: sp_CreateSubscriber becomes csp_SubscriberCreate. New objects exist: User for example

12 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Example – Connecting import java.net.URL; import com.cisco.unity.cual.*; … CiscoUnityDbServiceLocator sl = new CiscoUnityDbServiceLocator(); URL url = new s/CiscoUnityDb ); CiscoUnityDb db = sl.getCiscoUnityDb(url); … ** Exception handling omitted **

13 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Example – Fetching Subscriber Templates try { sql_response = db.query("select Alias from vw_SubscriberTemplate"); System.out.println("SubscriberTemplates:\n" + sql_response ); } SubscriberTemplates:

14 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API Example – Adding a Subscriber try { sp_response = db.executeProc( "csp_SubscriberCreate", out"); System.out.println("csp_SubscriberCreate Response:\n" + sp_response ); } catch(CuDbException e) { // EXCEPTION_LICENSE_VIOLATION if( e.getCode() == ) System.out.println(“License violation”); } …

15 © 2005 Cisco Systems, Inc. All rights reserved. Cisco Confidential Unity Connection 1.1 Provisioning API