[reSIProcate] RES: Implementing presence with resiprocate

Gustavo Honorato gustavo at inovax.com.br
Mon May 14 10:08:26 CDT 2007


DBQ,

 

Be sure it was very helpful. I will try to write some code and see what I
can do.

 

Thank you,

Gustavo Honorato
Software Engineer
Inovax Engenharia de Sistemas
Brazil, Rio de Janeiro

 

  _____  

De: Dien Ba Quang [mailto:dienbaquang at gmail.com] 
Enviada em: segunda-feira, 14 de maio de 2007 11:34
Para: Gustavo Honorato
Cc: resiprocate-devel at list.resiprocate.org
Assunto: Re: [reSIProcate] Implementing presence with resiprocate

 

Hi,
The name of all the callbacks implied its meaning, and you could take a look
at class SubscriptionHandler, it has some comments before each callback
functions. If you want more information you dig into dispatch() function in
two classes ClientSubscription.cxx and ServerSubscription.cxx:

Some main functions: 

When your User Agent(UA) sends a SUBSCRIBE message -> call this callback
virtual void onNewSubscription(ClientSubscriptionHandle, const SipMessage&
notify)=0; 

When your UA receives a SUBSCRIBE message -> call this callback
virtual void onNewSubscription(ServerSubscriptionHandle, const SipMessage&
sub)=0; 
You can use ServerSubscriptionHandle to send back an ACCEPT and NOTIFY
message

When your UA receives a NOTIFY message -> call this callback 
virtual void onUpdateActive(ClientSubscriptionHandle is, const SipMessage&
notify, bool outOfOrder) 

Hope it's useful.
DBQ.

On 5/11/07, Gustavo Honorato < <mailto:gustavo at inovax.com.br>
gustavo at inovax.com.br> wrote:

Hi,

 

I looked your code, it helped me a little. Basically, my difficulties are in
discover the meaning of functions callbacks in ClientSubscriptionHandler,
ServerSubscriptionHandler and ClientPublication and its parameters. If you
have any Class Documentation for these classes it will help me a lot, or
show me the trick that you used to understand the usage of this classes.
:-):-):-) 

 

Thanks and best regards,

 

Gustavo Honorato

Software Engineer

Inovax Engenharia de Sistemas

Brazil, Rio de Janeiro

 

 

  _____  

De: Dien Ba Quang [mailto:dienbaquang at gmail.com] 
Enviada em: quarta-feira, 9 de maio de 2007 19:11
Para: Gustavo Honorato
Cc: resiprocate-devel at list.resiprocate.org
Assunto: Re: [reSIProcate] Implementing presence with resiprocate

 

Hi,
In my previous emails, I have some sample codes used for implementing
presence. You should do a search in the mailing list.

DBQ.

On 5/7/07, Gustavo Honorato <gustavo at inovax.com.br> wrote:

Hi,

 

I'm trying to implement presence in my softphone. I couldn't find any test
programs to help me how to use Resiprocate. Could anyone suggest one way to
learn how make SUBSCRIBES, NOTIFIES and PUBLISHES?

 

Thanks and best regards,

Gustavo Honorato


_______________________________________________
resiprocate-devel mailing list
resiprocate-devel at list.resiprocate.org 
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070514/98975fb0/attachment.htm>


More information about the resiprocate-devel mailing list