Guest elSueco Report post Posted 10/26/2005 11:28 AM Hello! I need to know the caller telephone number ($RV_CIDNUMBER) for searching in a database. My question is what I need to get this number? I know this service is set because if I connect a handset to the telephone line I can see in the display the phone number of the caller. Here it is the log: (this line will answer after 4 rings, if this is of any help) **************** 132520,49 0 btn Exit (8 lines) 132520,55 1 line state =900 132520,61 2 line state =0 132520,68 3 line state =900 132520,74 4 line state =900 132520,80 5 line state =0 132520,95 6 line state =0 132521,00 7 line state =0 132521,07 8 line state =900 132521,13 1 state Exiting... 132521,19 2 state Exiting... 132521,25 3 state Exiting... 132521,30 4 state Exiting... 132521,36 5 state Exiting... 132521,41 6 state Exiting... 132521,47 7 state Exiting... 132521,53 8 state Exiting... 132522,58 0 exit closing all channels start 132522,75 0 exit close dxxxB1C1(1)=> [] 132522,82 0 exit close dxxxB1C2(2)=> [] 132522,88 0 exit close dxxxB1C3(3)=> [] 132522,94 0 exit close dxxxB1C4(4)=> [] 132523,00 0 exit close dxxxB2C1(5)=> [] 132523,07 0 exit close dxxxB2C2(6)=> [] 132523,13 0 exit close dxxxB2C3(7)=> [] 132523,19 0 exit close dxxxB2C4(8)=> [] 132523,24 0 exit closing all channels end 132524,20 0 --------------------------------------------------- 132524,25 0 Stopping VoiceGuide (Dialogic) start 132524,32 0 v6.0.2275 132524,38 0 Stopping VoiceGuide (Dialogic) end 132524,43 0 --------------------------------------------------- 132538,63 0 --------------------------------------------------- 132538,74 0 VoiceGuide for Dialogic 132538,74 0 v6.0.2275 132538,74 0 --------------------------------------------------- 132538,91 0 rv global loaded >>><<< 132539,13 0 cti Inband Signaling Config file not specified 132605,28 0 --------------------------------------------------- 132605,38 0 VoiceGuide for Dialogic 132605,38 0 v6.0.2275 132605,38 0 --------------------------------------------------- 132605,55 0 rv global loaded >>><<< 132605,77 0 cti Inband Signaling Config file not specified 132606,63 0 init ApiMode=[DialogicGC] 132606,80 0 vm loading VMB data begin 132606,82 0 vm loading VMB data - about to delete old entries 132606,89 0 vm loading VMB data - sorting/ordering 132606,89 0 vm loading VMB data end 132606,89 0 dial DbConnectString_ADO is blank 132607,20 0 init DB Workspaces 132607,32 0 init Voicemail LoadIniSettings 132607,35 0 init read Config.xml start 132607,41 0 dxxxB1C1 dxxxB1C1 C:\Voice\PetDirekt\petdirekt.vgs RV= allowDialout=1 132607,41 0 dxxxB1C2 dxxxB1C2 C:\Voice\BagDirekt\bagdirekt.vgs RV= allowDialout=1 132607,41 0 dxxxB1C3 dxxxB1C3 C:\Voice\Tele2\Two-Services.vgs RV= allowDialout=0 132607,41 0 dxxxB1C4 dxxxB1C4 C:\Voice\Tele2\Two-Services.vgs RV= allowDialout=1 132607,41 0 dxxxB2C1 dxxxB2C1 C:\Voice\Choice\Lang-Service.vgs RV= allowDialout=0 132607,41 0 dxxxB2C2 dxxxB2C2 C:\Voice\Choice\Lang-Service.vgs RV= allowDialout=0 132607,41 0 dxxxB2C3 dxxxB2C3 C:\Voice\Choice\Lang-Service.vgs RV= allowDialout=1 132607,41 0 dxxxB2C4 dxxxB2C4 C:\Voice\Choice\Lang-Service.vgs RV= allowDialout=1 132607,41 0 init read Config.xml end 132607,43 0 init LineOpenDialogic dxxxB1C1 => [1] 132607,43 1 iIvrDev=1 132607,52 0 init load Distinct Ring definitions start [C:\Program\VoiceGuide\data\ConfigLine.xml] 132607,52 0 init distinct ring definitions found:2 132607,52 0 init ring 1 [TestPBXDoubleRing] cadences defined:2 132607,52 0 init distinct ring 1 [TestPBXDoubleRing] cadence 1 [55:10,55:10][110:20] 132607,52 0 init distinct ring 1 [TestPBXDoubleRing] cadence 2 [55:10,285:10][340:20] 132607,52 0 init ring 2 [TelstraDoubleRing] cadences defined:2 132607,52 0 init distinct ring 2 [TelstraDoubleRing] cadence 1 [58:5,27:5][85:10] 132607,52 0 init distinct ring 2 [TelstraDoubleRing] cadence 2 [58:5,260:10][318:15] 132607,52 0 init load Distinct Ring definitions end 132607,52 1 init strDlgcDevName_VoiceResource=[dxxxB1C1] (LoadXMLConfig) 132607,52 0 load start [C:\Voice\PetDirekt\petdirekt.vgs] 132607,52 0 MemStructVgs_ClearVgs [1] 132607,61 0 load end 132607,61 0 init hires timer setup start 132607,61 0 init hires timer setup end 132607,61 1 state Waiting for a call... 132607,61 1 event callstate IDLE 1 1,0,0 132607,61 1 WorkingMode@Idle= 132607,61 1 timer clear 132607,61 1 LineState(iLineId).iVgsIdx = 0 132607,61 1 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 132607,61 1 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 132607,61 1 event ScriptEventCode TDX_SETHOOK, code=135, state=0 132607,61 1 timer set 2 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132607,61 1 timer set ignored - waiting for line re-init to occur first 132607,61 0 init lineids: 0-1 132607,63 0 init LineOpenDialogic dxxxB1C2 => [2] 132607,64 2 iIvrDev=2 132607,70 0 init load Distinct Ring definitions start [C:\Program\VoiceGuide\data\ConfigLine.xml] 132607,70 0 init distinct ring definitions found:2 132607,70 0 init ring 1 [TestPBXDoubleRing] cadences defined:2 132607,70 0 init distinct ring 1 [TestPBXDoubleRing] cadence 1 [55:10,55:10][110:20] 132607,70 0 init distinct ring 1 [TestPBXDoubleRing] cadence 2 [55:10,285:10][340:20] 132607,70 0 init ring 2 [TelstraDoubleRing] cadences defined:2 132607,72 0 init distinct ring 2 [TelstraDoubleRing] cadence 1 [58:5,27:5][85:10] 132607,72 0 init distinct ring 2 [TelstraDoubleRing] cadence 2 [58:5,260:10][318:15] 132607,72 0 init load Distinct Ring definitions end 132607,72 2 init strDlgcDevName_VoiceResource=[dxxxB1C2] (LoadXMLConfig) 132607,72 0 load start [C:\Voice\BagDirekt\bagdirekt.vgs] 132607,72 0 MemStructVgs_ClearVgs [2] 132607,85 0 load end 132607,85 0 init hires timer setup start 132607,85 0 init hires timer setup end 132607,85 2 state Waiting for a call... 132607,85 2 event callstate IDLE 2 1,0,0 132607,85 2 WorkingMode@Idle= 132607,85 2 timer clear 132607,85 2 LineState(iLineId).iVgsIdx = 0 132607,85 2 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 132607,85 2 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 132607,85 2 event ScriptEventCode TDX_SETHOOK, code=135, state=0 132607,86 2 timer set 2 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132607,86 2 timer set ignored - waiting for line re-init to occur first 132607,86 0 init lineids: 0-2 132607,88 0 init LineOpenDialogic dxxxB1C3 => [3] 132607,88 3 iIvrDev=3 132607,94 0 init load Distinct Ring definitions start [C:\Program\VoiceGuide\data\ConfigLine.xml] 132607,95 0 init distinct ring definitions found:2 132607,95 0 init ring 1 [TestPBXDoubleRing] cadences defined:2 132607,95 0 init distinct ring 1 [TestPBXDoubleRing] cadence 1 [55:10,55:10][110:20] 132607,95 0 init distinct ring 1 [TestPBXDoubleRing] cadence 2 [55:10,285:10][340:20] 132607,95 0 init ring 2 [TelstraDoubleRing] cadences defined:2 132607,95 0 init distinct ring 2 [TelstraDoubleRing] cadence 1 [58:5,27:5][85:10] 132607,95 0 init distinct ring 2 [TelstraDoubleRing] cadence 2 [58:5,260:10][318:15] 132607,95 0 init load Distinct Ring definitions end 132607,95 3 init strDlgcDevName_VoiceResource=[dxxxB1C3] (LoadXMLConfig) 132607,95 0 load start [C:\Voice\Tele2\Two-Services.vgs] 132607,95 0 MemStructVgs_ClearVgs [3] 132607,99 0 load end 132607,99 0 init hires timer setup start 132607,99 0 init hires timer setup end 132607,99 3 state Waiting for a call... 132607,99 3 event callstate IDLE 3 1,0,0 132607,99 3 WorkingMode@Idle= 132607,99 3 timer clear 132607,99 3 LineState(iLineId).iVgsIdx = 0 132607,99 3 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 132607,99 3 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 132607,99 3 event ScriptEventCode TDX_SETHOOK, code=135, state=0 132607,99 3 timer set 2 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132607,99 3 timer set ignored - waiting for line re-init to occur first 132607,99 0 init lineids: 0-3 132608,00 0 init LineOpenDialogic dxxxB1C4 => [4] 132608,00 4 iIvrDev=4 132608,08 0 init load Distinct Ring definitions start [C:\Program\VoiceGuide\data\ConfigLine.xml] 132608,08 0 init distinct ring definitions found:2 132608,08 0 init ring 1 [TestPBXDoubleRing] cadences defined:2 132608,08 0 init distinct ring 1 [TestPBXDoubleRing] cadence 1 [55:10,55:10][110:20] 132608,08 0 init distinct ring 1 [TestPBXDoubleRing] cadence 2 [55:10,285:10][340:20] 132608,08 0 init ring 2 [TelstraDoubleRing] cadences defined:2 132608,08 0 init distinct ring 2 [TelstraDoubleRing] cadence 1 [58:5,27:5][85:10] 132608,08 0 init distinct ring 2 [TelstraDoubleRing] cadence 2 [58:5,260:10][318:15] 132608,08 0 init load Distinct Ring definitions end 132608,08 4 init strDlgcDevName_VoiceResource=[dxxxB1C4] (LoadXMLConfig) 132608,08 0 init hires timer setup start 132608,10 0 init hires timer setup end 132608,10 4 state Waiting for a call... 132608,10 4 event callstate IDLE 4 1,0,0 132608,10 4 WorkingMode@Idle= 132608,10 4 timer clear 132608,10 4 LineState(iLineId).iVgsIdx = 0 132608,10 4 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 132608,10 4 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 132608,10 4 event ScriptEventCode TDX_SETHOOK, code=135, state=0 132608,10 4 timer set 2 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132608,10 4 timer set ignored - waiting for line re-init to occur first 132608,10 0 init lineids: 0-4 132608,10 0 init LineOpenDialogic dxxxB2C1 => [5] 132608,10 5 iIvrDev=5 132608,13 0 init load Distinct Ring definitions start [C:\Program\VoiceGuide\data\ConfigLine.xml] 132608,13 0 init distinct ring definitions found:2 132608,13 0 init ring 1 [TestPBXDoubleRing] cadences defined:2 132608,13 0 init distinct ring 1 [TestPBXDoubleRing] cadence 1 [55:10,55:10][110:20] 132608,13 0 init distinct ring 1 [TestPBXDoubleRing] cadence 2 [55:10,285:10][340:20] 132608,13 0 init ring 2 [TelstraDoubleRing] cadences defined:2 132608,13 0 init distinct ring 2 [TelstraDoubleRing] cadence 1 [58:5,27:5][85:10] 132608,13 0 init distinct ring 2 [TelstraDoubleRing] cadence 2 [58:5,260:10][318:15] 132608,13 0 init load Distinct Ring definitions end 132608,13 5 init strDlgcDevName_VoiceResource=[dxxxB2C1] (LoadXMLConfig) 132608,13 0 load start [C:\Voice\Choice\Lang-Service.vgs] 132608,13 0 MemStructVgs_ClearVgs [4] 132608,14 0 load end 132608,14 0 init hires timer setup start 132608,14 0 init hires timer setup end 132608,14 5 state Waiting for a call... 132608,14 5 event callstate IDLE 5 1,0,0 132608,14 5 WorkingMode@Idle= 132608,14 5 timer clear 132608,14 5 LineState(iLineId).iVgsIdx = 0 132608,14 5 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 132608,14 5 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 132608,14 5 event ScriptEventCode TDX_SETHOOK, code=135, state=0 132608,14 5 timer set 2 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132608,14 5 timer set ignored - waiting for line re-init to occur first 132608,14 0 init lineids: 0-5 132608,16 0 init LineOpenDialogic dxxxB2C2 => [6] 132608,16 6 iIvrDev=6 132608,18 0 init load Distinct Ring definitions start [C:\Program\VoiceGuide\data\ConfigLine.xml] 132608,18 0 init distinct ring definitions found:2 132608,18 0 init ring 1 [TestPBXDoubleRing] cadences defined:2 132608,18 0 init distinct ring 1 [TestPBXDoubleRing] cadence 1 [55:10,55:10][110:20] 132608,18 0 init distinct ring 1 [TestPBXDoubleRing] cadence 2 [55:10,285:10][340:20] 132608,18 0 init ring 2 [TelstraDoubleRing] cadences defined:2 132608,18 0 init distinct ring 2 [TelstraDoubleRing] cadence 1 [58:5,27:5][85:10] 132608,18 0 init distinct ring 2 [TelstraDoubleRing] cadence 2 [58:5,260:10][318:15] 132608,18 0 init load Distinct Ring definitions end 132608,18 6 init strDlgcDevName_VoiceResource=[dxxxB2C2] (LoadXMLConfig) 132608,19 0 init hires timer setup start 132608,19 0 init hires timer setup end 132608,19 6 state Waiting for a call... 132608,19 6 event callstate IDLE 6 1,0,0 132608,19 6 WorkingMode@Idle= 132608,19 6 timer clear 132608,19 6 LineState(iLineId).iVgsIdx = 0 132608,19 6 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 132608,19 6 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 132608,19 6 event ScriptEventCode TDX_SETHOOK, code=135, state=0 132608,19 6 timer set 2 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132608,19 6 timer set ignored - waiting for line re-init to occur first 132608,19 0 init lineids: 0-6 132608,19 0 init LineOpenDialogic dxxxB2C3 => [7] 132608,20 7 iIvrDev=7 132608,22 0 init load Distinct Ring definitions start [C:\Program\VoiceGuide\data\ConfigLine.xml] 132608,22 0 init distinct ring definitions found:2 132608,22 0 init ring 1 [TestPBXDoubleRing] cadences defined:2 132608,22 0 init distinct ring 1 [TestPBXDoubleRing] cadence 1 [55:10,55:10][110:20] 132608,22 0 init distinct ring 1 [TestPBXDoubleRing] cadence 2 [55:10,285:10][340:20] 132608,22 0 init ring 2 [TelstraDoubleRing] cadences defined:2 132608,22 0 init distinct ring 2 [TelstraDoubleRing] cadence 1 [58:5,27:5][85:10] 132608,22 0 init distinct ring 2 [TelstraDoubleRing] cadence 2 [58:5,260:10][318:15] 132608,22 0 init load Distinct Ring definitions end 132608,22 7 init strDlgcDevName_VoiceResource=[dxxxB2C3] (LoadXMLConfig) 132608,22 0 init hires timer setup start 132608,22 0 init hires timer setup end 132608,22 7 state Waiting for a call... 132608,22 7 event callstate IDLE 7 1,0,0 132608,22 7 WorkingMode@Idle= 132608,22 7 timer clear 132608,22 7 LineState(iLineId).iVgsIdx = 0 132608,22 7 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 132608,24 7 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 132608,24 7 event ScriptEventCode TDX_SETHOOK, code=135, state=0 132608,24 7 timer set 2 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132608,24 7 timer set ignored - waiting for line re-init to occur first 132608,24 0 init lineids: 0-7 132608,24 0 init LineOpenDialogic dxxxB2C4 => [8] 132608,24 8 iIvrDev=8 132608,27 0 init load Distinct Ring definitions start [C:\Program\VoiceGuide\data\ConfigLine.xml] 132608,27 0 init distinct ring definitions found:2 132608,27 0 init ring 1 [TestPBXDoubleRing] cadences defined:2 132608,27 0 init distinct ring 1 [TestPBXDoubleRing] cadence 1 [55:10,55:10][110:20] 132608,27 0 init distinct ring 1 [TestPBXDoubleRing] cadence 2 [55:10,285:10][340:20] 132608,27 0 init ring 2 [TelstraDoubleRing] cadences defined:2 132608,27 0 init distinct ring 2 [TelstraDoubleRing] cadence 1 [58:5,27:5][85:10] 132608,27 0 init distinct ring 2 [TelstraDoubleRing] cadence 2 [58:5,260:10][318:15] 132608,27 0 init load Distinct Ring definitions end 132608,27 8 init strDlgcDevName_VoiceResource=[dxxxB2C4] (LoadXMLConfig) 132608,27 0 init hires timer setup start 132608,27 0 init hires timer setup end 132608,27 8 state Waiting for a call... 132608,27 8 event callstate IDLE 8 1,0,0 132608,27 8 WorkingMode@Idle= 132608,27 8 timer clear 132608,27 8 LineState(iLineId).iVgsIdx = 0 132608,27 8 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 132608,27 8 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 132608,27 8 event ScriptEventCode TDX_SETHOOK, code=135, state=0 132608,28 8 timer set 2 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132608,28 8 timer set ignored - waiting for line re-init to occur first 132608,28 0 init lineids: 0-8 132608,28 0 init route channels start 132608,43 0 init route channels => [] 132608,43 0 init no dti channels opened. Not opening signaling channel. 132608,47 0 cti Link1 serial init complete 132608,47 0 cti serial1 closed not sending HeartbeatCheck 132608,47 0 init iLineDevicesControlled=8 132608,52 0 init main form load end 132609,07 1 timer fired EV_TIMEOUT_TIMETOREINITLINE 132609,07 1 event ScriptEventCode EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=0 132609,07 1 init atidle reinit : start 132609,07 1 init atidle reinit iConferenceOtherLegLid=-1 132609,07 1 init atidle reinit : reset all LineState variables 132609,07 1 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,07 1 state Waiting for a call... 132609,18 2 timer fired EV_TIMEOUT_TIMETOREINITLINE 132609,18 2 event ScriptEventCode EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=0 132609,18 2 init atidle reinit : start 132609,18 2 init atidle reinit iConferenceOtherLegLid=-1 132609,18 2 init atidle reinit : reset all LineState variables 132609,18 2 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,18 2 state Waiting for a call... 132609,28 3 timer fired EV_TIMEOUT_TIMETOREINITLINE 132609,28 3 event ScriptEventCode EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=0 132609,28 3 init atidle reinit : start 132609,28 3 init atidle reinit iConferenceOtherLegLid=-1 132609,28 3 init atidle reinit : reset all LineState variables 132609,28 3 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,28 3 state Waiting for a call... 132609,39 1 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,39 1 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=0 132609,39 4 timer fired EV_TIMEOUT_TIMETOREINITLINE 132609,39 4 event ScriptEventCode EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=0 132609,39 4 init atidle reinit : start 132609,39 4 init atidle reinit iConferenceOtherLegLid=-1 132609,39 4 init atidle reinit : reset all LineState variables 132609,39 4 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,39 4 state Waiting for a call... 132609,39 5 timer fired EV_TIMEOUT_TIMETOREINITLINE 132609,39 5 event ScriptEventCode EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=0 132609,39 5 init atidle reinit : start 132609,39 5 init atidle reinit iConferenceOtherLegLid=-1 132609,39 5 init atidle reinit : reset all LineState variables 132609,39 5 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,39 5 state Waiting for a call... 132609,39 6 timer fired EV_TIMEOUT_TIMETOREINITLINE 132609,39 6 event ScriptEventCode EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=0 132609,39 6 init atidle reinit : start 132609,39 6 init atidle reinit iConferenceOtherLegLid=-1 132609,39 6 init atidle reinit : reset all LineState variables 132609,39 6 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,39 6 state Waiting for a call... 132609,50 2 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,50 2 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=0 132609,50 7 timer fired EV_TIMEOUT_TIMETOREINITLINE 132609,50 7 event ScriptEventCode EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=0 132609,50 7 init atidle reinit : start 132609,50 7 init atidle reinit iConferenceOtherLegLid=-1 132609,50 7 init atidle reinit : reset all LineState variables 132609,50 7 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,50 7 state Waiting for a call... 132609,50 8 timer fired EV_TIMEOUT_TIMETOREINITLINE 132609,50 8 event ScriptEventCode EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=0 132609,50 8 init atidle reinit : start 132609,50 8 init atidle reinit iConferenceOtherLegLid=-1 132609,50 8 init atidle reinit : reset all LineState variables 132609,50 8 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,50 8 state Waiting for a call... 132609,61 3 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,61 3 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=0 132609,72 4 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,72 4 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=0 132609,72 5 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,72 5 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=0 132609,72 6 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,72 6 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=0 132609,83 7 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,83 7 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=0 132609,83 8 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132609,83 8 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=0 132620,77 0 load start [C:\Voice_jose_testing\CallerID\callerid.vgs] 132620,77 0 MemStructVgs_ClearVgs [5] 132620,77 0 load end 132638,69 8 tw dtmf d (8,100,100) 132638,69 8 event ScriptEventCode d, code=100, state=0 132638,69 8 already IDLE. HangupCall ignored. 132638,69 8 init atidle reinit : start 132638,69 8 init atidle reinit iConferenceOtherLegLid=-1 132638,69 8 init atidle reinit : reset all LineState variables 132638,69 8 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132638,69 8 state Waiting for a call... 132638,69 8 tw DialogicEvent 134,TDX_CST,100,0,0,DE_DIGITS,, 132638,69 8 event ScriptEventCode TDX_CST, code=134, state=900 132638,69 8 LsAwaitingCalls EV_UNKNOWN_134 132638,83 8 tw dtmf 0 (8,48,48) 132638,83 8 event ScriptEventCode 0, code=48, state=900 132638,83 8 LsAwaitingCalls 0 132638,83 8 tw DialogicEvent 134,TDX_CST,48,0,0,DE_DIGITS,, 132638,83 8 event ScriptEventCode TDX_CST, code=134, state=900 132638,83 8 LsAwaitingCalls EV_UNKNOWN_134 132638,94 8 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132638,94 8 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=900 132638,97 8 tw dtmf 8 (8,56,56) 132638,97 8 event ScriptEventCode 8, code=56, state=900 132638,97 8 LsAwaitingCalls 8 132638,97 8 tw DialogicEvent 134,TDX_CST,56,0,0,DE_DIGITS,, 132638,97 8 event ScriptEventCode TDX_CST, code=134, state=900 132638,97 8 LsAwaitingCalls EV_UNKNOWN_134 132639,13 8 tw dtmf 4 (8,52,52) 132639,13 8 event ScriptEventCode 4, code=52, state=900 132639,13 8 LsAwaitingCalls 4 132639,13 8 tw DialogicEvent 134,TDX_CST,52,0,0,DE_DIGITS,, 132639,13 8 event ScriptEventCode TDX_CST, code=134, state=900 132639,13 8 LsAwaitingCalls EV_UNKNOWN_134 132639,27 8 tw dtmf 4 (8,52,52) 132639,27 8 event ScriptEventCode 4, code=52, state=900 132639,27 8 LsAwaitingCalls 4 132639,27 8 tw DialogicEvent 134,TDX_CST,52,0,0,DE_DIGITS,, 132639,27 8 event ScriptEventCode TDX_CST, code=134, state=900 132639,27 8 LsAwaitingCalls EV_UNKNOWN_134 132639,43 8 tw dtmf 2 (8,50,50) 132639,43 8 event ScriptEventCode 2, code=50, state=900 132639,43 8 LsAwaitingCalls 2 132639,43 8 tw DialogicEvent 134,TDX_CST,50,0,0,DE_DIGITS,, 132639,43 8 event ScriptEventCode TDX_CST, code=134, state=900 132639,43 8 LsAwaitingCalls EV_UNKNOWN_134 132639,57 8 tw dtmf 9 (8,57,57) 132639,57 8 event ScriptEventCode 9, code=57, state=900 132639,57 8 LsAwaitingCalls 9 132639,57 8 tw DialogicEvent 134,TDX_CST,57,0,0,DE_DIGITS,, 132639,57 8 event ScriptEventCode TDX_CST, code=134, state=900 132639,57 8 LsAwaitingCalls EV_UNKNOWN_134 132639,72 8 tw dtmf 0 (8,48,48) 132639,72 8 event ScriptEventCode 0, code=48, state=900 132639,72 8 LsAwaitingCalls 0 132639,72 8 tw DialogicEvent 134,TDX_CST,48,0,0,DE_DIGITS,, 132639,72 8 event ScriptEventCode TDX_CST, code=134, state=900 132639,72 8 LsAwaitingCalls EV_UNKNOWN_134 132639,86 8 tw dtmf 4 (8,52,52) 132639,86 8 event ScriptEventCode 4, code=52, state=900 132639,86 8 LsAwaitingCalls 4 132639,86 8 tw DialogicEvent 134,TDX_CST,52,0,0,DE_DIGITS,, 132639,86 8 event ScriptEventCode TDX_CST, code=134, state=900 132639,86 8 LsAwaitingCalls EV_UNKNOWN_134 132640,02 8 tw dtmf 0 (8,48,48) 132640,02 8 event ScriptEventCode 0, code=48, state=900 132640,02 8 LsAwaitingCalls 0 132640,02 8 tw DialogicEvent 134,TDX_CST,48,0,0,DE_DIGITS,, 132640,02 8 event ScriptEventCode TDX_CST, code=134, state=900 132640,02 8 LsAwaitingCalls EV_UNKNOWN_134 132640,16 8 tw dtmf c (8,99,99) 132640,16 8 event ScriptEventCode c, code=99, state=900 132640,16 8 LsAwaitingCalls c 132640,16 8 tw DialogicEvent 134,TDX_CST,99,0,0,DE_DIGITS,, 132640,16 8 event ScriptEventCode TDX_CST, code=134, state=900 132640,16 8 LsAwaitingCalls EV_UNKNOWN_134 132640,61 8 event callstate OFFERING 8 2,0,0 132640,61 8 script interpretor: VgMulti v6.0.2275 132640,61 8 fired OFFERING event to listeners 132640,61 8 set LineState().hCall = 8 in LINECALLSTATE_OFFERING 132640,61 8 iIvrDev=8 132640,63 8 set linestate CID vars 132640,63 8 call AnswerTheCallIfAllowed from LINECALLSTATE_OFFERING 132640,63 8 rings=0, min rings before answer=4 (iCallerIdHasArrived=0) 132640,63 8 tw ring 1 132640,63 8 ring time since last ring event (sec): 0,00 132640,63 8 rings=1, min rings before answer=4 (iCallerIdHasArrived=0) 132640,63 8 tw DialogicEvent 134,TDX_CST,0,0,0,DE_RINGS,ET_RON, 132640,63 8 event ScriptEventCode TDX_CST, code=134, state=900 132640,63 8 LsAwaitingCalls EV_UNKNOWN_134 132646,64 8 tw ring 2 132646,64 8 ring time since last ring event (sec): 6,02 132646,64 8 ring match against pattern 1, cadences=1 132646,64 8 ring template 1, cadence 1 = [110|20] edge time=601,6 132646,64 8 ring match distinct ring pattern 1 cycle 1 fail 132646,64 8 ring match against pattern 2, cadences=1 132646,64 8 ring template 2, cadence 1 = [85|10] edge time=601,6 132646,64 8 ring match distinct ring pattern 2 cycle 1 fail 132646,64 8 rings=2, min rings before answer=4 (iCallerIdHasArrived=0) 132646,64 8 tw DialogicEvent 134,TDX_CST,0,0,0,DE_RINGS,ET_RON, 132646,64 8 event ScriptEventCode TDX_CST, code=134, state=900 132646,64 8 LsAwaitingCalls EV_UNKNOWN_134 132652,66 8 tw ring 3 132652,66 8 ring time since last ring event (sec): 6,01 132652,66 8 ring match against pattern 1, cadences=2 132652,66 8 ring template 1, cadence 1 = [110|20] edge time=601,6 132652,66 8 ring match distinct ring pattern 1 cycle 1 fail 132652,66 8 ring match against pattern 2, cadences=2 132652,66 8 ring template 2, cadence 1 = [85|10] edge time=601,6 132652,66 8 ring match distinct ring pattern 2 cycle 1 fail 132652,66 8 rings=3, min rings before answer=4 (iCallerIdHasArrived=0) 132652,66 8 tw DialogicEvent 134,TDX_CST,0,0,0,DE_RINGS,ET_RON, 132652,66 8 event ScriptEventCode TDX_CST, code=134, state=900 132652,66 8 LsAwaitingCalls EV_UNKNOWN_134 132658,69 8 tw ring 4 132658,69 8 ring time since last ring event (sec): 6,04 132658,69 8 rings=4, min rings before answer=4 (iCallerIdHasArrived=0) 132658,69 8 rv clear all 132658,70 8 init LineState ResetAtStartOfNewCall. 132658,70 8 answer the call 132658,70 8 timer clear 132658,70 8 tw DialogicEvent 134,TDX_CST,0,0,0,DE_RINGS,ET_RON, 132658,70 8 event ScriptEventCode TDX_CST, code=134, state=6001 132659,32 8 event callstate CONNECTED 8 256,0,0 132659,32 8 LineEvCallState_Connected hDevice=8 params=256,0,0 132659,32 8 WorkingModes tapi= script= LineState().iState=6001 132659,38 8 Inband detection not enabled 132659,38 8 StartLoadedVgs at 2005-10-26 13:26:59 [VgMulti v6.0.2275] 132659,38 8 set LineState().iVgsIdx=5 132659,38 8 set sScriptToRunOnHangup=[] in StartLoadedVgs 132659,38 8 init StartLoadedVgs_InitLineState start 132659,38 8 rv add [$RV_STARTTIME]{2005-10-26 13:26:59} 132659,38 8 rv add [$RV_DEVICEID]{8} 132659,38 8 rv add [$RV_CIDNAME]{} 132659,38 8 rvns add [PathApp]{C:\Program\VoiceGuide\} 132659,38 8 rvns add [scriptsPath]{C:\Voice_jose_testing\CallerID\} 132659,38 8 rv add [$RV_CIDNUMBER]{} 132659,38 8 fn RunModule start 132659,38 8 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_OFFHOOK,CALL_INBOUND, 132659,38 8 event ScriptEventCode TDX_SETHOOK, code=135, state=6001 132659,38 8 tw DialogicEvent 134,TDX_CST,53345,0,0,DE_LCON,, 132659,38 8 event ScriptEventCode TDX_CST, code=134, state=6001 132659,38 8 timer clear 132659,38 8 state [Eva_CallerID] Evaluate [$RV_CIDNUMBER] 132659,38 8 rv replace start: [$RV_CIDNUMBER] 132659,38 8 rvns [PathSysVoice]{C:\Program\VoiceGuide\system\voice\}[PathApp]{C:\Program\VoiceGuide\}[PathDataVm]{C:\Program\VoiceGuide\data\}[PathVgSys]{C:\Program\VoiceGuide\system\}[$RV_STARTTIME]{2005-10-26 13:26:59}[$RV_DEVICEID]{8}[$RV_CIDNAME]{}[PathApp]{C:\Program\VoiceGuide\}[scriptsPath]{C:\Voice_jose_testing\CallerID\}[$RV_CIDNUMBER]{} 132659,38 8 rv replace end: [] 132659,38 8 eval[] 132659,38 8 rvns add [Eva_CallerID_Input]{} 132659,38 8 rvns add [Eva_CallerID]{} 132659,39 8 Eval Expr result:[] 132659,39 8 fn RunModule start 132659,41 8 timer clear 132659,41 8 Play Module start 132659,41 8 state [No_CallerID] Playing 132659,41 8 state [No_CallerID] Playing (C:\Voice_jose_testing\CallerID\voice\2.wav) 132659,41 8 tw ConvertWav2Vox C:\Voice_jose_testing\CallerID\voice\2.wav 132659,41 8 timer clear 132659,47 8 tw wav->vox convert end 863593,C:\Voice_jose_testing\CallerID\voice\2.vox,1,0,, 132659,50 8 play start ok, lPlayId=863656 132700,36 8 tw PlayEnd 8 863656 132700,36 8 play end id=863656, (current ID) 132700,36 8 event ScriptEventCode EV_PLAY_FINISHED, code=8001, state=1100 132700,36 8 LsPlayMsg EV_PLAY_FINISHED,EV_PLAY_FINISHED 132700,36 8 path {EV_PLAY_FINISHED} not found 132700,36 8 timer set 10 EV_TIMEOUT_HANGUP 132700,36 8 timer set 0 EV_TIMEOUT_GOTOMODULE 132700,36 8 event ScriptEventCode EV_TIMEOUT_GOTOMODULE, code=9002, state=1101 132700,36 8 LsPlayMsgFinished EV_TIMEOUT_GOTOMODULE,EV_TIMEOUT_GOTOMODULE 132700,36 8 path {EV_TIMEOUT_GOTOMODULE} not found 132700,36 8 fn RunModule start 132700,36 8 timer clear 132700,36 8 rv add [Hangup Time]{2005-10-26 13:27:00} 132700,36 8 state Hanging up call... [Hangup Module] 132700,36 8 HangupCall_Common hCall=8 132700,36 8 rec RecSoundStop ok 132700,36 8 play PlaySoundStop ok 132700,36 8 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP 132700,36 8 fnHangupCall end 132700,36 8 tw DialogicEvent 129,TDX_PLAY,863656,0,0,,, 132700,36 8 event ScriptEventCode TDX_PLAY, code=129, state=900 132700,36 8 LsAwaitingCalls EV_UNKNOWN_129 132701,28 8 event callstate IDLE 8 1,0,0 132701,28 8 WorkingMode@Idle= 132701,28 8 timer clear 132701,28 8 rec RecSoundStop ok 132701,28 8 play PlaySoundStop ok 132701,28 8 rv add [CallEndTime]{2005-10-26 13:27:01} 132701,33 8 timer set 1 EV_TIMEOUT_TIMETOREINITLINE 132701,33 8 tw DialogicEvent 135,TDX_SETHOOK,0,0,0,DX_ONHOOK,, 132701,33 8 event ScriptEventCode TDX_SETHOOK, code=135, state=900 132701,33 8 LsAwaitingCalls EV_UNKNOWN_135 132702,35 8 timer fired EV_TIMEOUT_TIMETOREINITLINE 132702,35 8 event ScriptEventCode EV_TIMEOUT_TIMETOREINITLINE, code=9008, state=900 132702,35 8 init atidle reinit : start 132702,35 8 init atidle reinit iConferenceOtherLegLid=-1 132702,35 8 init atidle reinit : reset all LineState variables 132702,35 8 timer set 0,3 EV_TIMEOUT_ATERIDLE_ALLOWOUT 132702,35 8 state Waiting for a call... 132702,68 8 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT 132702,68 8 event ScriptEventCode EV_TIMEOUT_ATERIDLE_ALLOWOUT, code=9013, state=900 132704,11 0 sys cleanup Start 132704,11 0 sys cleanup End **************** Thank you for your help! Jose Share this post Link to post
Guest elSueco Report post Posted 10/26/2005 02:09 PM Hello! 132605,77 0 cti Inband Signaling Config file not specified Do I need such a file? I´ve been talking with my phone provider and they don´t know how these DTMF tones are sent, they are just sent. Looking below in the log file, I can see this: 132638,83 8 tw dtmf 0 (8,48,48) . So this really means that my provider sends DTMF tones. Looking at this line, can you see the pattern in order to generate the inband file? I think the 8 in (8,48,48) should be the channel number for this call. Please, any idea, suggestion! Jose Share this post Link to post
Guest elSueco Report post Posted 10/26/2005 03:55 PM Hello! I need to know how I can get the caller ID from my ISDN telephone company. I have a D/4PCI card which is connected to an ISDN router and the telephone line from the company is connected to this router. This router has 2 analogue ports. If I connect a handset to one of these two ports, I can see the caller ID. How can I find out these DTMF tones if my telephone company don´t know? Do I need an inband signalling configuration file? Thanks for your help! Jose Share this post Link to post
SupportTeam Report post Posted 10/26/2005 09:46 PM Would the Caller ID on this call have been: 084429040 ? Share this post Link to post
Guest elSueco Report post Posted 10/27/2005 06:28 AM Hello! Would the Caller ID on this call have been: 084429040 ? Yes Any ideas? Thanks in advance! Jose Share this post Link to post
SupportTeam Report post Posted 10/27/2005 08:43 AM Please try updating to v6.0.2303 release (available now) - that version should capture the DTMF tones arriving before the first ring and report these as the CallerID. Share this post Link to post
Guest elSueco Report post Posted 10/27/2005 09:28 AM Hello! Please try updating to v6.0.2303 release (available now) I did it but still I can´t get the CallerID. In the log file below, I see now that with this new version of voiceguide the first dtmf tone is the letter 'a' instead of a zero from the caller phone number (08-442 90 40). By the way, I have an inband signalling configuration file that I created by intuation with the following pattern: Pattern=?? Rv=Inband_Calling,1,2 I have only 2 question mark because I see two characters in here 132638,83 8 tw dtmf 0 (8,[U]48[/U],48) . However, I don´t see in the log file that voiceguide tries to matches any of the DTMF tones with this pattern. I just spoke to my telophone company and they told me that they just send DTMF tones. So the question is wheter I need this inband file in order to get the caller ID or not? After all, you say that this version of voiceguide can capture the DTMF tones and initialize the RV_CIDNUMBER, which is system variable. Thank you for your help! Jose 1027vgm.txt Share this post Link to post
Guest elSueco Report post Posted 10/27/2005 10:33 AM Hello again! Now, it is working (more or less). The problem is that instead of getting the caller phone number, which is 084429040 the RV_CIDNUMBER gets the number between the parenthesis. But the first zero dissaperars. For example in the above file the RV_CIDNUMBER varaible gets the following numbers: dtmf a (8, 97, 97 ) dtmf 8 (8, 56, 56) dtmf 4 (8, 52, 52) dtmf 4 (8, 52, 52) dtmf 2 (8, 50, 50) dtmf 9 (8, 57, 57) dtmf 0 (8, 48, 48) dtmf 4 (8, 52, 52) dtmf 0 (8, 48, 48) dtmf # (8, 35, 35) rv add [$RV_CIDNUMBER] {5652525057485248}. Ok, I think these are the ASCII-code but the question now is how I convert those ASCII-codes to decimal numbers AND why the first zero dissapears? Thank you! Jose Share this post Link to post
SupportTeam Report post Posted 10/27/2005 11:14 PM Please update with attached .exe This should report the received DTMFs as actual characters. I see now that with this new version of voiceguide the first dtmf tone is the letter 'a' instead of a zero from the caller phone number (08-442 90 40). VoiceGuide will just capture whatever DTMFs are sent. You should speak with the phone company about what DTMFs it is sending. Do not us inband configuration files - the DTMFs here are sent before the phone starts ringing, not after the call is answered. The 'inband signaling' definition file is used to listen for and categorize tones sent after the call is answered only. Please post full trace showing start of call (up to answer only) if you still have any further questions. VgMulti_6.0.2304.zip Share this post Link to post
Guest elSueco Report post Posted 11/02/2005 12:08 PM Hello! Shall I just move this exe file to the voiceguide directory? Or should I also run the regsvr32 commands on a DOS Window? I ask you this because my configuration is now stable so I don´t want to do any mistakes. Another question, regarding this caller ID is that in my Config.xml file I see for each channel this tag <PopupCallerId>, which I set to 1 thinking that this should change in the voiceguide window the default alternative, "Do not popup Caller ID info" to "Popup Caller ID when Numbers received". But it doesn´t change anything. Is it possible to change this from the Config.xml file? Thank you! Jose Share this post Link to post
SupportTeam Report post Posted 11/02/2005 09:37 PM Place the attached file in VoiceGuide directory, overwriting existing file. No need to regsvr32. Another question, regarding this caller ID is that in my Config.xml file I see for each channel this tag <PopupCallerId>, which I set to 1 thinking that this should change in the voiceguide window the default alternative, "Do not popup Caller ID info" to "Popup Caller ID when Numbers received". But it doesn´t change anything. Is it possible to change this from the Config.xml file? We've confirmed that there is a problem with this setting - we should be able to have this config bug fixed in next update of VG for Dialogic. Share this post Link to post