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

Having trouble writing XML against XSP OCI-P to Network Server

Otiecoyote
Level 1
Level 1

Hello.

I've spent a day or three trying to understand the NS OCI schema files and online Cisco OCI-P documentation.

I'm able to get an NS system user logged in using OCI-P via the XSP server to the Network Server, but I am not able to form an acceptable XML command to modify Network Server items.

The following XML would hopefully add a Routing Policy Call Screening Instance with Toll and Local calling with an instance named 'TestGroup':

<?xml version = "1.0" encoding = "ISO-8859-1"?>
<com.broadsoft.protocols.nsoss.BroadsoftDocument protocol="NSOCI" version="24.0">
<CommandArray>
<com.broadsoft.protocols.nsoss.Command
commandType="RoutingPolicyCallScreeningAddInstanceRequest">
<CommandDataArray>
<name>TestGroup</name>
<isEnabled>true</isEnabled>
<callType>TO</callType>
</com.broadsoft.protocols.nsoss.Command>
</CommandArray>
</com.broadsoft.protocols.nsoss.BroadsoftDocument>

... but in the openclientserver/OCSLog file, it's recorded as:

Invalid command type in NSOCI message:

.. nothing I try creates a valid command type.

If anyone can help point me in the right direction, I'd appreciate it.

Thanks...  Jamie M. SC.

0 Replies 0