Avaya Support Forums  

Go Back   Avaya Support Forums > Contact Center Applications

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-17-2015, 11:53 AM
savchm savchm is offline
Member
 
Join Date: Sep 2014
Posts: 3
savchm has 10 reputation points
Default AGS SOAP Plugin in AS Call Routing Server

Hi everyone.
I'm trying to configure AvayaCallRouting Server to use SOAP Plugin.
Here is a block of settings for soap plugin:

[ASG SOAP]
Enable Client = True
Client Library Name = ASGSOAP.dll
Display Name = Link to SOAP Services
Display Icon = someicon.ico
Event Type = Native
Configuration Section Name = Check Customer Details SOAP
SOAP URL = http://192.168.158.215/Avaya_CRM_WS/Main.asmx?WSDL
SOAP Service = Service1
SOAP Port = Service1Soap
SOAP Method = GetCurrentUser
SOAP Method Parameter Sequence = Login=%CallingDevice%
Event Name = RouteRequest
Event Filter Name = VDN
Event Filter Value = 1030
Return Event Name = RouteSelect
Return Event Parameter Sequence = %RouteRegisterReqID%, %RoutingCrossRefID%,RouteSelected=1031,UUI=$Name$
Thread Pool Size = 10
Maximum Queued Requests = 10

Result of soap request;
<?xml version="1.0" encoding="utf-8" ?>
- <ArrayOfLoginData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
- <LoginData>
<ID>5</ID>
<Login>2001</Login>
<Name>TestName</Name>
<Date_create>9/29/2014 1:35:00 PM</Date_create>
<Comment>TestUser</Comment>
</LoginData>
</ArrayOfLoginData>

I want to catch <Name> parameter, but unfortunately I get this value->$Name$ and after that when I transfer UUI to Agent I see also $Name$, but expect TestName.
Where I'm wrong?

Here is a log:
2015 570 1 .cce | 0 Info [10048] Client Error Information: [ASGSOAP]The SOAP method 'GetCurrentUser' will be called with the following parameters:
Feb 17 21:45:46 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 570 1 .cce | 0 Info [10048] Client Error Information: [ASGSOAP] Param 1 = 2001
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 599 1 .cce | 0 Info [10048] Client Error Information: [ASGSOAP]SOAP method 'GetCurrentUser' parameters (post call):
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 599 1 .cce | 0 Info [10048] Client Error Information: [ASGSOAP] Param 1 = 2001
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 599 1 .cce | 0 Info [10048] Client Error Information: [ASGSOAP]ASGSOAP is sending the following return event to server:
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 599 1 .cce | 0 Info [10048] Client Error Information: [ASGSOAP] RouteRegisterReqID=2
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 599 1 .cce | 0 Info [10048] Client Error Information: [ASGSOAP] RoutingCrossRefID=1047081
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 599 1 .cce | 0 Info [10048] Client Error Information: [ASGSOAP] RouteSelected=3101
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 599 1 .cce | 0 Info [10048] Client Error Information: [ASGSOAP] UUI=$Name$
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 615 1 .cce | 0 Info [3580] Client event 'RouteSelect' received with paramters:
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 615 1 .cce | 0 Info [3580] 'RouteRegisterReqID'='2'
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 615 1 .cce | 0 Info [3580] 'RoutingCrossRefID'='1047081'
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 615 1 .cce | 0 Info [3580] 'RouteSelected'='3101'
Feb 17 21:45:47 FMSElite212 ActiveCallRoutingServer[7300]: +03:00 2015 615 1 .cce | 0 Info [3580] 'UUI'='$Name$'


Thanks!
Reply With Quote
  #2  
Old 02-23-2015, 12:19 AM
shaikht shaikht is offline
Genius
.
 
Join Date: Feb 2010
Posts: 246
shaikht has 25 to 49 reputation pointsshaikht has 25 to 49 reputation pointsshaikht has 25 to 49 reputation points
Default

Hi,

It looks to be customization and specific requirement.

I will suggest to engage Avaya Professional Team(APS) if they can assist you. Pleas ebe notifed that it may be billable as they work on project basis.

I hope it helps.

Last edited by shaikht; 02-23-2015 at 12:22 AM.
Reply With Quote
  #3  
Old 02-24-2015, 09:07 PM
rsnook rsnook is offline
Member
 
Join Date: Feb 2015
Posts: 2
rsnook has 11 reputation points
Default

change your webservice to include (out string UUI)


remove UUI from your soap return event
Return Event Parameter Sequence = %RouteRegisterReqID%, %RoutingCrossRefID%,RouteSelected=1031,$*$

Last edited by rsnook; 02-26-2015 at 08:59 PM. Reason: missing * ref
Reply With Quote
  #4  
Old 02-27-2015, 04:39 AM
savchm savchm is offline
Member
 
Join Date: Sep 2014
Posts: 3
savchm has 10 reputation points
Default

I changed web service.
Now it looks like:
<?xml version="1.0" encoding="utf-8" ?>
- <ArrayOfLoginData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://tempuri.org/">
- <LoginData>
<ID>5</ID>
<Login>2001</Login>
<Name>TestName</Name>
<Date_create>9/29/2014 1:35:00 PM</Date_create>
<Comment>TestUser</Comment>
<UUI>TestUser</UUI>
</LoginData>
</ArrayOfLoginData>

For Return Event Parameter also made changes:
Return Event Parameter Sequence = %RouteRegisterReqID%, %RoutingCrossRefID%,RouteSelected=1031,$*$

But unfortunately I still get nothing in UUI(((

Log:
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] RouteRegisterReqID=1
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] RoutingCrossRefID=40001
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] CallingDevice=2001
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] CurrentRoute=1035
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] TrunkGroup=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] TrunkGroupMember=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] UserEnteredCode=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] UUI=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] UCID=00001033441425036975
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] LAIType=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] LAIPriority=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] LAIHours=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] LAIMinutes=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] LAISeconds=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 071 1 .cce | 0 Info [2028] Client Error Information: [ASGSOAP] LAISourceVDN=
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 087 1 .cce | 0 Info [4548] Client Error Information: [ASGSOAP]The SOAP method 'GetCurrentUser' will be called with the following parameters:
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 087 1 .cce | 0 Info [4548] Client Error Information: [ASGSOAP] Param 1 = 1
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 211 1 .cce | 0 Info [4548] Client Error Information: [ASGSOAP]SOAP method 'GetCurrentUser' parameters (post call):
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 211 1 .cce | 0 Info [4548] Client Error Information: [ASGSOAP] Param 1 = 1
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 211 1 .cce | 0 Info [4548] Client Error Information: [ASGSOAP]ASGSOAP is sending the following return event to server:
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 211 1 .cce | 0 Info [4548] Client Error Information: [ASGSOAP] RouteRegisterReqID=1
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 211 1 .cce | 0 Info [4548] Client Error Information: [ASGSOAP] RoutingCrossRefID=40001
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 211 1 .cce | 0 Info [4548] Client Error Information: [ASGSOAP] RouteSelected=3101
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 211 1 .cce | 0 Info [4548] Client Error Information: [ASGSOAP] *=$*$
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 227 1 .cce | 0 Info [2028] Client event 'RouteSelect' received with paramters:
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 227 1 .cce | 0 Info [2028] 'RouteRegisterReqID'='1'
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 227 1 .cce | 0 Info [2028] 'RoutingCrossRefID'='40001'
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 227 1 .cce | 0 Info [2028] 'RouteSelected'='3101'
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 227 1 .cce | 0 Info [2028] '*'='$*$'
Feb 27 14:35:40 FMSElite212 ActiveCallRoutingServer[6576]: +03:00 2015 227 1 .cce | 0 Info [2028] RouteSelectInv succeeded.
Reply With Quote
  #5  
Old 02-27-2015, 12:33 PM
rsnook rsnook is offline
Member
 
Join Date: Feb 2015
Posts: 2
rsnook has 11 reputation points
Default

can you post you web call?
you don't return xml, you return via the 'out string' in the process.
Reply With Quote
  #6  
Old 03-04-2015, 10:28 PM
savchm savchm is offline
Member
 
Join Date: Sep 2014
Posts: 3
savchm has 10 reputation points
Default

I checked network activities between (AS Call Routing Server 192.168.158.212) and IIS (Web Service 172.25.4.35) using Wireshark. At first sight everything looks good.

REQUEST:
370 6.668614000 192.168.158.212 172.25.4.35 HTTP/XML 519 POST /EmulationSUVK/Main.asmx

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema"
xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<GetCurrentUser xmlns="http://tempuri.org/">
<Login xmlns:SOAPSDK4="http://tempuri.org/">1</Login>
</GetCurrentUser>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

RESPONSE:
380 6.764207000 172.25.4.35 192.168.158.212 HTTP/XML 804 200 OK

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetCurrentUserResponse xmlns="http://tempuri.org/">
<GetCurrentUserResult>
<LoginData>
<ID>1</ID>
<Login>1</Login>
<Name>Maxim</Name>
<Date_create>29.09.2014 13:35:59</Date_create>
<Comment>user</Comment>
<UUI>Maxim</UUI>
</LoginData>
</GetCurrentUserResult>
</GetCurrentUserResponse>
</soap:Body>
</soap:Envelope>

But UUI still empty(((

Last edited by savchm; 03-04-2015 at 10:34 PM.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:32 PM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.