I am trying to automate configuration for MX200 - Software ce126.96.36.199e47efe. I need to set threshold60fps for COnnector 1 in video. When I run
xConfiguration Video Input Connector 1 OptimalDefinition Threshold60fps: never
from https:// <ip>/web/xapi it works fine. However, same command executed from SSH or sent over XML API from Python as
, it returns "No Match on address expression" On SSH it gives,
*r Configuration (status=Error):
*r Configuration Reason: "No match on address expression."
*r Configuration XPath: "Configuration/Video/Input/Connector/OptimalDefinition/Threshold60fps"
I don't see any references for OptimalDefinition in command.xml or config.xml. Any workarounds? Is there a way to send commands to /web/xapi from scripts?
... View more
It was an interesting problem for me as I couldn’t find any data dictionary mapping between function role between mapping and application. So here is how it needs to be done, Create Function Role using, INSERT INTO functionrole (pkid,name,description,isstandard) VALUES (newid(),' Dummy Role',' Dummy Role','f') And then map it with resources using, INSERT INTO functionroleresourcemap (pkid,fkfunctionrole,permission,tkresource) select newid(),functionrole.pkid,2,typeresource.enum from functionrole,typeresource where functionrole.name='Dummy Role' AND typeresource.name IN('Device Pool web pages','Device Profile web pages') Executing these two queries automatically binds the role to “Cisco Call Manager Administration”. In other words, CUCM decides the application based on resource permissions you select for the role. Strange, but interesting one.
... View more
I want to update Audio bandwidth of all the locations for a cluster. When I try to update bandwidth for a single location e.g. update location set location.kbits=160 where location.name='Test_Location_B' it works fine. However, if I run update location set location.kbits=160 it returns: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ "><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>The standard locations should not be deleted and the configration for the standard location should not be modified other than RSVP policy configurations.</faultstring><detail><axlError><axlcode>950</axlcode><axlmessage>The standard locations should not be deleted and the configration for the standard location should not be modified other than RSVP policy configurations.</axlmessage><request>executeSQLUpdate</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope> 1. Does it happen because of fkmatrix? 2. How can to update audio bandwidth with SQL for all the Locations? Any workarounds?
... View more