<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Adam,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>just create a string variable like "s_sessionID"
and do a Set s_sessionID = sessionID I tried it and this is the output in
my string variable from the session</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2
face=Arial>"Session[id=001-0x2cb417801,parent=null,active=true,state=SESSION_IN_USE,time=1244847447190]"</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>HTH,</FONT></DIV>
<DIV><FONT size=2 face=Arial>Mike</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=adman@adman.net href="mailto:adman@adman.net">Adam Blomfield</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=mikeeo@msn.com
href="mailto:mikeeo@msn.com">Mike O</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=cisco-voip@puck.nether.net
href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, June 12, 2009 12:26
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cisco-voip] UCCX sessionID
as a Variable</DIV>
<DIV><BR></DIV>But how do I turn that into a string or integer that contains
just the ten digit numerical sessionID?<BR><BR>
<DIV class=gmail_quote>On Thu, Jun 11, 2009 at 10:42 AM, Mike O <SPAN
dir=ltr><<A href="mailto:mikeeo@msn.com">mikeeo@msn.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>Adam,<BR> <BR>Create a varible with type "session" and
name however you'd like. Then use the GetContactInfo step and you will see
the option to populate the session varible with the sesssion
ID.<BR> <BR>Thanks,<BR>Mike<BR> <BR>
<HR>
Date: Thu, 11 Jun 2009 09:11:45 -0500<BR>From: <A
href="mailto:adman@adman.net" target=_blank>adman@adman.net</A><BR>To: <A
href="mailto:cisco-voip@puck.nether.net"
target=_blank>cisco-voip@puck.nether.net</A><BR>Subject: [cisco-voip] UCCX
sessionID as a Variable
<DIV class=im><BR><BR>Is there an easy way to get your hands on the
sessionID as a string variable in a UCCX script? We are trying to write a
custom database table for some reporting specific to our script, but would
also like to be able to include the sessionID that's being written to the
regular UCCX history tables to be able to cross reference if necessary. I
can't see to find a way to get to it. I'm probably overlooking somehting
really
simple.<BR><BR>-Adam<BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>