Guest rmonicat Report post Posted 05/08/2004 08:49 PM Some questions. I'm using a d/41jctls card and VG COM interface. 1 How can I determine, via COM interface, that a line is ringing before it is answered? 2 Tried to use ringcount, but it always reports 0, even after vg script answered. Provided that it is fixed.... or that I learn how to use it properly, Is this a suitable way to determine that the line is ringing?. 3 RV_getall does not update its information while line is ringing. If I use such data, as it shows a hungup time, my conclusion will be that the line is free (not ringing). 3 Is there a procedure to access variables passed to VG for an outbound call before script starts, that is to say while it is ringing. Thank you in advance. Share this post Link to post
SupportTeam Report post Posted 05/09/2004 04:56 AM 1 How can I determine, via COM interface, that a line is ringing before it is answered? 2 Tried to use ringcount, but it always reports 0, even after vg script answered. It works fine on our test system. Just tested it dialing into the line who's TAPI LineID was 6, and was able to retrieve the ring count by running the VBScript below: set vg = CreateObject("VoiceGuide.CommandLink") sReturnValue = vg.RvGet(6, "$RV_RINGCOUNT") set vg = Nothing MsgBox sReturnValue $RV_RINGCOUNT is only for incoming calls - you cannot tell how many times the dialed number has rung. That's why there is an 'Answer Timeout' setting. RV_getall does not update its information while line is ringing. If I use such data, as it shows a hungup time, my conclusion will be that the line is free (not ringing). You can use $RV[Hangup Time] to determine if call has finished. $RV_RINGCOUNT will not be in the list of RV's returned by RV_GetAll COM function. Is there a procedure to access variables passed to VG for an outbound call before script starts, that is to say while it is ringing. To monitor outcome of an outgoing call you can monitor the Result Variable $RV[OutDial_Result] Attached .exe should allow you to also view what RV's have been passed as parameters to the script while the number is being dialed. VgMulti_5.2.1042.zip Share this post Link to post
Guest rmonicat Report post Posted 05/09/2004 12:55 PM I'll install and test it. Can I take this functionality as beeing part of VG in future releases? Thank you very much. Share this post Link to post
SupportTeam Report post Posted 05/09/2004 08:55 PM Yes. This will be included in the imminent v5.2.2 release. Share this post Link to post