[reSIProcate] questions on building a presence agent using resiprocate
Hello,
I have just started with resiprocate sip stack and I have few questions on this:
a) Is there a document or are there code examples in repository to build new applications like presence agent using DUM.
b) Is it better to use the SipStack interface and use
stack->receive() in a thread and do presence processing of received
messages in a different thread, where the processing may involve
maintaining and updating subscription dialogs etc. I think some of this
may be already taken care of using the DUM. The DUM interface seems
much more comprehensive then required for my purposes (I need only
presence specific handlers) and I could not find a very relevant link
which tells me how to best use, so I was thinking of building the
infrastructure directly on top of stack->receive();
I wanted to know how are different handlers which are specified ( using
functions like addSubscriptionClientHandler etc.) automatically
invoked, i.e, where is the logic which specifies which handlers to be
executed under different conditions or messages ( logic which tells
different steps of processing and invokes all these handlers).
c) Is there some performance measurements done for resiprocate sip stack, if yes, could someone send me a pointer to it.
Thanks for your time,
Regards,
Vishal