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:
1:a1758104fa1d
Parent:
0:4d17cd9c8f9d
Child:
3:cd9148672e25
--- a/call_box.cpp	Tue Sep 09 20:01:24 2014 +0000
+++ b/call_box.cpp	Wed Sep 10 12:50:57 2014 +0000
@@ -137,4 +137,10 @@
     }else{
         sip->send_bye();
     }
+}
+
+void Call_Box::reset_sip( void ){
+    if( this->sip != NULL ) delete( this->sip );
+    
+    this->sip = new Sip( ext, port );
 }
\ No newline at end of file