Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: call_box.cpp
- Revision:
- 99:e80850c51106
- Parent:
- 97:8985817e8847
- Child:
- 100:09a23fcd3bdf
diff -r 43b45f26b430 -r e80850c51106 call_box.cpp --- a/call_box.cpp Sun Jan 11 03:30:47 2015 +0000 +++ b/call_box.cpp Mon Jan 19 18:00:42 2015 +0000 @@ -54,7 +54,7 @@ float Call_Box::get_elapsed_time( void ){ return( this->t.read_ms() ); } -void Call_Box::reset_elapsed_time( void ){ + void Call_Box::reset_elapsed_time( void ){ this->t.reset(); timeout = __TIMEOUT__; next_aging_type = __CYCLES__; @@ -109,7 +109,7 @@ } VZ_call * Call_Box::invite( void ){ - t.stop(); + //t.stop(); VZ_call * call = NULL; if( this->sip == NULL ){ @@ -263,4 +263,7 @@ } int Call_Box::get_sip_ext( void ){ return this->sip->get_ext(); } -int Call_Box::get_sip_port( void ){ return this->sip->get_port(); } \ No newline at end of file +int Call_Box::get_sip_port( void ){ return this->sip->get_port(); } + + +int Call_Box::get_timer( void ){ return t.read(); } \ No newline at end of file