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

updateLine failing with request contains an URI that was previously present

stephan.steiner
Spotlight
Spotlight

I'm updating DNs that have been previously linked with an enduser through the directoryUri field. What I get in this case is this

URI:cisco.reprotest1.personal@nxodev.intra cannot be updated through line handler because it was added via an end user-5003-updateLine

Given that I can update the same DN just fine through CCMAdmin, I suspect AXL may be at fault. I figure if I just do a minimum update (just sending changed tags) it would indeed work (I'll post if that's really the case later one).

Log output

2018-05-21 18:27:12,998 DEBUG [http-bio-443-exec-81] filters.TimingFilter - Received request 1524753873560 from sdkuser at IP 10.80.0.88

2018-05-21 18:27:12,998 DEBUG [http-bio-443-exec-81] wrappers.RequestHeaderWrapper - Inside Request Header Wrapper

2018-05-21 18:27:12,998 DEBUG [http-bio-443-exec-81] filters.AuthenticationFilter - Operation:update api:updateLine

2018-05-21 18:27:12,998 INFO  [http-bio-443-exec-81] filters.AuthenticationFilter - Write into Audit Log -->

2018-05-21 18:27:13,001 DEBUG [http-bio-443-exec-81] filters.ThrottlingFilter - DBLCNQueue Count: 0

2018-05-21 18:27:13,001 DEBUG [http-bio-443-exec-81] filters.ThrottlingFilter - Successfully set the value of counter: 4 value: 0

2018-05-21 18:27:13,001 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - Checking request version [11.5]

2018-05-21 18:27:13,001 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - Checking if requested api [updateLine] the implementedHandlers list

2018-05-21 18:27:13,002 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - [updateLine] is not in the implementedHandlers list

2018-05-21 18:27:13,002 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - Checking if version is 8.x

2018-05-21 18:27:13,002 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - function to check if the version is 8.x

2018-05-21 18:27:13,002 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - version is not 8.x

2018-05-21 18:27:13,002 INFO  [http-bio-443-exec-81] servletRouters.AXLAlpha - Executing api: updateLine in axis

2018-05-21 18:27:13,003 DEBUG [http-bio-443-exec-81] wrappers.RequestNamespaceWrapper - Inside Request Wrapper

2018-05-21 18:27:13,003 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - AXL REQUEST :


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5"><soapenv:Header/><soapenv:Body><ns:updateLine sequence="0"> <uuid>{73728A22-5A08-F6AC-5569-006C4B460D29}</uuid><description>cisco reprotest1 7619</description><aarKeepCallHistory>true</aarKeepCallHistory><aarVoiceMailEnabled>false</aarVoiceMailEnabled><callForwardAll><forwardToVoiceMail>False</forwardToVoiceMail><callingSearchSpaceName uuid="{379DCBFB-069A-B6D7-A2EC-6E62BDB9940C}">css_internal</callingSearchSpaceName></callForwardAll><callForwardBusy><forwardToVoiceMail>False</forwardToVoiceMail><callingSearchSpaceName uuid="{379DCBFB-069A-B6D7-A2EC-6E62BDB9940C}">css_internal</callingSearchSpaceName></callForwardBusy><callForwardBusyInt><forwardToVoiceMail>False</forwardToVoiceMail><callingSearchSpaceName uuid="{379DCBFB-069A-B6D7-A2EC-6E62BDB9940C}">css_internal</callingSearchSpaceName></callForwardBusyInt><callForwardNoAnswer><forwardToVoiceMail>False</forwardToVoiceMail><callingSearchSpaceName uuid="{379DCBFB-069A-B6D7-A2EC-6E62BDB9940C}">css_internal</callingSearchSpaceName></callForwardNoAnswer><callForwardNoAnswerInt><forwardToVoiceMail>False</forwardToVoiceMail><callingSearchSpaceName uuid="{379DCBFB-069A-B6D7-A2EC-6E62BDB9940C}">css_internal</callingSearchSpaceName></callForwardNoAnswerInt><callForwardNoCoverage><forwardToVoiceMail>False</forwardToVoiceMail><callingSearchSpaceName uuid="{379DCBFB-069A-B6D7-A2EC-6E62BDB9940C}">css_internal</callingSearchSpaceName></callForwardNoCoverage><callForwardNoCoverageInt><forwardToVoiceMail>False</forwardToVoiceMail><callingSearchSpaceName uuid="{379DCBFB-069A-B6D7-A2EC-6E62BDB9940C}">css_internal</callingSearchSpaceName></callForwardNoCoverageInt><callForwardAlternateParty></callForwardAlternateParty><callForwardNotRegistered><forwardToVoiceMail>False</forwardToVoiceMail><callingSearchSpaceName uuid="{379DCBFB-069A-B6D7-A2EC-6E62BDB9940C}">css_internal</callingSearchSpaceName></callForwardNotRegistered><callForwardNotRegisteredInt><forwardToVoiceMail>False</forwardToVoiceMail><callingSearchSpaceName uuid="{379DCBFB-069A-B6D7-A2EC-6E62BDB9940C}">css_internal</callingSearchSpaceName></callForwardNotRegisteredInt><autoAnswer>Auto Answer Off</autoAnswer><alertingName>reprotest1 cisco</alertingName><presenceGroupName uuid="{AD243D17-98B4-4118-8FEB-5FF2E1B781AC}">Standard Presence group</presenceGroupName><shareLineAppearanceCssName>css_all</shareLineAppearanceCssName><patternPrecedence>Default</patternPrecedence><releaseClause>No Error</releaseClause><cfaCssPolicy>Use System Default</cfaCssPolicy><parkMonForwardNoRetrieveVmEnabled>false</parkMonForwardNoRetrieveVmEnabled><parkMonForwardNoRetrieveIntVmEnabled>false</parkMonForwardNoRetrieveIntVmEnabled><partyEntranceTone>Default</partyEntranceTone><directoryURIs><directoryUri><isPrimary>true</isPrimary><uri>cisco.reprotest1.personal@nxodev.intra</uri><partition>Directory URI</partition></directoryUri></directoryURIs><allowCtiControlFlag>true</allowCtiControlFlag><rejectAnonymousCall>false</rejectAnonymousCall><externalCallControlProfile>Profile 2</externalCallControlProfile><pstnFailover></pstnFailover><useEnterpriseAltNum>false</useEnterpriseAltNum><useE164AltNum>false</useE164AltNum><active>false</active></ns:updateLine></soapenv:Body></soapenv:Envelope>


2018-05-21 18:27:13,003 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - Request processed by AXIS

2018-05-21 18:27:13,005 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - dbConnector Initialization in handler.java

2018-05-21 18:27:13,005 DEBUG [http-bio-443-exec-81] axlapiservice.Axl - Connection given to current thread

2018-05-21 18:27:13,006 DEBUG [http-bio-443-exec-81] axlapiservice.AXLCallFlow - In begin transaction of AXLCallflow and created pub connector

2018-05-21 18:27:13,006 DEBUG [http-bio-443-exec-81] axlapiservice.UpdateLineHandler - In UpdateLine

2018-05-21 18:27:13,006 DEBUG [http-bio-443-exec-81] axlapiservice.UpdateLineHandler - select tkPatternUsage from numplan where pkid = '73728a22-5a08-f6ac-5569-006c4b460d29'

2018-05-21 18:27:13,007 DEBUG [http-bio-443-exec-81] axlapiservice.UpdateLineHandler - AarNeighborhoodName : null

2018-05-21 18:27:13,008 DEBUG [http-bio-443-exec-81] axlapiservice.UpdateLineHandler - AarDestinationMask : null

2018-05-21 18:27:13,008 DEBUG [http-bio-443-exec-81] axlapiservice.UpdateLineHandler - AarKeepCallHistory : <xml-fragment xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.0">true</xml-fragment>

2018-05-21 18:27:13,008 DEBUG [http-bio-443-exec-81] axlapiservice.UpdateLineHandler - AarVoiceMailEnabled : <xml-fragment xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/8.0">false</xml-fragment>

2018-05-21 18:27:13,009 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - Inside addTkdataAXIS utils part

2018-05-21 18:27:13,009 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from Matrix where my_lower(name ) =my_lower('Standard Presence group' )

2018-05-21 18:27:13,010 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_all' )

2018-05-21 18:27:13,011 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - Inside addTkdataAXIS utils part

2018-05-21 18:27:13,012 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - Inside addTkdataAXIS utils part

2018-05-21 18:27:13,012 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from ExternalCallControlProfile where my_lower(name ) =my_lower('Profile 2' )

2018-05-21 18:27:13,013 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - Inside addTkdataAXIS utils part

2018-05-21 18:27:13,014 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_internal' )

2018-05-21 18:27:13,015 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_internal' )

2018-05-21 18:27:13,016 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_internal' )

2018-05-21 18:27:13,016 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_internal' )

2018-05-21 18:27:13,017 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_internal' )

2018-05-21 18:27:13,018 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_internal' )

2018-05-21 18:27:13,019 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_internal' )

2018-05-21 18:27:13,020 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_internal' )

2018-05-21 18:27:13,021 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - getPkid Query is :select pkid from CallingSearchSpace where my_lower(name ) =my_lower('css_internal' )

2018-05-21 18:27:13,021 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - Inside addTkdataAXIS utils part

2018-05-21 18:27:13,022 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - update Numplan set CFNAVoiceMailEnabled='f',CFBIntVoiceMailEnabled='f',fkMatrix_Presence='ad243d17-98b4-4118-8feb-5ff2e1b781ac',ParkMonForwardNoRetrieveIntVMEnabled='f',tkReleaseCauseValue='0',fkCallingSearchSpace_CFUR='379dcbfb-069a-b6d7-a2ec-6e62bdb9940c',CFBVoiceMailEnabled='f',PFFVoiceMailEnabled='f',ParkMonForwardNoRetrieveVMEnabled='f',CFURIntVoiceMailEnabled='f',fkCallingSearchSpace_CFNAInt='379dcbfb-069a-b6d7-a2ec-6e62bdb9940c',tkCFACSSActivationPolicy='0',IsCallable='f',fkExternalCallControlProfile='69fe94d0-fad0-e542-7f29-160936014d0f',CFURVoiceMailEnabled='f',tkPatternPrecedence='5',fkCallingSearchSpace_SharedLineAppear='bc3b6b1c-adf4-2b1d-f723-4a927aaffe89',RejectAnonymousCall='f',Description='cisco reprotest1 7619',AlertingName='reprotest1 cisco',fkCallingSearchSpace_CFNA='379dcbfb-069a-b6d7-a2ec-6e62bdb9940c',fkCallingSearchSpace_CFB='379dcbfb-069a-b6d7-a2ec-6e62bdb9940c',AARVoiceMailEnabled='f',PFFIntVoiceMailEnabled='f',AARKeepCallHistory='t',AllowCTIControlFlag='t',tkAutoAnswer='0',CFNAIntVoiceMailEnabled='f',fkCallingSearchSpace_PFF='379dcbfb-069a-b6d7-a2ec-6e62bdb9940c',fkCallingSearchSpace_CFURInt='379dcbfb-069a-b6d7-a2ec-6e62bdb9940c',tkStatus_PartyEntranceTone='2',fkCallingSearchSpace_PFFInt='379dcbfb-069a-b6d7-a2ec-6e62bdb9940c',fkCallingSearchSpace_CFBInt='379dcbfb-069a-b6d7-a2ec-6e62bdb9940c' where pkid='73728a22-5a08-f6ac-5569-006c4b460d29'

2018-05-21 18:27:13,091 DEBUG [http-bio-443-exec-81] axlapiservice.Handler - update callforwarddynamic set fkCallingSearchSpace_CFA='379dcbfb-069a-b6d7-a2ec-6e62bdb9940c',CFAVoiceMailEnabled='f' where fkNumplan='73728a22-5a08-f6ac-5569-006c4b460d29'

2018-05-21 18:27:13,098 DEBUG [http-bio-443-exec-81] axlapiservice.UpdateLineHandler - select * from numplanuri where fknumplan='73728a22-5a08-f6ac-5569-006c4b460d29' and fkendusernumplanmap is not null

