voltando a versao de n aberturas e fechamentos de sockets data 19/09

Dependencies:   EthernetInterface NTPClient mbed-rtos mbed EALib

Fork of header_main_publish by VZTECH

Revision:
16:b45b5b7363d7
Parent:
15:9c7456c1b6f4
Child:
17:67a6b557eda5
--- a/sip.cpp	Thu Sep 18 13:56:13 2014 +0000
+++ b/sip.cpp	Thu Sep 18 13:59:58 2014 +0000
@@ -183,14 +183,6 @@
                 }
             }
             if( ( status == sip_trying ) || ( status == sip_ringing ) ){            
-                if( !( strncasecmp( buffer + 12, "Busy Here", strlen("Busy Here") ) ) ){
-                    debug_msg("Busy Here");    
-                    delete( call );
-                    set_status( status, sip_busy );
-                    return( NULL );  
-                }
-            }
-            if( ( status == sip_trying ) || ( status == sip_ringing ) ){            
                 if( !( strncasecmp( buffer + 12, "Session Progress", strlen("Session Progress") ) ) ){
                     debug_msg( "Trocando dados de audio -- musica de espera com o CBx" );
                     char *ref = strstr( buffer, "audio" );