SIP Questions
SIP Questions
Intermediate Questions
o Answer:
Answer:
Answer: SIP itself is used for signaling and establishing sessions, while
media data is typically transported using other protocols like RTP (Real-
Time Transport Protocol). SIP negotiates session parameters using SDP.
Answer: The Contact header specifies the exact SIP URI where a user
can be reached for the current session. It is used for routing future
requests directly to the endpoint.
Advanced Questions
o Answer:
Answer:
Answer: SIP uses HTTP Digest Authentication. The server sends a 401
Unauthorized response with a challenge. The client computes a hash of
the username, password, and other details using the challenge and
resends the request.
What is the difference between SIP over UDP, TCP, and TLS?
Answer:
Answer:
Scenario-Based Questions
2. Check the INVITE request and response flow using tools like
Wireshark.
Codec information.
Session timing.
11. A user reports one-way audio during a SIP call. How would you troubleshoot it?
o Answer:
Verify that RTP packets are being sent and received in both directions
using a network tool (e.g., Wireshark).
Check NAT and firewall settings for RTP ports.
Confirm the correct IP address and port in the SDP c= and m= lines.
Test media relay configurations like STUN, TURN, or ICE.
12. How would you handle a 408 Request Timeout error?
o Answer:
Verify the SIP client can reach the SIP server.
Check for network delays or timeouts.
Analyze DNS resolution for the SIP server.
Ensure proper registration and session establishment.
13. A SIP call fails, and you receive a 403 Forbidden response. What could be the
reasons?
o Answer:
Authentication failure due to incorrect credentials.
The caller is not authorized to use the requested service.
IP blocking or blacklist rules on the SIP server.
14. A call setup is taking too long. How do you diagnose this issue?
o Answer:
Inspect SIP request-response times using a packet capture tool.
Check for DNS delays in resolving SIP URIs.
Verify that all intermediate proxy servers are functioning.
Look for network congestion or packet loss.
15. How would you investigate SIP message retransmissions?
o Answer:
Examine the network for packet loss or latency.
Ensure proper handling of SIP Via and Call-ID headers.
Check the transport layer (UDP/TCP) for reliability issues.
16. If a SIP session cannot be established due to codec mismatch, what steps would you
take?
o Answer:
Analyze the SDP offer and answer to identify mismatched codecs.
Verify that both endpoints support at least one common codec.
Check SIP server configurations to ensure codec negotiation is enabled.
17. What would you do if a SIP device cannot register with the server?
o Answer:
Check network connectivity to the SIP server.
Verify SIP account credentials (username, password).
Inspect the REGISTER request and server response using a packet analyzer.
Confirm that the SIP server is operational and reachable.