VoiceGuide IVR Software Main Page
Jump to content

Call Transfere

Recommended Posts

Hello

Im using the "Transfere Call" module with "Dial and Conference" option, the senario is when VG dials the the number on other chanel, if it finds the the destination number is busy, it hangs up!!, but i want to take control so I want to try dialing another number, how can I control that?

 

I have VG 5.2.3b running on windows 2000 and D/41JCT-LS PCI dialogic card

Share this post


Link to post

Use a path :

 

on {busy} goto [newmoduletitle]

 

If you still experience problems when using that path please post a copy of VoiceGuide's Debug Printout which captures the problem, this will allow us to see what is going on.

 

When running the script click on VoiceGuide's View menu and select 'Event Trace Log' option - any log information will then appear in this window. You must open the trace window before making the call.

You can enable the automatic saving of the logs to files in \log\ directory as well.

Share this post


Link to post

my script simply welcomes the caller, the caller presses DTMF 3, he will be taken to the transfere call module, the module dials the number on other channel, then the caller hears the busy tone which tells that the dialed number is busy, then vg hangs up.

 

the Transfere Call module has 3 pathes defined

 

on {success} goto [connected]

on {busy} goto [person busy]

on {noanswer} goto [no answer]

 

 

 

 

 

094207.00 5 linedevstate 2048 0 0

094207.02 5 callstate OFFERING 66101 0 4

094207.02 5 rv clear

094207.02 5 Answer the call at 5/16/2005 9:42:07 AM

094207.02 5 lineAnswer(66101) => 66118

094207.02 5 callinfo CALLEDID

094207.02 5 callinfo ORIGIN

094207.02 5 ring 0

094207.50 0 dial start any summary:|5:hc>0|6:idx=0|7:idx=0|8:idx=0|

094207.55 5 callstate CONNECTED 66101 1 0

094207.55 5 callstate CONNECTED 66101,1,0

094207.55 5 WorkingModeTAPI@Connected=

094207.55 5 WorkingModeScript@Connected=

094207.56 5 Inband detection not enabled

094207.56 5 StartLoadedVgs at 5/16/2005 9:42:07 AM, v5.2.3063

094207.56 5 AddRVns [scriptsPath]{C:\IslamToday\}

094207.56 5 AddRVns [scriptPath]{C:\IslamToday}

094207.56 5 rv add [$RV_STARTTIME]{5/16/2005 9:42:07 AM}

094207.56 5 rv add [$RV_DEVICEID]{5}

094207.56 5 rv add [$RV_CIDNAME]{}

094207.58 5 AddRVns [PathApp]{C:\Program Files\VoiceGuide\}

094207.58 5 rv add [$RV_CIDNUMBER]{}

094207.58 5 tapi Reply (LineEvReply) ok 66118 0

094207.58 5 timer clear

094207.58 5 [Welcome] Playing

094207.58 5 [Welcome] Playing (C:\IslamToday\islam sound\welcome.wav)

094207.58 5 play set playid=638312

094207.59 5 PlaySoundStart ok [C:\IslamToday\islam sound\welcome.wav]

094207.59 5 timer clear

094207.59 5 RunModule PLAY end

094207.59 5 wa(17294,63831200)

094207.59 5 callinfo MONITORMODES

094207.59 5 callinfo MONITORMODES

094212.19 5 dtmf 1 (66101,49,2)

094212.19 5 ScriptEventCode 49 iLineState=1100

094212.19 5 LsPlayMsg 1

094212.23 5 PlaySoundStop err=0

094212.23 5 rv add [Welcome]{1}

094212.23 5 timer clear

094212.23 5 timer set 0.4 EV_TIMEOUT_READYTOBEGINTRANSFER

094212.61 5 timer fired EV_TIMEOUT_READYTOBEGINTRANSFER

094212.61 5 ScriptEventCode 9012 iLineState=1900

094212.61 5 LsXferStart EV_TIMEOUT_READYTOBEGINTRANSFER

094212.61 5 timer set 30 EV_TIMEOUT_ANNOUNCED_TRANSFER_ATTEMPT_TOOK_TOO_LONG

094212.61 5 [Dial Person] Dial and Conference to 0795034748 (Generate)

094212.61 0 Search for free lines in LineID range [5-8]

094212.61 5 dial busy: active call

094212.61 6 dial reserving [dxxxB1C2] as no list specified

094212.61 5 dial found free dev=2 (LineId=6)

094212.61 6 Calling 0795034748 (related LineId=5)

094212.61 5 MakeCallEx => 66135

094212.61 6 TapiCbTrigSet 66135 7003

094212.61 5 timer set 3600 EV_TIMEOUT_HANGUP

094212.63 6 timer set 3600 EV_TIMEOUT_HANGUP

094213.16 6 tapi Reply (LineEvReply) ok 66135 0

094213.16 6 TcTrig.lTrigType = TcTrig_MakeCallForConferenceFinished

094213.16 6 Setting conference to occur in 3 seconds (not waiting for PROCEEDING)

094213.16 6 timer set 3 EV_TIMEOUT_BRIDGEAFTERDIALING

094213.16 6 TapiCbTrigClear

094213.16 6 linedevstate 2048 0 0

094213.16 6 callstate DIALTONE 66510 0 0

094213.16 6 callstate DIALING 66510 0 0

094213.16 6 callstate PROCEEDING 66510 0 0

094213.16 6 callinfo CALLEDID

094213.17 6 callinfo REASON

094213.17 6 Lev_CallerID [0000,,0795034748]

094213.17 6 rv add [DNIS]{0795034748}

094213.17 6 callinfo ORIGIN

094213.52 0 dial start any summary:|5:hc>0|6:hc>0|7:idx=0|8:idx=0|

094216.34 6 timer fired EV_TIMEOUT_BRIDGEAFTERDIALING

094216.34 6 ScriptEventCode 9014 iLineState=1910

094216.34 6 LsXferWaitEndCall EV_TIMEOUT_BRIDGEAFTERDIALING

094216.34 5 AddRVns [Conf_DevName_1]{dxxxB1C1}

094216.34 5 AddRVns [Conf_LineId_1]{5}

094216.34 5 rv add [Conf_DevName_2]{dxxxB1C2}

094216.34 5 rv add [Conf_LineId_2]{6}

094216.34 6 AddRVns [Conf_DevName_1]{dxxxB1C1}

094216.34 6 AddRVns [Conf_LineId_1]{5}

094216.34 6 rv add [Conf_DevName_2]{dxxxB1C2}

094216.34 6 rv add [Conf_LineId_2]{6}

094216.34 6 DialogicScRoute dxxxB1C1<=>dxxxB1C2 call

094216.36 6 DialogicScRoute dxxxB1C1<=>dxxxB1C2 SC_FULLDUP:

094216.36 6 Conferenced to 5 (dxxxB1C2) at 9:42:16 AM

094216.36 5 [Dial Person] Conferenced to 6 (dxxxB1C1) at 9:42:16 AM

094217.95 6 callstate CONNECTED 66510 1 0

094217.95 6 callstate CONNECTED 66510,1,0

094217.95 6 WorkingModeTAPI@Connected=

094217.95 6 WorkingModeScript@Connected=

094217.95 6 2nd leg of call recieved CONNECTED event

094233.30 6 callstate DISCONNECTED 66510 0 0

094233.30 6 ScriptEventCode 9250 iLineState=1910

094233.30 6 LsXferWaitEndCall EV_REMOTEPARTY_DISCONNECT

094233.30 6 rv add [Hangup Time]{5/16/2005 9:42:33 AM}

094233.30 6 Hanging up call...

094233.30 6 DialogicScUnroute dxxxB1C2</>dxxxB1C1 MATCH_ call

094233.31 6 DialogicScUnroute dxxxB1C2</>dxxxB1C1 MATCH_

094233.31 5 rv add [Hangup Time]{5/16/2005 9:42:33 AM}

094233.31 5 Hanging up call... [2nd leg]

094233.31 5 RecSoundStop ok

094233.31 5 PlaySoundStop err=0

