Hey, am trying to create script for two extension and want to treat both in different manner, like one person 1 called in our CCX, and he's paid user so i want special prompt and special agent for him and the other user call in he will be welcome with simple prompt and simple CSQ. How can i make my script so he can check extension and besed on that extension my script will resoonse.
I try to to use Get call Conact info and set to store extension in my variable but am failed to figure out how i will use that variable in my IF .
Solved! Go to Solution.
After you get the ANI stored as variable (defined as integer) then you simply do:
IF variable == "XXXX"
where XXXX is the pre-defined expected value of the caller you wish to treat differently.