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

[reSIProcate] RES: Implementing presence with resiprocate


Hi DBQ,

 

I almost done, except because reciprocate doesn’t reSubscribing when time expires. Do you have any idea about this?

 

Thanks,

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

 


De: Dien Ba Quang [mailto:dienbaquang@xxxxxxxxx]
Enviada em: segunda-feira, 14 de maio de 2007 11:34
Para: Gustavo Honorato
Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
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 < gustavo@xxxxxxxxxxxxx> 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. JJJ

 

Thanks and best regards,

 

Gustavo Honorato

Software Engineer

Inovax Engenharia de Sistemas

Brazil, Rio de Janeiro

 

 


De: Dien Ba Quang [mailto:dienbaquang@xxxxxxxxx]
Enviada em: quarta-feira, 9 de maio de 2007 19:11
Para: Gustavo Honorato
Cc: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx
https://list.resiprocate.org/mailman/listinfo/resiprocate-devel