VoiceGuide IVR Software Main Page
Jump to content

Hanges Up On Voip Unit

Recommended Posts

Hi

I'm using VG ver. 5.2.5012 with diallogic it was working fine.

now i hooked it up with a voip unit (packet8) and it hangs up after a secend.

any help please.

 

TIA_Yona

 

...

...

215554.16 5 rv ns add [Evaluate_ring_id_2_Input]{(3 > 2)}

215554.16 5 rv ns add [Evaluate_ring_id_2]{True}

215554.16 5 Eval Expr result:[True]

215554.16 5 timer clear

215554.16 5 state [Get_Numbers_id] Number Input

215554.17 5 lineAnswer(66099) => 66082

215554.70 5 tapi callstate start

215554.70 5 tapi callstate CONNECTED 66099 1 0

215554.70 5 callstate CONNECTED 66099,1,0

215554.70 5 WorkingModeTAPI@Connected=Answering

215554.72 5 WorkingModeScript@Connected=BeforeAnswerRun

215554.73 5 Inband detection not enabled

215554.73 5 tapi Reply (LineEvReply) ok 66082 0

215554.73 5 timer clear

215554.73 5 state [Get_Numbers_id] Number Input

215554.73 5 state [Get_Numbers_id] Playing ()

215554.73 5 ScriptEventCode 8001 iLineState=1300

215554.75 5 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED

215554.75 5 timer set 10 EV_TIMEOUT_HANGUP

215554.75 5 timer set 2 EV_TIMEOUT_GOTOMODULE

215554.75 5 callinfo MONITORMODES

215556.92 5 timer fired EV_TIMEOUT_GOTOMODULE

215556.92 5 ScriptEventCode 9002 iLineState=1301

215556.92 5 LsGetNbrsRxDigits EV_TIMEOUT_GOTOMODULE

215556.92 5 rv lg add [Get_Numbers_id]{}

215556.92 5 rv ns add [Get_Numbers_id_PathTaken]{timeout}

215556.92 5 timer clear

215556.92 5 state [vb script:[AfterVM]

215559.88 5 After Hangup script not found: C:\Program Files\VoiceGuide\Scripts\transfer\AfterVM

215559.88 5 timer set 1 EV_TIMEOUT_TIMETOREINITLINE

215559.88 5 tapi Reply (LineEvReply) ok 66065 0

215600.88 5 timer fired EV_TIMEOUT_TIMETOREINITLINE

215600.88 5 ScriptEventCode 9008 iLineState=900

215600.88 5 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

215600.88 5 ReinitTelephony due to IDLE

215600.88 5 tapic lineDeallocateCall(MainCall:66099) 0

215600.95 5 lineOpen(5)=>

215600.95 5 state Waiting for a call...

215600.97 5 LineHandle=66048

215600.97 5 amchk set AMdet=False in Reinit@idle

215600.97 5 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT

215601.34 0 dial start any summary:|5:rdy=0|6:idx=0|7:idx=0|

215604.25 5 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

215604.25 5 ScriptEventCode 9013 iLineState=900

215604.38 0 dial start any summary:|5:idx=0|6:idx=0|7:idx=0|

Share this post


Link to post

Trace shows that you have a Timeout path leaving module [Get_Numbers_id] which does not seem to point to any existing module - so the script hangs up the call when it times out awaiting input - after only 2 seconds - as that is what the Timeout path is set to be...

 

The script is not set to play any sound file in the starting module [Get_Numbers_id], so the timeout of 2 seconds starts immediately after answer...

 

215554.73 5 state [Get_Numbers_id] Number Input

215554.73 5 state [Get_Numbers_id] Playing ()

 

215554.75 5 timer set 2 EV_TIMEOUT_GOTOMODULE

 

215556.92 5 LsGetNbrsRxDigits EV_TIMEOUT_GOTOMODULE

Share this post


Link to post

Hi

Thank you for your help.

This is not the case it bomes me out at difrent times, and there is atimeout path.

The only thing changed is the phone hardware.

 

 

 

 

....

....

5 5 timer clear

163117.05 5 state [Evaluate_ring_id_2] Evaluate [($RV_RINGCOUNT > $RV[DBIS_RINGCOUNT])]

163117.05 5 rv replace start: [($RV_RINGCOUNT > $RV[DBIS_RINGCOUNT])]

163117.05 5 rv ns [PathSysVoice]{}[PathApp]{C:\Program Files\VoiceGuide\}[PathDataVm]{C:\Program Files\VoiceGuide\data\}[PathVgSys]{C:\Program Files\VoiceGuide\system\}[scriptsPath]{C:\Program Files\VoiceGuide\Scripts\transfer\}[scriptPath]{C:\Program Files\VoiceGuide\Scripts\transfer}[$RV_STARTTIME]{1/4/2007 4:31:04 PM}[$RV_DEVICEID]{5}[$RV_CIDNAME]{}[PathApp]{C:\Program Files\VoiceGuide\}[$RV_CIDNUMBER]{}[$RV_DNIS]{}[DNIS]{}[sql_1_Input]{"select FRWRDNUM, RINGCOUNT, HI_PROMPT, WEEKDAYS,STIME, ETIME, TIMEOUT, rtrim(TIME_RUN), open from ivr_set IVS WHERE (Position('4' IN IVS.WeekDays)>0) AND '16:31' >= STIME AND '16:31' <= ETIME"}[sql_1]{select FRWRDNUM, RINGCOUNT, HI_PROMPT, WEEKDAYS,STIME, ETIME, TIMEOUT, rtrim(TIME_RUN), open from ivr_set IVS WHERE (Position('4' IN IVS.WeekDays)>0) AND '16:31' >= STIME AND '16:31' <= ETIME}[sET_SQL]{select FRWRDNUM, RINGCOUNT, HI_PROMPT, WEEKDAYS,STIME, ETIME, TIMEOUT, rtrim(TIME_RUN), open from ivr_set IVS WHERE (Position('4' IN IVS.WeekDays)>0) AND '16:31' >= STIME AND '16:31' <= ETIME}[Database_setings_RowCount]{1}[Database_setings_1_1]{9,1,866-619-4682 }[Database_setings_2_1]{2}[Database_setings_3_1]{c:\vgwav\computer.wav, c:\vgwav\message.wav, c:\vgwav\p2.wav }[Database_setings_4_1]{71234 }[Database_setings_5_1]{06:30}[Database_setings_6_1]{18:00}[Database_setings_7_1

{}[Database_setings_8_1]{Play_transfer_1}[Database_setings_9_1]{1}[DBIS_FRWRDNUM

{9,1,866-619-4682}[DBIS_RINGCOUNT]{2}[DBIS_HI_PROMPT]{c:\vgwav\computer.wav, c:\vgwav\message.wav, c:\vgwav\p2.wav}[DBIS_WEEKDAYS]{71234}[DBIS_STIME]{06:30}[DBIS_ETIME]{18:00}[DBIS_TI

EOUT]{}[DBIS_TIME_RUN]{Play_transfer_1}[DBIS_OPEN]{1}[MY_LINE_ID]{1}[Evaluate_ri

g_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}[Evaluate_ring_id_2_Input]{(2 > 2)}[Evaluate_ring_id_2]{False}

163117.05 5 rv replace end: [(3 > 2)]

163117.06 5 .Eval((3 > 2))

163117.06 5 rv ns add [Evaluate_ring_id_2_Input]{(3 > 2)}

163117.06 5 rv ns add [Evaluate_ring_id_2]{True}

163117.08 5 Eval Expr result:[True]

163117.08 5 timer clear

163117.08 5 state [Get_Numbers_id] Number Input

163117.08 5 lineAnswer(66407) => 66424

163117.61 5 tapi callstate start

163117.61 5 tapi callstate CONNECTED 66407 1 0

163117.63 5 callstate CONNECTED 66407,1,0

163117.63 5 WorkingModeTAPI@Connected=Answering

163117.63 5 WorkingModeScript@Connected=BeforeAnswerRun

163117.64 5 Inband detection not enabled

163117.64 5 tapi Reply (LineEvReply) ok 66424 0

163117.64 5 timer clear

163117.64 5 state [Get_Numbers_id] Number Input

163117.64 5 state [Get_Numbers_id] Playing ()

163117.64 5 ScriptEventCode 8001 iLineState=1300

163117.66 5 LsGetNbrsPlayWelcMsg EV_PLAY_FINISHED

163117.66 5 timer set 10 EV_TIMEOUT_HANGUP

163117.66 5 timer set 2 EV_TIMEOUT_GOTOMODULE

163117.66 5 callinfo MONITORMODES

163119.83 5 timer fired EV_TIMEOUT_GOTOMODULE

163119.83 5 ScriptEventCode 9002 iLineState=1301

163119.83 5 LsGetNbrsRxDigits EV_TIMEOUT_GOTOMODULE

163119.83 5 rv lg add [Get_Numbers_id]{}

163119.83 5 rv ns add [Get_Numbers_id_PathTaken]{timeout}

163119.83 5 timer clear

163119.83 5 state [vb script:[AfterVM]

163131.03 5 After Hangup script not found: C:\Program Files\VoiceGuide\Scripts\transfer\AfterVM

163131.03 5 timer set 1 EV_TIMEOUT_TIMETOREINITLINE

163131.03 5 tapi Reply (LineEvReply) ok 66373 0

163132.08 5 timer fired EV_TIMEOUT_TIMETOREINITLINE

163132.08 5 ScriptEventCode 9008 iLineState=900

163132.08 5 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

163132.08 5 ReinitTelephony due to IDLE

163132.08 5 tapic lineDeallocateCall(MainCall:66407) 0

163132.16 5 lineOpen(5)=>

163132.16 5 state Waiting for a call...

163132.16 5 LineHandle=66390

163132.16 5 amchk set AMdet=False in Reinit@idle

163132.17 5 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT

163132.61 0 dial start any summary:|5:rdy=0|6:idx=0|7:idx=0|

163135.45 5 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

163135.45 5 ScriptEventCode 9013 iLineState=900

163135.63 0 dial start any summary:|5:idx=0|6:idx=0|7:idx=0|

163144.58 0 sys cleanup Start

163144.58 0 sys cleanup deleting C:\Program Files\VoiceGuide\temp\vbs_5_1_0104152948.vbs

163144.59 0 sys cleanup deleting C:\Program Files\VoiceGuide\temp\vbs_5_1_0104152954.vbs

163144.59 0 sys cleanup deleting C:\Program Files\VoiceGuide\temp\vbs_5_1_0104153100.vbs

163144.61 0 sys cleanup deleting C:\Program Files\VoiceGuide\temp\vbs_5_2_0104153055.vbs

163144.61 0 sys cleanup End

Share this post


Link to post

This trace looks exacly like the previous one.

We can see in it that after answering the call nothing is played and script hangs up 2 seconds later:

163117.64 5 state [Get_Numbers_id] Playing ()

...

163117.66 5 timer set 2 EV_TIMEOUT_GOTOMODULE

 

Have you looked at your script, in the [Get_Numbers_id] module?

Share this post


Link to post

Hi.

I'm posting the part of the script you could see Timeout should go to VBS_CALL_ID

 

 

[Get_Numbers_id]

Type=Get Numbers

DispSize=69

Txt=Play a prompt asking the caller to enter a sequence of numbers, speak the sequence back to the caller and ask them to confirm it. Go down different paths depending on the numbers entered...

Replay=0,0

GetNbrLen_Min=0

GetNbrLen_Max=0

Confirm=OFF

VbScript=

VbsHoldPlay=

on {success} goto [vbs_call_id]

on {fail} goto [vbs_call_id]

on {timeout 2} goto [vbs_call_id]

 

Position=75,438

 

[vbs_call_id]

Type=Run VB Script

DispSize=69

Txt=Run a VB Script.

VbsFileToRun=

VbsWait=1

VbScript=

dim adsConTrn

dim adsRsCallId

dim iRet

dim strResultVariables

dim strWavFile

Set adsConTrn = CreateObject("ADODB.Connection")

set adsRsCallId = CreateObject("ADODB.Recordset")

 

 

 

adsConTrn.ConnectionString = "FILE NAME=C:\IVR_DATA\IVR.UDL"

adsConTrn.open

adsRsCallId.ActiveConnection = adsConTrn

 

adsRsCallId.open "select * from call_id where id='$RV[Get_Numbers_id]'", adsConTrn

 

 

'msgbox adsRsCallId.RecordCount

if not adsRsCallId.eof then

strResultVariables = "[CALL_NAME]{"& trim(adsRsCallId.Fields("TTS_NAME").value) &"}" '// before close

adsRsCallId.close

adsRsCallId.open "UPDATE call_id SET lastcall=curdate(),lasttime=curtime(),callcount=callcount+1 where id='$RV[Get_Numbers_id]'", adsConTrn

else

adsRsCallId.close

adsRsCallId.open "INSERT INTO call_id (id,lastcall,lasttime,callcount) VALUES ('$RV[Get_Numbers_id]',curdate(), curtime(),1)", adsConTrn

strResultVariables = "[CALL_NAME]{"& "UNKNOWN" &"}"

end if

iRet = WriteResultFile(strResultVariables,2)

...

...

Share this post


Link to post

Please .ZIP up and post the entire script (the .vgs file) which you are using.

 

Also please update your system to latest version of VG, as that's the version which we will use when looking at the script.

Share this post


Link to post

Thanks for the script. Please now update your system to latest version of VG (as you are using a Dialogic card then the version of the software you should be using is VoiceGuide for Dialogic) and post a trace (.ZIPed) capturing the entire VG startup and incoming call.

 

Enable logging by setting the log levels to 10 in VG.INI as per below:

[Log]

 

VoiceGuide=10

Then restart VG and make a test call which demonstrates the problem.

 

Trace files will be created in VG's \log\ subdirectory.

 

When posting traces/scripts please .ZIP them up and post them as attachments.

Share this post


Link to post

I have put back the old BPX and it works fine now.

At the time i purchesed VG the dialogic verson was not around. Later i did not updated to the dialgic ver becouse it was new and i was not sure if it is stable, since the older version was around longer.

Is there any charge to update?

what version dose have fewer bugs ?

I realy like the fact how fast bugs are fixed, but if it anet broken y fix.

 

Thank you agen for the help

Share this post


Link to post

On Dialogic based systems using "VG for Dialogic" is the better choice. Many users run into TAPI layer problems if they do not use VG for Dialogic. (VG for Dialogic deos not use TAPI)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×