📄 sip_bad_mask
字号:
## nta has an error mask specifying which headers cause nta to automatically# return 400 Bad Message if a critical header or pseudoheader in a request# has a parsing error.## The parsing error can be later checked with msg_extract_errors(), too.## See <sip_parser.h> for definition of mask values.## The error flags for a particular header can be set when header is added# with msg_mclass_insert_header_flags().## The flags of existing headers can be modified, if a copy of message class# is first made with msg_mclass_clone().### When updating this file, please update # NTATAG_BAD_RESP_MASK()/NTATAG_BAD_REQ_MASK() documentation, too.### Headers that must be valid for all requests#request = sip_mask_request | sip_mask_responsestatus = sip_mask_request | sip_mask_responseFrom = sip_mask_request | sip_mask_responseTo = sip_mask_request | sip_mask_responseCSeq = sip_mask_request | sip_mask_responseCall-ID = sip_mask_request | sip_mask_responseContent-Length = sip_mask_request | sip_mask_responseVia = sip_mask_request | sip_mask_response## User-Agent headers#Content-Type = sip_mask_uaContent-Disposition = sip_mask_uaContent-Encoding = sip_mask_ua## Proxy heades#Route = sip_mask_proxyMax-Forwards = sip_mask_proxyProxy-Require = sip_mask_proxyProxy-Authorization = sip_mask_proxy## Registrar headers#Min-Expires = sip_mask_registrarAuthorization = sip_mask_registrarPath = sip_mask_registrar## Headers that must be valid in UA, proxy or registrar#Supported = sip_mask_ua | sip_mask_proxy | sip_mask_registrarContact = sip_mask_ua | sip_mask_proxy | sip_mask_registrarRequire = sip_mask_ua | sip_mask_registrar | sip_mask_timerRecord-Route = sip_mask_ua | sip_mask_proxyExpires = sip_mask_registrar | sip_mask_events## 100rel headers#RAck = sip_mask_100relRSeq = sip_mask_100rel## Event headers#Event = sip_mask_eventsSubscription-State = sip_mask_events## 'timer' headers#Session-Expires = sip_mask_timerMin-SE = sip_mask_timer## Privacy headers#Privacy = sip_mask_privacy## Headers used in caller preferences#Request-Disposition = sip_mask_prefAccept-Contact = sip_mask_prefReject-Contact = sip_mask_pref## PUBLISH headers (NOTE: No SIP- here!)#Etag = sip_mask_publishIf-Match = sip_mask_publish
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -