Thread: Scripting help
View Single Post
  #1  
Old 10-17-2012, 06:44 AM
oleskare oleskare is offline
Hot Shot
 
Join Date: Dec 2010
Posts: 13
oleskare has 10 reputation points
Default Scripting help

Hi!

Need some help collecting CLID and playing it on AACC 6.2 SIP.



/*Collect CLID into variable.*/
ASSIGN CLID TO CBR_InboundNumber_cv /*CBR_InboundNumber_cv = Type CLID */
?
?
?
WAIT 5
/*This GIVE IVR command plays back the CLID*/
ASSIGN c_play_only_gv TO voicexml
ASSIGN c_sip_digits_int_cv TO vars
ASSIGN "YourPhoneNumberIs.wav+%i0" TO prompttoplay
GIVE IVR SERVICE URI serviceuri WITH VXML TREATMENT voicexml PARAMETERS prompttoplay, vars
WAIT 5
DISCONNECT

I'm missing commands (into lines marked with ?) to convert the CLID into vars. Variable vars is a type of Integer.

Thanks!
Reply With Quote