094233.31 5 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP

094233.31 5 fnHangupCall end

094233.31 6 RecSoundStop ok

094233.31 6 PlaySoundStop err=0

094233.31 6 timer set 2 EV_TIMEOUT_WAITFORIDLEAFTERLINEDROP

094233.41 6 Waiting for a call...

094233.41 6 fnHangupCall end

094233.41 5 linedevstate 2048 0 0

094233.41 5 callstate IDLE 66101 0 0

094233.41 5 WorkingMode@Idle=

094233.41 5 timer clear

094233.41 5 timer set 1 EV_TIMEOUT_TIMETOREINITLINE

094233.41 5 tapi Reply (LineEvReply) ok 65998 0

094233.42 6 linedevstate 2048 0 0

094233.42 6 callstate IDLE 66510 0 0

094233.42 6 WorkingMode@Idle=

094233.42 6 timer clear

094233.42 6 LineState(iLineId).iVgsIdx = 0

094233.42 6 timer set 1 EV_TIMEOUT_TIMETOREINITLINE

094233.42 6 tapi Reply (LineEvReply) ok 66015 0

094234.50 5 timer fired EV_TIMEOUT_TIMETOREINITLINE

094234.50 5 ScriptEventCode 9008 iLineState=900

094234.50 5 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

094234.50 5 ReinitTelephony due to IDLE

094234.50 5 tapic lineDeallocateCall(MainCall:66101) 0

094234.55 5 lineOpen(5)=>

094234.55 5 Waiting for a call...

094234.55 5 LineHandle=66203

094234.55 5 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT

094234.55 6 timer fired EV_TIMEOUT_TIMETOREINITLINE

094234.56 6 ScriptEventCode 9008 iLineState=900

094234.56 6 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

094234.56 6 ReinitTelephony due to IDLE

094234.56 0 dial start any summary:|5:rdy=0|6:hc>0|7:idx=0|8:idx=0|

094234.56 6 tapic lineDeallocateCall(MainCall:66510) 0

094234.63 6 lineOpen(6)=>

094234.63 6 Waiting for a call...

094234.63 6 LineHandle=65777

094234.63 6 timer set 3 EV_TIMEOUT_ATERIDLE_ALLOWOUT

094235.56 0 dial start any summary:|5:rdy=0|6:rdy=0|7:idx=0|8:idx=0|

094237.91 5 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

094237.91 5 ScriptEventCode 9013 iLineState=900

094237.91 6 timer fired EV_TIMEOUT_ATERIDLE_ALLOWOUT

094237.91 6 ScriptEventCode 9013 iLineState=900

094238.56 0 dial start any summary:|5:dok=0|6:idx=0|7:idx=0|8:idx=0|

Share this post


Link to post

Please update your system to use "VoiceGuide for Dialogic".

See our WWW downloads page.

Share this post


Link to post

I have downloaded and implemented "VoiceGuide for Dialogic" as described

 

now im having the following inqueries

 

-Now VG plays the wave files in a very slow & unclear manner, these wave files I used to play normally before upgrading to "VoiceGuide for Dialogic"

 

-Now the "transfere Call" module have changed, and many options were added to this module, buut the attached help file remained the same, how can I get the help file which is crossponding to this update.

 

-What is the best composition of these options is best to chose from those newly added options to apply in my case, the transfre and bridging options?

 

-Now it shows my version of VG is 6.0.2000, I dont need to install V5.2.4 as long as im using the "VoiceGuide for Dialogic" ?

Share this post


Link to post
-Now VG plays the wave files in a very slow & unclear manner, these wave files I used to play normally before upgrading to "VoiceGuide for Dialogic"

VoiceGuide for Dialogic uses 8kHz sound files, whereas the TAPI version used 11kHz with Dialogic cards... This is mentioned in the installation notes for "VoiceGuide for Dialogic".

Now the "transfere Call" module have changed, and many options were added to this module, buut the attached help file remained the same, how can I get the help file which is crossponding to this update.

The "monitored" transfers basically just wait until a human or answering machine is heard before completing the call.

