cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
696
Views
0
Helpful
1
Replies

AXL addGatewayEndpointAnalogAccess SCCP

Nicola Capula
Level 1
Level 1

Hi,

I want to use AXL to insert SCCP Analog Phones in VG224 Gateway in CUCM 8.6.2.

Below my AXL code:

sAXLRequest += "<axl:addGatewayEndpointAnalogAccess xmlns:axl=\"http://www.cisco.com/AXL/API/8.0\"  sequence=\"1\">\n" ;

sAXLRequest += "<gatewayEndpointAnalogAccess>";

sAXLRequest += "<domainName>SKIGWD0FD4A81A1</domainName>";

sAXLRequest += "<unit>2</unit>";

sAXLRequest += "<subunit>0</subunit>";

sAXLRequest += "<endpoint>";

sAXLRequest += "<index>2</index>";

sAXLRequest += "<name>AND0FD4A81A1402</name>";

sAXLRequest += "<description>Test</description>";

sAXLRequest += "<product>Analog Phone</product>";

sAXLRequest += "<model>Analog Phone</model>";

sAXLRequest += "<class>Phone</class>";

sAXLRequest += "<protocol>SCCP</protocol>";

sAXLRequest += "<protocolSide>User</protocolSide>";

sAXLRequest += "<devicePoolName>DP_MD110Qsig_Cafo</devicePoolName>";

sAXLRequest += "<locationName>Hub_None</locationName>";

sAXLRequest += "</endpoint>";

sAXLRequest += "</gatewayEndpointAnalogAccess>";

sAXLRequest += "</axl:addGatewayEndpointAnalogAccess>";

I receive this error:

HTTP/1.1 500 Internal Server Error

Set-Cookie: JSESSIONIDSSO=A6DBEFB97FA1CECA0D0AC906FFCC05E7; Path=/; Secure

Set-Cookie: JSESSIONID=56EFC41B110969AE1770E1412D309048; Path=/axl; Secure

Content-Type: text/xml;charset=UTF-8

Content-Length: 550

Date: Tue, 17 Apr 2012 16:32:09 GMT

Connection: close

Server:

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>A device that uses Phone Templates must have a specific Phone Template assigned</faultstring><detail><axlError><axlcode>2700</axlcode><axlmessage>A device that uses Phone Templates must have a specific Phone Template assigned</axlmessage><request>addGatewayEndpointAnalogAccess</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

If I use getGatewayEndpointAnalogAccess with an existent SCCP Analog Phone, in xml response, I can find any Phone Template!!!

Many thanks for helps,

Nico

1 Reply 1

paolo bevilacqua
Hall of Fame
Hall of Fame

Wrong forum, wrong site. Try developer.cisco.com

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: