Is there a document on how to setup CM and the AES to use the Telephony, SMS and User web services? What specifically I am looking for is what users need to be setup where and what should their permissions be? I create a user on CM called ctiuser and gave them 'susers' rights and that works for SMS transactions using
ctiuser@192.168.15.129 in the header of the web Service.
The issue I am having now is that the Telephony and User web services are returning and error
startSession: SwitchNotReachableException for switch 192.168.15.129
If I read further down I see
<ns4:hostname xmlns:ns4="http://xml.apache.org/axis/">aessim</ns4:hostname>
So is the Telephony and User web services using the AESSIM CTI setup in the AES?
Request:<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ses="http://xml.avaya.com/ws/session" xmlns:tel="http://TelephonyService.ws.avaya.com">
<soapenv:Header>
<ses:sessionID>-1</ses:sessionID>
</soapenv:Header>
<soapenv:Body>
<tel:attach></tel:attach>
</soapenv:Body>
</soapenv:Envelope>
Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<ns1:sessionID soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:ns1="http://xml.avaya.com/ws/session">-4936483567300967922</ns1:sessionID>
</soapenv:Header>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.generalException</faultcode>
<faultstring>startSession: SwitchNotReachableException for switch 192.168.15.129</faultstring>
<detail>
<ns1:SwitchNotReachableException xmlns:ns1="http://basictelephony.api.avaya.com">
<subErrorCode>0</subErrorCode>
</ns1:SwitchNotReachableException>
<ns2:exceptionName xmlns:ns2="http://xml.apache.org/axis/">com.avaya.api.basictelephony.SwitchNotReachableException</ns2:exceptionName>
<ns3:stackTrace xmlns:ns3="http://xml.apache.org/axis/">startSession: SwitchNotReachableException for switch 192.168.15.129
at com.avaya.ws.TelephonyService.helpers.TelephonyServiceImpl.startSession(TelephonyServiceImpl.java:219)
at com.avaya.ws.TelephonyService.TelephonyServiceImpl.startSession(TelephonyServiceImpl.java:559)
at com.avaya.ws.TelephonyService.TelephonyServiceImpl.checkSession(TelephonyServiceImpl.java:491)
at com.avaya.ws.TelephonyService.TelephonyServiceImpl.attach(TelephonyServiceImpl.java:192)
at com.avaya.ws.TelephonyService.TelephonyServiceSoapBindingImpl.attach(TelephonyServiceSoapBindingImpl.java:54)
at com.avaya.ws.TelephonyService.TelephonyServiceSoapBindingSkeleton.attach(TelephonyServiceSoapBindingSkeleton.java:321)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:774)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:896)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)</ns3:stackTrace>
<ns4:hostname xmlns:ns4="http://xml.apache.org/axis/">aessim</ns4:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>