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

Restarting the TFTP server

jacquescelliers
Beginner
Beginner

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

2 Accepted Solutions

Accepted Solutions

jacquescelliers
Beginner
Beginner

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
Beginner
Beginner

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".

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: