cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1653
Views
0
Helpful
6
Replies

CUCM AXL restart gateway

sebastianwagner
Level 1
Level 1

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

6 Replies 6

TDoan
Level 1
Level 1

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

dstaudt
Cisco Employee
Cisco Employee

Note that depending on the type of gateway, there are also requests:

resetCiscoCatalyst600024PortFXSGateway

resetCiscoCatalyst6000E1VoIPGateway

resetCiscoCatalyst6000T1VoIPGatewayPri

resetCiscoCatalyst6000T1VoIPGatewayT1

resetH323Gateway

(plus restartXXX versions of the above)

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

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

AXLSchema.JPG

Unfortunately generic restartGateway does not exist in Schema...

I am to open a TAC case about it.

Thank you

Sebastian

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