LINE_MODE

 

The LINE_MODE enumeration defines values that are used to set the characteristics of telephony engine phone lines.

 

 

typedef enum

{

SWITCH_LINE

 

}LINE_MODE;

 

 

 

Members:

 

SWITCH_LINE

The telephony engine does not apply inter-line telephone line logic to any of the phone lines. phone lines act independently of one another.

 

 

Remarks:

 

In SWITCH_LINE mode, none of the phone lines are logically related and all internal inter-phone line logic is disabled. Your application will have to perform all tasks for all lines. This mode is particularly useful when applied to PSTN gateway and IVR telephony applications. In these type of applications, all phone lines must act independently of one another. No one line can affect the operation of other lines.

 

An an example: Lets assume you answer an incoming call and start talking. Then another incoming call is received. If your software answers the second call without placing the first call on hold, you will be talking to two parties at the same time. You will also be able to hear both parties speak. Both parties will however not hear each other (unless they are added to a conference session). This behavior gives you the greatest control over what each line is doing at any single time.