AGS SOAP Plugin in AS Call Routing Server

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • savchm
    Member
    • Sep 2014
    • 3

    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!
  • shaikht
    Genius
    .
    • Feb 2010
    • 246

    #2
    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, 12:22 AM.

    Comment

    • rsnook
      Member
      • Feb 2015
      • 2

      #3
      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, 08:59 PM. Reason: missing * ref

      Comment

      • savchm
        Member
        • Sep 2014
        • 3

        #4
        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.

        Comment

        • rsnook
          Member
          • Feb 2015
          • 2

          #5
          can you post you web call?
          you don't return xml, you return via the 'out string' in the process.

          Comment

          • savchm
            Member
            • Sep 2014
            • 3

            #6
            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, 10:34 PM.

            Comment

            Loading