2018-05-21 18:27:13,099 ERROR [http-bio-443-exec-81] axlapiservice.AXLAPIServiceSkeleton - com.cisco.www.axlapiservice.AXLAPIServiceSkeleton@154fb41

com.cisco.www.axlapiservice.DataValidationException: URI:cisco.reprotest1.personal@nxodev.intra cannot be updated through line handler because it was added via an end user

at com.cisco.www.axlapiservice.UpdateLineHandler.updateDirectoryNumberUri(UpdateLineHandler.java:854)

at com.cisco.www.axlapiservice.UpdateLineHandler.doUpdate(UpdateLineHandler.java:725)

at com.cisco.www.axlapiservice.AXLAPIServiceSkeleton.updateLine(AXLAPIServiceSkeleton.java:21058)

at com.cisco.www.axlapiservice.AXLAPIServiceMessageReceiverInOut.updateLine(AXLAPIServiceMessageReceiverInOut.java:20035)

at com.cisco.www.axlapiservice.AXLAPIServiceMessageReceiverInOut.invokeBusinessLogic(AXLAPIServiceMessageReceiverInOut.java:3022)

at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)

at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)

at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)

at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)

at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:743)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:485)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:410)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:337)

at com.cisco.www.servletRouters.AXLAlpha.forwardToAxis(AXLAlpha.java:276)

at com.cisco.www.servletRouters.AXLAlpha.doPost(AXLAlpha.java:73)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at com.cisco.www.servletRouters.filters.ThrottlingFilter.doFilter(ThrottlingFilter.java:66)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at com.cisco.vos.platform.tomcat.valves.CiscoResponseHeaderFilter.doFilter(Unknown Source)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at com.cisco.www.servletRouters.filters.AuthenticationFilter.doFilter(AuthenticationFilter.java:89)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at com.cisco.www.servletRouters.filters.NormalizeHeaderFilter.doFilter(NormalizeHeaderFilter.java:50)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at com.cisco.www.servletRouters.filters.TimingFilter.doFilter(TimingFilter.java:43)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:615)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)

at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:321)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)

at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)

at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)

2018-05-21 18:27:13,100 DEBUG [http-bio-443-exec-81] axlapiservice.AXLCallFlow - In rollback transaction and created pub connector

2018-05-21 18:27:13,100 DEBUG [http-bio-443-exec-81] axlapiservice.Axl - Connection closed and hashmap entry removed in AXL.java closing connection

2018-05-21 18:27:13,101 DEBUG [http-bio-443-exec-81] axlapiservice.AXLCallFlow - Rollback transaction connector object closed

2018-05-21 18:27:13,101 DEBUG [http-bio-443-exec-81] axlapiservice.AXLCallFlow - In AXL CAll Flow class, method getSOAPError

2018-05-21 18:27:13,101 DEBUG [http-bio-443-exec-81] axlapiservice.AXLCallFlow - Setting soap fault

2018-05-21 18:27:13,101 DEBUG [http-bio-443-exec-81] axlapiservice.AXLCallFlow - Setting soap fault2

2018-05-21 18:27:13,119 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server</faultcode><faultstring>URI:cisco.reprotest1.personal@nxodev.intra cannot be updated through line handler because it was added via an end user</faultstring><detail><axlError><axlcode>5003</axlcode><axlmessage>URI:cisco.reprotest1.personal@nxodev.intra cannot be updated through line handler because it was added via an end user</axlmessage><request>updateLine</request></axlError></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>

2018-05-21 18:27:13,119 DEBUG [http-bio-443-exec-81] servletRouters.AXLAlpha - Finished processing request

1 Reply 1

dstaudt
Cisco Employee
Cisco Employee

Having some problems reproducing this.  Any chance you can provide a procedure to reproduce the desired config in the UI, using brand new DNs, users, phones; then providing the same steps you are attempting via AXL?

TBH, I suspect this will require escalation to the engineering team (I'm already way beyond my general 'see what you can in ~15 minutes' for forum inquiries...can you open a DevNet support ticket so we can dig in?

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: