Cisco Cisco Prime Collaboration 11.0 User Guide
© 2012-2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public.
Page 71 of 2
•
usedummymacaddress
Phone
pbt
Type and protocol must be specified.
Line
Lineposition
Requires SelectedPhone attribute to be
passed in for Line. For Line On Shared
Phone, it requires target phone to be passed
in.
passed in for Line. For Line On Shared
Phone, it requires target phone to be passed
in.
Line
SelectedPhone
Not supported
•
Line
•
EM Line
•
Line On Shared Phone
Directorynumber
Not supported
Line On Shared Phone
targetphone
Not supported
EM Access
pbt
Requires protocol as additional information.
EM_Line
SelectedEM_Access
Not supported
Voicemail
SelectedLine
Not supported
Email
SelectedVoicemail
Not supported
UnifiedMessaging
SelectedEmail
Not supported
Setting Up the Perl NBI Client
A sample Perl client is included in the subdirectory perl/pm.
Requirements
Perl 5.10.0 is required. The NBI client was developed and tested with ActivePerl, which offers free downloads of
the ActivePerl interpreter. The ActivePerl-5.10.0.1005-MSWin32-x86-290470.msi file was used. You should run the
installation file, rather than just downloading the zipped version.
Common Properties
The Perl client uses the same environment variables that the Java client does for the Prime Collaboration
Provisioning Server EPR and credentials, and for the notification EPR. Environment variables can be used
throughout the session for every request, or can be specified or overwritten for one request from the command line.
XML Template Usage
The Perl client uses XML templates for sending the requests. Each template contains the full SOAP envelope for
the command. Keywords are substituted by the user-specified values, resulting in a valid XML request that is then
sent to the server.
Table 12 - Keywords Supported by the NBI Perl Client
Property Name or Source of
Data
Perl Keyword
Notes
server.url
SERVER_URL
If you set server.url, then it is substituted as
specified. If server.url is not specified, then the
URL is constructed from the other server
properties.
specified. If server.url is not specified, then the
URL is constructed from the other server
properties.
server.protocol
SERVER_PROTOCOL
Only http is supported for the PERL Client
example. It could be extended to support
https.
example. It could be extended to support
https.
server.ipaddress
SERVER_URL
—
server.port
SERVER_PORT
—