Some more info on paths can be found here: http://www.voiceguide.com/vghelp/html/modXfer.htm

-What is the best composition of these options is best to chose from those newly added options to apply in my case, the transfre and bridging options?

I'd try using "Dial and Conference - Blind" option first.

-Now it shows my version of VG is 6.0.2000, I dont need to install V5.2.4 as long as im using the "VoiceGuide for Dialogic" ?

No. Again, installation instructions are listed in the readme.txt file that comes with "VG for Dialogic"

Share this post


Link to post

Is there away that i can prevent the caller from hearing the tones which come from the dialed number when I'm transfering the call? like i don't want here to know if the dialed number is busy or ringing back, I want to take action without him knowing? I tried using the onhold sound file, but did not get results.

 

 

In the "Transfere Call" module the "Dial and Conference" Tap, the "Bridge calls to gother when :" option does not get saved, it returns to the default value when ever you reselect the script, or restart VG.

 

Do i have to configure all the tones' frequencies in the "ConfigLine.xml" of my VG for dialgic? this edition does not recognize the TSP any more? as vg does not recognize it when its ringin back, so the path "on {noanswer} goto [no answer]" is never being taken.

 

what is the "Dialout and Conference - Announced" ?

Share this post


Link to post
Is there away that i can prevent the caller from hearing the tones which come from the dialed number when I'm transfering the call?

The original caller should be placed on hold while the transfer is being made, so they will not hear what is happening on the line. If they are not placed on hold this means that the hookflash is incorrect length. see: http://www.voiceguide.com/vghelp/html/Dial...llTransfers.htm

In the "Transfere Call" module the "Dial and Conference" Tap, the "Bridge calls to gother when :" option does not get saved, it returns to the default value when ever you reselect the script, or restart VG.

Please update your system with attached .EXE, overwriting existing file. This should fix the problem which you have found. Please let us know if you come across any other issues.

Do i have to configure all the tones' frequencies in the "ConfigLine.xml" of my VG for dialgic? this

Yes.

this edition does not recognize the TSP any more?

No. TSP is only for the version which uses TAPI/Wave drivers.

what is the "Dialout and Conference - Announced" ?

Please see: http://www.voiceguide.com/vghelp/html/modXfer.htm

VgGsd_5.2.3513.zip

Share this post


Link to post

 

im not using any PBX, im using the telephone network directly, so hookflash is a service I have to add to my line? or its there by default?

 

The link you provided describes how to set the hookflash for PBXs and VG TAPI version, also through TSP, but TSP is ignored when you have VG for dialogic, so where do I have to set this hookflash value?

 

 

Please, I would appreciate it, if you provide all the related materials to my problem and situation, all updates for VG and all articles regarding line configurations and settings for "VG for dialogic" to get the "dial and conference" working probably

 

thanx for your support.

Share this post


Link to post
im not using any PBX, im using the telephone network directly, so hookflash is a service I have to add to my line? or its there by default?

You need to speak with your phone company to see if they support this service.

TSP is ignored when you have VG for dialogic, so where do I have to set this hookflash value?

Config.xml. Look for the "Flash Time" setting,

to get the "dial and conference" working probably

No need to set hookflash to use Dial and Conference - for Dial and conference a call is made on another line. see: http://www.voiceguide.com/vghelp/html/modXfer.htm

Share this post


Link to post
No need to set hookflash to use Dial and Conference - for Dial and conference a call is made on another line

 

I know the call is made on another line, but this was you suggestion to solve my problem, but seems u were refering to normal call transfere!

 

Anyway, again my problem is that when im using "dial and conference" the original caller hears the tones coming from the dialed number, so he hears if the dialed number is ringing back or busy, I dont want the original caller hears that, I want to only connect the tow channels if the the dialed number was picked up, if not i waould take other action like dialing another number, is it possible???

Share this post


Link to post
my problem is that when im using "dial and conference" the original caller hears the tones coming from the dialed number, so he hears if the dialed number is ringing back or busy

That's how standard "Dial and Conference" works. Immediately after dialing the two lines are connected together.

