THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#346 - avpops: use xavp semantic on second parameter
User who did this - Víctor Seva (linuxmaniac)
----------
With this change I can remove the dependency. is it OK with you?
----------
One or more files have been attached.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=346#comment1088
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.
Víctor Seva has taken ownership of the following task:
FS#345 - xavp semantics
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=345
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#345 - xavp semantics
User who did this - Víctor Seva (linuxmaniac)
----------
This patch just allows all values on second key.
3(3494) INFO: app_lua [app_lua_sr.c:98]: lua_sr_log(): xavp(test[0]):{re={"sip:.*@ar.net","sip:.*@bar.net","sip:no@.*","sip:yes@.*"}}
3(3494) INFO: <script>: $xavp(test[0]=>re[0]):sip:.*@ar.net
3(3494) INFO: <script>: $xavp(test[0]=>re[1]):sip:.*@bar.net
3(3494) INFO: <script>: $xavp(test[0]=>re[2]):sip:no@.*
3(3494) INFO: <script>: $xavp(test[0]=>re[3]):sip:yes@.*
3(3494) INFO: <script>: $xavp(test[0]=>re[*]):sip:.*@ar.net, sip:.*@bar.net, sip:no@.*, sip:yes@.*
3(3494) INFO: <script>: $(avp(s:test)[*]):sip:no@.*, sip:yes@.*
----------
One or more files have been attached.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=345#comment1087
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: 659b920399ee2a75973c610f5dec4c6292903f67
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=659b920…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Sep 19 13:25:41 2013 +0200
core: set to NULL the pointers to several sip msg fileds in cloned structure
- instance, ruid and location_ua are reset to null for the clone in shm,
otherwise they point to pkg and the shm can be used from other
process, resulting in crash
- reported and credits for testing and troubleshooting to Alex Balashov
---
sip_msg_clone.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/sip_msg_clone.c b/sip_msg_clone.c
index 58ce353..6a5da1a 100644
--- a/sip_msg_clone.c
+++ b/sip_msg_clone.c
@@ -539,6 +539,17 @@ struct sip_msg* sip_msg_shm_clone( struct sip_msg *org_msg, int *sip_msg_len,
/* path_vec is not cloned (it's reset instead) */
new_msg->path_vec.s=0;
new_msg->path_vec.len=0;
+ /* instance is not cloned (it's reset instead) */
+ new_msg->instance.s=0;
+ new_msg->instance.len=0;
+ /* ruid is not cloned (it's reset instead) */
+ new_msg->ruid.s=0;
+ new_msg->ruid.len=0;
+ /* location ua is not cloned (it's reset instead) */
+ new_msg->location_ua.s=0;
+ new_msg->location_ua.len=0;
+ /* reg_id is not cloned (it's reset instead) */
+ new_msg->reg_id=0;
/* message buffers(org and scratch pad) */
memcpy( p , org_msg->buf, org_msg->len);
/* ZT to be safer */
Module: sip-router
Branch: master
Commit: aa9f500c80cb5372c40f1eb7f18b4e33dcd6acf5
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=aa9f500…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Thu Sep 19 12:27:35 2013 +0200
core: a bit of cleaning in sip_msg_t comments
---
parser/msg_parser.h | 18 ++++++------------
1 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/parser/msg_parser.h b/parser/msg_parser.h
index 9e97e65..5a618c6 100644
--- a/parser/msg_parser.h
+++ b/parser/msg_parser.h
@@ -347,25 +347,19 @@ typedef struct sip_msg {
struct lump_rpl *reply_lump; /*!< only for localy generated replies !!!*/
/*! \brief str add_to_branch;
- whatever whoever want to append to branch comes here
- */
+ whatever whoever want to append to Via branch comes here */
char add_to_branch_s[MAX_BRANCH_PARAM_LEN];
int add_to_branch_len;
unsigned int hash_index; /*!< index to TM hash table; stored in core to avoid unnecessary calculations */
- unsigned int msg_flags; /*!< flags used by core */
- /* allows to set various flags on the message; may be used for
- * simple inter-module communication or remembering processing state
- * reached
- */
- flag_t flags;
+ unsigned int msg_flags; /*!< internal flags used by core */
+ flag_t flags; /*!< config flags */
str set_global_address;
str set_global_port;
- struct socket_info* force_send_socket; /* force sending on this socket,
- if ser */
+ struct socket_info* force_send_socket; /*!< force sending on this socket */
str path_vec;
- str instance;
- unsigned int reg_id;
+ str instance;
+ unsigned int reg_id;
str ruid;
str location_ua;
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#346 - avpops: use xavp semantic on second parameter
User who did this - Víctor Seva (linuxmaniac)
----------
With this change I can remove the dependency. is it OK with you?
----------
One or more files have been attached.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=346#comment1086
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.