Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: sip.h
- Revision:
- 15:9c7456c1b6f4
- Parent:
- 13:ae278302dffe
- Child:
- 16:b45b5b7363d7
diff -r 22a35f575502 -r 9c7456c1b6f4 sip.h --- a/sip.h Tue Sep 16 21:02:37 2014 +0000 +++ b/sip.h Thu Sep 18 13:56:13 2014 +0000 @@ -17,14 +17,24 @@ #define DRAMBASEADDR 0xa0000000 #define SIP_ALLOW "Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER" /* #define SIP_ALLOW "Allow: ACK, BYE, CANCEL, INVITE, OPTIONS" */ - +/* #define __SEVER_IP__ "192.168.120.120" #define __SERVER_PORT__ 5075 //#define __MY_IP__ "192.168.120.191" +*/ #define __MY_PORT__ 5062 #define __MY_EXT__ 820 -#define __PEER_EXT__ 913 -//#define __PEER_EXT__ 803 +#define __PEER_EXT__ 913 + +//#define colinas_config +#ifdef colinas_config +#define __SEVER_IP__ "192.168.30.25" +#define __SERVER_PORT__ 5060 +#endif +#ifndef colinas_config +#define __SEVER_IP__ "192.168.120.120" +#define __SERVER_PORT__ 5075 +#endif #define sip_idle 0 #define sip_waiting_trying 1 << 1