Professional Documents
Culture Documents
SIP Interview Questions
SIP Interview Questions
m=audio
m=video
Proxy Servers
Registrar Servers
Redirect Servers
100- Trying
180- Ringing
31) What is SDP ? How can we know there is an Audio/ video call?
A: An SDP session description includes the following media information: o
The type of media (video, audio, etc.) The transport protocol (RTP/UDP/IP,
H.320, etc.)
o The format of the media (H.261 video, MPEG video,G.711
Audio,G.729 Audio etc.)The SDP Parameter "m=Media Type" describes it is
an Audio/Video Call.
32) If Max-forwards reaches to zero.then what happens?
33) What is the difference between Route and Record-Route?
A:
Route: The header field is used to force routing for a request through the
listed set of poxies.
Record-route: The header field is inserted by proxies(B2BUA) in a request
to force future requests in a dialog to be routed through the proxy.
34) What is an Early Dialog?
A: A dialog established by a non-final response to a request is in "Early "
state and it is also called "Early Dialog".
35) what is SIP URI?
36) What is VOIP?
A: VOIP defines Voice Over Internet Protocol. It is the internet technology to
carry voice communication and multimedia sessions over Internet protocol
networks such as internet.
37) what is SIP? Where does it lies on OSI Layer?
A: SIP(Session Initiation Protocol) is a Signalling Protocol. It is
used to Initiate,Modify and Terminate session. It lies on Application
Layer. Please refer below diagram.
IP Phones
2.
Gateways
3.
Gatekeepers
4.
MCUs
5.
Application Server
6.
Call Agent
IP Phones
Handset, or analog phone connected to a voip adapter.
Gateways
The gateway provides translation between VoIP and non-VoIP networks, such as the PSTN.
Gatekeepers
Provides CAC (Call Admission Control) or and bandwidth management. Call admission
control is a process used to ensure, or maintain, a certain level of audio quality in voice
communications networks, or a certain level of performance in Internet nodes and servers.
MCUs
Multipoint Control Units provides the functionality of call, video conferencing.
Application Server
Application server provide extra functionality such as voicemail, messaging etc.
Call Agent
(Also known as soft switch or Media Gateway Controller) The Call Agent/Softswitch/MGC
receives signalling information (like dialed digits) from the Media Gateway and can instruct
it to alert the called party, to send and receive voice data etc.
VoIP Functions
Like traditional telephony, VoIP requires some function through which a call can be
completed. Following are the functions:
Signalling
Signaling is the capability to generate and exchange call control information that will be
used to establish, monitor, and release connections between two endpoints. PSTN Network
uses SS7 (out of band) as a transport to exchange messages, however. VoIP network uses
H.323, SIP, MGCP, SCCP as signalling. These connect and disconnect messages are carried
out by SS7 in case of PSTN. In VoIP environment these messages are carried out by SIp and
H323. SIP and H.323 are peer-to-peer signaling protocols where the end devices or
gateways contain the intelligence to initiate and terminate call sessions and interpret call
control messages.
Database Services
Database services include access to billing information, caller name
delivery (CNAM) etc. CNAM is an intelligent service which displays
the callers name in the calling partys phone instead of the caller ID.
Database services also include access to calling cards. Another
example of Database Service is providing a call notification service
which places outbound calls with prerecorded messages at specific
times to notify users of events like new plans and packages, wakeup calls etc.
1) How do you give IP to Endpoint?
A: Manually and Using DHCP. 2) In DHCP who will assign IP to endpoint?
A: DHCP Server will assign the IP address to the Endpoint.
3) Explain how IP address is assigned to endpoint using DHCP protocol?
A:
The Dynamic Host Configuration Protocol (DHCP) is a network protocol used
to configure devices that are connected to a network so they can communicate on
that network using the Internet Protocol (IP).
DHCP operations fall into four basic phases: IP discovery, IP lease offer, IP
request, and IP lease acknowledgment.
18) If already User A disconnect from call in transfer Un attended, why User B will
Notify the User A after call success with User C?
A: User A doesn't disconnect from call even if sent BYE
request , the dialog between User A and B still exists until the Subscription
created by the REFER has terminated.
Notify request sent by User B to A contains the header fields
Event = refer
Subscription-state= terminated,reason= noresource
19) what happens if REFER request contains more than one refer-To field Values?
A: An agent responding to a REFER method MUST return a 400 (Bad Request)
if the request contained zero or more than one Refer-To header field
values.
20) How to detect multiple REFER requests in a dialog?
A: This id parameter MAY be included in NOTIFYs to the first REFER a UA receives
in a given dialog. A SUBSCRIBE sent to refresh or terminate this subscription
MUST contain this id parameter.
Event: refer;id=93809824
The number from the CSeq header field value of REFER is given as id
number in Notify.
EX:
REFER sip:b@atlanta.example.com SIP/2.0
Via: SIP/2.0/UDP agenta.atlanta.example.com;branch=z9hG4bK9390399231
To: <sip:b@atlanta.example.com>;tag=4992881234
From: <sip:a@atlanta.example.com>;tag=193402342
Call-ID: 898234234@agenta.atlanta.example.com
CSeq: 93809824 REFER
Max-Forwards: 70
Refer-To: (some different URI)
Contact: sip:a@atlanta.example.com
Content-Length: 0
NOTIFY sip:a@atlanta.example.com SIP/2.0
Via: SIP/2.0/UDP agentb.atlanta.example.com;branch=z9hG4bK9320394238995
To: <sip:a@atlanta.example.com>;tag=193402342
From: <sip:b@atlanta.example.com>;tag=4992881234
Call-ID: 898234234@agenta.atlanta.example.com
CSeq: 1993404 NOTIFY
Max-Forwards: 70
Event: refer;id=93809824
Subscription-State: active;expires=(depends on Refer-To URI)
Contact: sip:b@atlanta.example.com
Content-Type: message/sipfrag;version=2.0
Content-Length: 20
Ans)
In Call Transfer, the UA first establish a dialog with the calee, and
then initiates setting up a new dialog between the callee and the
another UA.
In Call Redirect, the UA doesn't answer the call, but inform the callee to resend
the INVITE to another SIP URI.
2) what is re-Register?
7) What happens if expire time in Invite has elapsed to 0 ,before final responce is
generated.?
A: If invitation is expired before the final responce is generated ,
Then UAC sends Cancel request to UAS and UAS replies with 487-request
terminated is sent.
8)
A : Alice send a INVITE Request to Bob, for Bob the INVITE Request is outside of
the Dialog.
When Alice receives 180 response, its early Dialog state for Alice and this goes to
confirmed state after 200 OK response.
After receiving 200 OK Response, any request will be inside the Dialog.
Examples:
1) Rining tone is the early media because call is not answered yet.
2) Busy Tone
3) Announcements or greetings