AnsweredAssumed Answered

Create custom script for play right language based on country number

Question asked by @driaanmol on Dec 7, 2011
Latest reply on Dec 16, 2011 by @driaanmol

Hello,

 

I want to create a script for the cue where i want to compare the first digits of the calling number to a predefined number, example someone calls from holland then the calling number = 0031xxxx , than i want to play a dutch prompt. , if the caller calls from germany 0049xxx then i want to play a german message.

 

I receives the callingnumber from the function "Get Call Contact Info" (string). Then i create several variabele strings with 0049 , 0031 , now i want to create a expression thats compare the predefined variabele with the first digit from the call contact info, but i dont know how to create the right expression,

 

Maybe anyone can help me ?

 

Adriaan

Outcomes