×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Global user variable concatenation

Global user variable concatenation

Global user variable concatenation

(OP)
Hi

I have many uservariable called uservariablecampain54xx.Those user variables are set to 6 or 7 by an administrative scripte.
I want to create a dynamic label which will be based on the dial number and the uservariable.The formula is

concatenate("70",(mid(Call.DialedNumberString,3,2)),"DTMF",ValidValue(concatenate("Global.userOpenCampagne54",(mid(Call.DialedNumberString,3,2))),8))

But when I dial the 5101 the label i get is

7001DTMFuservariable5401 or 7002DTMFuservariable5402

I couldn't get the formulas to put the value of the user variable.

The all thing is based on the DTMF that i'll get on the label 70xxDTMFx.
Could someone tell me where the problem is and mostly how to solve it.
I'm running ICM 5 SR7

In advance thank for your help

RE: Global user variable concatenation

It looks like you have Quotes around the 'Global.userOpenCampagne54', try this:

concatenate("70",mid(Call.DialedNumberString,3,2),"DTMF",ValidValue(concatenate(Global.userOpenCampagne54,mid(Call.DialedNumberString,3,2)),8))

Good luck, if this doesn't work, can you post what is in each variable so we can break it down further.

Barry


RE: Global user variable concatenation

(OP)
It does'nt work without the quote.
Here's what the variable look like
UservariableCampain5401
UservariableCampain5402
UservariableCampain5403
UservariableCampain5404
.
.
.
UservariableCampain5449

So what i would like to do in the label value is to concatenate the beginning of the variable name with the dial number 2 last digits.
So that i won't have to use the route select node.

The goal is the have a dynamic label which looks like 7001DTMF1 for DN 5401

The variable (UservariableCampain54xx) are set the 6 or 7 by an admin script.


RE: Global user variable concatenation

Hmmm,

Ok, I think I know what you are trying to do.

In the ICM, you cannot build the name of your variable name to reference later. You can only refer to each value of a defined variable.

Can you explain your entire process and see if there is a way to build your dynamic labels differently?


Barry

RE: Global user variable concatenation

(OP)
OK,
Here is the issue. Our marketing service plans to 2 kind if campains . The first one will be some offers which are propose to most of our customers and the other offer will only be offered to some customer. This means that only some of our 0800 numbers will get the announcement for a period of time and after that period those 0800 number won't hear the message again but a standard announcement.
I thought about using administrative script to make the whole process automatic. The script will set variable to 6 or 7 during period ,that we will define in a condition node ,and those values will be used as DTMF in an dynamic label which is sent to an AVAYA PBX. The Avaya will then used the dtmf to play or not the special offer announcement or the standard one.
A solution will be to used the route select node but as i have a lots of 0800 number, it won't be easy to handle.
The dynamic number seem to be the best solution.

Here is the Story.

RE: Global user variable concatenation

Hello, sorry it took a while to get back to you!

There sounds like there are a couple of options. You could use route selects, and then choose the Allow Connection for Each target option. Then at the end of each target, you can put your label/dynamic label node. This seems to bypass the translation route, and routes through the label instead.

For your user variables, once you fill them with a particular string of numbers, you may need to use the Value() function to convert them into a numeric (if they are strings).

If your desire is to translation route these calls, then you can also look at setting up multiple routes under each service. These routes can point to your difference campaign numbers, then in your Translation Routes, just use your consider if's to decide which route to take.

Good luck!
Barry



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close