VoiceGuide IVR Software Main Page
Jump to content

terminating calls connected by vg.Bridge_Connect

Recommended Posts

We found problem in terminating script.

conversation connected using vg.Bridge_Connect

after hangup by agent (agent side was initial side of Bridge_connect) we forwarding call to termination sheet

 

in termination sheet we detect conversation side (client or agent) and in case of agent side we start vg.Line_Hangup $RV[caller_lineid]

but when caller line is in this moment in termination script VG immediately breaking termination script execution.

 

how to using VBS detect active script on caller line and:

  1. when caller line is in termination script - do nothing
  2. in other case terminate call on caller line and push to terminating script.

we need caller side executing whole termination script in each case.

Share this post


Link to post

Can you please post vgEngine trace capturing the calls, and advise what time/numbers/etc we need to look for to identify the calls in question.

Note that if "Line_Hangup" is invoked while the 'after_hangup' script is running, the the 'after_hangup' script will be ended. This is as per design.

There are ways to check the state that the other line is in, but doing this from a VBScript module in this case may not be the best approach. Can advise more once we see the traces.

Share this post


Link to post

Please update your system to this version of VoiceGuide:

[Link Removed. Please use v7.5.21 or later available from the Downloads page]

 

in this version you can call the "Action" COM/WCF/etc function like this to hangup the line:

set vg = CreateObject("vgServices.CommandLink")
vg.Action $RV_LINEID, "line_hangup", 0, 0, 0, "goto_afterhangup", "", ""
set vg = Nothing

The "goto_afterhanup" option will ensure that if the line is already in 'After-Hangup" mode than the hangup command will be ignored.

You can then change the Line_Hangup calls in your current scripts to the above Action calls. This should meet your requirements of allowing multiple hangup calls to be issued without it resulting in the After-Hangup script being exited early.

 

If you encounter any problems please post the vgEngine traces capturing the issue. We can then see what happened on the system and advise. Please .ZIP up any traces before posting.

 

To change from one release of VoiceGuide v7 to another:

1. Stop VoiceGuide Service and exit all VoiceGuide programs. (eg Script Designer, Line Status Monitor, etc) and all other programs.

2. Run the VoiceGuide install and install into same directory as existing installation. (Do NOT uninstall the previous VoiceGuide installation).

3. Start VoiceGuide service.

Running a VoiceGuide install over the top of an existing install will NOT overwrite existing configuration or license files (Config.xml, ConfigLine.xml, VG.INI, etc) and will not remove any of users script or sound files, and will not remove any log files etc.

Edited by SupportTeam
remove download link

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
×