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

[reSIProcate-users] subscribe failed handler


Hi,

I receive event:
void InstantMessenger::onNewSubscription(ClientSubscriptionHandle handle, const SipMessage &notify)

when I made subcribtion:
mDum.send(mDum.makeSubscription(addr, "presence", (UInt32)60));

But how can I catch failed subscription?

I saw these cases:
1. server response 480 on subscribe
2. response is 200 but notify is absence
3. invalid mime in notify

TIA,
Vitali Fomine