< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
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 don’t know. What should I return in onRequestRetry (should I return the
retrySeconds value)? -1 for don’t 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 message’s response code to determine if the REFER
was successful or not? Don’t know. Regards, Gustavo
Honorato Software Engineer Inovax Engenharia de Sistemas Brazil, Rio de Janeiro De: Matthias Moetje
[mailto:moetje@xxxxxxxxxxxx] 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 message’s response code to determine if the REFER
was successful or not? Thanks for any help, Matthias Moetje
|