[reSIProcate-users] Subscription is not automatically refreshed
- From: Richard Stellingwerff <remenic@xxxxxxxxx>
- Date: Mon, 16 Mar 2009 23:34:24 +0100
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.