VoiceGuide IVR Software Main Page
Jump to content

Dialogic Drops Line At Beginning Of Script

Recommended Posts

This appears to be a similar problem to 879, On my own script the line is dropped after 3 or so seconds, trying the credit card script the line is dropped almost immediately:

 

 

002523.45 5 linedevstate 2048 0 0

002523.45 5 callstate OFFERING 65862 0 4

002523.45 5 Answer the call at 03/12/2003 00:25:23

002523.47 5 lineAnswer(65862) => 66135

002523.47 5 callinfo CALLEDID

002523.47 5 callinfo ORIGIN

002523.47 5 ring 0

002524.02 5 callstate CONNECTED 65862,1,0

002524.02 5 WorkingModeTAPI@Connected=

002524.02 5 WorkingModeScript@Connected=

002524.05 5 Inband detection not enabled

002524.05 5 StartLoadedVgs at 03/12/2003 00:25:24

002524.05 5 tapi Reply (LineEvReply) ok 66135 0

002524.05 5 [Get Client ID] Number Input

002524.05 5 [Get Client ID] Playing (PayGetId.wav)

002524.13 5 PlaySoundStart ok [PayGetId.wav]

002524.69 5 callstate DISCONNECTED 65862,0,0

002524.69 5 LsGetNbrsPlayWelcMsg EV_REMOTEPARTY_DISCONNECT

002524.69 5 Hanging up call...

002524.69 5 RecSoundStop ok

002524.75 5 PlaySoundStop ok

002524.75 5 fnHangupCall end

002526.05 5 linedevstate 2048 0 0

002526.05 5 callstate IDLE 65862 0 0

002526.05 5 WorkingMode@Idle=

002526.06 5 tapi Reply (LineEvReply) ok 66118 0

002527.08 5 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

002527.08 5 ReinitTelephony due to IDLE start

002527.08 5 tapic lineDeallocateCall(MainCall:65862) 0

002527.22 5 lineOpen(5) => 0

002527.22 5 Waiting for a call...

002527.22 5 lineOpen(5)LineHandle=65947

002608.22 0 sys cleanup Start

002608.22 0 sys cleanup End

 

This is using Dialogic D4/PCI and version 5.1.3a

Call disconnect tones set as per your last advice

 

Is this a problem with 5.1.3a?

Share this post


Link to post

Trace show that it is the Dialogic card that has informed VG that the call is DISCONNECTED.

 

This looks like the card is mistakenly detecting sound on the line as a disconnect tone...

 

Does this still happen when you try playing a different sound file?

Can you try disabling the disconnect tone detection on the card by setting all the tone frequencies to 0 on the Dialogic TSP (for both disconnect tones) and see if this makes any difference..

Share this post


Link to post

Further information on this, the same line drop occurs even when the dialogic card is set not to listen for a line drop tone.

 

004848.06 5 linedevstate 2048 0 0

004848.06 5 callstate OFFERING 66187 0 4

004848.06 5 Answer the call at 03/12/2003 00:48:48

004848.08 5 lineAnswer(66187) => 66051

004848.08 5 callinfo CALLEDID

004848.08 5 callinfo ORIGIN

004848.08 5 ring 0

004848.61 5 callstate CONNECTED 66187,1,0

004848.61 5 WorkingModeTAPI@Connected=

004848.61 5 WorkingModeScript@Connected=

004848.66 5 Inband detection not enabled

004848.66 5 StartLoadedVgs at 03/12/2003 00:48:48

004848.66 5 tapi Reply (LineEvReply) ok 66051 0

004848.66 5 [welcome_message] Playing

004848.66 5 [welcome_message] Playing (C:\11Khz Lois\new prompts\Call Intro.wav)

004848.72 5 PlaySoundStart ok [C:\11Khz Lois\new prompts\Call Intro.wav]

004848.72 5 RunModule PLAY end

004851.83 5 callstate DISCONNECTED 66187,0,0

004851.83 5 LsPlayMsg EV_REMOTEPARTY_DISCONNECT

004851.83 5 Hanging up call...

004851.83 5 RecSoundStop ok

004851.88 5 PlaySoundStop ok

004851.88 5 fnHangupCall end

004851.92 5 linedevstate 2048 0 0

004851.92 5 callstate IDLE 66187 0 0

004851.92 5 WorkingMode@Idle=

004851.92 5 tapi Reply (LineEvReply) ok 66153 0

004852.98 5 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

004852.98 5 ReinitTelephony due to IDLE start

004852.98 5 tapic lineDeallocateCall(MainCall:66187) 0

004853.13 5 lineOpen(5) => 0

004853.13 5 Waiting for a call...

004853.13 5 lineOpen(5)LineHandle=66102

004931.77 0 sys cleanup Start

004931.77 0 sys cleanup End

Share this post


Link to post

Our posts crossed, however I have now set the card to listen for disconnect tone and set all tones/times to zero. The result of this is immediate disconnection before any part of the message is played:

 

 

005424.42 5 linedevstate 2048 0 0

005424.42 5 callstate OFFERING 65863 0 4

005424.42 5 Answer the call at 03/12/2003 00:54:24

005424.45 5 lineAnswer(65863) => 65982

005424.45 5 callinfo CALLEDID

005424.45 5 callinfo ORIGIN

005424.45 5 ring 0

005424.97 5 callstate CONNECTED 65863,1,0

005424.97 5 WorkingModeTAPI@Connected=

005424.98 5 WorkingModeScript@Connected=

005425.02 5 Inband detection not enabled

005425.02 5 StartLoadedVgs at 03/12/2003 00:54:25

005425.02 5 tapi Reply (LineEvReply) ok 65982 0

005425.02 5 [welcome_message] Playing

005425.02 5 [welcome_message] Playing (C:\11Khz Lois\new prompts\Call Intro.wav)

005425.08 5 PlaySoundStart ok [C:\11Khz Lois\new prompts\Call Intro.wav]

005425.08 5 RunModule PLAY end

005425.30 5 callstate DISCONNECTED 65863,0,0

005425.30 5 LsPlayMsg EV_REMOTEPARTY_DISCONNECT

005425.30 5 Hanging up call...

005425.30 5 RecSoundStop ok

005425.34 5 PlaySoundStop ok

005425.34 5 fnHangupCall end

005427.02 5 linedevstate 2048 0 0

005427.02 5 callstate IDLE 65863 0 0

005427.02 5 WorkingMode@Idle=

005427.02 5 tapi Reply (LineEvReply) ok 65965 0

005428.03 5 LsAwaitingCalls EV_TIMEOUT_TIMETOREINITLINE

005428.03 5 ReinitTelephony due to IDLE start

005428.03 5 tapic lineDeallocateCall(MainCall:65863) 0

005428.17 5 lineOpen(5) => 0

005428.17 5 Waiting for a call...

005428.19 5 lineOpen(5)LineHandle=65692

Share this post


Link to post

Further experiments should this is associated with the frequencies set for detecting a disconnect tone. In the UK this frequency is 400Hz as soon as the disc tone is set to 400 with a deviation of any more than about 15, the call drops within 10 - 15 seconds. At the deviation value is increased the call can be made to drop almost immediately.

 

Sadly, setting the freq deviation below about 15 means that the call is not dropped when the called actually does drop the line.

 

All of this was carried out using the demo credit card script.

 

Is the forthcoming dialogic version of VG likely to help in this, at present this makes the system largely unusable as my script is designed such that timeouts return back to a main menu (this is scripted into the voice prompts I have had recorded, so reprogramming the script to drop the line on no input or timeout would contradict what the caller is being told.

 

Although I have only intermittently got it working, loop current drop would seem to be the way forward here, or am I right in assuming this is still disabled in 5.1.4

Share this post


Link to post

This almost looks like the card is faulty... setting it to 0 should have disabled the disconnect tone detection... lets try another way of disabling disconnect tone detection:

 

Can you try setting the Disconnect tones to be something like 1000Hz with 0Hz deviation, and setting the cadence really long - like 5 seconds on & off, and specify a high number of repetitions - like 5 or 10...

 

After changing the settings please restart the PC to make sure the new settings take hold...

 

considering the other strange problem that you are having with this card (http://voiceguide.com/forums/index.php?showtopic=881) I would not be surprised if the card is faulty...

Share this post


Link to post

OK Tried as you have suggested and there are no line drops at all, but then there are no drops when the card is set to default frequencies. This problem is only occuring when I use a single continuous frequency of 400Hz which is the line disconnect tone frequency.

 

I know I have experienced problems before, and those too were attributable to settings around the disconnect tone frequencies. I am not convinced on the hardware fault now since everything else is working OK and the diagnostics show no problem.

 

1. By way of a work around is it possible to get a script to timeout after say 5 minutes total line time?

 

Thanks for your suggestions, could you also answer the following points:

 

2. Does v5.1.4 support loop disconnect?

 

3. Will the forthcoming dialogic version improve on the disconnect

 

4. Do you know of any other UK users using D/4PCI and BT lines who have overcome the caller disconnects problem?

Share this post


Link to post
1. By way of a work around is it possible to get a script to timeout after say 5 minutes total line time?

Yes. You can use the $RV_CALLLENGTH variable during the script to test for call length.

2. Does v5.1.4 support loop disconnect?

No. this has been temporarily disabled while we look for a solution to a bug this is causing.

3. Will the forthcoming dialogic version improve on the disconnect

It's the Dialogic card which is reporting the disconnect tone - and the settings which you are using right now to configure the Dialogic card are the only settings for configuring the Dialogic card's disconnect tone detection.

 

Apart from frequency settings how have you set to cadence timings & repetitions? they also need to be set right to ensure that you do not get 'false-positives'.

 

The cadence should be set to within 10% margins and the repetitions should be set to 3 or higher...

 

Can you post a screenshot of your current settings or do a 'save-as-text' of your settings and post them here.

 

4. Do you know of any other UK users using D/4PCI and BT lines who have overcome the caller disconnects problem?

We're not aware of anybody else reporting issues with getting a Dialogic card to detect disconnect tones properly...

 

there are some related posts on this forum already:

http://voiceguide.com/forums/index.php?showtopic=768

http://voiceguide.com/forums/index.php?showtopic=599

Share this post


Link to post

Thanks for the response, attached is a new recording of the disconnect tone, this appears to have a silent delay from the click of the phone being disconnected this silence is then followed by 6 seconds at 400Hz.

 

I am unable until later (when the lines stop) to alter the frequencies, currently they are set as per the attached file (in zip) however these settings are the test ones you suggested, with them (as expected) there is no line drop either when required or by accident.

 

I have used the settings recommended by you from the last disconnect tone sent, but these seem to drop the line on a false positive basis. I have this connected to three lines and the problem exists on all three.

 

Later tonight I will be able to change the frequencies back and experiment again.

disconnect.zip

Share this post


Link to post

Sounds like you should set a cadence to 6 seconds on, then a few seconds off...

 

If the tone is sent only once then you should set the 'repetitions' count to 1...

Share this post


Link to post

I have tried various parameters based around a 6 second on time for the 400Hz but none of these result in a dropped line being detected. I have no previous experience in being able to interpret the tone recorded and the setting of parameters on the dialogic card. I sent a copy of the disconnect tone earlier in this thread. Attached to this message are the current board settings. I would be very grateful if you could recommend settings based on your experience and the previous tone file.

d41cfg_6sec.txt

Share this post


Link to post

looking at your current seting:

 

***********************************************************************

  Page = Tone parameters dialog (disconnect tone ID = 7)

 

  Effective configuration = Default

 

_______________________________________________________________________

Parameter  Default value Custom value

_______________________________________________________________________

Frequency 1              620    400

 

Frequency 2              480      0

 

Frequency 1 deviation      10    200

 

Frequency 2 deviation    200      0

 

On time                  600      30

 

Off time                  20      20

 

On time deviation          10      10

 

Off time deviation        10      10

 

 

***********************************************************************

  Page = Tone parameters dialog (disconnect tone ID = 8)

 

  Effective configuration = Default

 

_______________________________________________________________________

Parameter  Default value Custom value

_______________________________________________________________________

Frequency 1              550    400

 

Frequency 2                0      0

 

Frequency 1 deviation      20    200

 

Frequency 2 deviation      0      0

 

On time                  300      30

 

Off time                  20      0

 

On time deviation          10      10

 

Off time deviation        10      0

 

 

***********************************************************************

  Page = Tone parameters dialog (disconnect tone ID = 11)

 

  Effective configuration = Default

 

_______________________________________________________________________

Parameter  Default value Custom value

_______________________________________________________________________

Frequency 1              1100    1100

 

Frequency 2                0      0

 

Frequency 1 deviation      40      40

 

Frequency 2 deviation      0      0

 

On time                    50      50

 

Off time                  300    300

 

On time deviation          10      10

 

Off time deviation        10      10

 

 

***********************************************************************

 

It looks like you have most settings set to 'Default' - insetad of slsecting 'Custom' and changing them to what you want...

 

From what you describe I'd aim to have each 'disconnect' and 'busy' tone entry set to:

 

  Effective configuration = Custom

 

_______________________________________________________________________

Parameter  Default value Custom value

_______________________________________________________________________

Frequency 1              620    400

 

Frequency 2              480      0

 

Frequency 1 deviation      10      30

 

Frequency 2 deviation    200      0

 

On time                  600    600

 

Off time                  20    200

 

On time deviation          10    100

 

Off time deviation        10    100

Share this post


Link to post

I have now amended the setup as suggested, but the effect of this is to prevent voiceguide from starting. If after the pc is booted (and 60seconds delay) I run VG Config, set a script on the three lines in use and click the start checkbox, VG fails to start, sometimes the VG window will open but no lines appear int he line device/state table. Task manager reports that VG is not responding and I have to reboot.

 

If I set the second disc tone to default rather than the same custom values, the card / voiceguide work, but again the disconnect tone is not detected properly and no hand up is effected.

 

Attached is config file to show setup. I will post another message starting a new thread requesting details of anyone using a D/4PCI on BT lines in the UK

d41cfgnew.txt

Share this post


Link to post

Changing the disconnect tone detection settings of the Dialogic card should not affect VG in any way... is the Dialogic service starting OK?

 

if the problem lies with the Dialogic service then you may need to experiment more with what settings are causing these problems on your system....

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
×