11-17-2015 11:03 PM - edited 03-17-2019 04:56 AM
Team,
I am learning SIP. Please consider my doubts. From the below debug
What is the significance of content length. What is the meaning if content length is 0 ?
Is CUbe act as a proxy server here?
And CUCM will do the functon of a registrr server right?
Call setup:
CUCM----------sip trunk------>CUBE---------SIP Trunk--------------->ITSP
INVITE sip:14107154522807@10.105.80.174:5060 SIP/2.0
Via: SIP/2.0/UDP 10.105.80.114:5060;branch=z9hG4bK98e4117d52a6
From: "Solihull" <sip:01214248526@10.105.80.114>;tag=25526~ffa80926-5fac-4dd6-b405-2dbbc56ae9a2-551664735
To: <sip:14107584528207@10.105.80.174>
Date: Mon, 02 Apr 2012 18:12:31 GMT
Call-ID: 68781700-f791ec0f-2d26-e28690a@10.105.80.114
Supported: timer,resource-priority,replaces
Min-SE: 1800
User-Agent: Cisco-CUCM8.6
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
CSeq: 101 INVITE
Expires: 180
Allow-Events: presence, kpml
Supported: X-cisco-srtp-fallback
Supported: Geolocation
Call-Info: <sip:10.105.80.114:5060>;method="NOTIFY;Event=telephone-event;Duration=500"
Cisco-Guid: 1752700672-0000065536-0000007823-0237529354
Session-Expires: 84600
Contact: <sip:01214248526@10.105.80.114:5060>
Max-Forwards: 70
Content-Length: 0
Content-Type: application/sdp
Content-Length: 238
11-17-2015 11:51 PM
Refer to below post where Ayodeji had provided great explanation about SIP traces:
https://supportforums.cisco.com/document/113271/understanding-sip-traces
Regards
Deepak
11-18-2015 12:24 AM
1. Content length specifies the length of SDP body (or any other body attached to respective message, in this case it's INVITE).
2. Content length 0 means there is no SDP included in INVITE message which also resembles SIP delayed offer.
3. I wouldn't say CUBE acts as proxy server. Indeed it's B2BUA and always have two independent SIP dialogs.
4. Yes, you can call CUCM as registrar server because it accepts SIP registration from SIP phones.
- Vivek
12-01-2020 06:40 AM
Command used to display the external registrar messages.
Use this command to display the status of E.164 numbers that a SIP gateway has registered with an external primary SIP
registrar.
Example:
Router# show sip-ua register status
Line peer expires(sec) registered
4001 20001 596 no
4002 20002 596 no
5100 1 596 no
9998 2 596 no
12-01-2020 06:42 AM
Command show the statistics of sip messages
Router# show sip-ua statistics
SIP Response Statistics (Inbound/Outbound)
Informational:
Trying 0/0, Ringing 0/0,
Forwarded 0/0, Queued 0/0,
SessionProgress 0/0
Success:
OkInvite 0/0, OkBye 0/0,
OkCancel 0/0, OkOptions 0/0,
OkPrack 0/0, OkPreconditionMet 0/0,
OkSubscribe 0/0, OkNOTIFY 0/0,
OkInfo 0/0, 202Accepted 0/0
OkRegister 12/49
Redirection (Inbound
12-01-2020 06:43 AM
Use this command to display status for theSIPuser agent (UA), including whether call redirection is enabled or disabled.
Router# show sip-ua status
SIP User Agent Status
SIP User Agent for UDP : ENABLED
SIP User Agent for TCP : ENABLED
SIP User Agent bind status(signaling): DISABLED
SIP User Agent bind status(media): DISABLED
SIP max-forwards : 6
SIP DNS SRV version: 1 (rfc 2052)
Redirection (3xx) message handling: ENABLED
12-01-2020 06:45 AM
command to display the current settings for the SIP user-agent (UA) timers
Router# show sip-ua timers
SIP UA Timer Values (millisecs)
trying 500, expires 180000, connect 500, disconnect 500
comet 500, prack 500, rel1xx 500, notify 500
refer 500, register 500
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide