Hi Cameron,
Thanks for the suggestion. What I ended up doing:
Substring(JsonStringify(Task.VarName),30,9)
------------------------------
Aaron Lisker
American Telesource, Inc.
------------------------------
Original Message:
Sent: 08-29-2024 11:09
From: Cameron Tomlin
Subject: Assign value of specific SIP header object to variable
Hello Aaron,
Have you tried looking into this documentation?
Im thinking that you could do something like ToJson{"x-inin-attr":["\"AttributeName=123456789\""]}.
Im am no where near an expert in something like this, but offering up an idea.
Hope this helps!
Cheers,
------------------------------
Cameron Tomlin
Online Community Manager/Moderator
Genesys - Employees
Original Message:
Sent: 08-27-2024 16:00
From: Aaron Lisker
Subject: Assign value of specific SIP header object to variable
Hi there,
I know there is likely a very simple solution for this, but I am struggling to figure out how to implement. I am using the Get SIP Headers action and can pull the JSON, which comes out like below. I am trying to get only the integer value (shown bolded) from a single attribute to assign to a variable so I can use that in the screen pop URL. How do I select the value of just one array object?
{"x-inin-attr":["\"AttributeName=123456789\""]}
#ArchitectureandDesign
------------------------------
Aaron Lisker
American Telesource, Inc.
------------------------------