#if defined CALL_H323
#define SETTINGS_PROTOCOL_BLOCK_NUM		SETTINGS_H323_BLOCK_NUM
#define SETTINGS_PROTOCOL_MSG_LEN		SETTINGS_H323_MSG_LEN
#define SETTINGS_PROTOCOL_OPTION_NUM	SETTINGS_H323_OPTION_NUM
#define _csettings_protocol_info		_csettings_h323_info
#define _csettings_protocol_msg			_csettings_h323_msg
#elif defined CALL_SIP
#define SETTINGS_PROTOCOL_BLOCK_NUM		SETTINGS_SIP_BLOCK_NUM
#define SETTINGS_PROTOCOL_MSG_LEN		SETTINGS_SIP_MSG_LEN
#define SETTINGS_PROTOCOL_OPTION_NUM	SETTINGS_SIP_OPTION_NUM
#define _csettings_protocol_info		_csettings_sip_info
#define _csettings_protocol_msg			_csettings_sip_msg
#elif defined CALL_MGCP
#define SETTINGS_PROTOCOL_BLOCK_NUM		SETTINGS_MGCP_BLOCK_NUM
#define SETTINGS_PROTOCOL_MSG_LEN		SETTINGS_MGCP_MSG_LEN
#define SETTINGS_PROTOCOL_OPTION_NUM	SETTINGS_MGCP_OPTION_NUM
#define _csettings_protocol_info		_csettings_mgcp_info
#define _csettings_protocol_msg			_csettings_mgcp_msg
#elif defined CALL_N2P
#define SETTINGS_PROTOCOL_BLOCK_NUM		SETTINGS_N2P_BLOCK_NUM
#define SETTINGS_PROTOCOL_MSG_LEN		SETTINGS_N2P_MSG_LEN
#define SETTINGS_PROTOCOL_OPTION_NUM	SETTINGS_N2P_OPTION_NUM
#define _csettings_protocol_info		_csettings_n2p_info
#define _csettings_protocol_msg			_csettings_n2p_msg
#elif defined CALL_IAX2
#define SETTINGS_PROTOCOL_BLOCK_NUM		SETTINGS_IAX2_BLOCK_NUM
#define SETTINGS_PROTOCOL_MSG_LEN		SETTINGS_IAX2_MSG_LEN
#define SETTINGS_PROTOCOL_OPTION_NUM	SETTINGS_IAX2_OPTION_NUM
#define _csettings_protocol_info		_csettings_iax2_info
#define _csettings_protocol_msg			_csettings_iax2_msg
#elif defined CALL_EPN
#define SETTINGS_PROTOCOL_BLOCK_NUM		SETTINGS_EPN_BLOCK_NUM
#define SETTINGS_PROTOCOL_MSG_LEN		SETTINGS_EPN_MSG_LEN
#define SETTINGS_PROTOCOL_OPTION_NUM	SETTINGS_EPN_OPTION_NUM
#define _csettings_protocol_info		_csettings_epn_info
#define _csettings_protocol_msg			_csettings_epn_msg
#elif defined CALL_WP
#define SETTINGS_PROTOCOL_BLOCK_NUM		SETTINGS_WP_BLOCK_NUM
#define SETTINGS_PROTOCOL_MSG_LEN		SETTINGS_WP_MSG_LEN
#define SETTINGS_PROTOCOL_OPTION_NUM	SETTINGS_WP_OPTION_NUM
#define _csettings_protocol_info		_csettings_wp_info
#define _csettings_protocol_msg			_csettings_wp_msg
#endif

#define HTTP_PAGE0_SDRAM_LO		HTTP_MESSAGE_SDRAM_LO
#define HTTP_PAGE1_SDRAM_LO		(HTTP_PAGE0_SDRAM_LO + HTTP_PAGE0_BLOCK_NUM)
#define HTTP_PAGE2_SDRAM_LO		(HTTP_PAGE1_SDRAM_LO + HTTP_PAGE1_BLOCK_NUM)
#define HTTP_PAGE3_SDRAM_LO		(HTTP_PAGE2_SDRAM_LO + HTTP_PAGE2_BLOCK_NUM)
#define HTTP_PAGE4_SDRAM_LO		(HTTP_PAGE3_SDRAM_LO + HTTP_PAGE3_BLOCK_NUM)
#define HTTP_PAGE5_SDRAM_LO		(HTTP_PAGE4_SDRAM_LO + HTTP_PAGE4_BLOCK_NUM)
#define HTTP_PAGE6_SDRAM_LO		(HTTP_PAGE5_SDRAM_LO + HTTP_PAGE5_BLOCK_NUM)

#define SETTINGS_HEAD_SDRAM_LO		(HTTP_PAGE6_SDRAM_LO + HTTP_PAGE6_BLOCK_NUM)
#define SETTINGS_DIALPLAN_SDRAM_LO	(SETTINGS_HEAD_SDRAM_LO + SETTINGS_HEAD_BLOCK_NUM)
#define SETTINGS_PROTOCOL_SDRAM_LO	(SETTINGS_DIALPLAN_SDRAM_LO + SETTINGS_DIALPLAN_BLOCK_NUM)
#define SETTINGS_PA168V_SDRAM_LO	(SETTINGS_PROTOCOL_SDRAM_LO + SETTINGS_PROTOCOL_BLOCK_NUM)
#define SETTINGS_PHONEONLY_SDRAM_LO	(SETTINGS_PA168V_SDRAM_LO + SETTINGS_PA168V_BLOCK_NUM)
#define SETTINGS_TAIL_SDRAM_LO		(SETTINGS_PHONEONLY_SDRAM_LO + SETTINGS_PHONEONLY_BLOCK_NUM)
#define WEB_IMAGE_SDRAM_LO			(SETTINGS_TAIL_SDRAM_LO + SETTINGS_TAIL_BLOCK_NUM)
