[cisco-voip] Java Function for UCCX

Matthew Loraditch MLoraditch at heliontechnologies.com
Tue Feb 23 12:30:46 EST 2010


Attached,
That string is the what selectedResource is set to by the system.
So if I output selectedResource I get the string (w/o quotes): " User[type=Call Manager User,id=usersname,authenticated=true]"
I need to clean that up to be just what id is equal to
Make sense?


Matthew Loraditch, CCNA
1965 Greenspring Drive
Timonium, MD 21093 
support at heliontechnologies.com
(p) (410) 252-8830
(F) (443) 541-1593

Visit us at www.heliontechnologies.com 
Support Issue? Email support at heliontechnologies.com for fast assistance!

-----Original Message-----
From: Tanner Ezell [mailto:tanner.ezell at gmail.com] 
Sent: Tuesday, February 23, 2010 12:26 PM
To: Matthew Loraditch
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Java Function for UCCX

Can you clarify where this is coming from?

Is User an array? if so, User[1] would be the id.

Perhaps a screenshot of the relevant part of the script would be helpful.

On Tue, Feb 23, 2010 at 12:18 PM, Matthew Loraditch <MLoraditch at heliontechnologies.com> wrote:
> I need to clean out this string to be just the user id. I am pulling 
> the selected resource from a script and writing to a custom DB,
>
> The value the system uses is this: User[type=Call Manager 
> User,id=usersname,authenticated=true]
>
> I need just the portion for user id. It's variable length so I'm not 
> sure how to deal with that.
>
>
>
> Thanks!!
>
>
>
>
>
> Matthew Loraditch, CCNA
> 1965 Greenspring Drive
>
> Timonium, MD 21093
> support at heliontechnologies.com
> (p) (410) 252-8830
> (F) (443) 541-1593
>
> Visit us at www.heliontechnologies.com Support Issue? Email 
> support at heliontechnologies.com for fast assistance!
>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>



--
Regards,
Tanner Ezell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Capture.GIF
Type: image/gif
Size: 2438 bytes
Desc: Capture.GIF
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20100223/1112e940/attachment.gif>


More information about the cisco-voip mailing list