Session ID

Unanswered Question

As part of a project we have going on, I am attempting to extract the session ID from a phone call and store it in a variable.  What I have done is use a "Get Contact Info" step and using the "Session" field.  However, the info I'm getting from this field does not match the SessionID field of the ContactCallDetail table of the database.  What is the Session field under the Get Contact Info step really giving me?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Tanner Ezell Mon, 07/12/2010 - 12:41
User Badges:
  • Silver, 250 points or more

I have attached (assuming the web-reply feature allows it) a document

I created that covers your issue. Specifically of value to you:


assume you store your session information into a string called SessionID


int.valueOf(SessionID.toString().subString(17,25), 16)


Which will extract the hexadecimal session id and convert it into base 10.


Cheers,

Tanner Ezell


On Mon, Jul 12, 2010 at 1:56 PM, [email protected]

Aaron Harrison Tue, 07/13/2010 - 14:25
User Badges:
  • Super Bronze, 10000 points or more
  • Community Spotlight Award,

    Member's Choice, May 2015

Hi


It's substring, not subString - java is all case sensitive.


Regards


Aaron

Tanner Ezell Mon, 07/12/2010 - 12:42
User Badges:
  • Silver, 250 points or more

My apologies, a Session variable named SessionID, not String.

Tanner Ezell Tue, 05/21/2013 - 08:22
User Badges:
  • Silver, 250 points or more

Yes, this seems to have changed since the posting.


You can more accurately get the SessionId by capturing the "Session" from Get Contact Info Step, and then pulling the "Identifier" from Get Session Info Step.


HTH

Tanner

Actions

This Discussion