Hi,
I'd like to intoduce a way to perform pattern matching on the R-URI in
addition to the plain prefix matching of R-URI-User. The use case is for
example to only allow numeric destinations on one gw, whereas another
one could accept alphanumeric ones as well (e.g. plain SIP peers
compared to peers towards PSTN gateways).
In order to keep the current functionality as is, I'd introduce a
destination mode column with values 1 (default) for normal prefix
matching and 2 for regex matching, and either extend the length of the
prefix column or introduce a ruri_pattern column (because the name
"prefix" would be misleading, but I'm reluctant to rename it due to
backwards compatibility), which is only used if mode==2.
Any comments/opinions on that?
Andreas
Hello,
Kamailio SIP Server v3.2.3 stable release is out.
This is a maintenance release of the latest stable branch, 3.2, that
includes fixes since release of v3.2.2. There is no change to database
schema or configuration language structure that you have to do on
installations of v3.2.0, v3.2.1 or v3.2.2. Deployments running previous
v3.2.x versions are strongly recommended to be upgraded to v3.2.3.
For more details about version 3.2.3 (including links and hints to
download the tarball or from GIT repository), visit:
* http://www.kamailio.org/w/2012/04/kamailio-v3-2-3-released/
RPMs and Debian/Ubuntu packages will be available soon.
Cheers,
Daniel
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/
Module: sip-router
Branch: master
Commit: 63ab6b482bf2be1fb706dfe4ff0dd27caf79a26f
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=63ab6b4…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Date: Thu Apr 19 17:57:00 2012 +0100
modules_k/presence: Updated handle_subscribe() so that an optional parameter can be used to specify watcher URI
- This means that you can use URIs from different SIP headers
(for example, P-Asserted-Identity:) as the watcher URI.
- If the parameter to handle_subscribe() is not use the From:
URI is used as the watcher URI.
---
modules_k/presence/README | 15 ++-
modules_k/presence/bind_presence.c | 1 +
modules_k/presence/bind_presence.h | 4 +-
modules_k/presence/doc/presence_admin.xml | 10 ++-
modules_k/presence/hash.c | 12 ++-
modules_k/presence/notify.c | 47 ++++++---
modules_k/presence/notify.h | 2 +
modules_k/presence/presence.c | 75 ++++++++------
modules_k/presence/subscribe.c | 152 +++++++++++++++++++++++------
modules_k/presence/subscribe.h | 11 ++-
10 files changed, 235 insertions(+), 94 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=63a…
Module: sip-router
Branch: master
Commit: b90adb0da092ebf651a88b9cd1a21b3ae0cb8251
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b90adb0…
Author: Peter Dunkley <peter.dunkley(a)crocodile-rcs.com>
Committer: Peter Dunkley <peter.dunkley(a)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=b90…
Module: sip-router
Branch: master
Commit: c4ea425076504248e1fd8f9022b3bf56c2293a83
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c4ea425…
Author: Richard Fuchs <rfuchs(a)sipwise.com>
Committer: Andreas Granig <agranig(a)sipwise.com>
Date: Thu Apr 19 17:42:52 2012 +0200
rtpproxy(k): Send Via branch to rtpproxy
- Introduce force/unforce options "1" and "2" to optionally
send first or second Via branch to rtpproxy, respectively.
This can be used to stop only a specific branch in the rtp
proxy, which is needed for complex serial looping scenarios
where in a race condition a new branch is processed before
a previous branch is cancelled, where the cancel would whipe
the whole call from the rtp proxy instead of just the old
branch, causing the subsequent rtp proxy lookup to fail.
---
modules/rtpproxy/doc/rtpproxy_admin.xml | 49 ++++++++++++++-
modules/rtpproxy/rtpproxy.c | 105 +++++++++++++++++++++++-------
modules/rtpproxy/rtpproxy_funcs.c | 24 +++++++
modules/rtpproxy/rtpproxy_funcs.h | 1 +
4 files changed, 153 insertions(+), 26 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=c4e…