THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#115 - bug in dialplan or core re.c
User who did this - Juha Heinanen (jh)
Reason for closing: Fixed
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=115
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#115 - bug in dialplan or core re.c
User who did this - Juha Heinanen (jh)
----------
i have made the tests with latest 3.1 from git. here is what happens with subst_exp ^(.+:)\+358(.+) and input uri sip:+35892345674@test.fi using various repl_exps:
- if repl_exp is \1\2, i get what is expected, i.e., both \1 and \2 are replaced and consumed:
Feb 22 09:40:39 sip /usr/sbin/sip-proxy[7323]: INFO: uri <sip:92345674@test.fi>
- if repl_exp is \1X\2, \1 is replaced but not consumed and i get:
Feb 22 09:42:48 sip /usr/sbin/sip-proxy[7484]: INFO: uri <sip:\1X92345674@test.fi>
- if repl_exp is \1X\2Y, i get
Feb 22 09:44:50 sip /usr/sbin/sip-proxy[7642]: INFO: uri <sip:\1X92345674@test.fiY>
i.e., \2 is correctly replaced and consumed, but again \1 is replaced, but not consumed.
-- juha
Feb 22 09:44:16 sip /usr/sbin/sip-proxy[7481]: INFO: pai_uri <sip:\1X92345674@test.fi>
Feb 22 09:44:51 sip /usr/sbin/sip-proxy[7640]: NOTICE: Discarding unmatched CANCEL to <sip:032345670@test.fi>
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=115#comment166
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: master
Commit: 1147c09665a05d4af5f1b48764a78fb47649a930
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1147c09…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sat Feb 26 20:26:54 2011 +0100
siputils: readme updated
- updated the description of the functions that can be used in ANY_ROUTE
---
modules_k/siputils/README | 12 +++++++-----
modules_k/siputils/doc/siputils_admin.xml | 8 +++-----
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/modules_k/siputils/README b/modules_k/siputils/README
index e37d933..23ccd30 100644
--- a/modules_k/siputils/README
+++ b/modules_k/siputils/README
@@ -24,6 +24,10 @@ Gabriel Vasile
FhG FOKUS
+Juha Heinanen
+
+ TutPro Inc.
+
Edited by
Jan Janak
@@ -424,7 +428,7 @@ if (is_user("john")) {
Check if To header field uri contains tag parameter.
- This function can be used from REQUEST_ROUTE.
+ This function can be used from ANY_ROUTE.
Example 1.13. has_totag usage
...
@@ -613,8 +617,7 @@ reply_route[2] {
The function returns true if the two parameters matches as SIP URI.
- This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
- FAILURE_ROUTE and BRANCH_ROUTE.
+ This function can be used from ANY_ROUTE.
Example 1.23. cmp_uri usage
...
@@ -629,8 +632,7 @@ if(cmp_uri("$ru", "sip:kamailio@kamailio.org"))
The function returns true if the two parameters matches as AoR. The
parameters have to be SIP URIs.
- This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
- FAILURE_ROUTE and BRANCH_ROUTE.
+ This function can be used from ANY_ROUTE.
Example 1.24. cmp_aor usage
...
diff --git a/modules_k/siputils/doc/siputils_admin.xml b/modules_k/siputils/doc/siputils_admin.xml
index 8511da9..fd8ec1d 100644
--- a/modules_k/siputils/doc/siputils_admin.xml
+++ b/modules_k/siputils/doc/siputils_admin.xml
@@ -375,7 +375,7 @@ if (is_user("john")) {
Check if To header field uri contains tag parameter.
</para>
<para>
- This function can be used from REQUEST_ROUTE.
+ This function can be used from ANY_ROUTE.
</para>
<example>
<title><function>has_totag</function> usage</title>
@@ -684,8 +684,7 @@ reply_route[2] {
the two parameters matches as SIP URI.
</para>
<para>
- This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
- FAILURE_ROUTE and BRANCH_ROUTE.
+ This function can be used from ANY_ROUTE.
</para>
<example>
<title><function>cmp_uri</function> usage</title>
@@ -710,8 +709,7 @@ if(cmp_uri("$ru", "sip:kamailio@kamailio.org"))
URIs.
</para>
<para>
- This function can be used from REQUEST_ROUTE, ONREPLY_ROUTE,
- FAILURE_ROUTE and BRANCH_ROUTE.
+ This function can be used from ANY_ROUTE.
</para>
<example>
<title><function>cmp_aor</function> usage</title>
Hi, I've coded some modifications to regex module in my local branch
ibc/regex. I've also commited the branch to the server with same name
ibc/regex.
Now my question is: how to commit such changes into remote master?
Some options I've in mind:
a) Commit from my local ibc/regex branch to remote branch, and later
update my local master branch:
~# git branch
ibc/regex
~# git push origin ibc/regex:master
~# git fetch origin
~# git pull --rebase origin master
b) Merging my local ibc/regex module into my local master branch and
commit to remote master:
~# git checkout master
~# git merge --log --no-ff ibc/regex
~# git push origin master:master
Suggestions please? thanks a lot.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>