Guest DashboardResearch Report post Posted 09/10/2007 02:08 PM hi Need help, I want to to run a script that says when $RV_CIDNUMBER = some number do something if not do something else. rings before answering inbound call is set on 2 Popup callerID when number is recieved is selected here is the code: If $RV_CIDNUMBER = "" Then msgbox "Unknown" Else CallerID = $RV_CIDNUMBER End if Share this post Link to post
SupportTeam Report post Posted 09/10/2007 10:00 PM The VBScript should have quotes around the $RV_CIDNUMBER, like this: If "$RV_CIDNUMBER" = "" Then 'msgbox "Unknown" CallerID = "Unknown" Else CallerID = "$RV_CIDNUMBER" End if Note that in v7 of VoiceGuide the MsgBoxes are not displayed on the screen, as v7 runs as a Windows Service. Only in v5 and v6 will the MsgBoxes be displayed (if they are ran as a normal program and not as a Windows Service) Another approach would be to use an Evaluate Expression module to test and branch based on the $RV_CIDNUMBER value. Share this post Link to post
Guest DashboardResearch Report post Posted 09/11/2007 07:17 AM Hie Thank you for the feedback, My script is now working the only problem is that i don't seem to be getting the $rv_cidnumber its always equal to nothing. I have tried it with ring counts = 2 and with ring count = 2 and it still says $rv_cidnumber = "" What can i do to ensure that i recieve the $rv_cidnumber(caller's number). I need this to search in my database and direct the caller to the right script. Appreciate your help Share this post Link to post
SupportTeam Report post Posted 09/11/2007 07:39 AM Is the CallerID information supplied by your telephone company on that line? Are you using a Dialogic card on this system? Can you post the ktTel layer traces capturing an incoming call? Share this post Link to post
Guest DashboardResearch Report post Posted 09/11/2007 08:35 AM Is the CallerID information supplied by your telephone company on that line? Are you using a Dialogic card on this system? Can you post the ktTel layer traces capturing an incoming call? Hi The telephone company i am using supplies the telephone number, i know this because it reflects the number on my mobile. i am using Dialogic card system i am not too sure what you mean by "kTel layer traces", how do i access these Thank you for your help. Share this post Link to post
SupportTeam Report post Posted 09/11/2007 09:58 AM i know this because it reflects the number on my mobile. But does the phone company send CallerID on the Analog line plugged into the Dialogic card? Could you please post a copy of VoiceGuide's Trace Logs which captures the incoming call, this will allow us to see what happened. Enable logging by setting the log levels to 10 in VG.INI as per below: [Log] ktTel=10 Then restart VG and make a test call. Trace files will be created in VG's \log\ subdirectory. Please post the traces. When posting traces/scripts please .ZIP them up and post them as attachments. Share this post Link to post
Guest DashboardResearch Report post Posted 09/11/2007 10:23 AM Hi I have attached the ktTel trace layer, i am not getting the $rv_cidnumber thank you for your help 0911vgm.zip Share this post Link to post
SupportTeam Report post Posted 09/11/2007 11:13 AM Trace shows that the Dialogic card did not detect any CallerID information being sent. Easiest way to confirm whether CallerID is actually sent or not is to attach a CallerID monitoring device to the Analog line and see if it displays the CallerID when the call arrives. Also we can see from the trace that you are using v5.x of VoiceGuide with a Dialogic card. We'd strongly recommend that you update this system to VoiceGuide v6. (same registration code will work with v6 as was supplied with v5). Share this post Link to post
Guest DashboardResearch Report post Posted 09/13/2007 02:14 PM Thank you for the help, the steps u told me work, the only problem was my hardware. Share this post Link to post