wallingd Report post Posted 11/10/2003 05:48 AM Hello, I'm running 5.1.2 enterprise and have a question about the Get Numbers module. The documentation says that the default interdigit timeout in the ini file can be overriden by specifying a timeout in the module. However, when I specify a timeout and set the length parameter to "any length" or "less than or equal to x digits" and enter fewer than the max, the keypresses I enter appear to get ignored. Instead, my next module - an Eval module - sees the value of the Get Numbers module in question as a literal "timeout" string. However, if I remove the specified timeout from the module and rely on the ini's interdigit timeout, the actual keypresses are recorded. Is this a bug? It seems like it, given the documentation and the divergent behavior. Traces are below: Trace using .ini interdigit timeout of 2: =========================================== 214348.39 7 linedevstate 2048 0 0 214348.41 7 callstate OFFERING 65606 0 4 214348.41 7 Answer the call at 11/9/2003 9:43:48 PM 214348.42 7 lineAnswer(65606) => 65623 214348.42 7 callinfo CALLEDID 214348.42 7 callinfo ORIGIN 214348.42 7 ring 0 214348.97 7 callstate CONNECTED 65606,1,0 214348.97 7 WorkingModeTAPI@Connected= 214348.98 7 WorkingModeScript@Connected= 214349.02 7 Inband detection start (1 patterns loaded) 214349.03 7 tapi Reply (LineEvReply) ok 65623 0 214354.42 7 LsIndialSignalCapture EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT 214354.42 7 StartLoadedVgs at 11/9/2003 9:43:54 PM 214354.42 7 [inbandExtension] Evaluate [Len("$RV[iNBAND]") = 3] 214354.42 7 RVreplace start: [Len("$RV[iNBAND]") = 3] 214354.44 7 RVreplace end: [Len("") = 3] 214354.44 7 .Eval(Len("") = 3) 214354.44 7 Eval Expr result:[False] stored in $RV[inbandExtension] 214354.45 7 [Welcome] Number Input 214354.47 7 [Welcome] Playing (Welcome.wav) 214354.50 7 PlaySoundStart ok [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\Welcome.wav] 214355.81 7 dtmf 2 (65606,50,2) 214355.83 7 LsGetNbrsPlayWelcMsg 2 214356.86 7 PlaySoundStop ok 214356.88 7 [Welcome] Number Input 2 214356.89 7 path {2} not found 214358.98 7 LsGetNbrsRxDigits EV_TIMEOUT_ENTERDATA 214358.00 7 path {2} not found 214358.00 7 [Welcome Eval 1] Evaluate [Len($RV[Welcome]) = 3] 214359.03 7 RVreplace start: [Len($RV[Welcome]) = 3] 214359.05 7 RVreplace end: [Len(2) = 3] 214359.06 7 .Eval(Len(2) = 3) 214359.08 7 Eval Expr result:[False] 214359.11 7 [Welcome Eval 2] Evaluate [$RV[Welcome] = 2] 214359.13 7 RVreplace start: [$RV[Welcome] = 2] 214359.14 7 RVreplace end: [2 = 2] 214359.16 7 .Eval(2 = 2) 214359.17 7 Eval Expr result:[True] 214359.20 7 [2. Consulting] Playing 214359.22 7 [2. Consulting] Playing (OneMoment.wav) 214359.27 7 PlaySoundStart ok [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\OneMoment.wav] 214359.28 7 RunModule PLAY end 214400.75 7 wb(15284300) 214401.78 7 Play End line[7] (id=152843) 214401.80 7 LsPlayMsg EV_PLAY_FINISHED 214401.81 7 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE 214402.27 7 LsXferStart EV_TIMEOUT_READYTOBEGINTRANSFER 214402.28 7 [2. Xfer] Blind Transfer to 2051 (TAPI) 214402.30 7 lineBlindTransfer(65606,2051,0) in LsXferStart => 65572 214405.33 7 callstate ONHOLDPENDTRANSFER 65606 0 0 214405.97 7 linedevstate 2048 0 0 214405.98 7 callstate IDLE 65606 0 0 214405.98 7 WorkingMode@Idle=BlindTransfer 214406.02 7 tapi Reply (LineEvReply) ok 65572 0 214407.03 7 LsXferStart EV_TIMEOUT_TIMETOREINITLINE 214407.05 7 ReinitTelephony due to IDLE start 214407.08 7 tapic lineDeallocateCall(MainCall:65606) 0 214407.48 7 lineOpen(7) => 0 214407.50 7 Waiting for a call... 214407.53 7 lineOpen(7)LineHandle=65589 Trace using Get Numbers module timeout of 2: ================================================== 214646.13 7 linedevstate 2048 0 0 214646.13 7 callstate OFFERING 65794 0 4 214646.15 7 Answer the call at 11/9/2003 9:46:46 PM 214646.16 7 lineAnswer(65794) => 65811 214646.16 7 callinfo CALLEDID 214646.16 7 callinfo ORIGIN 214646.16 7 ring 0 214646.71 7 callstate CONNECTED 65794,1,0 214646.71 7 WorkingModeTAPI@Connected= 214646.71 7 WorkingModeScript@Connected= 214646.76 7 Inband detection start (1 patterns loaded) 214646.76 7 tapi Reply (LineEvReply) ok 65811 0 214652.17 7 LsIndialSignalCapture EV_TIMEOUT_INBANDSIGNAL_INTERDIGIT 214652.17 7 StartLoadedVgs at 11/9/2003 9:46:52 PM 214652.17 7 [inbandExtension] Evaluate [Len("$RV[iNBAND]") = 3] 214652.17 7 RVreplace start: [Len("$RV[iNBAND]") = 3] 214652.18 7 RVreplace end: [Len("") = 3] 214652.18 7 .Eval(Len("") = 3) 214652.18 7 Eval Expr result:[False] stored in $RV[inbandExtension] 214652.20 7 [Welcome] Number Input 214652.22 7 [Welcome] Playing (Welcome.wav) 214652.24 7 PlaySoundStart ok [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\Welcome.wav] 214653.37 7 dtmf 2 (65794,50,2) 214653.52 7 LsGetNbrsPlayWelcMsg 2 214654.55 7 PlaySoundStop ok 214654.56 7 [Welcome] Number Input 2 214654.57 7 path {2} not found 214656.67 7 LsGetNbrsRxDigits EV_TIMEOUT_GOTOMODULE 214656.70 7 [Welcome Eval 1] Evaluate [Len($RV[Welcome]) = 3] 214656.72 7 RVreplace start: [Len($RV[Welcome]) = 3] 214656.73 7 RVreplace end: [Len(timeout) = 3] 214656.74 7 .Eval(Len(timeout) = 3) 214656.77 7 Eval Expr result:[False] 214656.80 7 [Welcome Eval 2] Evaluate [$RV[Welcome] = 2] 214656.82 7 RVreplace start: [$RV[Welcome] = 2] 214656.84 7 RVreplace end: [timeout = 2] 214656.86 7 .Eval(timeout = 2) 214656.87 7 Eval Expr result:[False] 214656.89 7 [Digit 1] Playing 214656.92 7 [Digit 1] Playing (MainMenu.wav) 214656.97 7 PlaySoundStart ok [C:\Program Files\VoiceGuide\Scripts\AutoAttendant\MainMenu.wav] 214656.98 7 RunModule PLAY end 214659.86 7 dtmf D (65794,68,2) 214659.88 7 Hanging up call... [Global End-of-Call DTMF (D)] 214659.89 7 RecSoundStop ok 214700.92 7 PlaySoundStop ok 214700.94 7 fnHangupCall end 214700.98 7 linedevstate 2048 0 0 214701.02 7 callstate IDLE 65794 0 0 214701.03 7 WorkingMode@Idle= 214701.05 7 tapi Reply (LineEvReply) ok 66494 0 214702.14 7 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 214702.17 7 ReinitTelephony due to IDLE start 214702.19 7 tapic lineDeallocateCall(MainCall:65794) 0 214702.56 7 lineOpen(7) => 0 214702.58 7 Waiting for a call... 214702.59 7 lineOpen(7)LineHandle=66477 7 lineOpen(7)LineHandle=65589 Share this post Link to post
SupportTeam Report post Posted 11/10/2003 06:41 AM The attached vgmulti.exe should fix this bug. The type of path taken from a GetNumbers module will now be available using the RV variable $RV[ModuleTitle_PathTaken] This bug fix will be available in release v5.1.3 onwards. VgMulti.zip Share this post Link to post