PhilRobert Report post Posted 10/14/2004 03:39 PM Hi to all. I'm using VoiceGuide 5.2.1004 with a MultiTech MT5600ZDXV modem. I'm trying to retrieve the caller information but only the name shows up, it seems I can't get the number. I first tried to connect a phone that would show caller info on the line : results were that I could see the name and number of the caller. So it seems the problem does not come from the phone company. After that, I connected the modem and started VG. I made sure that the program wouldn't answer right away (I read in the help that, usually, the info is sent between the first and second ring), so I set it to answer after 5 rings. I also selected the "Popup Caller ID when number is received" option. I tested it : no popup showed up. So I thought maybe the modem didn't support the feature. I went on the MultiTech website, found my modem description... It looked like the feature was supported. Finally, I opened the event trace log and tested VoiceGuide again. In the log, I saw this line betweem the first and second rings : 113429,58 0 Lev_CallerID [,GROUPE C I S] where GROUPE C I S is the caller name... But where's the caller number??? If I select "Popup Caller ID when name is received", I have the popup with Caller info but the number is still missing... Any idea why it does not work? Share this post Link to post
PhilRobert Report post Posted 10/14/2004 05:55 PM Here is the complete log of my test. To test, I'm using a really simple script: 1. "Start of test" message 2. Say number module which is supposed to say the caller number as digits 3. VbScript module which is supposed to write the caller number to a file (I use the command "command.com /c echo $RV_CIDNAME > c:\CallerID.txt") 4. "End of test" message 5. Hangup Event Trace Log : 135042,66 0 callstate OFFERING 65877 0 4 135042,66 0 ring 1 135043,91 0 Lev_CallerID [,GROUPE C I S] 135048,66 0 ring 2 135054,67 0 ring 3 135100,69 0 ring 4 135106,69 0 ring 5 135106,69 0 Answer the call at 14-10-2004 13:51:06 135106,69 0 lineAnswer(65877) => 65860 135106,69 0 callstate ACCEPTED 65877 0 0 135109,44 0 tapi Reply (LineEvReply) ok 65860 0 135109,44 0 callstate CONNECTED 65877,0,0 135109,44 0 WorkingModeTAPI@Connected= 135109,44 0 WorkingModeScript@Connected= 135109,46 0 Inband detection not enabled 135109,46 0 StartLoadedVgs at 14-10-2004 13:51:09 135109,46 0 [Play 1] Playing 135109,46 0 tts generate start[Naedizzz ssookkss kkookkss] 135109,46 0 tts generate wait 135109,46 0 RunModule PLAY end 135109,47 0 tts generate finish 135109,49 0 [Play 1] Playing (C:\Program Files\VoiceGuide\data\tts0.wav) 135109,64 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\data\tts0.wav] 135111,66 0 Play End line[0] (id=63796) 135111,66 0 LsPlayMsg EV_PLAY_FINISHED 135111,66 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE 135111,66 0 RVreplace start: [$RV_CIDNUMBER] 135111,66 0 RVreplace end: [] 135111,66 0 [say_Caller_ID] Say numbers: as Digits 135111,66 0 fn PlaySoundStartNumbers , , , Digits 135111,68 0 sVbsFunctionToUse=Digits 135111,74 0 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_0_SayNumber.vbs) 135111,77 0 cl Play_Start 135111,77 0 LsSayNbrPlay EV_PLAY_FINISHED 135111,77 0 LsSayNbrPlay EV_TIMEOUT_GOTOMODULE 135111,77 0 [Write_To_File] Run Program 135111,77 0 RVreplace start: [command.com /c echo $RV_CIDNAME > c:\CallerID.txt] 135111,77 0 RVreplace end: [command.com /c echo GROUPE C I S > c:\CallerID.txt] 135111,79 0 running:[command.com /c echo GROUPE C I S > c:\CallerID.txt] WindowMode:[NormalFocus] 135111,79 0 Run Program waiting... (shellid=1632, process=1028) 135112,86 0 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 135112,86 0 task completed (shellid=1632, process=1028) 135112,86 0 No information returned from program to VG (no VGRUNRESULT_0.TXT or SHLRESLT.TXT) 135112,86 0 [Play 2] Playing 135112,86 0 tts generate start[end of the test] 135112,86 0 tts generate wait 135112,86 0 RunModule PLAY end 135112,91 0 tts generate finish 135112,91 0 [Play 2] Playing (C:\Program Files\VoiceGuide\data\tts0.wav) 135113,08 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\data\tts0.wav] 135114,82 0 Play End line[0] (id=67218) 135114,82 0 LsPlayMsg EV_PLAY_FINISHED 135114,82 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE 135114,82 0 Hanging up call... [Hangup Module] 135114,82 0 RecSoundStop ok 135114,82 0 PlaySoundStop err=0 135114,82 0 fnHangupCall end 135116,49 0 callstate DISCONNECTED 65877,1,0 135116,49 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT 135116,49 0 Hanging up call... 135116,49 0 RecSoundStop ok 135116,49 0 PlaySoundStop err=0 135116,49 0 fnHangupCall end 135116,49 0 callstate IDLE 65877 0 0 135116,49 0 WorkingMode@Idle= 135116,51 0 tapi Reply (LineEvReply) ok 65843 0 135116,51 0 tapi Reply (LineEvReply) ok 65826 0 135117,55 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 135117,55 0 ReinitTelephony due to IDLE 135117,55 0 tapic lineDeallocateCall(MainCall:65877) 0 135117,57 0 lineOpen(0) => 0 135117,57 0 Waiting for a call... 135117,57 0 LineHandle=65809 I hope this will help you to help me = ) Share this post Link to post
SupportTeam Report post Posted 10/15/2004 12:25 AM Could you please post a copy of VoiceGuide's "MMDDtw.txt" log which captures an incoming call. That file will give us more info on what the modem is reporting. The log file is in VG's \log\ subdirectory. MMDD stands for the month and day. Share this post Link to post
PhilRobert Report post Posted 10/15/2004 01:13 PM I looked in the \log subdirectory and there was nothing... So I started the test again to make VG generate the MMDDtw.txt... Curiously, it didn't generate that log. Instead, I have a MMDDvgm.txt. It's the only log that has been generated. I'm gonna post it to you guys, I don't know if it will help or not... Here it is anyway : 090502,03 0 callstate OFFERING 66184 0 4 090502,03 0 ring 1 090502,84 0 Lev_CallerID [,GROUPE C I S] 090508,03 0 ring 2 090514,03 0 ring 3 090520,05 0 ring 4 090526,05 0 ring 5 090526,05 0 Answer the call at 15-10-2004 09:05:26 090526,05 0 lineAnswer(66184) => 66167 090526,05 0 callstate ACCEPTED 66184 0 0 090528,83 0 tapi Reply (LineEvReply) ok 66167 0 090528,83 0 callstate CONNECTED 66184,0,0 090528,83 0 WorkingModeTAPI@Connected= 090528,83 0 WorkingModeScript@Connected= 090528,83 0 Inband detection not enabled 090528,83 0 StartLoadedVgs at 15-10-2004 09:05:28 090528,83 0 [Play 1] Playing 090528,84 0 tts generate start[start of test] 090528,84 0 tts generate wait 090528,84 0 RunModule PLAY end 090528,86 0 tts generate finish 090528,87 0 [Play 1] Playing (C:\Program Files\VoiceGuide\data\tts0.wav) 090529,05 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\data\tts0.wav] 090530,83 0 Play End line[0] (id=938625) 090530,83 0 LsPlayMsg EV_PLAY_FINISHED 090530,83 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE 090530,83 0 RVreplace start: [$RV_CIDNUMBER] 090530,83 0 RVreplace end: [] 090530,84 0 [say_Caller_ID] Say numbers: as Digits 090530,84 0 fn PlaySoundStartNumbers , , , Digits 090530,84 0 sVbsFunctionToUse=Digits 090530,90 0 Started SayNumber VBScript OK. (C:\Program Files\VoiceGuide\data\vbs_0_SayNumber.vbs) 090530,95 0 cl Play_Start 090530,95 0 LsSayNbrPlay EV_PLAY_FINISHED 090530,95 0 LsSayNbrPlay EV_TIMEOUT_GOTOMODULE 090530,95 0 [Write_To_File] Run Program 090530,97 0 RVreplace start: [command.com /c echo $RV_CIDNUMBER > c:\CallerID.txt] 090530,97 0 RVreplace end: [command.com /c echo > c:\CallerID.txt] 090530,97 0 running:[command.com /c echo > c:\CallerID.txt] WindowMode:[NormalFocus] 090530,97 0 Run Program waiting... (shellid=3164, process=1016) 090532,03 0 LsRunWaitTillFinished EV_TIMEOUT_CHECKONSTATE 090532,03 0 task completed (shellid=3164, process=1016) 090532,03 0 No information returned from program to VG (no VGRUNRESULT_0.TXT or SHLRESLT.TXT) 090532,03 0 [Play 2] Playing 090532,04 0 tts generate start[end of the test] 090532,04 0 tts generate wait 090532,04 0 RunModule PLAY end 090532,09 0 tts generate finish 090532,09 0 [Play 2] Playing (C:\Program Files\VoiceGuide\data\tts0.wav) 090532,26 0 PlaySoundStart ok [C:\Program Files\VoiceGuide\data\tts0.wav] 090533,00 0 Play End line[0] (id=941843) 090533,00 0 LsPlayMsg EV_PLAY_FINISHED 090533,00 0 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE 090534,01 0 Hanging up call... [Hangup Module] 090534,01 0 RecSoundStop ok 090534,01 0 PlaySoundStop err=0 090534,01 0 fnHangupCall end 090535,67 0 callstate DISCONNECTED 66184,1,0 090535,67 0 LsAwaitingCalls EV_REMOTEPARTY_DISCONNECT 090535,69 0 Hanging up call... 090535,69 0 RecSoundStop ok 090535,69 0 PlaySoundStop err=0 090535,69 0 fnHangupCall end 090535,70 0 callstate IDLE 66184 0 0 090535,70 0 WorkingMode@Idle= 090535,70 0 tapi Reply (LineEvReply) ok 66150 0 090535,72 0 tapi Reply (LineEvReply) ok 66133 0 090536,75 0 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE 090536,75 0 ReinitTelephony due to IDLE 090536,75 0 tapic lineDeallocateCall(MainCall:66184) 0 090536,76 0 lineOpen(0) => 0 090536,76 0 Waiting for a call... 090536,76 0 LineHandle=66116 Share this post Link to post
SupportTeam Report post Posted 10/16/2004 07:12 AM Please post the VG.INI file from VG's directory on your system. Share this post Link to post
PhilRobert Report post Posted 10/18/2004 02:06 PM Here it is : [LineConfig] TapiDeviceCount=1 [TapiDevice1] Id=0 Name=MultiTech 56K Data Fax Voice Modem MT5600ZDXV PnP Script=C:\Program Files\Telephonie_Statopex\test_caller_id.vgs RingsBeforeAnswer=5 PopupCallerId=1 DialoutOK=1 [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] ;DEfault Sound editor used to edit sound files from VoiceGuide. RecEditor=SNDREC32.EXE ;When a recording is finished due to the busy signal being detected ;the recorded message will be truncated to remove the busy tone recording from the message. ;A Dialogic card records 11025 bytes per second, modem records 16000 bytes per second. ;RecCutIfHangupBytes specifies by how many bytes the message should be shorter RecCutIfHangupBytes=32000 RecCutIfHangupBytes_Dialogic=14000 ;When a recording is finished due to a DTMF tone being pressed ;the recorded message will be truncated to remove the DTMF keypress sound from the message. ;A Dialogic card records 11025 bytes per second, modem records 16000 bytes per second. ;RecCutIfDtmfStopBytes specifies by how many bytes the message should be shorter RecCutIfDtmfStopBytes=5000 RecCutIfDtmfStopBytes_Dialogic=4000 RecLengthMin=1 RecLengthMax=600 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 ;For how long will VoiceGudie have to hear silence on the line before reporting it. ;a setting of 30 = 3 seconds SilenceDetectLength=30 ;What level of noise on the line is considered as silence. range 1-100 ;100 - interpret even loud noise as silence. ;1 - even the slightest noise stops silence detection. ;0 - don't detect silence at all SilenceDetectLevel=10 [Voicemail] RecLengthMin=1 RecLengthMax=30 ;Default Max VMB storage allocation (minutes) VmbMaxSize=60 ;VmSystemUsed settings allowed: ;Builtin : VoiceGuide will use the built-in voicemail system. ;Scripted : VoiceGuide will use the scritps (.VGS) in \system\vm\ directory. ;Protected : VoiceGuide will use the protected scritps (.VGP) in \system\vm\ directory. ; ;The protected scripts are copies of the ".VGS" Voicemail files but cannot be changed/substituted. ; ;If a setting of "Scripted" is specified and the software is registered in "Standard" or "Professional" mode ;then the software will act as if "Protected" is specified. VmSystemUsed=Scripted VmScript_LeaveMsg_Script=VmLm.vgs VmScript_LeaveMsg_Module=VmLmStart VmScript_SelectVmb_Script=VmLm.vgs VmScript_SelectVmb_Module=VmMenuStart VmScript_LoginVmb_Script=VmLogin.vgs VmScript_LoginVmb_Module=VmLoginStart VmScript_VmDeliver_Script=vmMsgDeliver.vgs VmScript_VmDeliver_Module=VmDelivStart ;if VmScript_VmDeliverAM_Script is set to VmMsgOnly ;then outgoing queued call will have just the Vm msg filename ;specified in the 'answering machine answers' field. ;Otherwise the script/module indicated will be used. VmScript_VmDeliverAM_Script=VmMsgOnly VmScript_VmDeliverAM_Module= ;VmScript_VmDeliverAM_Script=vmMsgDeliver.vgs ;VmScript_VmDeliverAM_Module=VmDelivAMStart ;Auto Attendant Script Settings. VmScript_AutoAtt_Script=aaFindUser.vgs VmScript_AutoAtt_Module=GetExtension RunCommandAfterRec= ;VmDeliverToPhone ;Number of times VG will attempt to call to forward the voicemail message VmDeliverToPhone_Retries=2 ;WaitBetweenRetries is in minutes VmDeliverToPhone_WaitBetweenRetries=5 'AnswerTimeout is in seconds VmDeliverToPhone_AnswerTimeout=90 ;prompt played if voice modem is used to deliver messages VmDeliverToPhone_AcceptCallPromptt=VmbForwardAskAccept.wav ForwardVmEmailSubject=Voicemail received from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HOUR:$RV_NN on $RV_MONTHNAME $RV_DATE ;this ForwardEmailBody is used if VmEmailForwardBody.txt file is not present ForwardVmEmailBody=Voicemail received from $RV_CIDNAME, $RV_CIDNUMBER at $RV_HH:$RV_NN on $RV_DATE $RV_MONTHNAME ForwardVmEmailFromAddress=voiceguide@yourdomain.com ForwardVmEmailFromName=VoiceGuide Voicemail ForwardVmEmailMechanism_1=MAPI ForwardVmEmailMechanism_2=MAPI ForwardVmEmail_IncludeWavFile=1 ;FTP upload settings FtpServer= FtpDir= FtpUser= FtpPassword= ForwardVmEmailSendRetries=0 ForwardVmEmailRetriesDelay=0 ForwardVmLineSelection= [PBX] ;Maximum time the system will wait for the extension to be answered. In seconds. AnnouncedTransfersMaxWaitTime=30 ;Dtmf tone played by PBX when the call is finshed, only some PBXs indicate end of call ;using this DTMF tone. Please consult your PBX manual if it uses this or other DTMF tone, ;or if it does not use any at all.. HangupOnDtmf=D ;Inband signalling configuration file eg: InbandSignaling_SiemensHiPath3000_v1.2.txt ;Inband signalling detection is enabled on Enterprise versions of VoiceGuide only. InbandSignalConfig= ;Max wait time for Inband Signalling after answering call. In Seconds. InbandSignalWait=2 ;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=TAPI ;Preferred Lengths of hookflash and DTMF tones. ;will be used if Generate method is selected. In milliseconds. ;If commented out then the default settings for the device will be used. ;Note: Dialogic cards will ignore this setting and use what is in the Dialogic TSP Configuration settings. ;DurationHookflash=100 ;DurationDtmfTone=100 ;************************************************ ;*** "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=! ;How long to wait after dialing the transfer destination number before hanging up. (in seconds) Transfer_AfterDialPauseBeforeHangup=3 ;************************************************ ;*** "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 ;Delay to use on Analog lines after dialing and before conferencing two lines together DialAndConf_DelayBeforeConf = 3 ;If no Timeout path specified this is the max talk time on "Dial and Conference" calls; 3600 = 60 minutes DialAndConf_MaxTalkTime_Default = 3600 [VGDialer] ;Dialout announcement replay maximum count. AnnReplay=10 ;Guard time between end of incoming and start of any outgoing call on a line. ;ie: How long system waits after end of call before doing any outbound ;calls on the same line (sec) AfterIdleWait=3 ;Silence detection is used to judge when the answering machine ;message has stopped talking: ;Dialogic cards can detect if an answering machine answers the call. ;To Enable Dialogic's answering machine detection set AM_DetectionMode to "Enabled" ;To Disable Dialogic's answering machine detection set AM_DetectionMode to "Disabled" AM_DetectionMode=Enabled ;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 BulkDial_Script= BulkDial_AnswerMachine= BulkDial_Announce= BulkDial_PhoneNumberFile= BulkDial_PhonePrefix= BulkDial_Rvs= BulkDial_AnswerTimeout=60 BulkDial_CallRetries=2 BulkDial_DelayBetweenRetries=120 BulkDial_CallsStart=00:01 BulkDial_CallsEnd=23:59 BulkDial_Days=MoTuWeThFrSaSu PriorityLevels=9 [VBScript] UseSafeSubset=1 ShellHandler=wscript [DatabaseWorkspace] WorkspaceJetUser=admin WorkspaceJetPassword= WorkspaceOdbcUser=admin WorkspaceOdbcPassword= [VgGsd] DesignAreaHeight=6000 DesignAreaWidth=6000 [moduleGetNbrs] ;The setting below can be used to force VoiceGuide to continue playing the ;message in the Get Numbers module while the numbers are being entered. ;By default VoiceGudie will stop playing the message when the caller presses ;the first key. ;OnGetNumbersRxDigit=PlayStop_False Timeout_1stDigit=6 Timeout_Interdigit=6 Timeout_Confirm=6 [moduleDBQuery] ;Maximum number of rows which VG will enumerate and Result Variables, making them ;available to other parts of the script. 100 is usually enough - few applications ;woudl require to play back more then 100 items of information back to the caller. RecordsetGetRowsMax=100 [VGsys] ;Used only for CT-Media systems ;AssistingApp=VgControl.exe [OnError] ;OnError_Unavailable possible settings: ;RESTART_TAPI, RESTART_VOICEGUIDE, RESTART_PC OnError_Unavailable= [CallControl] ;If commented out then loop current drop on analog lines will result in end of call. ;Only works when Dialogic analog card is used. ;LoopCurrentDrop=Ignore [CTMedia] DefaultScript= WatchedService= WatchedFile= LoadScript1= LoadScript2= LoadScript3= LoadScript4= LoadScript5= LoadScript6= LoadScript7= LoadScript8= LoadScript9= LoadScript10= [TraceLog] ;LogDebugToFile: 0=do not log, 1=always log to file \log\MMDDvgm.txt LogToFile=0 ;TraceLevel : what trace messages will be printed. (max trace level setting is 10) TraceLevel=5 [EmailSender] ;TraceLevel : what trace messages get saved to \log\MMDDes.txt (max trace level setting is 10) TraceLevel = 5 [sAPI] ;Microsoft's engine does not support XML tags to regulate speed & volume of the generated Sound file. ;Use the entries below to control these settings. Other engines allow you to use XML tags to regulate speed/volume etc ;TTSspeed range is -10 to 10. 0 is default speed TTSspeed=0 ;TTSvolume range is 0 to 100. 100 is max volume TTSvolume=100 Share this post Link to post
SupportTeam Report post Posted 10/19/2004 01:18 AM OK, thanks. Easiest way to get the MMDDtw.log file would be to just update your system to v5.2.3. Otherwise: Please place the attached file in "C:\". Once this file is there then log files will be created named: C:\TapiWrapLogMMDD.txt. TapiWrapLogSelect.txt Share this post Link to post