Adding VG224 SCCP ports for CUCM 4.2.3sr4a

Version 1
    This document was generated from CDN thread

    Created by: Peter Klein on 22-09-2008 09:13:40 AM
    Hi

    I'm stuck trying to add hundreds of Analog Phones to VG224s. I have already created the requests for adding lines and phones (and partitions, CSS, ...) but when it comes to the VG224 I'm stuck. If I add the gateway manually as an SCCP entity and do not add the subunit from the CUCM interface and then run this request:

    <addMGCPSubunit>
    <domainName>SKIGW1F9E40095F</domainName>
    <unit index="2"/>
    <subunit index="0">
    <product>24FXS-SCCP</product>
    <endpoints max="24">
    <endpoint index = "5">
    <name>AN1F9E40095F405</name>
    <description>71912 BjV - Distriktssköterska </description>
    <product>Analog Phone</product>
    <model>Analog Phone</model>
    <class>Phone</class>
    <protocol>Cisco-station</protocol>
    <protocolSide>User</protocolSide>
    <callingSearchSpaceName>LUV_A_devices_css</callingSearchSpaceName>
    <devicePoolName>LUV_A_dp</devicePoolName>
    <locationName>LUV_A_loc</locationName>
    <lines>
    <line index="1">
    <label/>
    <display>BjV - Distriktssköterska</display>
    <dirn>
    <pattern>71912</pattern>
    <usage>Device</usage>
    <routePartitionName>LUV_A_phones_pt</routePartitionName>
    <alertingName>BjV - Distriktssköterska </alertingName>
    </dirn>
    <ringSetting>Use System Default</ringSetting>
    <consecutiveRingSetting>Use System Default</consecutiveRingSetting>
    <busyTrigger>2</busyTrigger>
    <callInfoDisplay>
    <callerName>true</callerName>
    <callerNumber>true</callerNumber>
    <redirectedNumber>true</redirectedNumber>
    <dialedNumber>true</dialedNumber>
    </callInfoDisplay>
    </line>
    </lines>
    </endpoint></endpoints>
    </subunit>
    </addMGCPSubunit>

    The subunit is added but I get this response:

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Client</faultcode>
    <faultstring>
    <![CDATA]http://The product type specified is not a Gateway.]></faultstring>
    <detail xmlns:axl="http://www.cisco.com/AXL/API/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cisco.com/AXL/API/1.0 http://SUSCCM01/CCMApi/AXL/V1/axlsoap.xsd">
    <axl:error sequence="0">
    <code>5003</code>
    <message>
    <![CDATA]http://The product type specified is not a Gateway.]></message>
    <request>addMGCPSubunit</request>
    </axl:error>
    </detail>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    If I take away the endpoint config I still add the subunit but do not get an error so the problem is with the <product> tag of the endpoint itself.

    Maybe I'm mistaken, maybe you can only add MGCP endpoints this way, which would make sense but if that is the case, is there any other way of doing this via AXL or am I stuck having to create them manually. I know I can do this by clicking on each port, giving them a devicepool and button template and then updating the devices through AXL but I'd much rather find an automated way of doing this. This week I have to do 4 VG224s with approx 80 ports, I can do this manually but in a couple of months we will do 30 VG224s with 600 ports and I don't want to do this if I really don't have to...

    /Peter

    Subject: Re: Adding VG224 SCCP ports for CUCM 4.2.3sr4a
    Replied by: David Staudt on 22-09-2008 02:17:11 PM
    Please see the 'Configuring VG224 Ports Using AXL' from the AXL doc page: http://developer.cisco.com/web/axl/docs

    Hope this helps.

    Subject: Re: Adding VG224 SCCP ports for CUCM 4.2.3sr4a
    Replied by: Peter Klein on 02-10-2008 07:05:15 AM
    Hi.

    Thanks for your reply. I'm not so sure that addVG224 is implemented in CUCM 4.2 though and the document actually states that it's for CUCM 5,6,7.

    Anyway, this is probably the last 4.2. installation with a large number of VG224s so I'l just have to go ahead and do it manually this time and try again when I come to it for another customer with CUCM 6 and up. There we can of course also use bat so I may not need to either.

    /Peter