VoiceGuide IVR Software Main Page
Jump to content

Vg Call State "unavailable"

Recommended Posts

I am running VG4.9 on a P2-300 with 200Meg of ram with Win98.

 

Using an Aopen FM56-ITU modem with most recent drivers.

 

I have a VG script for a Football Pool that has been working fine through the many versions of VG. I am currently having a problem on a fairly regular basis (daily) where for no apparent reason the "Line State" goes "UNAVAILABLE" and the phone line sits "Busy" and no more calls are answered until I restart the system.

 

I have attached a couple of trace logs with the problem occurring at the very end of the trace log. I am also attaching a TapiWrap log that keeps being created in the c:\ directory. I will also include my VG.INI.

 

I hope this will give you enough information to determine the error and assist in correcting it.

 

 

P.S. Are you every going to post a detailed description of the VG.INI settings?

 

 

Thanks

 

****

VG.INI

****

[LineConfig]

TapiDeviceCount=1

 

[TapiDevice1]

Id=0

Name=AOpen_FM56-ITU2_56000

Script=C:\Katalina\VoiceGuide4\Scripts\Football Pool\NFL Pool.vgs

RingsBeforeAnswer=1

PopupCallerId=0

DialoutOK=0

 

[TapiDevice2]

Id=

Name=

Script=

RingsBeforeAnswer=2

PopupCallerId=

DialoutOK=

 

[TapiDevice3]

ID=

Name=

Script=

RingsBeforeAnswer=2

PopupCallerId=

DialoutOK=

 

[TapiDevice4]

ID=

Name=

Script=

RingsBeforeAnswer=2

PopupCallerId=

DialoutOK=

 

 

[PlayRecordConfig]

RecEditor=SNDREC32.EXE

RecCutIfHangupBytes=48000

RecCutIfDtmfStopBytes=5000

RecLengthMin=1

RecLengthMax=30

PlayEndPauseDialogic=0

;PlayVolume can be set from 1 (very quiet) to 100 (loudest).

;a setting of 0 disables explicit setting of the volume, keeping the default setting.

PlayVolume=100

 

;SilenceDetectLength: 40=4 seconds

SilenceDetectLength=40

;SilenceDetectLevel: range: 0-100.

;0 - don't detect silence, 100 - detect loud background noise as silence.

SilenceDetectLevel=10

 

 

 

[Voicemail]

RecLengthMin=1

RecLengthMax=120

ForwardPhoneRetries=2

ForwardPhoneWait=1

ForwardPhoneAcceptPrompt=VmbForwardAskAccept.wav

ForwardEmailSubject=Voicemail recieved from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HOUR:$RV_MINUTE $RV_DATE/$RV_MONTH

ForwardEmailBody=Voicemail recieved from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HOUR:$RV_MINUTE $RV_DATE/$RV_MONTH

ForwardEmailMechanism=MAPI

ForwardEmailSmtpServer=smtp.yourdomain.com

ForwardEmailSmtpEmailAddress=you@yourdomain.com

ForwardVmEmailSmtpSendersName=VoiceGuide Voicemail

 

 

[PBX]

;Maximum time the system will wait for the extension to be answered. In seconds.

AnnouncedTransfersMaxWaitTime=30

 

;Inband signalling configuration file eg: InbandSignaling_SiemensHiPath3000_v1.2.txt

InbandSignalConfig=

 

;time for PBX to react to the hookflsh. In 100ms units, eg: 10=1 second

PauseAfterHookflash=10

 

;"TAPI" : TAPI functions calls are made to driver to action transfers and conferences.

;"Generate" : exlilicit tones and signals are generated using TAPI calls

;"AT" : modem AT commands are used

TransferControl_Modem=Generate

TransferControl_TelBoards=Generate

 

;************************************************

;*** "Generate" is selected for Transfer Control

;************************************************

;generated before playing the destination extension. (Blind and Announced transfers)

Transfer_Prefix=!

;generated after the call transfer is accepted.

;after playing this signal VoiceGuide will hang up the call.

;generated after the call is declined.

;This signal is used to hangup the extension leg of the call and retrieve the call,

Transfer_AnnounceDecline=!

;generated before playing the destination extension. (Blind and Announced conferences)

Conference_Prefix=!

;generated immediately after playing the destination extension

Conference_BlindSuffix=!3

;generated after the call confenrence is accepted.

;after playing this signal VoiceGuide will stay on the line.

Conference_AnnounceAccept=!3

;generated after the call confenrence is declined.

;This signal is used to hangup the extension leg of the call and retrieve the call,

Conference_AnnounceDecline=!

 

 

;************************************************

;*** "AT" is selected for Transfer Control

;************************************************

ModemTransferInit1=AT#VBT=1

ModemTransferHookflash=AT#VTS=!

;ModemTransferDialNumber: this command is suffixed with the destination number separated by commas

ModemTransferDialNumber=AT#VTS=

ModemTransferComplete=AT#VTS=!

;Commands issued to the modem duting a 3-way conference setup

Modem3WayInit1=AT#VBT=1

Modem3WayHookflash=AT#VTS=!

;pause time after sending hookflash to allow PBX enough

;Modem3WayDialNumber : this command is suffixed with the destination number separated by commas

