毛蛋之家 HTTP://NIO.NAME SIP
1 / 17
SIP
一、 简介
● SIP 默认使用 UDP 5060 端口,但也可以使用 TCP 5060。
● SIP 使用 Server-Client 模型。
● SIP 的四项基本功能:定位用户,将 SIP 地址解析为 IP 地址;协商 Session
的 feature 呾 capability;在迚行呼叫时改变会话参数;负责会话的建立呾
中断。
● SIP 地 址 形 式 : sip:1112223344@mycompany.com 或
sip:1112223344@10.1.1.1
● presence 概念。用户可为自己设置 offline、busy 等状态。
二、 SIP 组件
1. User Agent
UA 是 SIP 的基本组件,可分为 UAC(User Agent Client)呾 UAS(User
Agent Server)。发起呼叫的为 UAC,接收呼叫的为 UAS。很多设备都可做 UA,
如 IP 电话、PC、路由器等。
2. Proxy Server
proxy server 起到 call routing、authentication、authorization、address
resolution、loop detection 的功能。