08-02-2016 05:48 AM
Hi,
for our CUCM provisioning I'm trying to find a way to restart a SCCP/MGCP Gateway via AXL. (Not the Gateway itself but it's association to CUCM).
This becomes necessary as we are using autoconfig on the gateways and we need to tell the Gateway to look for changes after provisioning. If you want this to be done, you'll have to issue "Restart" on the Gateway Administration Page on CUCM.
for IP Phones this is working (first I issued a query for it's UUID):
<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:doDeviceReset xmlns:ns2=http://www.cisco.com/AXL/API/10.5>
<deviceName uuid="{BB4FB766-277D-67E7-874B-72103895A028}"/>
<deviceResetType>Restart</deviceResetType>
</ns2:doDeviceReset>
</S:Body>
</S:Envelope>
but for Gateways it has no effect, there's not even an error message. It simply does nothing.
Is this the right command for Gateways too, or is there some other command needed for my approach?
Regards
Sebastian
08-02-2016 05:14 PM
Hi Sebastian,
The doDeviceReset only resets the IP Phone (Device) after you you addPhone, updatePhone, addLine, updateLine.
For GateWay, you can use resetGateway.
Hope this would help you.
Regards
Thuy Doan
08-02-2016 05:21 PM
Note that depending on the type of gateway, there are also requests:
resetCiscoCatalyst600024PortFXSGateway
resetCiscoCatalyst6000E1VoIPGateway
resetCiscoCatalyst6000T1VoIPGatewayPri
resetCiscoCatalyst6000T1VoIPGatewayT1
resetH323Gateway
(plus restartXXX versions of the above)
08-03-2016 01:52 AM
Thank you both,
ok, seems there's another command to reset Gateways.
I'll try this.
One issue I still see:
There are different types of reset ("reset","restart","appy Configuration".)
While "restart" will do the right thing, the other two will drop all calls on the Gateway (don't ask me why...)
How can I explicitly ask a Gateway to "restart"?
I cannot choose a "deviceResetType" or similar with resetgateway. restartgateway does not exist for a sccp Gateway such as vg224,vg204,vg310
Regards
Sebastian
08-03-2016 08:12 AM
My assumption would be that <restartGateway> would be the request to use for any gateway type (i.e. SCCP) for which there is not another explicit <restartXXXGateway> request type (e.g. H323), however I don't have this equipment handy to test with...
08-03-2016 11:54 PM
Unfortunately generic restartGateway does not exist in Schema...
I am to open a TAC case about it.
Thank you
Sebastian
08-23-2016 03:21 AM
Hi,
unfortunately there is no restartGateway in AXL Schema and probably there will never be one.
There is an easier way for my approach (SCCP controlled VGs). You can do a restart on the SCCP virtual Device (AN<last-ten-Digits-of-MAC>FFF:
<?xml version='1.0' encoding='UTF-8'?>
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns2:doDeviceReset xmlns:ns2="http://www.cisco.com/AXL/API/1.0">
<deviceName>AN<MAC>FFF</deviceName>
<deviceResetType>Restart</deviceResetType>
</ns2:doDeviceReset>
</S:Body>
</S:Envelope>
Regards
Sebastian
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide