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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vector Variable 1

Status
Not open for further replies.

Wolfdzn

IS-IT--Management
Dec 11, 2013
98
CA
How to keep same local variable across the call ?

I have a call transferring vector to vector and I want to keep the Variable's value until call disconnects...
 

What type of data are you trying to retain?

If you set the data in a variable with a type set to collect and scope of L it will carry through goto vector steps.

- Stinney
"Scire ubi aliquid invenire possis, ea demum maxima pars eruditionis est"

"To know where to find anything is, after all, the greatest part of education"

 
CM 5.2
AA Test collect L 1 1

I am collecting 1 digit in vector and call is queued based on the digits 1 or 2, if call is going to RONA (different) vector, I don't want caller to enter digit again, I want to preserve this variable AA until call disconnect from the PBX.

When call will go to RONA vector then vector will have last value of AA and will queue the call again based on the digits..

 

When you say it's queued based on the 1 or 2, do you mean it gets queued to different skills? Or you just skill it at a different priority based on 1 or 2? What do you do different?

- Stinney
"Scire ubi aliquid invenire possis, ea demum maxima pars eruditionis est"

"To know where to find anything is, after all, the greatest part of education"

 
here is the call flow

VDN 111 --> Vec 111 > Skill 111 and Skill 222 (If call is coming to this VDN then caller press 1 or 2, 1 will queue the call to skill 111 and 2 will queue the call to skill 222
Vector : SET AA = digits ADD none
Variable AA Test Collect L 1 1

the above vector stors the valud of AA and works find within vector 111

on RONA call is going to RONA VDN 333 --> Vec 333, AA is blank in vec 333, and my understanding is that L variable is good until call is disconected


RONA in hunt 111
VDN 333 --> Vec 333


make sense ?
 

Once the call leaves vector processing when delivered to an agent's phone the variable will be lost.

Add a second VDN 444. Change the RONA for skill 111 to route to VDN 333 and skill 222 to 444. Then you can route the call to vector 333 and skill the call based on the VDN number.

We use variable V for VDN check:

Var Description Type Scope Length Start Assignment VAC
V VDN check vdn L active

Then in the vector you can then do:

07 goto step 10 if V = 333
08 goto step 20 if V = 444


OR without using variables you can jsut assign the skill in the VDN 1st skill field and queue to skill 1st if the vector does the same thing for both skills, no different announcements or anything else.





- Stinney
"Scire ubi aliquid invenire possis, ea demum maxima pars eruditionis est"

"To know where to find anything is, after all, the greatest part of education"

 
In CM 5.2 There's actually a place you can store it that will persist through a RONA: the digit buffer.

before you deliver the call, set digits = none catr AA
in the beginning of vector 333, set AA = none catr digits

I actually use the digit buffer to hold the VDN that delivered the call, and my RONA vector reads this and sends the call back there.

 
[thumbsup] NICE!

- Stinney
"Scire ubi aliquid invenire possis, ea demum maxima pars eruditionis est"

"To know where to find anything is, after all, the greatest part of education"

 
Thanks a lot joesena, it works really well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top