I dont want the original caller hears that, I want to only connect the tow channels if the the dialed number was picked up

You will need to use "VoiceGuide for Dialogic" and select the "Dial and Conference Monitored" or "Dial and Conference Announced" options.

 

see: http://www.voiceguide.com/vghelp/html/modXfer.htm

Share this post


Link to post

Thanks for the hints

 

Now my original caller does not hear what's going on on the other channel, using the "Dialout and Conference - Monitored"

 

Now im having this issues

 

- The caller does not hear the On-Hold wave file during dialing on the other line.

 

- When the the number which is being dialed on the other line is busy, VG does not take {busy} path, it simply waits for 30 seconds (the value in the vg.ini) then it hangs up, I need VG to take the busy path immediately when it detectes a busy line.

 

 

Attahced is the Log file

 

Thanx for the help

log.txt

Share this post


Link to post
- The caller does not hear the On-Hold wave file during dialing on the other line.

Please update to attached .exe - this wikll fix that bug.

- When the the number which is being dialed on the other line is busy, VG does not take {busy} path

Have you modified the ConfigLine.xml file with the correct value of frequency/cadence of your busy tone?

Please post your current ConfigLine.xml file and the recording of the busy tone.

VgMulti_6.0.2002.zip

Share this post


Link to post
Please update to attached .exe - this wikll fix that bug.

 

The problem remained, still the On-Hold file is not being played while dialing on other line.

 

Please post your current ConfigLine.xml file and the recording of the busy tone

 

I have analyzed my tones and updated the ConfigLine.xml according to that, attached "vg01.rar" which contains:

 

the busy tone, the disconnection tone, the ring-back tone, the ConfigLine.xml , and the Log file.

 

in the log file, it did not take the {busy} path when the destination mumber is busy, and also it does not connect the channels of i picked up!

 

Note: I hear the dialed DTMFs on the origianl line!

vg01.rar

Share this post


Link to post

OK, attached .ZIP one should play the the On-Hold file correctly...

 

Trace shows that the outgoing leg of the call did detect a busy tone about 18 seconds after the number was started to be dialed, and that's why the transfer was abandoned:

161713.53   2 state dialing 0795034748   (for conference with dxxxB1C1)

...

161731.69   2       LsXferWaitOutcomeOutgoingCall_DialingSide : 133,[TDX_CALLP],7,0,0,CR_BUSY,,

VgMulti_6.0.2003.zip

Share this post


Link to post

yeah, so whats the solution? why it did not detect the busy tone for 18 seconds?

 

did you analyze the tones i attached in my last post?

Share this post


Link to post
why it did not detect the busy tone for 18 seconds?

Are you asking why did it take up to 18 seconds to detect the busy tone?

18 seconds is not unusual - add up the time it takes to dial and time before tone starts playing and the then how long the busy cadence is and how many cadences the system is configured to wait for...

 

For instant info on whether a number is busy you should use T1/E1 ISDN lines.

Share this post


Link to post
Trace shows that the outgoing leg of the call did detect a busy tone about 18 seconds after the number was started to be dialed, and that's why the transfer was abandoned

 

again, what is the solution? my script is not geting completed, the {busy} path is not being taken?

Share this post


Link to post

I tried ur last update file, now it does not take 18 seconds to detect the busy tone, VG hanfs up immediately when it finds out that the dialed number is busy, my {busy} path is not being taken! here is the log file...

log1.txt

Share this post


Link to post

I applied the suggested patch, here are the logs

 

free_number.txt : this is when VG dialed on a free number, it connetced the 2 channles after the line was picked up, but the conversation lasted for FEW seconds, then vg hanged up.

 

busy_number.txt :this is when VG dialed on a busy number, it hanged the second leg up, and put the origianl call on-hold for SO long, then it hanged up with out taking any path.

vg02.rar

Share this post


Link to post

Please ensure that in the Call Transfer module, tab "Dial and Conference" the option "Bridge calls together when" is set to: "Voice or Answering Machine is detected. Listen for disconnect tones. (DX_PAMDOPTEN)".

 

Also please update your system with attached .exe

 

