亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? app_debit_callback.2.0.0.0.tcl

?? DIgent bsp code system
?? TCL
?? 第 1 頁 / 共 2 頁
字號:
# Script Locked by: CiscoOfficial# Script Version: 2.0.0.0# Script Name: app_debit_callback# Script Lock Date: Fri Oct  4 11:16:30 2002# Aug 28th, 2001, Jinsong Liu#         # Copyright (c) 2001 by Cisco Systems, Inc.# All rights reserved.#------------------------------------------------------------------#         # Description: ## This application is a standard debitcard application with callback feature.# # The application starts with ani authentication. If ani authenticated, caller# will hear multiple beep tones which signals call back service is available to# the caller. Caller is expected to hangs up the phone. As soon as the caller# hangs up, application calls back the caller and play welcome message which starts# the standard debitcard application process. If the caller doesn't hangs up within # default 20 seconds which prevents GW from calling back, the call back will be cancelled.# User can configure CLI parameter wait-time to replace default 20 seconds.## If user is not ani authenticated, caller will be notified that the callback service# is not available.## The debitcard application allows a user to to select the lanaguage mode based on # the langauges that are configured through the CLIs.## The application then prompts and collects the card number. The card number consists # of a uid and pin where uid-length and pin-length are configured through through CLIs.## Authentication is done with the card number. If it passes authentication,# the application plays the amount available in the user's debitcard. It then# prompts and collects the destination number.## If authentication fails, the application allows user to retry and the number# of retries is configured through the CLI.## Authorization is done with the destination number. If authorization is# successful, the application plays a time duration which indicates the amount of# talk time in the user's debitcard account and places the call.## If authorization fails, the application allows users to retry.#         # The main routine is at the bottom.proc init { } {    global param1    global param2    global pound    global beep    set pound 0    set beep  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 param2(enableReporting) true}proc init_ConfigVars { } {    global commandHandle    global operatorNum    global accountLen    global totalLang    global retryCnt    global warnTime    global waitTime    global prefix1    global prefix2    global prefix    global pinLen    set commandHandle ""    set accountLen [string trim [infotag get cfg_avpair uid-len]]    set pinLen [string trim [infotag get cfg_avpair pin-len]]    set retryCnt [string trim [infotag get cfg_avpair retry-count]]    set warnTime [string trim [infotag get cfg_avpair warning-time]]    set operatorNum [string trim [infotag get cfg_avpair redirect-number]]    if {[infotag get cfg_avpair_exists wait-time]} {        set waitTime [string trim [infotag get cfg_avpair wait-time]]    } else {        set waitTime 20    }    # Language related variables    set totalLang [string trim [infotag get med_total_languages]]}proc init_perCallVars { } {    global outgoingDisconnect    global dontPlayAmount    global noTimeLimit    global promptFlag2    global promptFlag    global selectCnt    global destBusy    global noPlay     global count     global fcnt    set outgoingDisconnect 0    set dontPlayAmount 0    set noTimeLimit 0    set promptFlag2 0    set promptFlag 0    set promptFlag 0    set selectCnt 0    set destBusy 0    set noPlay 0    set count 0    set fcnt 0} proc act_Setup { } {    global newGuidInd    global new_guid    global guid    global dnis    global ani    init_perCallVars    set newGuidInd 0    set new_guid [infotag get aaa_new_guid]    set guid     [infotag get leg_guid]    set dnis     [infotag get leg_dnis]     set ani      [infotag get leg_ani]    infotag set med_language 1    leg setupack leg_incoming    # Ani authentication    set avsend(h323-ivr-out,0) "service:callback"        aaa authorize $ani "" $ani "" leg_incoming -a avsend}proc act_ReSetup { } {    global new_guid    global guid    global ani    set callInfo(guid)         $new_guid    set callInfo(incomingGuid) $guid    set callInfo(accountNum)   $ani    # Setup callback leg    leg setup $ani callInfo}proc act_ReSetupDone { } {    global callback_leg_id    global totalLang    global param1    global dnis    set status [infotag get evt_status]    if {$status == "ls_000"} {        # Call back leg setup is successful        set callback_leg_id [infotag get leg_outgoing]        if {$totalLang < 1} {            act_Cleanup        } elseif {$totalLang == 1} {            media play $callback_leg_id _welcome.au            fsm setstate ONELANG        } else {            set param1(maxDigits) 1            leg collectdigits $callback_leg_id param1             media play $callback_leg_id _welcome.au %s1000 %c1 _lang_sel1.au %s1000 %c2 _lang_sel2.au         }    } else {        # Call back leg setup failed        call close    }}proc act_Authenticated { } {    global billing_model    global waitTime    set status [infotag get evt_status]    if {$status == "ao_000"} {       if {[infotag get aaa_avpair_exists h323-billing-model]} {           set billing_model [infotag get aaa_avpair h323-billing-model]           if {$billing_model == 1} {               # Caller authorized to have callback service               media play leg_incoming _beep.au %s1000 _beep.au %s1000 _beep.au               # Setup timer                timer start leg_timer $waitTime leg_incoming               fsm setstate BEEP              } else {               # Not authorized to have callback service               media play leg_incoming _no_service.au                fsm setstate CALLDISCONNECT           }       } else {           # h323-billing-model not available           media play leg_incoming _no_aaa.au            fsm setstate CALLDISCONNECT       }    } else {              # Not authorized to have callback service       media play leg_incoming _no_service.au        fsm setstate CALLDISCONNECT    }}proc act_Disconnect { } {    # Stop the timer    timer stop leg_timer leg_incoming    # Disconnect incoming leg    leg disconnect leg_incoming}proc act_LangSelect { } {    global callback_leg_id    global selectCnt    global retryCnt    global param1    set status [infotag get evt_status]        if {$status == "cd_005"} {        # Collect success, set language selected        set status [infotag set med_language [infotag get evt_dcdigits] ]        if {$status == "language not supported" || $status == "language not specified in configuration"} {            incr selectCnt            if {$selectCnt < $retryCnt} {                set param1(maxDigits) 1                leg collectdigits $callback_leg_id param1                media play $callback_leg_id %c1 _wrong_lang_sel.au %s1000 %c1 _lang_sel1.au %s1000 %c2 _lang_sel2.au                fsm setstate same_state            } else {                media play $callback_leg_id %c1 _generic_final.au                fsm setstate CALLDISCONNECT            }        } else {            # Get the card no            act_GetCard        }    } elseif {($status == "cd_001") || ($status == "cd_002")} {        # Collect timeout/Abort        incr selectCnt        if {$selectCnt < $retryCnt} {            leg collectdigits $callback_leg_id param1            media play $callback_leg_id %c1 _no_lang_sel.au %s1000 %c1 _lang_sel1.au %s1000 %c2 _lang_sel2.au            fsm setstate same_state        } else {            media play $callback_leg_id %c1 _generic_final.au            fsm setstate CALLDISCONNECT        }    }}proc act_GetCard { } {    global callback_leg_id    global promptFlag    global accountLen    global cardLen    global pinLen    global param1    global count    set cardLen [expr $accountLen + $pinLen]    set param1(maxDigits) $cardLen     leg collectdigits $callback_leg_id param1     if {$count == 0} {        media play $callback_leg_id _enter_card_num.au    } elseif {$promptFlag == 1 } {        media play $callback_leg_id _invalid_digits.au    } elseif {$promptFlag == 2 } {        media play $callback_leg_id _auth_fail.au    } elseif {$promptFlag == 3} {        media play $callback_leg_id _no_card_entered.au    }}proc act_GotCardNumber { } {    global callback_leg_id    global promptFlag    global accountLen    global retryCnt    global account    global cardLen    global pinLen    global count    global pin    global ani    set status [infotag get evt_status]    if {$status == "cd_005"} {        # Collect success        set number [infotag get evt_dcdigits]        set numberLen [string length $number]        if {$numberLen == $cardLen} {            # Extract account and pin            set account [string range $number 0 [expr $accountLen -1]]            set pin [string range $number $accountLen [expr $cardLen -1]]                        # Do authorize            aaa authorize $account $pin  $ani "" $callback_leg_id        } else {            incr count            set promptFlag 1            if {$count < $retryCnt} {                act_GetCard                fsm setstate same_state            } else {                media play $callback_leg_id _final.au                fsm setstate CALLDISCONNECT            }        }    } elseif {$status == "cd_001"} {        # Collect timeout        set number [infotag get evt_dcdigits]        set numberLen [string length $number]        if {$numberLen == 0} {            incr count            set promptFlag 3            if {$count < $retryCnt} {                act_GetCard                fsm setstate same_state            } else {                media play $callback_leg_id _final.au                fsm setstate CALLDISCONNECT            }        } elseif {$numberLen == $cardLen} {            set account [string range $number 0 [expr $accountLen -1]]            set pin [string range $number $accountLen [expr $cardLen -1]]                        # Do authorize            aaa authorize $account $pin  $ani "" $callback_leg_id        } else {            incr count            set promptFlag 1            if {$count < $retryCnt} {                act_GetCard                fsm setstate same_state            } else {                media play $callback_leg_id _final.au                fsm setstate CALLDISCONNECT            }        }    } elseif {$status == "cd_002"} {        # Collect aborted        act_GetCard        fsm setstate same_state    } elseif {($status == "cd_007") || ($status == "cd_006")} {        # Collect timeout/fail(disconnected)/invalid_no        incr count        set promptFlag 3        if {$count < $retryCnt} {            act_GetCard            fsm setstate same_state        } else {            media play $callback_leg_id _final.au            fsm setstate CALLDISCONNECT        }    }}proc act_FirstAuthorized { } {    global callback_leg_id    global billing_model    global promptFlag    global retryCnt    global count    global amt    set status [infotag get evt_status]    if {$status == "ao_000"} {        # Check billing model        if {[infotag get aaa_avpair_exists h323-billing-model]} {            set billing_model [infotag get aaa_avpair h323-billing-model]            if {$billing_model == 1} {                # Account successfully authorized, check credit amount                if {[infotag get aaa_avpair_exists h323-credit-amount]} {                    set amt [infotag get aaa_avpair h323-credit-amount]                    act_GetDest                } else {                    media play $callback_leg_id _no_aaa.au                    fsm setstate CALLDISCONNECT                }            } else {                # Not authorized to have callback service                media play $callback_leg_id _no_service.au                 fsm setstate CALLDISCONNECT            }        } else {            # h323-billing-model not available             media play $callback_leg_id _no_aaa.au             fsm setstate CALLDISCONNECT        }    } else {        # Account failed authorization, check return code        if {[infotag get aaa_avpair_exists h323-return-code]} {            set returnCode [infotag get aaa_avpair h323-return-code]            incr count            set promptFlag 2            if {$count < $retryCnt} {                act_GetCard                fsm setstate CARDSELECTION            } else {                # First authorization failed                act_firstAuthorizeFailed $returnCode                fsm setstate CALLDISCONNECT            }        } else {            # No return code from radius server            media play $callback_leg_id _no_aaa.au            fsm setstate CALLDISCONNECT        }    }}proc act_firstAuthorizeFailed { returnCode } {    global callback_leg_id        media play $callback_leg_id _final.au}proc act_secondAuthorizeFailed { returnCode } {    global callback_leg_id        media play $callback_leg_id _final.au}proc act_GetDest { } {    global callback_leg_id    global promptFlag2    global destBusy    global param2    global pound    global fcnt    global amt    # Get destination number     set param2(ignoreInitialTermKey) true    leg collectdigits $callback_leg_id param2    if {$fcnt == 0} {        if {$amt == 0} {            media play $callback_leg_id _zero_bal.au            fsm setstate CALLDISCONNECT	} elseif {$amt > 999999.99} {            media play $callback_leg_id _invalid_amt.au _dollars.au %s1000 _enter_dest.au	} elseif {$destBusy == 1} {            set destBusy 0            media play $callback_leg_id _dest_busy.au	} elseif {$pound == 1} {            set pound 0            media play $callback_leg_id _enter_dest.au	} else {            media play $callback_leg_id _you_have.au %a$amt %s1000 _enter_dest.au	}    } else {        switch -regexp $promptFlag2 {	    {1} {                 media play $callback_leg_id _reenter_dest.au            }	    {2} {                 media play $callback_leg_id _author_fail.au            }	    {3} {                media play $callback_leg_id _no_dest_entered.au            }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区三区精品| 免费成人你懂的| www.av精品| 国产精品免费观看视频| 北条麻妃一区二区三区| 国产精品传媒视频| 在线观看视频一区二区欧美日韩| 亚洲欧美日韩一区二区三区在线观看| 91浏览器在线视频| 调教+趴+乳夹+国产+精品| 欧美精品vⅰdeose4hd| 开心九九激情九九欧美日韩精美视频电影 | 日韩一区二区在线看片| 麻豆成人久久精品二区三区红| 欧美精品一区二区在线播放| 国产成都精品91一区二区三| 国产精品久久久爽爽爽麻豆色哟哟| 99久久综合狠狠综合久久| 一区二区三区在线播放| 欧美一级久久久| 成人蜜臀av电影| 亚洲电影中文字幕在线观看| 欧美日韩成人综合在线一区二区 | 日韩午夜三级在线| 国内精品国产三级国产a久久| 国产精品美女久久久久久久久久久| 色婷婷综合激情| 麻豆精品在线播放| 中文一区二区完整视频在线观看| 日本丶国产丶欧美色综合| 青青草国产精品亚洲专区无| 中文字幕av一区二区三区| 欧美调教femdomvk| 成人美女视频在线观看| 亚洲国产精品视频| 久久久亚洲高清| 欧美性受极品xxxx喷水| 国产一区日韩二区欧美三区| 日韩毛片高清在线播放| 日韩精品自拍偷拍| 91国偷自产一区二区开放时间 | 欧美亚一区二区| 国产精品亚洲一区二区三区妖精 | 老司机免费视频一区二区 | 亚洲午夜免费视频| 久久亚洲私人国产精品va媚药| 色婷婷久久99综合精品jk白丝| 国产资源在线一区| 亚洲最大成人综合| 国产精品免费av| 精品sm在线观看| 欧美精品一卡二卡| 色国产精品一区在线观看| 国产高清无密码一区二区三区| 午夜欧美视频在线观看| 一区二区在线观看免费| 国产精品污www在线观看| 日韩三区在线观看| 欧美在线你懂的| 99久久婷婷国产综合精品电影 | 精品中文字幕一区二区小辣椒| 亚洲国产精品一区二区久久恐怖片 | 欧美性猛片aaaaaaa做受| 粉嫩蜜臀av国产精品网站| 久久国产日韩欧美精品| 亚洲444eee在线观看| 精品久久国产字幕高潮| 不卡的电影网站| 国产成人免费av在线| 精油按摩中文字幕久久| 亚洲风情在线资源站| 亚洲欧美一区二区在线观看| 欧美剧情电影在线观看完整版免费励志电影 | 日韩欧美在线1卡| 成人av电影免费观看| 国产白丝网站精品污在线入口| 日本成人在线网站| 亚洲综合激情另类小说区| 中文字幕不卡的av| 久久久www成人免费无遮挡大片| 在线成人免费观看| 欧美在线一二三四区| 成人久久18免费网站麻豆| 视频一区视频二区在线观看| 亚洲精品免费在线播放| 国产精品短视频| 国产女人aaa级久久久级| 精品国内片67194| 日韩欧美国产高清| 91麻豆精品国产91久久久更新时间| 色婷婷一区二区三区四区| 91网站最新网址| 国产精品99久久久久久似苏梦涵| 久久精品国产99久久6| 免费成人在线网站| 免费人成网站在线观看欧美高清| 亚洲成人久久影院| 天堂va蜜桃一区二区三区漫画版| 亚洲麻豆国产自偷在线| 亚洲精品成人少妇| 亚洲一级不卡视频| 亚洲成精国产精品女| 免费观看成人av| 国产精品996| 丰满少妇在线播放bd日韩电影| 高清久久久久久| 成+人+亚洲+综合天堂| aaa欧美大片| 91一区二区在线观看| 日本电影欧美片| 欧美裸体一区二区三区| 精品视频在线看| 亚洲精品一区二区三区在线观看 | 久久久99精品久久| 国产精品久久久99| 一区二区三区视频在线看| 亚洲午夜视频在线| 久久爱www久久做| 成人永久免费视频| 97超碰欧美中文字幕| 51久久夜色精品国产麻豆| 久久综合狠狠综合久久综合88 | 欧美一区二区在线免费观看| 久久综合av免费| 国产精品欧美经典| 一区二区三区在线观看欧美| 夜夜嗨av一区二区三区| 国产精品一区二区黑丝| 91在线视频官网| 91精品国产一区二区人妖| 国产色一区二区| 色狠狠色噜噜噜综合网| 亚洲午夜一区二区三区| 国产精品乱码一区二三区小蝌蚪| 一区二区三区在线视频观看 | 国模少妇一区二区三区| 91亚洲精华国产精华精华液| 欧美人与性动xxxx| 国产精品美女www爽爽爽| 国产精品每日更新在线播放网址 | 亚洲五码中文字幕| 国产真实乱子伦精品视频| 成人av动漫在线| 日韩免费观看高清完整版| 亚洲日本欧美天堂| 国产制服丝袜一区| 欧美丝袜第三区| 中文文精品字幕一区二区| 亚洲免费观看视频| 理论电影国产精品| 欧美亚洲愉拍一区二区| 日本一区二区三区电影| 免费在线看成人av| 欧美午夜一区二区三区免费大片| 久久久久久久久久久久久女国产乱| 国产精品久久久久久一区二区三区| 天天影视涩香欲综合网| aaa国产一区| 国产人伦精品一区二区| 蜜臀a∨国产成人精品| 在线看国产一区| 国产精品久久三区| 免费观看一级特黄欧美大片| 51精品秘密在线观看| 亚洲综合一区二区三区| 成人精品视频一区二区三区尤物| 欧美一区二区美女| 亚洲成av人影院| 一本大道久久a久久精二百 | 国产精品福利影院| 国产激情视频一区二区三区欧美| 欧美一区二区视频免费观看| 一区二区成人在线| 色成人在线视频| 中文字幕一区二区三区色视频| 国模冰冰炮一区二区| 久久精品一区二区| 国产精品一品视频| 欧美精品一区二区在线播放| 久久精品国产亚洲5555| 欧美一区日本一区韩国一区| 五月天国产精品| 色域天天综合网| 午夜日韩在线电影| 欧美一区午夜视频在线观看| 水野朝阳av一区二区三区| 欧美影院一区二区三区| 亚洲毛片av在线| 欧美性猛交一区二区三区精品| 天天色综合天天| 91麻豆精品国产无毒不卡在线观看| 偷拍日韩校园综合在线| 欧美一区2区视频在线观看| 日本不卡视频一二三区| 日韩精品综合一本久道在线视频| 日韩成人精品在线观看| 日韩一区二区在线观看| 男男视频亚洲欧美| 久久精品视频网| 成人av先锋影音|