Created by: Jean Lofrano on 15-03-2013 03:16:50 PM Hi team, My TCL script is working properly. My script was configured with the commands below, which I can collect the digits, create the http with the digits collected and send for my application, than I receive a answer and I put in the variable webreturn1. proc ActionCollectQuestion2 { } { puts "IT7: collect question 2" set Question2Param(interruptPrompt) true set Question2Param(terminationKey) # set Question2Param(maxDigits) 11 set Question2Param(dialPlan) true set Question2Pattern(1) "..........." leg collectdigits leg_incoming Question2Param puts "IT7: collected question 2" } proc Action2 { } { global WebServer global Response2 global CallerID global count set StatusCollectDigits [infotag get evt_status] puts "IT7: collectdigits $StatusCollectDigits" #matched pattern if {$StatusCollectDigits == "cd_005"} { set Response2 [infotag get evt_dcdigits] set URL http://$WebServer/URA/ValidarCPF?telefoneorigem=$CallerID&cpf=$Response2 puts "IT7: URL Validacao #2 $URL" ::httpios::geturl $URL -command httpCallback2 } else { media play leg_incoming "flash:/Fem/cpf-invalido.wav" fsm setstate PLAYEDWRONG2 } } proc httpCallback2 { token } { global WebServer global Response1 global WebReturn1 global CallerID if {[::httpios::status $token] == "ok"} { set WebReturn1 [string trim [::httpios::data $token]] } else { set WebReturn1 0 } But, now I would like to create a script that it allows receive some information from CCX via http action. So, I want only to receive a information from CCX via http in my TCL script. Can you help me please? thanks.
Subject: RE: Receiving a http information on TCL IVR Replied by: Yaw-Ming Chen on 15-03-2013 03:28:19 PM If you can have your Tcl script working you should have no problem to have it point to other server. So think you quertion is rather than how to communocate with CCX right ? If this is the case I think you may want to go to CCX portal. The discusss in this forum is all Tcl related, chance may be small have a CCX expert here.
Thanks !
Subject: RES: New Message from Yaw-Ming Chen in Voice Gateway API (VGAPI) - TCL-API: Replied by: Jean Lofrano on 15-03-2013 03:48:52 PM Hey Yaw,
My doubt is about TCL script.
How can I receive a http information on tcl script?
Because today I can receive only If I send something…
Thanks.
De: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com] Enviada em: sexta-feira, 15 de março de 2013 17:28 Para: cdicuser@developer.cisco.com Assunto: New Message from Yaw-Ming Chen in Voice Gateway API (VGAPI) - TCL-API: RE: Receiving a http information on TCL IVR
Yaw-Ming Chen has created a new message in the forum "TCL-API": -------------------------------------------------------------- If you can have your Tcl script working you should have no problem to have it point to other server. So think you quertion is rather than how to communocate with CCX right ? If this is the case I think you may want to go to CCX portal. The discusss in this forum is all Tcl related, chance may be small have a CCX expert here.
Thanks ! -- To respond to this post, please click the following link: or simply reply to this email.
Subject: RE: Receiving a http information on TCL IVR Replied by: Yaw-Ming Chen on 15-03-2013 04:32:27 PM Tcl IVR API can only send a http query, can not receive any query.
Subject: RE: Receiving a http information on TCL IVR Replied by: Jean Lofrano on 21-03-2013 12:57:03 PM ok. thanks.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: