Professional Documents
Culture Documents
Signaling Protocol SIP
Signaling Protocol SIP
SIP leverages various standards: RTP, RTCP, HTTP, SDP, DNS, SAP, MGCP, and RTSP.
SIP performs addressing by E.164, e-mail, or DNS service record.
SIP is ASCII text-based for easy implementation and debugging.
Simple extensible protocol.
Supports audio, video, and data.
SIP Components
User Agents: Peers in a session. Two types: User Agent Server and User Agent Client.
User Agent Client: Client application that initiate a request.
User Agent Server: Server application that contact the user when an INVITE message is received and
then Send the response.
SIP components can be classified as Clients and Servers
Clients (Endpoints)
Phones: An IP telephone work a UAC or UAS.
Gateway: Works as a UAS or UAC and provides call control support. Performs translation between PSTN
and VoIP networks.
Servers: Registrar, proxy, redirect, and location.
SIP Servers
Registration Server: Receives requests from UACs for registration of their current location.
Proxy server: An intermediate component that receives SIP requests from a client
and then forwards the requests on behalf of the client to the next SIP server in the network.
Redirect Server: Provides the client with information of the next hop or hops that the message should take.
Location Server: Implement mechanisms to resolve addresses.
IP Network
SIP Carrier
IP Network
Inter-Cluster SIP Trunk between Gateway and CUCM/CUCME
IP Network
SIP Gateway
IP
Calling Party
Invite (SDP)
100 Trying
180 Ringing
Called Party
200 OK
ACK
RTP Stream
BYE
200 OK
Bearer or Media
(UDP)
Signaling
Proxy Server
SIP Gateway
IP
Calling Party
SIP Signaling and SDP
(UDP or TCP)
Invite
(SDP)
100
Trying
180
Ringing
200 OK
ACK
Invite (SDP)
100 Trying
180 Ringing
200 OK
ACK
RTP Stream
Bearer or Media
(UDP)
BYE
BYE
200 OK
200 OK
Called Party
SIP Gateway
SIP Gateway
IP
Invite
Calling Party
Called Party
Moved
Invite
Trying
Ringing
OK
ACK
Bearer or Media
(UDP)
RTP Stream
BYE
200 OK
SIP Addressing
IP
Calling Party
Invite
100 Trying
180 Ringing
Called Party
SIP Signaling and SDP
(UDP or TCP)
RTP Stream
BYE
200 OK
Bearer or Media
(UDP)
Signaling
IP
Calling Party
Called Party
SIP Signaling and SDP
(UDP or TCP)
RTP Stream
BYE
200 OK
Bearer or Media
(UDP)
Signaling
Session protocol
Session target
Router(config)#interface loopback 0
Router(config-if)# ip address 1.1.1.1 255.255.255.255
Router(config)# voice service voip
Router(conf-voi-serv)# sip
Router(conf-serv-sip)# session transport udp
Router(conf-serv-sip)# bind control source-interface Loopback 0
Router(conf-serv-sip)# bind media source-interface Loopback 0
SIP ITSP
SIP Gateway
Router(config)# sip-ua
Router(config-sip-ua)# authentication username arasheed password secret
Router(config-sip-ua)# registrar dns:sip.abadnet.com.sa expires 3600
Router(config-sip-ua)# sip-server dns:sip.abadnet.com.sa
Cisco Unified
Communications
Manager:
172.16.10.245
200.2.2.2
SIP ITSP
SIP Gateway
Description
Command
Description
debug ccsip