mirror of https://github.com/sipwise/sems.git
Introduce a new header file "global_defs.h" in order to use that for global definitions or macroses, which are not particularly related to the SIP headers. Such as DSM applications names. This will simplify handling and decrease hardcoding all around the project. With this commit additionally: - stop hardcoding values related to DSM applications specific names - move all the DSM definitions into the global_defs.h or defs.h Change-Id: I389f632434f0ae1e62540e8df584fdc5e1e07e39mr11.3.1
parent
8195d1378d
commit
020cd18448
@ -0,0 +1,22 @@
|
||||
#ifndef _global_defs_h_
|
||||
#define _global_defs_h_
|
||||
|
||||
/**
|
||||
* @brief Global definitions.
|
||||
*
|
||||
* Use this file only to #define global definitions
|
||||
* or macroses, not specificially related to the content
|
||||
* of the SIP message.
|
||||
*
|
||||
* If is related to the SIP message - then use core/sip/defs.h
|
||||
*/
|
||||
|
||||
/**
|
||||
* DSM applications related block
|
||||
*/
|
||||
#define DSM_APP_OH "office-hours"
|
||||
#define DSM_APP_PRE_AN "pre-announce"
|
||||
#define DSM_APP_EARLYDB_PR "early-dbprompt"
|
||||
#define DSM_APP_P_L_CALLER "play-last-caller"
|
||||
|
||||
#endif
|
||||
Loading…
Reference in new issue