Module: sip-router Branch: master Commit: b90adb0da092ebf651a88b9cd1a21b3ae0cb8251 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b90adb0d...
Author: Peter Dunkley peter.dunkley@crocodile-rcs.com Committer: Peter Dunkley peter.dunkley@crocodile-rcs.com Date: Thu Apr 19 18:03:54 2012 +0100
modules_k/rls: Updated rls_handle_subscribe() so that an optional parameter can be used to specify watcher URI
- This is useful when you want to use a URI from another SIP header (for example, P-Asserted-Identity:) as the watcher URI. - When the parameter is not used the From: URI is used as the watcher URI.
---
modules_k/rls/README | 13 ++++-- modules_k/rls/api.h | 4 +- modules_k/rls/doc/rls_admin.xml | 8 +++- modules_k/rls/notify.c | 2 +- modules_k/rls/resource_notify.c | 40 +++++++++++--------- modules_k/rls/rls.c | 26 ++++++++++-- modules_k/rls/rls.h | 4 +- modules_k/rls/rls_db.c | 54 ++++++++++++++++++--------- modules_k/rls/subscribe.c | 79 +++++++++++++++++++++++++++++--------- modules_k/rls/subscribe.h | 4 +- 10 files changed, 165 insertions(+), 69 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=b90a...