[reSIProcate] RES: ClientSubscriptionHandler
Gustavo Honorato
gustavo at inovax.com.br
Fri May 25 12:54:01 CDT 2007
Hi,
OnUpdatePending is called after the client receives a Subscription-State
header with pending value. This generally occurs when the Presence Server is
consulting the presentity if you will be authorized to see his presence.
OnUpdateActive is called after the client receives a Subscription-State
header with active value. The Pidf or RPID document will be in message body.
OnUpdateExtension, I dont know.
What should I return in onRequestRetry (should I return the retrySeconds
value)?
-1 for dont retry (error will be generated), 0 for retry immediately, 0>
for seconds to wait for retry.
Am I correct that for dealing with a ClientSubscription which was implicitly
created through REFER, it is sufficient to wait for
ClientSubscriptionHandler::onTerminated, then create a SIP message from the
sipfrag and use this messages response code to determine if the REFER was
successful or not?
Dont know.
Regards,
Gustavo Honorato
Software Engineer
Inovax Engenharia de Sistemas
Brazil, Rio de Janeiro
_____
De: Matthias Moetje [mailto:moetje at terasens.com]
Enviada em: sexta-feira, 25 de maio de 2007 12:56
Para: resiprocate-devel at list.resiprocate.org
Assunto: [reSIProcate] ClientSubscriptionHandler
Hi,
could someone please shed some light on the callback functions of the
ClientSubscriptionHandler? Some are easy to understand but when are:
onUpdatePending, onUpdateActive and onUpdateExtension actually called?
What should I return in onRequestRetry (should I return the retrySeconds
value)?
Am I correct that for dealing with a ClientSubscription which was implicitly
created through REFER, it is sufficient to wait for
ClientSubscriptionHandler::onTerminated, then create a SIP message from the
sipfrag and use this messages response code to determine if the REFER was
successful or not?
Thanks for any help,
Matthias Moetje
cid:809010616 at 21122006-3519
TERASENS GmbH
Augustenstraße 24
80333 Munich
GERMANY
Phone:
Fax:
e-mail:
Web:
+49.89.143370-0
+49.89.143370-22
<mailto:info at terasens.com> info at terasens.com
<http://www.terasens.com/> www.terasens.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070525/7eedf8d5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2937 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20070525/7eedf8d5/attachment.jpg>
More information about the resiprocate-devel
mailing list