Author Message
AdamEurich
Joined: Nov 8, 2013
Messages: 55
Offline
Hi,

Trying to SingleStepTransferCall to an external number. Passing 8001:swlink1:172.30.200.102:1 for the deviceId, 11657 for the callId (it's the only call on the device) and 917195551212 for the transferredTo. I get this:

{"getGloballyUniqueCallLinkageId":"","getTransfereeDeviceId":"","getCallId":"","getUserState":{"OnHookState":false,"CallState":0,"InitState":2,"ExtensionDescription":"Monitored device - 8001","Share":true,"Instance":1,"RegisterTerminal":true,"Extension":"8001","ExtensionDevice":{"getPhone":{"getMediaMode":0,"getRegistered":true,"getMedia":{}},"getExtension":"8001","getDeviceIdAsString":"8001:swlink1:172.30.200.102:1","getServiceProvider":{"LicenseResult":"","getActualProtocolVersion":"http://www.ecma-international.org/standards/ecma-323/csta/ed3/privF","getSessionId":"42B8EE11E528675D9ECB5BC403E6CE95-43","getXmlProcessor":{},"GetCallInformationLink":{},"getThirdPartyCallController":{},"getCallAssociated":{}}},"ExtensionPassword":"1234","DeviceDependency":1,"ThirdPartyCallControlMonitorId":"395","GetPhoneMonitorId":"396","ExtensionCallState":3,"InternalAni":"1001","InternalDnis":"8001","InternalCallId":"11657","LastAnsweredCallId":"11657","LastRingingCallId":"11657"},"getError":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><CSTAErrorCode xmlns=\"http://www.ecma-international.org/standards/ecma-323/csta/ed3\"><operation>objectNotKnown</operation></CSTAErrorCode>","getInvokeId":22}

I tried getting a 3rd party device ID for the 917195551212 number to pass but it errors saying invalid parameter.

AESDeviceMediaandCallControl.NETAPIProgrammersGuide.10.0-Aug 2022.pdf says that it would return objectNotKnown if "The activeCall does
not contain a call ID, or transferredTo is not set." Both are set.
AdamEurich
Joined: Nov 8, 2013
Messages: 55
Offline
I misspoke. AEServicesTSAPIforAvayaCMProgrammersReference-Issue20.pdf is what had the documentation about the error.
JohnBiggs
Joined: Jun 20, 2005
Messages: 1146
Location: Rural, Virginia
Offline
I am pretty sure that SST will require a third party deviceID for the transfer-to party reference.

Given you tried to use a method to create a 3PdID for 917195551212 and got invalid parameter, can you show the full request/response for that please.

Also are you testing using the "DMCC Dashboard" contained in the .NET SDK and using its examples for proper usage? If not I highly encourage that.
https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_application_enablement_services/interfaces/dmcc/development_tools_configurations/dmcc_dashboard/index.gsp

Again AES side tracing tends to be more specific about a issue. CSTA errors are overly constrained.
AdamEurich
Joined: Nov 8, 2013
Messages: 55
Offline
Can you tell me how to turn the AES logging on and where I can find the logs?
JohnBiggs
Joined: Jun 20, 2005
Messages: 1146
Location: Rural, Virginia
Offline
I thought I had posted that into your other thread a few hours ago. Apparently that was lost when I locked up my PC and rebooted.

TSAPI
https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_application_enablement_services/support/faq/tsapi/index.gsp?tab=general&accordion=faq-10

DMCC
https://www.devconnectprogram.com/site/global/products_resources/avaya_aura_application_enablement_services/support/faq/dmcc/index.gsp?tab=other&accordion=faq-60
AdamEurich
Joined: Nov 8, 2013
Messages: 55
Offline
I'm passing AVAYA#SWLINK1#CSTA-S#WIAVAES01 for the switch name and 917192911662 for the extension parameter. This is the response I get:

{"getDeviceIdAsString":"","getUserState":{"OnHookState":false,"CallState":0,"InitState":2,"ExtensionDescription":"Monitored device - 8001","Share":true,"Instance":1,"RegisterTerminal":true,"Extension":"8001","ExtensionDevice":{"getPhone":{"getMediaMode":0,"getRegistered":true,"getMedia":{}},"getExtension":"8001","getDeviceIdAsString":"8001:swlink1:172.30.200.102:1","getServiceProvider":{"LicenseResult":"","getActualProtocolVersion":"http://www.ecma-international.org/standards/ecma-323/csta/ed3/privF","getSessionId":"C7B1D5BC917654AF5F9096978BD5DE23-51","getXmlProcessor":{},"GetCallInformationLink":{},"getThirdPartyCallController":{},"getCallAssociated":{}}},"ExtensionPassword":"1234","DeviceDependency":1,"ThirdPartyCallControlMonitorId":"451","GetPhoneMonitorId":"452","ExtensionCallState":3,"InternalAni":"1001","InternalDnis":"8001","InternalCallId":"12769","LastAnsweredCallId":"12769","LastRingingCallId":"12769"},"getError":"<?xml version=\"1.0\" encoding=\"UTF-8\"?><CSTAErrorCode xmlns=\"http://www.ecma-international.org/standards/ecma-323/csta/ed3\"><operation>invalidParameterValue</operation></CSTAErrorCode>","getInvokeId":19}
JohnBiggs
Joined: Jun 20, 2005
Messages: 1146
Location: Rural, Virginia
Offline
I need to see the XML you are sending, to make any sense of what might be wrong. Looking at what you think you are sending does me little good. Please access the AES side traces. Please compare it with what you see being sent when you use the DMCC Dashboard.
MartinFlynn
Joined: Nov 30, 2009
Messages: 1931
Offline
"AVAYA#SWLINK1#CSTA-S#WIAVAES01" is a TSAPI T-link, not a switch connection name. The correct name to use in getDeviceId or getThirdPartyDeviceID would (presumably) be "SWLINK1".

Martin
AdamEurich
Joined: Nov 8, 2013
Messages: 55
Offline
That was the switch name given to me by the people who installed the licenses when we tested. Where can I find the real switch name?
JohnBiggs
Joined: Jun 20, 2005
Messages: 1146
Location: Rural, Virginia
Offline
most likely (95%) it is what Martin gave you "SWLINK1". The person who gave it to you did not differentiate between TSAPI connections and how DMCC views its connections to CM to be different.

However, using the AES Web OA&M interface you can look at the provisioned switch connections and find the 'right' one from what is configured for Switch Connections - it will match up with the proper Communication Manager through the IP or host name, and it will have a H.323 Gatekeeper IP/host name provisioned.
AdamEurich
Joined: Nov 8, 2013
Messages: 55
Offline
Attached is the dmcc.trace.log. Line 409 is the SingleStepTransferCall response.
Filename dmcc-trace.log [Disk] Download
JohnBiggs
Joined: Jun 20, 2005
Messages: 1146
Location: Rural, Virginia
Offline
looks like we have a case sensitivity issue....

<SingleStepTransferCall xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<activeCall>
<deviceID typeOfNumber="other" mediaClass="notKnown">8001:swlink1:172.30.200.102:1</deviceID>
<callID>13340</callID>
</activeCall>
<transferredTo typeOfNumber="other" mediaClass="notKnown">917195551212:SWLINK1::0</transferredTo>

Please retry with swlink1
AdamEurich
Joined: Nov 8, 2013
Messages: 55
Offline
Same thing. Response is on line 2603.
Filename dmcc-trace.log [Disk] Download
JohnBiggs
Joined: Jun 20, 2005
Messages: 1146
Location: Rural, Virginia
Offline
Are you testing with the DMCC Dashboard yet?

Have you tried something simpler like a makeCall() to that 3P device ID?
AdamEurich
Joined: Nov 8, 2013
Messages: 55
Offline
Here are the results doing a makeCall from the dashboard:

<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 585 1 com.avaya.aes | :NIO-ChannelServicer Thread: com.avaya.mvcs.proxy.CstaUnmarshallerNode FINEST - Unmarshaller: NO_MAPPING, protocolVersion: http://www.ecma-international.org/standards/ecma-323/csta/ed3/privF
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 587 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.CstaUnmarshallerNode FINEST - Actual unmarshall time is : 2ms : thread=Thread[CstaUnMarshalerNode-2,5,main]
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 587 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.CstaUnmarshallerNode FINEST - Unmarshalled xml=<?xml version="1.0" encoding="utf-8"?>
<GetThirdPartyDeviceId xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.avaya.com/csta">
<switchName>swlink1</switchName>
<extension>917195551212</extension>
</GetThirdPartyDeviceId> to object=session[null] com.avaya.csta.binding.GetThirdPartyDeviceId@5bc38f88
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 588 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - [Begin] payload=class com.avaya.csta.binding.GetThirdPartyDeviceIdResponse, id=16, session=session[session E294C8933FC954F05DF55665A24C17AD-60,[/172.30.200.110:4721/172.20.5.250:60770]]
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 588 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - Marshaller: NO_MAPPING, protocolVersion: http://www.ecma-international.org/standards/ecma-323/csta/ed3/privF
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 588 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.CstaMarshallerNode FINER - Packaging a session[null] com.avaya.csta.binding.GetThirdPartyDeviceIdResponse@6701e8c5
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 589 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - Marshalled session[null] com.avaya.csta.binding.GetThirdPartyDeviceIdResponse@6701e8c5 to <?xml version="1.0" encoding="UTF-8"?>
<GetThirdPartyDeviceIdResponse xmlns="http://www.avaya.com/csta"><device typeOfNumber="other" mediaClass="notKnown" bitRate="constant">917195551212:swlink1::0</device></GetThirdPartyDeviceIdResponse>
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 589 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.ByteBufferToChannelNode FINER - Writing ByteBuffer=java.nio.HeapByteBuffer[pos=0 lim=246 cap=246], session=session[session E294C8933FC954F05DF55665A24C17AD-60,[/172.30.200.110:4721/172.20.5.250:60770]]
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 589 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.ByteBufferToChannelNode FINEST - Wrote 246 of 246 bytes to the Channel, session=session[session E294C8933FC954F05DF55665A24C17AD-60,[/172.30.200.110:4721/172.20.5.250:60770]]
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 589 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - CstaUnMarshalerNode-2: Duration of marshalling = 1msec and null publishing = 0msecs, session[null] com.avaya.csta.binding.GetThirdPartyDeviceIdResponse@6701e8c5
<134>May 10 00:56:39 wiavaes01 DmccMain[180590] +07:00 2023 589 1 com.avaya.aes | :CstaUnMarshalerNode-2: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - [End]
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 776 1 com.avaya.aes | :NIO-ChannelServicer Thread: com.avaya.mvcs.proxy.CstaUnmarshallerNode FINEST - Unmarshaller: NO_MAPPING, protocolVersion: http://www.ecma-international.org/standards/ecma-323/csta/ed3/privF
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 777 1 com.avaya.aes | :CstaUnMarshalerNode-4: com.avaya.mvcs.proxy.CstaUnmarshallerNode FINEST - Actual unmarshall time is : 1ms : thread=Thread[CstaUnMarshalerNode-4,5,main]
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 777 1 com.avaya.aes | :CstaUnMarshalerNode-4: com.avaya.mvcs.proxy.CstaUnmarshallerNode FINEST - Unmarshalled xml=<?xml version="1.0" encoding="utf-8"?>
<MakeCall xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3">
<callingDevice typeOfNumber="other" mediaClass="notKnown">917195551212:swlink1::0</callingDevice>
<calledDirectoryNumber typeOfNumber="other" mediaClass="notKnown">917195551212:swlink1::0</calledDirector
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 777 1 com.avaya.aes | :CstaUnMarshalerNode-4: com.avaya.mvcs.proxy.CstaUnmarshallerNode FINEST - yNumber>
<callCharacteristics>
<priorityCall>false</priorityCall>
</callCharacteristics>
</MakeCall> to object=session[null] ch.ecma.csta.binding.MakeCall@6e92dae0
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 777 1 com.avaya.aes | :CstaUnMarshalerNode-4: com.avaya.mvcs.proxy.SubscriptionManager FINER - adding EventSubscriber to channel=async[/172.30.200.110:4721/172.20.5.250:60770]:17
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 777 1 com.avaya.aes | :CstaUnMarshalerNode-4: com.avaya.mvcs.proxy.SubscriptionManager FINER - return from adding EventSubscriber to channel=async[/172.30.200.110:4721/172.20.5.250:60770]:17 took 0ms
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 777 1 com.avaya.aes | :CstaUnMarshalerNode-4: com.avaya.mvcs.proxy.SubscriptionManager FINER - after tryCatch adding EventSubscriber to channel=async[/172.30.200.110:4721/172.20.5.250:60770]:17 took 0ms
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 777 1 com.avaya.aes | :CstaUnMarshalerNode-4: com.avaya.mvcs.proxy.CstaRouterNode FINER - Adding: Subscription Manager count= 7 request=session[null] ch.ecma.csta.binding.MakeCall@6e92dae0 channel=async[/172.30.200.110:4721/172.20.5.250:60770]:17
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 777 1 com.avaya.aes | :CstaUnMarshalerNode-4: com.avaya.mvcs.proxy.CstaRouterNode FINER - Returned from processing an AsynchronousRequest session=session[session E294C8933FC954F05DF55665A24C17AD-60,[/172.30.200.110:4721/172.20.5.250:60770]]
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 836 1 com.avaya.aes | :DistributeCSTAEvent: com.avaya.mvcs.proxy.SubscriptionManager FINER - AsyncEventSubscriber SubscriptionEvent created for: ch.ecma.csta.errors.InvalidCallingDeviceIDException object=<generictuple><data><Unique Id>17</Unique Id><Command History List>[]</Command History List><Payload>ch.ecma.csta.errors.InvalidCallingDeviceIDException: The specified calling device ID was invalid: error code 12</Payload></data></generictuple>
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 836 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.SubscriptionManager FINER - Handling a class com.avaya.workflow.MessageContextTuple, session=session[session E294C8933FC954F05DF55665A24C17AD-60,[/172.30.200.110:4721/172.20.5.250:60770]] invokeID=17
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 836 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.SubscriptionManager FINER - AsyncEventSubscriber executing: ch.ecma.csta.errors.InvalidCallingDeviceIDException time in pendingAsyncEventSubscribeTasks queue=0ms
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 836 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - [Begin] payload=class ch.ecma.csta.errors.InvalidCallingDeviceIDException, id=17, session=session[session E294C8933FC954F05DF55665A24C17AD-60,[/172.30.200.110:4721/172.20.5.250:60770]]
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 836 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - Marshaller: NO_MAPPING, protocolVersion: http://www.ecma-international.org/standards/ecma-323/csta/ed3/privF
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 836 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.CstaMarshallerNode FINER - Packaging a ch.ecma.csta.errors.InvalidCallingDeviceIDException: The specified calling device ID was invalid: error code 12
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - Marshalled session[null] ch.ecma.csta.binding.CSTAErrorCode@7de17a76 to <?xml version="1.0" encoding="UTF-8"?>
<CSTAErrorCode xmlns="http://www.ecma-international.org/standards/ecma-323/csta/ed3"><operation>invalidCallingDeviceID</operation></CSTAErrorCode>
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.ByteBufferToChannelNode FINER - Writing ByteBuffer=java.nio.HeapByteBuffer[pos=0 lim=193 cap=193], session=session[session E294C8933FC954F05DF55665A24C17AD-60,[/172.30.200.110:4721/172.20.5.250:60770]]
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.ByteBufferToChannelNode FINEST - Wrote 193 of 193 bytes to the Channel, session=session[session E294C8933FC954F05DF55665A24C17AD-60,[/172.30.200.110:4721/172.20.5.250:60770]]
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - ClearableQueuedExecutor-1: Duration of marshalling = 1msec and null publishing = 0msecs, session[null] ch.ecma.csta.binding.CSTAErrorCode@7de17a76
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.CstaMarshallerNode FINEST - [End]
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.SubscriptionManager FINER - AsyncEventSubscriber finished executing: ch.ecma.csta.errors.InvalidCallingDeviceIDException, took 1ms from time added to pendingAsyncEventSubscribeTasks queue to finish
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.SubscriptionManager FINER - Removing EventSubscriber from channel=async[/172.30.200.110:4721/172.20.5.250:60770]:17
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.SubscriptionManager FINER - return from removing EventSubscriber from channel=async[/172.30.200.110:4721/172.20.5.250:60770]:17 took 1ms
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.SubscriptionManager FINER - after tryCatch removing EventSubscriber to channel=async[/172.30.200.110:4721/172.20.5.250:60770]:17 took 1ms
<134>May 10 00:56:52 wiavaes01 DmccMain[180590] +07:00 2023 838 1 com.avaya.aes | :ClearableQueuedExecutor-1: com.avaya.mvcs.proxy.SubscriptionManager FINER - Removing: Subscription Manager count= 6 channel=async[/172.30.200.110:4721/172.20.5.250:60770]:17 for request=session[null] ch.ecma.csta.binding.MakeCall@6e92dae0
Go to:   
Mobile view