cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
630
Views
1
Helpful
4
Replies

Restarting the TFTP server

jacquescelliers
Level 1
Level 1

Is there any way to restart the TFTP server from an API call on the CUCM?

2 Accepted Solutions

Accepted Solutions

jacquescelliers
Level 1
Level 1

Yes that worked perfect thanks. Here is the soap message i used. 

'''<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
                    <soapenv:Header/>
                        <soapenv:Body>
                            <soap:soapDoControlServices>
                                <soap:ControlServiceRequest>
                                    <soap:NodeName>ciscart23</soap:NodeName>
                                    <soap:ControlType>Restart</soap:ControlType>
                                    <soap:ServiceList>
                                    <soap:item>Cisco Tftp</soap:item>
                                    </soap:ServiceList>
                                </soap:ControlServiceRequest>
                            </soap:soapDoControlServices>
                        </soapenv:Body>
                        </soapenv:Envelope>'''

View solution in original post

4 Replies 4

b.winter
VIP
VIP

Should be possible via the Control Center Services API, when using SOAP requests:
https://developer.cisco.com/docs/sxml/#!control-center-services-api-reference/soapdocontrolservices

@jacquescelliers Any update?

jacquescelliers
Level 1
Level 1

Yes that worked perfect thanks. Here is the soap message i used. 

'''<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
                    <soapenv:Header/>
                        <soapenv:Body>
                            <soap:soapDoControlServices>
                                <soap:ControlServiceRequest>
                                    <soap:NodeName>ciscart23</soap:NodeName>
                                    <soap:ControlType>Restart</soap:ControlType>
                                    <soap:ServiceList>
                                    <soap:item>Cisco Tftp</soap:item>
                                    </soap:ServiceList>
                                </soap:ControlServiceRequest>
                            </soap:soapDoControlServices>
                        </soapenv:Body>
                        </soapenv:Envelope>'''

Glad I could help. I would appreciate to get an "accepted solution".