When using voice line devices, the timeout argument in the gc_MakeCall( ) function is supported in both the synchronous and asynchronous programming modes.
If the timeout value expires before the remote end answers the call, the application is notified of this condition and should respond as described in the gc_MakeCall( ) function description in the Global Call API Library Reference. Also, see the Global Call Country Dependent Parameters (CDP) Reference that accompanies your protocol software for other time-outs that may apply to your analog protocol.
If all time-out values are set to 0, no time-out condition will apply.
For analog calls, the dialing mode can be changed by the application by including one of the following case-sensitive dialing codes in the dialing string specified by the numberstr parameter:
When included in the dialing string, the dialing code overrides the default set by the dialing mode parameter in the .cdp file (Springware only). (On DM3, inclusion of these dialing codes causes the digits not to be dialed.)
The gc_MakeCall( ) function description in the Global Call API Library Reference provides a table describing call conditions and results. In addition to the information in that table, the values described in Table 9 apply when running analog technology.
Table 9. Analog Call Conditions and Results
|
Condition |
Event/Return Value |
Result/Error Value |
No ringback detected |
Async: GCEV_CALLSTATUS or GCEV_DISCONNECTED Sync: 0 |
Async: GCRV_NORB result value Sync: EGC_NORB error |
Operator intercept detected |
Async: GCEV_CALLSTATUS or GCEV_DISCONNECTED Sync: 0 |
Async: GCRV_CEPT result value Sync: EGC_CEPT error |
Call progress stopped |
Async: GCEV_CALLSTATUS or GCEV_DISCONNECTED Sync: 0 |
Async: GCRV_STOPD result value Sync: EGC_STOPD error |
SIT Detection error |
Async: GCEV_CALLSTATUS or GCEV_DISCONNECTED Sync: 0 |
Async: GCRV_CPERROR result value Sync: EGC_CPERROR error |
No dial tone detected |
Async: GCEV_DISCONNECTED Sync: <0 |
Async: GCRV_DIALTONE Sync: EGC_DIALTONE |
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation