![](/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: sip.cpp
- Revision:
- 86:bf7b0d4c3232
- Parent:
- 85:b6f2dc1d0f4f
- Child:
- 87:679ee0d594a9
--- a/sip.cpp Sun Jan 04 13:56:08 2015 +0000 +++ b/sip.cpp Mon Jan 05 12:43:12 2015 +0000 @@ -155,7 +155,8 @@ int sent = 0; do{ - sent = sock.sendTo( sip_server, buffer, 512 ); // > 400 + //sent = sock.sendTo( sip_server, buffer, 512 ); // > 400 + sent = sock.sendTo( sip_server, buffer, strlen( buffer ) ); // > 400 }while( sent == 0 ); int rcv = 0; @@ -314,7 +315,6 @@ if( debug_invite ) send_msg("entrei no loop %d vezes", received_loop_times ); check_point_timer.reset(); } - if( waiting == true ){ return( call ); } return( NULL );