VoiceGuide IVR Software Main Page
Jump to content

Hang Up Module Does Not Hang Up

Recommended Posts

When a call is made and later hung up by hand VG hangs up in 4 seconds. It is OK. However, when it reaches a hang up module, it never hangs up. What do I need to change?

Log files are atteched.

 

I try to attach log file again

 

attached files

0522vgm.txt

0522tw.txt

Share this post


Link to post

Trace shows that you are running a script that does not answer the call in the first place, so we don't really understqnd why you say that it does not hang up...

 

The trace shows your script just counting rings and ending after the counter reaches two rings.

The phone keeps ringing for about a dozen more rings.

 

When the ringing goes away then VG would indicate that the caller stopped ringing...

 

You cannot hang up a call unless you answer the call first....

Share this post


Link to post

Thank you for the answer. I made a wrong assumption about the hang up. This is what I would like VG to do (I use Dialogic card):

1. The caller calls in and the phone rings twice so the caller ID should have arrived until that time. Answer only if there is a valid caller id information. If no caller id, then do not answer the phone AND stop the ringing. Most caller would continue ringing for 20-30 seconds but I do not want the line to be occupied by the ringing -so other people do not have to wait so long for a clear line. Furthermore, if the caller fails to hang up (misplacing the receiver or for fun), he/she will occupy the line for very long time because I do not know how my computer can stop the ringing. Do you have a solution?

 

2. In the VG script I will use VBS module in many places to write data into a database always including $RV_CIDNUMBER. I may let calls come in without valid caller ID or may not. ( I want to be flexible about this). The problem is that if there is no valid caller id, $RV_CIDNUMBER will be replaced in the VB script with nothing instead of 0. And it makes the VB script wrong. For example, if there is no caller id:

lngCallerID = $RV_CIDNUMBER will be substituted at run time by

lngCallerID =

which is an invalid syntax and causes an error.

How can I overcome this problem? Can I , for instance, convert $RV_CIDNUMBER into 0?

Share this post


Link to post
1. The caller calls in and the phone rings twice so the caller ID should have arrived until that time. Answer only if there is a valid caller id information. If no caller id, then do not answer the phone AND stop the ringing. Most caller would continue ringing for 20-30 seconds but I do not want the line to be occupied by the ringing -so other people do not have to wait so long for a clear line. Furthermore, if the caller fails to hang up (misplacing the receiver or for fun), he/she will occupy the line for very long time because I do not know how my computer can stop the ringing. Do you have a solution?
I think that is an issue with your phone company, maybe you can call them to ask for a solution (line config? :unsure: )

 

2. In the VG script I will use VBS module in many places to write data into a database always including $RV_CIDNUMBER. I may let calls come in without valid caller ID or may not. ( I want to be flexible about this). The problem is that if there is no valid caller id, $RV_CIDNUMBER will be replaced in the VB script with nothing instead of 0. And it makes the VB script wrong. For example, if there is no caller id:

lngCallerID = $RV_CIDNUMBER will be substituted at run time by

lngCallerID =

which is an invalid syntax and causes an error.

How can I overcome this problem? Can I , for instance, convert $RV_CIDNUMBER into 0?

you can use an evaluate expression module:

 

from the help file:

 

you could also use:

 

on {} goto [NoCallerId]

 

or

 

on {False} goto [NoCallerId]

 

both of which will match if CallerID number is blank.

 

from a VBS something like:

 

If $RV_CIDNUMBER = "" Then

CallerID = "Unknown"

Else

CallerID = $RV_CIDNUMBER

End if

Share this post


Link to post
from a VBS something like:

 

If $RV_CIDNUMBER = "" Then

CallerID = "Unknown"

Else

CallerID = $RV_CIDNUMBER

End if

 

Thanks. It is a good solution. Meanwhile I created another one and am sharing it:

in an evaluation module I define a variable CallerID as 0$RV_CIDNUMBER

Notice the zero at the front. So even if there is no caller id, it becomes 0.

Then I can use CallerID in each VBscript easier.

 

For problem 1 I still hope to get a solution: to make the ringing stop from VG without answering it.

Share this post


Link to post

Dear Support,

 

Your answer that a call cannot be hang up before it is answered seems to contradict to the help file:

 

Call Start

 

Modules allowed before the call is answered

 

The following modules can be used:

 

Database Query

Time Switch

Evaluate Expression

Run Program

Send Pager Message

Send Email

Make Call

Run VB Script

Hangup the Call

 

Arriving at the "Hangup Call" module results in the script finishing and the call never being answered.

Share this post


Link to post
Thanks. It is a good solution. Meanwhile I created another one and am sharing it:

in an evaluation module I define a variable CallerID as 0$RV_CIDNUMBER

Notice the zero at the front. So even if there is no caller id, it becomes 0.

Then I can use CallerID in each VBscript easier.

For a givven CallerID 12345 I think you will get 012345, is this ok for you?

 

For problem 1 I still hope to get a solution: to make the ringing stop from VG without answering it.
I doubt it, but if you can please tell me how :o

 

Dear Support,

 

Your answer that a call cannot be hang up before it is answered seems to contradict to the help file:

 

Call Start

 

Modules allowed before the call is answered

 

The following modules can be used:

 

Database Query

Time Switch

Evaluate Expression

Run Program

Send Pager Message

Send Email

Make Call

Run VB Script

Hangup the Call

 

Arriving at the "Hangup Call" module results in the script finishing and the call never being answered.

These are different things:

1.- For hanging up you need to answer first (isnt logic? :ph34r: )

2.- You can start running a script WITHOUT answering a call, and then within the script you can decide to answer it or not.

 

Hope it helps

Share this post


Link to post
For a givven CallerID 12345 I think you will get 012345, is this ok for you?

 

No. When it is written in MySQL it does not show 0. Just 12345.

Share this post


Link to post

It works though I am not sure why. I guess 012345 is interpreted as a number and 0 is ignored.

Actually, the "" method did not work with the vbscript. It stopped VG with an error.

 

When I use 0$RV_CDINumber in an evaluation module and assign it to CallerID variable and use CallerID is a vbscript the result is

0 if there is no caller ID and

123456 if the caller ID was 123456.

 

I didn't convert it into number and didn't trim the left character.

Share this post


Link to post
AND stop the ringing.

It's not possible to just stop ringing... ringing only stops when caller hangs up or you answer the call. Think about what happens if someone calls you on your normal phone... when does it stop ringing and can you make it stop ringing without answering it? (Answer: No)

 

Also, use this script:

If "$RV_CIDNUMBER" = "" Then 
CallerID = "Unknown"
Else
CallerID = "$RV_CIDNUMBER"
End if

(look where the quotes are)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×