![](/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_box.h
- Revision:
- 109:a5b8264ffbbc
- Parent:
- 108:18a3702650f3
- Child:
- 112:6ae726539ab9
diff -r 18a3702650f3 -r a5b8264ffbbc call_box.h --- a/call_box.h Wed Mar 18 13:33:54 2015 +0000 +++ b/call_box.h Tue Apr 07 14:27:44 2015 +0000 @@ -18,7 +18,6 @@ #define __RESQUEST_TIME__ 3 #define MAX_INVITE_RETRY 1000 -#define RTP_REQUEST_PORT_TIMEOUT 45 // 600 // seconds #define __TIMEOUT__ 250 ///< O tempo que a Header demora para "pingar" o Call_Box para saber se esta tudo bem. @@ -67,9 +66,7 @@ uint16_t invite_retry_count; bool bye_response; Timer seconds; - Timer rtp_timer; // usado pra controlar o timeout dos pedidos de porta rtp int sip_socket_fd; - int shift_port; public : /** * @Synopsis Objeto Sip que será usado para tratativas com o servidor. @@ -398,10 +395,7 @@ int get_sip_port( void ); int get_timer( void ); int get_rtp_port ( void ); + int print_yourself ( void ); void set_rtp_port ( int ); - void init_rtp_timer ( void ); - void reset_rtp_timer ( void ); - bool is_rtp_timer_timeout ( void ); - int get_rtp_timer ( void ); }; #endif \ No newline at end of file