(Page 12 of 17 in this chapter) Version
typedef struct
{
DWORD switch_number;
DWORD bus;
DWORD stream;
DWORD timeslot;
} PPX_MVIP_ADDR
DWORD VoiceConx( CTAHD ctahd, MYCONTEXT *cust, BOOL make_conn )
{
DWORD ret;
listeners[cust->id].stream = 1;
listeners[cust->id].timeslot = cust->time_slot;
listeners[cust->id].switch_number = cust->swi ;
listeners[cust->id].bus = MVIP95_LOCAL_BUS;
if ( cust->conn_state == CTX_ONHOLD )
{
/*
* If the caller had been put on hold, need to take them
* off of hold before making the voice connection to the
* Operator.
*/
ppxRemoveListeners( ppxhd[HOLD_MSG], &listeners[cust->id], 1 );
}
(Page 12 of 17 in this chapter) Version