Call analysis consists of both pre-connect and post-connect information about the progress of the call. Pre-connect call progress determines the status of the call connection, that is, busy, no dial tone, no ringback, etc. Post-connect call analysis, which is also known as "media type detection," determines the destination party's media type, that is, answering machine, fax, modem, voice, etc.
There are two methods available for Call Analysis in R4 on DM3: the GlobalCall method and the dx_dial( ) method.
The GlobalCall media detection method is especially useful for performing post-connect call analysis. When activated by setting the GCPR_MEDIADETECT parameter to GCPV_ENABLE for a particular channel, post-connect call analysis is performed as part of the gc_MakeCall( ) function's operation. The gc_MakeCall( ) function is used to place a call, the signal detector analyzes the incoming signals to perform call progress analysis.
After the normal gc_MakeCall( ) processing finishes and GCEV_CONNECTED event is sent, call analysis runs and generates a GCEV_MEDIADETECTED event that tells the application the result of the analysis (for example, FAX, PVD, or PAMD is detected).
The outcome of the analysis determines the events generated and the action that can be taken as follows:
GCPR_MEDIADETECT parameter settings actually allow the application to specify whether pre- or post-connect call analysis or both should be activated. This method for achieving this is shown in the following table:
Table 10. GCPR_MEDIADETECT Settings
GCPR_MEDIADETECT |
ISDN Result |
CAS Result |
GCPV_DISABLE (Default) |
No call progress |
Pre-connect call progress only |
GCPV_ENABLE |
Full call progress |
Full call progress |
As can be seen in this table, the default behavior (GCPR_MEDIADETECT=GCPV_DISABLE) disables media detection for ISDN, but it actually activates pre-connect call progress for CAS protocols. To enable full call progress analysis for either ISDN or CAS, set the GCPR_MEDIADETECT parameter to GCPV_ENABLE for the respective channel. ISDN support is provided in fixed routing configurations only.
5.6.1. Support and Scenarios for Call Analysis with GlobalCallTable 11 explains call analysis support via the GlobalCall interface. The table applies to DM3 CAS protocols with flexible routing clusters, providing a voice device is attached to the DTI device. The table also applies to any fixed routing configuration regardless of the protocol. DM3 CAS protocols include the PDK protocols; however, check on a protocol-by-protocol basis, as some might not support CA at all.
Table 11. CA Support in Fixed Routing and Flexible Routing with CAS
Note that the Call Analysis timeout parameters values apply, and they are configurable by the host. However, they apply only to post-connect Call Analysis and are not used until the call moves from an initiated to proceeding, alerting, or connected state. The parameters are CaSignalTimeout, CaAnswerTimeout and CaPvdTimeout; their values are found in the CHP section of the configuration file.
The following configurable parameters are used in pre-connect Call Progress:
This functionality is determined by the protocol, and there are several configurable protocol timers that determine these values. See the DM3 Configuration File Reference for details on setting any of the above parameters.
Another option for call analysis is provided by the voice API, which provides post-connect call analysis on DM3 boards through the dx_dial( ) function. Because there currently is no alerting event to invoke dx_dial( ) under CAS, your application must wait for the connected event. Note that the GlobalCall and the dx_dial( ) methods are mutually exclusive, so you must choose one or the other.
With ISDN in flexible routing configurations, the dx_dial( ) method for call analysis must be used, and both pre-connect call progress and post-connect call analysis are available. See Section 4.6. Voice API Call Progress Analysis Support for details on dx_dial( ) support.
Click here to contact Dialogic Customer Engineering
Copyright 2002, Intel Corporation