LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-14-2007, 01:36 AM   #1
ankuraggarwal
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Rep: Reputation: 0
How to write client and server code which is implementing sip


Hi,
rite now i am a student and i am working on the video conferencing project in that i have to write the call manager part using sip and rtp.I dont know how to write the server and client model using sip message.CAn anyone help me out to tell me what to do..My task is:
1. write the code for client and server.
2.client should type the sip url and accordingly it should connect to that server with that url specified.
3. after the connection the sdp negotiation part is to be implement.

I will be very thankful to you if you help me out.

Regards,
Ankur
 
Old 08-14-2007, 06:01 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Suggestion:

1. Choose an implementation language (for example, C/C++)
2. Choose your platform (for example, Windows)
3. Decide whether it's going to be GUI or command-line
4. Write a sample client that just lets the user type in the URL (no functionality yet)
5. Verify that it works

Then...

6. Do some reading on network programs in general, with an eye to how it might relate to the SIP protocol

'Hope that helps .. PSM

PS:
Here are some libraries/code that might be of use to you:
http://swik.net/SIP+Programming

Last edited by paulsm4; 08-14-2007 at 06:07 PM.
 
Old 08-14-2007, 06:10 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
I would also look at "Beej's guide to network programming" for examples of both TCP and UDP programs.
 
Old 08-15-2007, 11:12 PM   #4
ankuraggarwal
LQ Newbie
 
Registered: Aug 2007
Posts: 6

Original Poster
Rep: Reputation: 0
thanks

thanks for the advice..I have chosse the c language and linux environment.now what i want to do is that from the client side i just want the output that client should write......./client.out port no of client and sip address then the proxy server should respond to that sip address by sending the port no and the ip address of that sip address....r u getting it what i want to say....if yess then plz help me out...I want the code for that ....

thanks in advance
ankur.

Quote:
Originally Posted by paulsm4 View Post
Suggestion:

1. Choose an implementation language (for example, C/C++)
2. Choose your platform (for example, Windows)
3. Decide whether it's going to be GUI or command-line
4. Write a sample client that just lets the user type in the URL (no functionality yet)
5. Verify that it works

Then...

6. Do some reading on network programs in general, with an eye to how it might relate to the SIP protocol

'Hope that helps .. PSM

PS:
Here are some libraries/code that might be of use to you:
http://swik.net/SIP+Programming
 
Old 05-21-2008, 06:59 AM   #5
jabka
Member
 
Registered: Sep 2005
Distribution: Debian unstable && Kazit (reformated knoppix)
Posts: 194

Rep: Reputation: 31
If this is still relevent -
I'm reading now about SIP in general and i would be glad to code together.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Source Code for a simple ftp server and client koodoo Programming 17 07-05-2013 11:48 AM
how to write server software to display client info every 30 secs Agent007 Programming 2 01-11-2004 05:27 AM
Needing the source code implementing WFQ rickie Linux - Networking 1 07-29-2002 10:06 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration