![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: call_manager.cpp
- Revision:
- 97:8985817e8847
- Parent:
- 93:69ccd653c7ca
- Child:
- 99:e80850c51106
--- a/call_manager.cpp Sat Jan 10 17:06:55 2015 +0000 +++ b/call_manager.cpp Sat Jan 10 23:59:51 2015 +0000 @@ -66,9 +66,9 @@ if( debug_invite ){ if( call->cbx_pkg_is_idle() ){ - debug_msg("Call timeout: no pkg"); + if( debug_invite ) debug_msg("Call timeout: no pkg"); } else { - debug_msg("Call timeout"); + if( debug_invite ) debug_msg("Call timeout"); } } v_call->remove_element( i ); @@ -174,7 +174,7 @@ send2callboxes( __build_cb_package__( ext, port, __INVITE__, ( char * )data, cb->get_msg_id(), __CB_BUFFER_SIZE__ - __VZ_HEADER_OFFSET__, write_buffer ) ); - debug_msg("send ok liga o mic"); + //debug_msg("send ok liga o mic"); cb->set_invite_response_pending(); @@ -232,7 +232,7 @@ break; } } - debug_msg(""); + //debug_msg(""); if( debug_invite ) debug_msg( "-- Trying -- denying call request --" ); set_status( cb->status, cb_idle ); set_status( cb->sip->status, sip_idle );