voltando a versao de n aberturas e fechamentos de sockets
Dependencies: EthernetInterface NTPClient mbed-rtos_old mbed
Fork of header_main_public by
Diff: sip.h
- Revision:
- 6:a10de9926fbe
- Parent:
- 5:53a196c31b6b
- Child:
- 7:019b08223b87
diff -r 53a196c31b6b -r a10de9926fbe sip.h --- a/sip.h Thu Sep 11 14:42:53 2014 +0000 +++ b/sip.h Fri Sep 12 16:46:37 2014 +0000 @@ -18,13 +18,21 @@ #define SIP_ALLOW "Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER" /* #define SIP_ALLOW "Allow: ACK, BYE, CANCEL, INVITE, OPTIONS" */ + +//#define debug_colinas +#ifdef debug_colinas +#define __SEVER_IP__ "192.168.30.25" +#define __SERVER_PORT__ 5060 +#endif +#ifndef debug_colinas #define __SEVER_IP__ "192.168.120.120" -//#define __SEVER_IP__ "192.168.30.25" #define __SERVER_PORT__ 5075 -//#define __SERVER_PORT__ 5060 +#endif + #define __MY_PORT__ 5062 #define __MY_EXT__ 820 -#define __PEER_EXT__ 913 +#define __PEER_EXT__ 913 +//#define __PEER_EXT__ 803 #define sip_idle 0 #define sip_waiting_trying 1 << 1