kiran.mply Report post Posted 10/27/2008 09:15 AM Hi I am using the following script to retrieve the caller id set vg = CreateObject("vgServices.CommandLink") vg.Admin_TraceLogAdd 0, 0, "APMIP Data start" sThisScript = "leave msg.vgs" sThisModule = "LmRecInit" function ldgz(ByVal N) ' N presumed integer if (N>=0) and (N<10) then ldgz= "0"+Cstr(N) else ldgz=Cstr(N) end function Yr = Year(Now) : Mo = ldgz(Month(Now)) : Dy = ldgz(Day(Now)) Hr = ldgz(Hour(Now)) : Mi = ldgz(Minute(Now)) : Sc = ldgz(Second(Now)) sDateTimeStamp = Mo & Dy & Hr & Mi & Sc 'above is the alternate way of getting a Timestamp rather the using VGs Result Variables. iLineId = $RV_LINEID sFname = "$RV_CIDNUMBER_" & sDateTimeStamp & "_1_" & iLineId & "_.wav" 'Set vg = CreateObject("vgServices.CommandLink") vg.Admin_TraceLogAdd 0, 0, "APMIP Data before RV_DEVICEID" iDeviceId = $RV_DEVICEID vg.Admin_TraceLogAdd 0, 0, "APMIP Data before RV_CIDNUMBER" If "$RV_CIDNUMBER" = "" Then iCallerID = "Unknown" Else iCallerID = "$RV_CIDNUMBER" End if 'iLineId = $RV_LINEID vg.Admin_TraceLogAdd 0, 0, "APMIP Data before RV_STARTTIME" iStartTime = "$RV_STARTTIME" vg.Admin_TraceLogAdd 0, 0, "APMIP Data" vg.Admin_TraceLogAdd iLineId, 0, "APMIP Data" vg.Admin_TraceLogAdd iLineId, 0, "Start Time: " & iStartTime vg.Admin_TraceLogAdd iLineId, 0, "DeviceId: " & iDeviceId vg.Admin_TraceLogAdd iLineId, 0, "CallerId: " & iCallerID vg.Admin_TraceLogAdd iLineId, 0, "LineId: " & iLineId sNewRv = "[LmRecFilename]{" & sFname & "}" sRet = vg.Run_ResultReturn(iLineId, sNewRv) Set vg = Nothing 142808.000 17 7 tif/pdf/jpg check 142808.015 17 7 timer not cleared before play as we are in VBScript module. 142808.015 17 7 ktTel_PlayStart_Enqueue call 142808.015 17 7 tqTel que cmd_PlayStart [0,0,0][0||] 142808.015 7 7 tqTel run cmd_PlayStart 142808.015 17 7 play start ok, playId=701703 142808.406 13 remoting link constructor activated: vgServices_CommandLink 142808.437 13 0 comlg APMIP Data start 142808.437 13 0 comlg APMIP Data before RV_DEVICEID 142808.453 13 0 comlg APMIP Data before RV_CIDNUMBER 142808.453 13 0 comlg APMIP Data before RV_STARTTIME 142808.453 13 0 comlg APMIP Data 142808.453 13 7 comlg APMIP Data 142808.468 13 7 comlg Start Time: 2008-10-27 14:27:58 142808.468 13 7 comlg DeviceId: 7 142808.468 13 7 comlg CallerId: Unknown 142808.468 13 7 comlg LineId: 7 142808.468 13 7 rem Run_ResultReturn [[LmRecFilename]{_1027142808_1_7_.wav}] 142808.484 13 7 rvns add [LmRecFilename]{_1027142808_1_7_.wav} 142808.500 13 7 FindNextVgmTitleInPathList: next module title is=[LmSetSilenceDetectLen] I am getting "" as CallerId I am using a wire landline, also i am runnig the voice guide after 4 rings <Channel> <Name>dxxxB1C1</Name> <NetworkIf>dxxxB1C1</NetworkIf> <Protocol>pdk_na_an_io</Protocol> <RingsBeforeAnswer>4</RingsBeforeAnswer> <script>C:\Chatline\scripts\leave msg.vgs</Script> <ConfigLine></ConfigLine> <AllowDialOut>1</AllowDialOut> <RV></RV> </Channel> <Channel> <Name>dxxxB1C2</Name> <NetworkIf>dxxxB1C2</NetworkIf> <Protocol>pdk_na_an_io</Protocol> <RingsBeforeAnswer>4</RingsBeforeAnswer> <script>C:\Chatline\scripts\leave msg.vgs</Script> <ConfigLine></ConfigLine> <AllowDialOut>1</AllowDialOut> <RV></RV> </Channel> <Channel> <Name>dxxxB1C3</Name> <NetworkIf>dxxxB1C3</NetworkIf> <Protocol>pdk_na_an_io</Protocol> <RingsBeforeAnswer>4</RingsBeforeAnswer> <script>C:\Chatline\scripts\leave msg.vgs</Script> <ConfigLine></ConfigLine> <AllowDialOut>1</AllowDialOut> <RV></RV> </Channel> <Channel> <Name>dxxxB1C4</Name> <NetworkIf>dxxxB1C4</NetworkIf> <Protocol>pdk_na_an_io</Protocol> <RingsBeforeAnswer>4</RingsBeforeAnswer> <script>C:\Chatline\scripts\leave msg.vgs</Script> <ConfigLine></ConfigLine> <AllowDialOut>1</AllowDialOut> <RV></RV> </Channel> </Channels> I also have caller ID display in my landPhone, I am clearly getting the caller Id in Phone display after 1 or 2 rings, Do i have to make any setting either In the voiceGuide. Dialogic card I am using VoiceGuide7 and D/4PCIU Share this post Link to post
SupportTeam Report post Posted 10/27/2008 09:25 AM Could you please post a copy of VoiceGuide's ktTel Trace Log which captures the system startup and the incoming call. When posting traces/scripts please .ZIP them up and post them as attachments. Share this post Link to post
kiran.mply Report post Posted 10/27/2008 09:40 AM Hi I have attached the trace files. I have gone through the tace file , it says some error while retrieving the caller Id traces.zip Share this post Link to post
kiran.mply Report post Posted 10/30/2008 04:13 AM Hi I am waiting for your reply in this regard, I am unable to proceed further. Please send your suggestion soon. I wish to provide all the details necessary Share this post Link to post
SupportTeam Report post Posted 10/30/2008 04:56 AM We are still looking into this but I'm being told that a new version to handle your case will be made available for you to try by tomorrow. Share this post Link to post
SupportTeam Report post Posted 10/30/2008 06:04 AM Please update your system to this version: [old link removed]and then place a call into the system.Then please .ZIP up and post the vgEngine and the ktTel trace logs capturing system startup and the incoming call. Share this post Link to post
kiran.mply Report post Posted 10/30/2008 06:09 AM Hi Ok Thanks for your effort, Actually I am the only one working on this project in my Company, And I need full support from you, In the mean while I will be gathering the whole requirement from my client will be contacting you soon. Share this post Link to post
kiran.mply Report post Posted 10/30/2008 08:07 AM Hi Ok now the problem is solved and I am able to get callerId I have downloaded and installed the latest version. Then please .ZIP up and post the vgEngine and the ktTel trace logs capturing system startup and the incoming call. I am attaching the trace files One problem is when the caller hangsUp the script doesn't stops on running even after setting <ID>TID_DISCONNECT</ID> <Freq1>400</Freq1> <Freq1Dev>100</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>20</OnDev> <Off>75</Off> <OffDev>20</OffDev> <Count>1</Count> </Tone> in ConfigLine.xml But when set <ID>TID_DISCONNECT</ID> <Freq1>400</Freq1> <Freq1Dev>100</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>20</OnDev> <Off>75</Off> <OffDev>20</OffDev> <Count>1</Count> </Tone> <Tone Name="Call Progress Tone DISCONNECT_TAPI1"> <Notes>Default Setting</Notes> <ID>DISCONNECT_TAPI1</ID> <Freq1>400</Freq1> <Freq1Dev>200</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>30</OnDev> <Off>75</Off> <OffDev>30</OffDev> <Count>1</Count> </Tone> <Tone Name="Call Progress Tone DISCONNECT_TAPI2"> <Notes>Default Setting</Notes> <ID>DISCONNECT_TAPI2</ID> <Freq1>400</Freq1> <Freq1Dev>200</Freq1Dev> <Freq2>0</Freq2> <Freq2Dev>0</Freq2Dev> <On>75</On> <OnDev>30</OnDev> <Off>75</Off> <OffDev>30</OffDev> <Count>1</Count> </Tone> all the above three its working. the script stops running. Is that fine. I am using the latest DialogicDrivers and VoiceGuide. trace.zip Share this post Link to post
SupportTeam Report post Posted 10/30/2008 08:19 AM Thanks for the trace confirming the CallerID is now working on this system. Looks like the CallerID on these lines is sent as DTMF between 2nd and 3rd ring. Its a bit unusual but now VoiceGuide can handle it as well. This fix will be in releases 7.0.8 onwards. Looks like on some systems its the DISCONNECT_TAPI1 and/or DISCONNECT_TAPI2 that needs to be set instead of TID_DISCONNECT. It does not matter which one you use as long as you are seeing the system detect the disconnect tone properly. I'll close this CallerID ticket on our side now. If you have any further questions please post them in new thread. Share this post Link to post