Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

ICM Call.DialedNumberString Not working As I think it should

One dept in my org has 5 numbers.  The dept has been turned in to a call center call queue.  Based on which number a customer calls they are queued at a different priority.

I point their real numbers at non real cti route points which becomes the DN in ICM.

Example:

9632222 = 3170010001

9628317 = 3170010032

I have an if statement

Call.DialedNumberString=="3170010030"||"3170010031"||"3170010032"||"3170010033" use true so all other DN should use false.  Issue is all calls are using true even the 317001001.

Here is the output from the call tracer

> DialedNumber (3170010001) using CallType (MH.Nutrition.MAIN- 6598)

Start #190
     Default\MH_ClassicCuisine_Main {All Customers} (version 6)

If #215
     False; Call.DialedNumberString=="RONA_MH"

Call Type #353
     MH.Nutrition.MAIN

Set Variable #200
     Call.PeripheralVariable1 = "MH_Nutrition" {MH_Nutrition}

Set Variable #199
     Call.PeripheralVariable5 = "MH Patient Nutrition" {MH Patient Nutrition}

Translation Route to VRU #191
  Select min of:
    *ICM1_VRU_IPQMA_SVC = 1
     ICM1_VRU_IPQMB_SVC = 1

If #206
     True (1); Global.user_MH_Nutrition_AftHrsFlag=="0"||"3"

If #337
     True (1); Call.DialedNumberString=="3170010001" <---- It sees the correct DN

Call Type #192
     MH.Nutrition.9632222

If #357
     True (1); Global.user_MH_Nutrition_AftHrsFlag="0"

If #363
     True (1); Call.DialedNumberString=="3170010030"||"3170010031"||"3170010032"||"3170010033"  <--- The 3170010001 DN is not specifed here so should be false

Queue #347
   *MH.Nutrition.EN.SG, LAA=197
> ----------
Translation route: IPQMA_TR
Route: MH.Nutrition.EN.RT
Label: 73545 (ICM1_CCM1_RC)

Why would my IF statement not route the 317001001 calls to the false legs?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: ICM Call.DialedNumberString Not working As I think it should

Yes, it means OR, but you're using it wrong.

Global.user_MH_Nutrition_AftHrsFlag="0"||Global.user_MH_Nutrition_AftHrsFlag="3"

david

9 REPLIES
Green

Re: ICM Call.DialedNumberString Not working As I think it should

I don't know why it's not working. Can you substitute a Dialed Number node for

If #363
     True (1); Call.DialedNumberString=="3170010030"||"3170010031"||"3170010032"||"3170010033" 

A DN node with the four entries ..30, 31, 32, 33 going to the "true" node.

Regards,

Geoff

Community Member

Re: ICM Call.DialedNumberString Not working As I think it should

I will give that a try.  I did change my if statement to  --  Call.DialedNumberString=="3170010001"

It does work correctly in this configuration.  It will route 317001001 out true and all the other 317001003x out the false.

I wonder if there is some bug in ICM 7.5(5)

Green

Re: ICM Call.DialedNumberString Not working As I think it should

FYI

In ICM, the if statement uses a single equals sign. I know the double == works (for some), but it is not correct. Traditionally, ICM has used a single equals sign. You could try this too.

Regards,

Geoff

Community Member

Re: ICM Call.DialedNumberString Not working As I think it should

I did try removing the double equal signs but it did not make a difference.  In the ICM help menu under operators it states to use the double equal signs to mean equal to. :-( 

3 yrs of scripting and I am still corn fused :-)

I am even having problems with other IF statements such as --

Global.user_MH_Nutrition_AftHrsFlag="0"||"3""  I have this defined as a string and character.

The || does mean OR right?

Re: ICM Call.DialedNumberString Not working As I think it should

Yes, it means OR, but you're using it wrong.

Global.user_MH_Nutrition_AftHrsFlag="0"||Global.user_MH_Nutrition_AftHrsFlag="3"

david

Community Member

Re: ICM Call.DialedNumberString Not working As I think it should

Ohhhhhhhh!

That did it!

Thanks David

Re: ICM Call.DialedNumberString Not working As I think it should

Damn, it feels good to be a gangster!

david

Community Member

Re: ICM Call.DialedNumberString Not working As I think it should

Office Space!  Sweeeeeeet

Community Member

Re: ICM Call.DialedNumberString Not working As I think it should

I could not get that darn song out of my head all day.  Just wanted to let ya know.  Thank goodness Uverse has Office Space listed so I am renting it tonight!

http://www.youtube.com/watch?v=eniw_S8JaJM

640
Views
0
Helpful
9
Replies
CreatePlease to create content