19
Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli , Ming Hsieh

Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Embed Size (px)

Citation preview

Page 1: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Developing A Sip User Agent Using The Jain Sip Stack.

Robert.V Masango

Supervisors: Alfredo Terzoli , Ming Hsieh

Page 2: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Introduction (1)

What Are User Agents In A

Telecommunications Context ?

These are Internet endpoints,that exchange information,in the form of video,text

messages and voice .

Page 3: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Introduction (2)

What Is Sip ?

- Sip stands for session initiation protocol

- Based on a response-request paradigm,sip initiates sessions between users on the

internet.

Page 4: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

What Are (Multimedia) Sessions?

- From the Session Description Protocol specification: "A multimedia session is a set of multimedia senders and receivers and the data streams flowing from senders to receivers.”

Page 5: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

How Sip Works (1)

- A caller sends an INVITE request to a callee either :

1) Via a proxy server. 2) Point -to -Point.

Page 6: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

How Sip Works (2)

- After the session has been established audio,video and text messages are exchanged,depending on the agreement between the user agents.

Page 7: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

How Sip Works (3)

Model of the SIP environment

 

Page 8: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Most Important Sip Methods

- Invite - Ack - Bye - Cancel - Registers - Options

Page 9: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Establishing Communication (1)

- Registering,initiating and locating the user.

- Determining the media to use.

- Determining the willingness of the called party to communicate.

- Setup the media streams.

Page 10: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Establishing Communication(2)

- Call modification or handling.

- Call termination.

Page 11: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

What I’m going to do?

- Develop a user agent using the jain sip stack.

- And if there is time develop a simple proxy server.

Page 12: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Example Of An Invite Request (1)

- INVITE sip:[email protected]

- To: sip:[email protected]

- From: sip:[email protected]

- Call-ID: [email protected]

- CSeq: 8 INVITE

Page 13: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Example Of An Invite Request (2)

- Content-Type: application/new format

<audio>

<pcmu port="443"/>

</audio>

Page 14: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Example Of A Register Request

- REGISTER: cs.ru.ac.za SIP/2.0

- To: [email protected]

- From: [email protected]

- Call-ID: [email protected]

- Contact: Robert @cs.ru.ac.za

- CSeq: 8 REGISTER

- Content-Length: 0

Page 15: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Resources Available (1)

- http://www.ietf.org/rfc/rfc2543.txt

- Papers from various Universities/Companies working with sip,including Rhodes.

Page 16: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Resources Available (2)

- The jain sip stack is open source and freely available.It’s targeted towards telephony over networks.

Page 17: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Expected Output

- A platform independent sip user agent.

Page 18: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Questions

Are There Any Questions?

Page 19: Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh

Thank You Very Much