# out_calls_behaviour field

The out_calls_behaviour field in ISDN_PROTOCOL_PARMS_Q931CC determines how an outgoing call is handled by the ISDN protocol stack. Refer to isdnparm.h for more details.

Each bit set by the value in this field determines a particular element of the ISDN protocol stack's behavior. The values are defined as follows:

Value | Description
--- | ---
-- | Reserved for compatibility with former auto_answer field values (ON/OFF).
CC_USER_SENDING_COMPLETE | If this bit is set, the stack does not automatically generate the Sending-complete IE. Instead, the application must request it in ACU_CONN_RQ. If the bit is not set, the stack generates the sending complete IE automatically in ACU_CONN_RQ only. This bit does not affect ACU_DIGIT_RQ. The application must specify the Acu_digit_rq_sending_complete field value explicitly.
CC_SEND_CONN_CO_ON_PROGRESS | If this bit is set, the stack sends ACU_CONN_CO when it receives a PROGRESS message for a VOICE call. Otherwise, it sends ACU_CONN_CO when it receives a CONNECT message.
CC_SEND_DIGIT_CO_ON_PROGRESS | If this bit is set and the stack receives NS_CALL_PROC_IN before NS_SETUP_ACK_IN, it sends ACU_DIGIT_CO and then ACU_CALL_PROC_IN. Otherwise, it only sends ACU_CALL_PROC_IN (default behavior).
CC_USE_MU_LAW | For Korean operators only: If this bit is set, the stack sends G711-Mu-Law in outgoing voice calls. If this bit is cleared, the stack sends G711-A-Law in outgoing voice calls. The value of this bit is used by the stack in all stack modes.
CC_BEHAVIOUR_NIL | If this bit is set to 1 and all other bits in out_calls_behaviour are set to 0, no messages are sent by the stack during an outgoing call. The application must build and send all messages. If any of the other bits are set, this bit is ignored. The stack sends all messages you specify.

If out_calls_behaviour is set to 0 or not set at all, the ISDN protocol stack behaves as if all out_calls_behaviour bits are cleared.