Modem3WayDialNumber=AT#VTS=

Modem3WayComplete=AT#VTS=!

 

;************************************************

;*** "TAPI" is selected for Transfer Control

;************************************************

;set to 1 if lineComplete transfer is not to be called upon announced call transfer being accepted.

;if set to 0 then LineCompleteTransfer will be issued after call transfer is accepted, then call will be hung up.

;if set to 1 then the call will be just hung up after call transfer is accepted.

OnTransferAccept_NoLineCompleteTransfer=0

 

 

;3WayMaxTalkTime is in 1 second units, rg: 1800=30 minutes

3WayMaxTalkTime=1800

 

 

[VGDialer]

;set it to MM/DD/YY or DD/MM/YY

DateFormat=DD/MM/YY

 

;Dialout announcement replay maximum count.

AnnReplay=3

 

;How long before another call can go out on the same line (sec)

AfterIdleWait=5

 

;Silence detection is used to judge when the answering machine

;message has stopped talking:

 

;AnswerMachine Silence detect length. In 100ms units (20=2 seconds)

AM_SilenceDetectLength=20

;AnswerMachine SilenceDetectLevel: range: 0-100.

;0 - don't detect silence, 100 - detect loud background noise as silence.

AM_SilenceDetectLevel=10

 

 

[VBScript]

UseSafeSubset=1

ShellHandler=wscript

 

[DatabaseWorkspace]

WorkspaceJetUser=admin

WorkspaceJetPassword=

WorkspaceOdbcUser=admin

WorkspaceOdbcPassword=

 

[VgGsd]

DesignAreaHeight=5000

DesignAreaWidth=5000

 

[VGsys]

;Used only for CT-Media systems

;AssistingApp=VgControl.exe

 

;Fax Handoff settings:

HandoffProgramFax=

 

 

[OnError]

;OnError_Unavailable possible settings:

;RESTART_TAPI, RESTART_VOICEGUIDE, RESTART_PC

OnError_Unavailable=

 

[Callflow]

;OnGetNumbersRxDigit=PlayStop_False

 

 

[CTMedia]

DefaultScript=

WatchedService=

WatchedFile=

LoadScript1=

LoadScript2=

LoadScript3=

LoadScript4=

LoadScript5=

LoadScript6=

LoadScript7=

LoadScript8=

LoadScript9=

LoadScript10=

 

[TraceLog]

LogDebugToFile=0

VoiceGuideLog0906_Unavailable.txt

Share this post


Link to post

If Window's Voice Modem driver (UnimodemV) stops receiving any responses from the modem it will report the line as "Unavailable" - if VoiceGuide receives this message from UnimodemV there really isn't much else that can be done... the modem driver has already tried it's best to get the modem working but to no avail...

 

Some modems are just not very reliable and we have seen this happen periodically with some modems. For a 24/7 service you should use a Dialogic card.

 

These communications problems seem to occur less under Win2000 then under Win95/98/ME

Share this post


Link to post

I know you have the list of modems that work well and I can pick a Dialogic card out of the list, but since I am only using a single line but need the 24/7 is there a dialogic card that you would recommend for my specific type of setup and operating system over and above the rest?

 

Thanks.

Share this post


Link to post

The entry level card is a D4PCI.

 

You can still purchase a 2 port ProLine/2V (it's an ISA card - so you'll need a computer which has ISA slots) 2nd-hand on Ebay.

 

Dialogic cards should not be used under Win98 - you will need WinNT or Win2000.

Share this post


Link to post

I find that the "unavailable" problem is very common, but that 98% of the time, simply exiting VoiceGuide & reloading it fixes the problem.

 

Is there an easy way to detect this state so that the program can be reset?

 

I noticed the following in the .ini file:

;VgControl.exe monitors Vgmulti performance, and will reset the system

;if it finds that the system is not processing calls correctly.

;For high reliablity systems it is recommended that VGControl be running

;at the same time as VgMulti.

;AssistingApp=VgControl.exe

...and decided to play with it, but it requires a CTMWrap.OCX file to function, for which I can find no info.

Share this post


Link to post

For VoiceGuide to restart automatically when the TAPI driver reports the device as "Unavailable" please set the VG.INI entry "OnError_Unavailable" in section "[OnError]" to "RESTART_VOICEGUIDE"

 

ie:

 

[OnError]

OnError_Unavailable=RESTART_VOICEGUIDE

Share this post


Link to post

Insteresting. I tried both the "RESTART_TAPI" and "RESTART_VOICEGUIDE" and neither had any effect when my system hit the "unavailable" state.

 

Any comments?

 

It also seems that the "unavailable" state was somehow cause by my application using the "exit" command when there was an application error (i.e. file not found for ODBC).

 

Should I use the "hangup" command instead?

Share this post


Link to post

Have just ran a test with v5.0 and confirmed that that version restarts when the line becomes "Unavailable" and RESTART_VOICEGUIDE is specified in OnError_Unavailable entry...

 

The "Unavailable" event was simulated by turning the modem off.

 

It also seems that the "unavailable" state was somehow cause by my application using the "exit" command when there was an application error (i.e. file not found for ODBC).

Is this situation reproducible?

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
×