mirror of https://github.com/sipwise/sems.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
750 B
25 lines
750 B
|
|
#ifndef __AMSIPHEADERS_H__
|
|
#define __AMSIPHEADERS_H__
|
|
|
|
#define SIP_SCHEME_SIP "sip"
|
|
|
|
#define SIP_HDR_FROM "From"
|
|
#define SIP_HDR_TO "To"
|
|
#define SIP_HDR_ROUTE "Route"
|
|
#define SIP_HDR_CONTENT_TYPE "Content-Type"
|
|
#define SIP_HDR_CONTACT "Contact"
|
|
#define SIP_HDR_SUPPORTED "Supported"
|
|
#define SIP_HDR_REQUIRED "Required"
|
|
#define SIP_HDR_SERVER "Server"
|
|
#define SIP_HDR_USER_AGENT "User-Agent"
|
|
#define SIP_HDR_MAX_FORWARDS "Max-Forwards"
|
|
|
|
#define SIP_HDR_COL(_hdr) _hdr ":"
|
|
#define SIP_HDR_COLSP(_hdr) SIP_HDR_COL(_hdr) " "
|
|
|
|
#define CRLF "\r\n"
|
|
#define SIP_HDR_LEN(_hdr) (sizeof(_hdr) - /*0-term*/1)
|
|
|
|
#endif /* __AMSIPHEADERS_H__ */
|