Re: [reSIProcate-users] clientSubscription NOTIFY problem
I now have added:
profile->addSupportedMethod(NOTIFY);
profile->addSupportedMimeType(NOTIFY, Mime("application", "pidf+xml"));
Now resip responds to the incoming NOTIFY with 100 trying, but it still
does not call back callback handler....
any ideas?
thanks
klaus
Am 08.06.2010 13:11, schrieb Klaus Darilion:
Hi!
I try to write a simple watcher. I do:
1. registration handler and perform registration -> works.
2. perform outgoing subscription -> works, but incoming NOTIFY are
rejected with "405 Method not support".
For the clientSubscription I have done:
1. made a handler class:
class SubscriptionHandler : public ClientSubscriptionHandler {
virtual void onUpdatePending
...
}
2. define a handler and add it to DUM:
...
DialogUsageManager clientDum(stack);
SubscriptionHandler subscriptionHandler;
clientDum.addClientSubscriptionHandler("presence", &subscriptionHandler);
...
3. subscribe
SharedPtr<SipMessage> subMessage =
clientDum.makeSubscription(presentityAor, "presence");
clientDum.send( subMessage );
The logs do not show an error (attached). The only strange thing I can
spot is "Failed RequestURI validation NOTIFY sip:test_test@xxxxx
.0.51:32036"
Any hints what I am doing wrong?
thanks
Klaus
PS: How can I log to a file?
_______________________________________________
resiprocate-users mailing list
resiprocate-users@xxxxxxxxxxxxxxx
List Archive: http://list.resiprocate.org/archive/resiprocate-users/