< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] FW: help getting started


That’s a start, you’re on the right track J.

 

To better understand appdialogset, take a look at:

 

http://www.resiprocate.org/DUM_Invite_Session_State_Diagrams

 

There is some useful diagrams on states and handlers in the dum/doc folder.

 

As far as mapping SIP messages to events, there are different scenarios that create the events.  For the most part you can figure out the events that are called pretty easily, for example you would expect to see something like this when making an outbound call:

 

Dum::makeInviteSessions(),Dum::send()

INVITE (w/sdp)->

100<- DialogSetHandler::onTrying

18x(no-contact)<- DialogSetHandler::onNonDialogCreatingProvisional

200(w/sdp)<- InviteSessionHandler::onAnswer, InviteSessionHandler::onConnected

ACK->

 

Other scenarios will produce different events.  My suggestion is to learn how to find what you are looking for in the code.  Take a look at InviteSessionHandler and search for all occurrences of the events you are looking for.

 

For the rest of your project, you will also need to handle SDP contents for the audio/video setup.  My suggestion is to take a look at the code, search the forums for solutions asked by others and post here for further help.

 

Good luck,

 

-Justin

 

 

From: resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of pgoeleven@xxxxxxxxxxx
Sent: Thursday, August 02, 2007 11:13 AM
To: resiprocate-users@xxxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate-users] FW: help getting started

 


The goal is a IM client with presence functionality and maybe basic instant messaging, but the most important part is multi-user VOIP (RTP) conferencing using SIP to set up the conference.
 
The problem I have is that I don't know the proper way of coding all that (I'm new to SIP/SDP/RTP).
 
So far I have made the following basic structure, as seen in the example apps:
 
- a Handler class, inheriting from public InviteSessionHandler, public ClientRegistrationHandler, public OutOfDialogHandler
- a user agent class, inheriting from Handler
- instanced a DialogUsageManager with the user agent class as session handler, client registration hander and out of dialog handler
 
This works and I got two clients talking to eachother. But it seems a bit contrived. I also do not know which of the functions in InviteSessionHandler for example correspond to the possible events in the RFC or when they occur.
 
I also do not know what AppDialogSet does exactly (I'm using it though as in the example). I take it one is created each time a dialog is started and used for the duration?
 
So basically: it works so far. I just don't know how to proceed and I totally lack a deeper understanding of the workings of resiprocate, which I can't find any proper reading material on.



From: jmatthewsr@xxxxxxxxx
To: pgoeleven@xxxxxxxxxxx; resiprocate-users@xxxxxxxxxxxxxxxxxxxx
Subject: RE: [reSIProcate-users] help getting started
Date: Thu, 2 Aug 2007 10:42:10 -0400

Hi,

 

I would suggest that a good way to start is to ask any questions that you have here that you were unable to find in the documentation.

 

What type of project are you building (Soft phone, IM client, b2bua, proxy)?  What exactly are you having problems with?

 

To answer your concern about RFC compliance, the library is compliant with the listed RFC’s on the wiki.  Many applications can be built using DUM (Dialog Usage Manager) without having to worry about compliance.  

 

-Justin

 

From: resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx [mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of pgoeleven@xxxxxxxxxxx
Sent: Thursday, August 02, 2007 9:40 AM
To: resiprocate-users@xxxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate-users] help getting started

 

Hi,
 
I have to use resiprocate in one of my projects but I'm having a difficult time starting out though since resiprocate is poorly documented. I have gone through the short example programs included with resiprocate, but they are rather bare-bones and not documented. I also did a lot of searching on the net for a tutorial on resiprocate specifically, but there is none to be found it seems. So at the moment I'm working in the dark: I've got the examples running, but I'm not sure what each component does or how it SHOULD be used and so I'm unable to proceed. Especially since correct implementation according to the RFC is particulary important in this project.
 
So my question is: is there some sort of tutorial on using resiprocate, or is there an example program that is more complete and better documented? I have encountered a lot of people's messages lamenting the poorly documented state of resiprocate and the wiki. Has no one gotten around to writing something up yet?
 
 
Thanks,
 
pgoeleven@xxxxxxxxxxx.


het ultieme online mailprogramma! Ontdek Windows Live Hotmail,

 


het ultieme online mailprogramma! Ontdek Windows Live Hotmail,