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

[reSIProcate-users] Subscription is not automatically refreshed


Hi,

I am having some trouble with subscriptions. It seems that when the subscription timeout has passed, the callback ClientSubscriptionHandler::onTerminated(ClientSubscriptionHandle, const SipMessage& msg) is automatically called.

However, I would like the subscription to be refreshed when (or preferably before) the timout has passed.

I create the subscription like this:
        _uacDum->send(_uacDum->makeSubscription(target, resip::Data("presence"), 60));

Is there something I'm not doing, or doing wrong in order to get dum to automatically refresh subscriptions?

Kind regards,
Richard Stellingwerff.