need help on variable of tcl debit card

Version 1
    This document was generated from CDN thread

    Created by: haloha haloha on 31-05-2012 06:04:36 AM
    Hi
     
    i read the debit card.tcl and there are 3 variable which i am not clear
    proc init { } {
        global param1
        global beep
        global param2
        global param3
        global pound

        set beep 0
        set pound 0

        set param1(interruptPrompt) true
        set param1(abortKey) *
        set param1(terminationKey) #

       
        set param2(interruptPrompt) true
        set param2(abortKey) *
        set param2(terminationKey) #
        set param2(dialPlanTerm) true

        set param3(interruptPrompt) true
        set param3(abortKey) *
        set param3(terminationKey) #
    }
     
    could you please explain how to use of param1, param2, param3

    Subject: RE: need help on variable of tcl debit card
    Replied by: Raghavendra Gutty Veeranagappa on 31-05-2012 08:58:16 AM
    Hi ,

    here is the params description for more information you can refer the tcl programming guide in below link.
    http://developer.cisco.com/web/vgapi/resources

    param(interruptPrompt)—Whether to interrupt the prompt when a key is pressed. Possible values are true and false. The default is false.

    param(dialPlanTerm)—Match incoming digits against a dial plan and, even if the match fails,continue to collect the digits until the termination key is pressed or a digit timeout occurs.Possible values are true and false. The default is false.

    param(abortKey)—Key to abort the digit collection. The default is none.

    param(terminationKey)—Key that terminates the digit collection. The default is none.

    Thanks,
    Ragahvendra

    Subject: RE: need help on variable of tcl debit card
    Replied by: haloha haloha on 31-05-2012 09:36:18 PM
    Hi Raghavendra


    thank you for your answer