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

[reSIProcate-users] Refreshing a subscription off the back of a registration


Hi,

 

I’m new into this as the following will probably reveal.

 

I want to use the excellent automatic refresh to trigger a SUBSCRIBE send on a successful REGISTER.

 

The best place seemed to be in the reg handler, but as we know onSuccess() for registration is called only once, so I can’t use that auto-refresh as the trigger.

 

Is there a better way to do what I am trying to achieve, namely make the SUBSCRIBE “track” the REGISTER without having to implement my own timers to run alongside the registration one.

 

It’s like what I want is half of requestRefresh() – the setting of the mUserRefresh flag = true, but without the associated re-send.

 

Unless there is a similar auto-SUBSCRIBE mechanism to the REGISTER one and I have just missed it.

 

Many thanks for any help.