debugs removidos - ligacao em pares ok

Dependencies:   EthernetInterface NTPClient mbed-rtos mbed

Fork of header_main by VZTECH

Revision:
4:de46f0d9b14d
Parent:
3:cd9148672e25
--- a/call_box.cpp	Wed Sep 10 18:21:48 2014 +0000
+++ b/call_box.cpp	Thu Sep 11 14:23:47 2014 +0000
@@ -8,7 +8,7 @@
     timeout = __TIMEOUT__;
     //sip.set_ext( this->ext );
     //sip.set_port( this->port );
-    msg_id = 0x00;
+    msg_id = 0x10;
     timeslice = 0x00;
     status = cb_idle;
     //Sip sip( ext, port );
@@ -45,12 +45,14 @@
 void Call_Box::registry( void ){
     if( this->sip == NULL ){
         this->sip = new Sip( ext, port );
+        debug_msg(" Registrando %d", ext );
     
         sip->registry();
     
         delete( sip );
         this->sip = NULL;
     }else{
+        debug_msg(" Registrando %d", ext )
         sip->registry();
     }
 }