#### SIP消息
```
SIP-message = Request / Response
Request = Request-Line
*( message-header )
CRLF
[ message-body ]
```
#### SIP消息头域
```
message-header = (Accept
/ Accept-Encoding
/ Accept-Language
/ Alert-Info
/ Allow
/ Authentication-Info
/ Authorization
/ Call-ID
/ Call-Info
/ Contact
/ Content-Disposition
/ Content-Encoding
/ Content-Language
/ Content-Length
/ Content-Type
/ CSeq
/ Date
/ Error-Info
/ Expires
/ From
/ In-Reply-To
/ Max-Forwards
/ MIME-Version
/ Min-Expires
/ Organization
/ Priority
/ Proxy-Authenticate
/ Proxy-Authorization
/ Proxy-Require
/ Record-Route
/ Reply-To
/ Require
/ Retry-After
/ Route
/ Server
/ Subject
/ Supported
/ Timestamp
/ To
/ Unsupported
/ User-Agent
/ Via
/ Warning
/ WWW-Authenticate
/ extension-header) CRLF
```
#### SIP 响应状态码
```
Informational = "100" ; Trying
/ "180" ; Ringing
/ "181" ; Call Is Being Forwarded
/ "182" ; Queued
/ "183" ; Session Progress
Success = "200" ; OK
Redirection = "300" ; Multiple Choices
/ "301" ; Moved Permanently
/ "302" ; Moved Temporarily
/ "305" ; Use Proxy
/ "380" ; Alternative Service
Client-Error = "400" ; Bad Request
/ "401" ; Unauthorized
/ "402" ; Payment Required
/ "403" ; Forbidden
/ "404" ; Not Found
/ "405" ; Method Not Allowed
/ "406" ; Not Acceptable
/ "407" ; Proxy Authentication Required
/ "408" ; Request Timeout
/ "410" ; Gone
/ "413" ; Request Entity Too Large
/ "414" ; Request-URI Too Large
/ "415" ; Unsupported Media Type
/ "416" ; Unsupported URI Scheme
/ "420" ; Bad Extension
/ "421" ; Extension Required
/ "423" ; Interval Too Brief
/ "480" ; Temporarily not available
/ "481" ; Call Leg/Transaction Does Not Exist
/ "482" ; Loop Detected
/ "483" ; Too Many Hops
/ "484" ; Address Incomplete
/ "485" ; Ambiguous
/ "486" ; Busy Here
/ "487" ; Request Terminated
/ "488" ; Not Acceptable Here
/ "491" ; Request Pending
/ "493" ; Undecipherable
Server-Error = "500" ; Internal Server Error
/ "501" ; Not Implemented
/ "502" ; Bad Gateway
/ "503" ; Service Unavailable
/ "504" ; Server Time-out
/ "505" ; SIP Version not supported
/ "513" ; Message Too Large
Global-Failure = "600" ; Busy Everywhere
/ "603" ; Decline
/ "604" ; Does not exist anywhere
/ "606" ; Not Acceptable
```
没有合适的资源?快使用搜索试试~ 我知道了~
用go语言实现的GB28181的服务端和客户端.zip
共35个文件
go:27个
md:5个
sum:1个
需积分: 5 1 下载量 103 浏览量
2024-04-01
10:29:34
上传
评论
收藏 43KB ZIP 举报
温馨提示
用go语言实现的GB28181的服务端和客户端
资源推荐
资源详情
资源评论
收起资源包目录
用go语言实现的GB28181的服务端和客户端.zip (35个子文件)
dsga
tu
common.go 2KB
server.go 1KB
client.go 2KB
README.md 758B
go.mod 453B
go.sum 3KB
sip
status.go 2KB
head.go 12KB
body.go 538B
demo.go 1KB
README.md 4KB
message.go 8KB
head_test.go 3KB
utils
string.go 234B
sip.go 998B
transaction
fsm_ict.go 4KB
utils.go 3KB
config.go 2KB
fsm_ist.go 610B
errors.go 278B
fsm_nist.go 3KB
core.go 10KB
transaction.go 11KB
README.md 3KB
fsm_nict.go 4KB
transport
example.go 2KB
udp_client.go 2KB
tcp_server.go 4KB
tcp_client.go 2KB
transport.go 2KB
README.md 823B
udp_server.go 2KB
.gitignore 295B
README.md 1KB
main.go 1KB
共 35 条
- 1
资源评论
Lei宝啊
- 粉丝: 2050
- 资源: 1330
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功