Guest jdiegjdieg Report post Posted 01/23/2007 02:30 PM I have this vbs script that I am running to initiate a call to an extension: set vg = CreateObject("VoiceGuide.CommandLink") vg.Dialer_MakeCall "2717", "", "", "C:\test.vgs" set vg = Nothing The call is initiated, but the script never runs and the following appears in the 0123vgm.txt log file: 090334.12 0 ERROR 6.0.3243 in Dialer_MakeCall Class Module CommandLink on line 420, 13:Type mismatch Using VoiceGuide Dialogic Trial. The VoiceGuide Console continues to say "Dialing 2717" Can anyone explain what may be happening? Thanks! Share this post Link to post
SupportTeam Report post Posted 01/23/2007 10:33 PM You should use the Dialer_OutDialQueAdd function. Share this post Link to post
Guest jdiegjdieg Report post Posted 01/24/2007 01:03 AM Are you saying that because the Makecall function doesn't work correctly, or just as a recommendation? This is an interactive process where the actions of one caller (on any line) will change the parameters of the next caller's action (on any other line). The calls have to be placed in such a way that they can be released in an order that will not be specified ahead of time. The call will be launched via COM from another application that does the data processing. As I have it planned out, it is not a queue situation. I understand your recommendation, and I will see if I can change my plans to use it, but could you please tell me what might be causing the script as I have it not to operate properly? In any event, I would like to try it both ways. Is it a Voiceguide problem or a Dialogic problem, or am I doing something incorrectly? Thanks for any help that you can give. Share this post Link to post
SupportTeam Report post Posted 01/24/2007 01:41 AM MakeCall function is not designed to place a new outgoing call. It was designed more for call transfer applications. (The name is a bit misleading - we'll probably change the name for this function in future versions). Dialer_OutDialQueAdd will result in the call being made immediately if there is a line available. Can you give us more information on the application which you are developing? Share this post Link to post
Guest jdiegjdieg Report post Posted 01/25/2007 06:10 PM Thank you for the info. I believe I understand, but I still think it is odd that the Makecall function will make the call, but then not start the script. The error indicated that one of the parameters was of the wrong type or something. I was just hoping someone could explain what had actually happened. I'm sure I can use the Dialer_OutDialQueAdd function. It is a system that calls substitute teachers in when teachers are going to be out. It is fairly critical, though that things happen exactly in the order that I want them to, so that 2 calls don't go out for the same job and get accepted. I though that if I made the calls directly, I could have better control in the calling program, because the timing would be controlled by me. This can be accomplished using the Que, though as long as I don't add an offer for a job until I am sure that any previous offers have completed dialing and been rejected. Share this post Link to post