Continue to use the "Monitored Dial and Connect" setting at this stage.

 

We've replicated the exact scenario that you are doing and it all works on our test system with this version.

Lets get this working on your system now and from there we can move on to other scenarios.

VgMulti_6.0.2014.zip

Share this post


Link to post

Im working with the exact settings you've mentioned, now with the new update, VG can detect the busy tone and react correctly, it also bridges the 2 channels when the dialed number is picked up.

 

if you want us to move forward, now the path {noanswer} is not recognized, VG just hangs up both lines if no one picked up the dialed number.

 

Thanx for the good support.

Share this post


Link to post

Keeping everything else the same please update your system with attached .exe and then test all the scenarios.

 

If any problems arise please post .ZIPed up trace.

VgMulti_6.0.2027.zip

Share this post


Link to post

Hello

 

I tried the last update with the same previous settings, but the {no answer} path was not taken, more worse, VG has bridged the 2 channles after few "ring backs" even the option "Voice or Answering Machine is detected. Listen for disconnect tones. (DX_PAMDOPTEN)" is set

 

attached is a log file for two consecutive tries which behaved the same.

log.zip

Share this post


Link to post

Trace shows that Dialogic card signaled the outgoing call was answered as the ringbacks seemed to have gone away.

When no ringbacks are heard anymore the Dialogic card assumes that the call has been answered.

 

Ringback tone was heard at 120849.42 :

 

120849.42 2 tw DialogicEvent 134,TDX_CST,200,0,0,DE_TONEON,TID_RNGBK2,

 

and looks like it was not heard again for 14 seconds, so the Dialoigc decided call must have been answered...

 

120903.41 2 tw DialogicEvent 133,TDX_CALLP,10,1,0,TDX_CALLP,CR_CNCT,CON_CAD

 

 

I think you will find the same results with wither version of VG as what you are seeing here is determined by the tone definitions in LinesConfig.xml - you may want to experiment with different settings for ringback tone definitions...

 

You really should look at using T1/E1 ISDN lines - only ISDN telephone lines will give you immediate notification when the remote side has picked up a call. When using analog lines you rely on tone analysis to determine that and this may be difficult to set up if you intend to be able to call out to a variety of different numbers on different networks

Share this post


Link to post

Please refere to my post May 23 2005, 11:34 PM

find attached the zip file, do me a favor and analyse the tones for me please.

 

 

When using analog lines you rely on tone analysis to determine that and this may be difficult to set up if you intend to be able to call out to a variety of different numbers on different networks

 

I raised this issue before in other post, the guys replied that they believe that as long as all the lines which are connected to my dialogic card are from the same compamy, then i donty have to worry about what numbers im calling weather they are from the same company or any different company, elaborate on this please.

Share this post


Link to post

To analyse the tone frequencies:

 

Use Audacity http://audacity.sourceforge.net/ to find out the frequencies and cadence.

 

Open the sound file in Audacity, then highlight the section when tone is playing and then goto "View"->"Plot Spectrum" menu.

 

Audacity also displays the interval lengths of highlighed sections, so you just need to highlight the entire section when tone is ON and check the interval, and hightlight entire section whern tone is OFF and chect that interval.

 

For allowed variances (frequency and time) it's usually appropriate to use about 10% of the value for variance.

Some phone companies regenerate the ringback and some do not.

 

Are you finding that a different ringback is played depending on what number is called?

Share this post


Link to post

I did analyse my tones before, i wanted to take the anylasis from your side as i believe it would be more accurate.

 

all of them generate ring backs, but I don't know if different networks play different frequencies, but seems this is what you mean when u said its difficult to setup analog lines to call different companies. isn't it?

 

 

Anyhow, to slove my problem, im now testing with the lines which I have posted their tones vg01.rar above, i wont be using any other lines to avoid the confusing, so would you please suggest the frequency values, I want all the available pathes to be taken.

Share this post


Link to post

The ringback tone recorded in vg01.rar is:

 

Freq1: 380Hz

Freq2: 460Hz

On : 1200ms

Off: 4800ms

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
×