Administration XML Developer Forums

« Back to Administration XML Questions

how to "save" and "apply config" through code / api

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi all
 
I wanted to apply MOH using .net code (axl api).
The changes are reflecting on CUCM page but how to save and apply these configurations through code as these changes were not yet reflected on IP communicator.
As of now I am forced to manually click on "save" and "apply config" buttons but I wanted to do them through  .net code / axl api
 
This was the soap request used:
 
string soap = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" ";
         soap += "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">";
 
         soap += "<SOAP-ENV:Body>";
         soap += "<axl:updatePhone xmlns:axl=\"http://www.cisco.com/AXL/API/7.0\">";
         soap += "<name>";
         soap += "SEP3212";
         soap += "</name>";
         soap += "<userHoldMOHAudioSourceId>";
         soap += "1";
         soap += "</userHoldMOHAudioSourceId>";
         soap += "</axl:updatePhone>";
         soap += "</SOAP-ENV:Body>";
         soap += "</SOAP-ENV:Envelope>";
 
 
Thanks
 

I am currently out of the office. I will be checking emails as time permits. I will return to the office on Thursday, November 8th. If you need immediate help, please contact the First American Service Desk. Thank you,

</PRE>
<BR>
******************************************************************************************<BR>This message may contain confidential or proprietary information intended only for the use of the<BR>addressee(s) named above or may contain information that is legally privileged. If you are<BR>not the intended addressee, or the person responsible for delivering it to the intended addressee,<BR>you are hereby notified that reading, disseminating, distributing or copying this message is strictly<BR>prohibited. If you have received this message by mistake, please immediately notify us by<BR>replying to the message and delete the original message and any copies immediately thereafter.<BR>
<BR>
Thank you.~<BR>
******************************************************************************************<BR>
FAFLD<BR>
<PRE>