Esempio n. 1
0
void  connect_incoming()
{
    /* variables */
      /* none */



    /* answer the call */
    tcp_connection_answer();


    /* reset the buffers for a new call */
    reset_rx_buffer();
    reset_tx_buffer();


    /* start the audio portion of the call */
    /*    Note: buffer had better be available now */
    call_start(get_rx_buffer());


    /* the prior call status is that the call is not connected yet */
    last_status = CALL_NO_CONNECTION;


    /* done setting up the call, return */
    return;

}
Esempio n. 2
0
static void enter_state(comm_register_state_t state)
{
	_state = state;
	_substate = COMM_REGISTER_INVOKE;
	_retries = 0;
	reset_rx_buffer();
}
Esempio n. 3
0
void  start_call()
{
    /* variables */
      /* none */



    /* reset the buffers for a new call */
    reset_rx_buffer();
    reset_tx_buffer();


    /* start the audio portion of the call */
    /*    Note: buffer had better be available now */
    call_start(get_rx_buffer());


    /* the prior call status is that the call is not connected yet */
    last_status = CALL_NO_CONNECTION;


    /* the ring and busy timer starts over for those tones */
    ring_busy_timer = 0;


    /* done setting up the call, return */
    return;

}