Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IP OFFICE NOT SAVING $CP VALUES 4

Status
Not open for further replies.

bartypuss

IS-IT--Management
Oct 23, 2007
16
GB
HI

I am working on a pin entry system and through my call flow I use a generic action to save the keyed pin number to a call variable. CP0:$KEY

If the entered $key is not found in my database i then request for the pin to be entered again and save it to the variable CP1:$KEY.

When i write the variables into my database call log table both CP0 and CP1 are the pin number of the second $KEY entry.

I keep going round in circles with this. Its like on the second key entry it is writing its value to CP0.

Any Ideas?
 
It does exactly what you asked for [smile]

Let's jog this thing of yours:

-A generic action to save the keyed pin number to a call variable. CP0:$KEY
(Lets say caller enters 1234)

- If the entered $key is not found in my database, I then request for the pin to be entered again and save it to the variable CP1:$KEY.
(And so he does, he enters 1234)

- When I write the variables into my database call log table both CP0 and CP1 are the pin number of the second $KEY entry.
(The numbers are not bad. 1234 was keyed in two times, saved to both $CP0 and $CP1)

I keep going round in circles with this. Its like on the second key entry it is writing its value to CP0.
(Try entering 4-8-15 as the first pin, then 16-23-42 as the second pin, see what happens in your Database then)

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Hi Thanks for your respone

I have been using differing Key entries i.e 111111 and 222222 so I could differentiate.

Both CP0 and CP1 have the value 222222
 
Post the module here, I'll run it in my lab right away.

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Hefty setup, a bit chaotic [smile] But as long as you can follow the flow yourself, it's good.

Found a few errors in the programming though. You're passing the on same $KEY to 3 different Generic $CP's.
You have also copied Generic PIN1 and pasted it right on top. This may cause you to scratch through you scull later on, as it appears to be connected to the flow, but any alterations will do nothing. Delete it and the real box will appear again. (see image below).

1zd27aq8dtuvbft6g.jpg


There's also illegal settings in you Speak Text, can't see what, but I got a warning when importing.
It's actually better to record a prompt, Speak Text is really slowing down the flow speed.
You can even put in $CPxx, $KEY or $SAV as playable prompts. Just click the big green+ and manually write in a system variable.

Word of advice: Make a habit of putting in unique names for every box, that way you know there is something wrong when a box gets a * in the name.

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
ok thanks

When I write $KEY --> $CP0 is this value not remembered for the duration of the call path as I am not re-defining it as far as I can tell.

This is why in the call path I am setting $KEY --> $CP1 to record both pin entry attempts.

Am I unable to use $KEY in different Generics as I am writing them to a $CPx value.
 
A $KEY is survives until the flow pass a new $KEY Generic.

If I read the script correct, this is what goes down:

ICR> Module> Check if CLI is in the records.
If Yes: Collect Service level and save a record containing CLI, TIMESTAMP, $CP0, $CP1, "Value of first alphabetical cell record" and 1 (Both CP's will be "")> Pass call on to TierX

If No: Collect 6[sup]1[/sup] digit pin code from caller> Save $KEY as $CP0> Check Pin against data records> If match: Collect Service level and save a DB record containing CLI, TIMESTAMP, $CP0, $CP1, "Value of first alphabetical cell record" and 1 (CP0 is the PIN and CP1 will be "")> Pass call on to TierX

If No Match or timeout[sup]1[/sup]: Collect 6[sup]2[/sup] digit pin again> Save $KEY as $CP0> Check Pin against data records> If match: Save $KEY as $CP1> Collect Service level> Save a DB record containing CLI, TIMESTAMP, $CP0, $CP1, "Value of first alphabetical cell record" and 1 (CP0 an CP1 are equal)> Pass call on to TierX

If No Match again or timeout[sup]2[/sup]: Save $KEY as $CP1> Save a DB record containing CLI, TIMESTAMP, $CP0, $CP1, "Value of first alphabetical cell record" and 0 (CP0 an CP1 are still equal)>

To fix this:

- Delete [PIN1*] + [PIN1**] + [PIN2*] and connect the open gaps
- Move [PIN1] right next to [EnterPIN] and connect
- Move [PIN2] right next to [EnterPIN*] and connect


Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
@Who ever gave it: Thanks for the star [smile]

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Thanks for all your help Gunnar I managed to get it working as expected. I was just picking up the variables in the wrong places.
 
Yeah, you got yourself a fancy entry control there, with billing and reporting capabilities.
I like it! (But maybe a bit over-engineered? [smile])

And as if the flow itself wasn't enough to keep track on, the DBD[x] are not that easy to figure out either.
They re-arrange table columns Alphabetically, so there is no reference between DBD[number] and the sequence Columns have in the table.
(Did that make any sense?)

Best way to figure out the sequence is the DB Get> SQL> drop down; the one at the top is 0, then 1, etc.

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Is there a list of all system variables that are available for use?
 
Yes, here: The Odessa Files

Page 80-84.

You probably need an SSO login to download.

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
or an enigma machine to crack the code...eh Frederick Oro !!

APSS (SME)
ACSS (SME)
ACIS (UC)
 
[smile]

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
I have that document but I cannot find a list of variables available to use?
 
What kind of variable are you looking for then?
Something like "dd/mm/yyyy hh:mm:ss" all in one?

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
i am just looking what else is available to build into a reporting tool.
 
I've posted a few examples the last year.

one example of reporting thread940-1741732

+ this one for DB examples thread940-1742414

+ this for out calling thread940-1737943

Kind regards

Gunnar
______________________________________
Mille viae ducunt homines per saecula Romam

2cnvimggcac8ua2fg.jpg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top