« Back to TCL-API

Receiving data - TCL IVR

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi team,

I have a tcl script environment working properly.

So now, I need to integrate my TCL script with a application "A" to RECEIVE the "user id", which I received in the application "A" by another server. 
 
Is there any tcl feature to do this? 

Would you like help me?

So my understanding is A has a IVR received "user id" which is digits and you like to pass them to Tcl,  is that right ? If this is the case and A make a call to Tcl (router) then there is a way.
For example, "A" receive "user id", "7777" then "A" can call to reach Tcl router, say number is 408-555-1234. So instead of calling 4085551234 we can call 4085551234*7777. Then in Tcl use "set dnis [infotag get leg_dnis]" we can get dnis = 4085551234*7777 then we can oarse this string to get user id 7777.
 
Thanks

Hi Yaw,

The Application hasn´t a TCL script, but it is a Contact Center.
So, You ´ve given me a great ideia!!!
The script CCX can receive the call and store the calling number in a variable, which will receive a user ID than.
The (ANI = Calling number + user id ) will be send to TCL Router. 

At TCL router I can parse this string, can´t I? 
thank you so much.
 
 
 

Yes you can parse string and if you can change ANI in CCX then send to Tcl that even better if you can't then use DNIS = real called number + usedid to reach router (Tcl)
Thanks !
 

Hi Yaw,

What did you mean with DNIS = real called number + usedid to reach router (Tcl) ?

Because, the value of ANI hasn´t been changed by CCX. 

At the moment, We have been trying to solve our problem with "call consult tranfer (CCX feature)", that can send the digits which was stored by CCX.
 
But, How can I get that in TCL ivr?
 
thanks.
 
 

for example if you need to call 408321000 to reach router you can use 40832100007777 (7777 is the user id and assuming it's not going thru PSTN)
 
Use set dnis [infotag get leg_dnis]
to get DNIS
or
set sni [infotag get leg_ani]
to get ani
 

Hi Yaw,

The call is doing the follow flow:
CCX >>> CUCM >> TCL script
So, I think that Call consult transfer is being blocked by CUCM.

I´ve done the test and I had the real dnis without the anothers digits.
 
I´v been thinking to use the Vxml... What do you think about?
can Vxml help me in these solution? 
 
 

If you can not put it in DNIS try put it in ANI.
It's the same if you cannot do it in Tcl I think VXML is the same result.