How to get UUI from session

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • avc895024571852
    Member
    • May 2025
    • 3

    How to get UUI from session

    Hi all,

    Could you please help me parsing the UUI information from the session complex variable? I'm receiving it as the following:
    Click image for larger version

Name:	image.png
Views:	29
Size:	34.3 KB
ID:	48956

    So it is visible that it is being saved in to complex variables, but I cannot get the values later. If I'm pointing to session:uui (The uui field of the session complex variable) it only retrieves 1A. (Which would be identifier for the info as I understand).
    But how am I able to receive the values from session:uui[2] 3 4 and so on?

    I've also tried to capture session.connection.protocol.sip in the AppRoot, it returned "User-to-User 1A" next to other values which are not UUI related.

    Regards,
    Bence
    Attached Files
    Last edited by avc895024571852; 05-05-2025, 07:00 AM.
  • avc861193901584
    Hot Shot
    • Sep 2024
    • 19

    #2
    Hi Bence,

    The palette editor is a bit cumbersome when dealing with collections, but based on that screenshot, I think you should be able to:
    1. Define a new Simple Variable (let's call it custom_uuiCollection).
    2. Then use a Data node to assign session:uui to custom_uuiCollection.
    3. Then you can use several Assign (source custom_uuiCollection) and the Next In Collection (destination variable custom_uuiCollection) operations to extract the fields in order, assuming that you intended it to be delimited.
    Adam | Swampfox Technologies Inc. | Avaya Partner
    Solutioning in: Avaya Experience Portal | AXP Connect | AES

    Comment

    • wilsonyu
      Hot Shot
      .
      • Sep 2011
      • 24

      #3
      There is Loop Collection item from the palette you can use to loop through the collection automatically.

      Comment

      • avc895024571852
        Member
        • May 2025
        • 3

        #4
        Hello,

        Thank you for the quick responses.
        When I tried to loop through the session:uui variable (assigned it to a local variable first, to be able to use Loop Collection from the palette) I received "Loop Collection: there is no collection in variable session_uuiCollection(L)" in the logs. It didn't work unfortunately.

        What worked instead, is to capture "session.connection.protocol.sip" in the Approot in a variable and on that variable use the Loop Collection. This has got me looping through the UUI fields as well, which I needed.

        Thanks again for the advices!

        Best regards,
        Bence

        Comment

        Loading