Event: VoicePromptDetected


Function:

 

After dialing a number, a voice prompt will often be heard indicating the called phone is switched off, or the device is otherwise engaged. In such cases, the voice prompt often appears without any signal having been heard. If no signal sound has been heard before the voice prompt, VoiceAngel will give a VoicePromptDetected event.

This is not always accurate, but at least we can know that the call is not connected if this event occurs.  If a signal is heard before the voice prompt, VoiceAngel will raise the Connected event.

     

Parameters:

 

LineIndex: The line on which the event occurs.

     

Description:

 

VoiceAngel "listens" to the line to assess what is happening. A number of factors can affect how it interprets what it "hears".

 

Typically, line quality, exchange technology, and modem type, are factors that software cannot do much about. But there are factors that CAN be adjusted.

 

If you find that your VoiceAngel application fails to recognise the line condition accurately, and raise this event on it, you should consider adjusting the values for UpFrequency, DownFrequency, SilenceSwing and Awake.

 

Please see also: Judging the Telephony Line Status.

     

Raised By:

 

Line condition during call.

     

Sample Code In Visual Basic:

'The following code drops the call after the event occurs.

Sub V_VoicePromptDetected(LineIndex as Integer )

      V.Drop

End sub

¡¡