Tuesday, June 24, 2014

SIP/VOIP/IMS Interview Questions

Below is the list of VOIP Interview questions , that will cover most of the interview questions

If you find it useful please do write comment and drop a thanking mail.

VoIP & SIP

  1. Difference between Via and Route?
  2. What is Dialog and transaction? How many transactions are there in single call?

Dialog/Call Leg is same.

clip_image002

In the example 1,

(a) to (c) are one transaction.

(d) is second transaction and

(e)& (f) constitute third transaction.

Together, these three transaction constitute one dialog

  1. What is Loop and what parameters you will see to detect A loop or how to detect?
  2. How to detect the response of immediate request?

This is called transaction and it’s identified by branch Id in via header.

Via: SIP/2.0/UDP 10.255.1.30:5060;branch=z9hG4bK3763983732-38

You can see branch- id in the via header that is the transaction number...

Since sip is a transaction protocol so it required

transaction number to send a request and get response for this

transaction.

  1. What is different between Session Vs Dialog?
After dialog established, if the call is successful and media starts
Flowing (RTP), then it is said to session established.
For Register request, dialog establishes but there is no media, so no
Session.
 


  1. What is call forking?
  2. What is early dialogue and confirmed Dialogue?

Early Dialog:- A dialog established by a non final response.

Confirmed Dialog:- After getting 2xx response.


  1. Difference between Record-route & route?
  2. Explain important headers in RTP?
  3. Why RTP uses UDP?
  4. What is Refer? And where it is used?
  5. What are the Mandatory general headers you will see in SIP Requests and Responses?
  6. What is SIP Protocol Structure /Stack?
  7. Draw Call Flow of Call waiting and 3way conference?[Samsung]
  8. What is present in Auth Headers of INVITE in case of IMS ?[Samsung]
  9. What are P-headers present in SIP message when using IMS ?[Aricent,Samsung]

P-Associated-URI

– URIs associated to an address of records

P-Called-Party-ID

– Identity the session was addressed to

P-Visited-Network-ID

– Check roaming agreements and authorize registrations

P-Access-Network-Info

– Information about the access network used by the terminal

P-Charging-Function

– Charging entities for a session

P-Charging-Vector

– Charging identifiers and networks performing charging

P-User-Database

– Optimization for queries to the HSS


  1. what are headers/differences in INVITE and CANCEL message ?[Samsung]
  2. What is difference between Via ,Route,Record-route,Path field?[Samsung,Radisys]
  3. What is difference between Session and Dialog?[Aricent]
  4. Who adds record route in Case of IMS?[Samsung]
  5. How DTMF is send in VOIP?

3 common ways of sending DTMF on SIP calls

>>SIP INFO packets

-------

INFO sip:7007471000@example.com SIP/2.0

Via: SIP/2.0/UDP alice.uk.example.com:5060

From: <sip:7007471234@alice.uk.example.com>;tag=d3f423d

To: <sip:7007471000@example.com>;tag=8942

Call-ID: 312352@myphone

CSeq: 5 INFO

Content-Length: 24

Content-Type: application/dtmf-relay

Signal=5

Duration=160

-----

>>As specially marked events in the RTP stream - see: RFC 2833

>>inband as normal audio tones in the RTP stream with no special coding or markers


  1. What is Loose Routing and Strict Routing? [Radisys]

clip_image004


  1. What is P-asserted Identity Header?[Aricent]
  2. Difference between Proxy and B2BUA ?[Sonus,Tata Elixis,Aricent]
  3. Draw Call flow of Attended Transfer ?[Aricent]
  4. What is OMA Specs?[Aricent]
  5. Which Layer of TCP/IP SIP is involved?[Radisys]
  6. In OSI model, how SIP packet is formed and traversed?[Radisys]
  7. Which field is added in SIP packet at each process in IMS Server?[Radisys,Samsung]
  8. Draw the call flow from host A to host B in IMS Server?[Radisys]
  9. What are components of IMS-Core and function of Each and where located (Home or Visited Network)?[Aricent,Samsung]

clip_image006



    • The P-CSCF resides in the visited network.

It acts as the UE's gateway into the UE's home network. The P-CSCF is responsible for:

Identifying the home IMS network.

Routing traffic to and from the home IMS network.

Establishing the IPSec security association

· The I-CSCF resides in the home network. It acts as the front-end of the Home IMS network.

The I-CSCF is responsible for:

Interfacing with the P-CSCF in the visited network.

Selecting the S-CSCF by querying the HSS.

· The S-CSCF resides in the home network.

The S-CSCF is responsible for:

Handling the registration request from the I-CSCF.

Pulling the authentication vectors from the HSS

Passing the authentication vectors to the P-CSCF via the I-CSCF.

Authenticate the user in the second registration attempt.


  1. What are different SIP Request?[Samsung,Aricent]
  2. Draw call flow of Cancelled INVITE?
  3. When we should TCP or UDP for Sending SIP Message?[Samsung]

TCP should be used when message size is too large to be fit in one frame ( 1500 Bytes)

This is normally needed in case of IMS as SIP messages has too many headers.

Also when there is no PRACK available.


  1. What is via, Branch, Tag?
  2. What is Early dialog?
  3. Give me an example when servers send 5XX response?
  4. What are Branch ID and Tag ID in SIP?
  5. What is path Header?

The Path header field is a SIP extension header field with syntax

very similar to the Record-Route header field. It is used in

conjunction with SIP REGISTER requests and with 200 class messages in

response to REGISTER (REGISTER responses).


  1. how to add multiple contact in register and remove one contact from register.
  2. stateless vs stateful proxy ?what is used in gateway?
  3. How to implement ACL for invite
  4. Explain Answer/Offer model in details
  5. 3-Way conference Call flow
  6. How to match response of a request?
  7. What is 301 Transfer
  8. IPC mechanisms in Asterisk

Monday, June 23, 2014

No CSMA/CD in Modern Ethernet

Shame, Sad smile..Today only I got to knew that there is no need of CSMA/CD in today’s

Modern Ethernet where there is no Shared Media and is full duplex.

 

Modern switched Ethernet LANs are not CSMA/CD anymore. CSMA/CD was a technique that applied to 10mbit/sec and 100mbit/sec Ethernets that used hubs, not switches.

On modern switched Ethernets, you don't have a shared medium anymore. When you're plugged into a switch, the "collision domain" is only between you and your switch port. And if you're in full duplex mode, which is almost always true with switches, then you don't have any possibility of collision at all. If you can't have a collision, you'll never detect a collision, so you'll never have reason to transmit a jam signal

Featured Post

XDP - Getting Started with XDP (Linux)