THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#135 - NAPTR records are retrieved but fully ignored
User who did this - Iñaki Baz Castillo (ibc)
----------
Confirmed that it works now. Thanks a lot.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=135#comment224
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#93 - warn about implicit type conversions
User who did this - Andrew Pogrebennyk (marduk)
----------
I vote for this, otherwise it's easy to run into the problem like:
get_profile_size("caller","$avp(s:username)","$avp(i:22)");
if($avp(i:22) >= $avp(s:sim_calls)) {
....
if there are 2 active calls for the user and concurrency limit is 11, string comparison will results in 2 > 11.
should be:
if($avp(i:22) >= $(avp(s:sim_calls){s.int})) {
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=93#comment223
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#131 - nathelper path support with registrar on private network.
User who did this - Andrew Pogrebennyk (marduk)
----------
Bruce,
Let me ask - have you enabled the path_use_received and use_path parameters in the registrar module?
It should work this way, kamailio will set $du to the path URI and the OPTIONS ping will arrive at proxy with its URI in the Route header.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=131#comment222
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#135 - NAPTR records are retrieved but fully ignored
User who did this - Andrei Pelinescu-Onciul (andrei)
Reason for closing: Fixed
Additional comments about closing: Fixed on master and 3.1, GIT#12dc82 and GIT#e2d6f0
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=135
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#135 - NAPTR records are retrieved but fully ignored
User who did this - Andrei Pelinescu-Onciul (andrei)
----------
Thanks, the check for the flags ('S') was case sensitive ('s' was expected).
All the NAPTR records I've used, had 's' and that's why it passed all the tests.
It's fixed now.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=135#comment221
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Module: sip-router
Branch: 3.1
Commit: e2d6f0e3e0a3b9511f05be79d11a097a99d70eb7
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e2d6f0e…
Author: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Committer: Andrei Pelinescu-Onciul <andrei(a)iptel.org>
Date: Sat Jun 11 10:38:10 2011 +0200
dns: case insensitive check for NAPTR record flags
The NAPTR records flags where not checked in case insensitive
mode. Records with the 'S' flags where ignored ('s' was expected).
Closes: FS#135
Reported-by: Inaki Baz Castillo ibc aliax net
(cherry picked from commit fa00eaf013a1787f0523559595a1a73ab469de83)
---
resolve.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/resolve.c b/resolve.c
index a106315..782c15a 100644
--- a/resolve.c
+++ b/resolve.c
@@ -1017,7 +1017,7 @@ char naptr_get_sip_proto(struct naptr_rdata* n)
proto=-1;
- if ((n->flags_len!=1) || (*n->flags!='s'))
+ if ((n->flags_len!=1) || ((*n->flags | 0x20 )!='s'))
return -1;
if (n->regexp_len!=0)
return -1;