Receiving data - TCL IVR

Version 1
    This document was generated from CDN thread

    Created by: Jean Lofrano on 26-02-2013 02:40:50 PM
    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?

    Subject: RE: Receiving data - TCL IVR
    Replied by: Yaw-Ming Chen on 26-02-2013 08:17:38 PM
    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

    Subject: RE: Receiving data - TCL IVR
    Replied by: Jean Lofrano on 27-02-2013 07:49:25 AM
    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.
     
     
     

    Subject: RE: Receiving data - TCL IVR
    Replied by: Yaw-Ming Chen on 27-02-2013 10:02:05 AM
    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 !
     

    Subject: RE: Receiving data - TCL IVR
    Replied by: Jean Lofrano on 04-03-2013 02:09:51 PM
    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.
     
     

    Subject: RE: Receiving data - TCL IVR
    Replied by: Yaw-Ming Chen on 04-03-2013 02:22:52 PM
    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
     

    Subject: RE: Receiving data - TCL IVR
    Replied by: Jean Lofrano on 07-03-2013 11:53:51 AM
    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? 
     
     

    Subject: RE: Receiving data - TCL IVR
    Replied by: Yaw-Ming Chen on 07-03-2013 12:00:44 PM
    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.