THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#124 - Add additional tm callbacks
User who did this - Timo Reimann (tr)
----------
Implemented in branch treimann/master_tm-extend-callbacks.
Work left: Merge into master.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=124#comment475
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#123 - Provide processed message in tm callbacks whenever possible
User who did this - Timo Reimann (tr)
----------
Implemented in branch treimann/master_tm-extend-callbacks.
Work left: Merge into master.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=123#comment474
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: treimann/master_tm-extend-callbacks
Commit: dfaee1cdfaaf33a0232bbb61cde018fadce500e7
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=dfaee1c…
Author: Timo Reimann <sr(a)foo-lounge.de>
Committer: Timo Reimann <sr(a)foo-lounge.de>
Date: Wed Dec 21 20:01:06 2011 +0100
Merge branch 'master' into treimann/master_tm-extend-callbacks
* master: (201 commits)
modules: bunch of READMEs regenerated to be sync'ed with docbook
modules: coherent naming of Statistics section in docbook
sl: regenerated the readme
sl: documented exported statistics
core/tcp: define option TCP_CLONE_RCVBUF to turn off/on tcp rcv buffer cloning
pdt(k): added rpc command pdt.reload
pdt(k): MI commands can be disabled via define PDT_NO_MI
pdt(k): updates to documentation
pdt: refactored prefix-domain translation
tcp: fix for ENOTCONN on newer FreeBSDs
dialplan: added fnmatch (2) matching operator
core/tcp: init max_tls_connections in tcp options check
core/tcp: proper init of parameter tls_max_connections
textopsx: added fnmatch(value, expr, flags) function
core: added function to help fixup of PVE, string and expressions
registrar(k): maintaining one contact per AoR has priority over max_contacts
lib/srdb1: Enable non-pooled database connections to be defined.
modules_k/presence: Added additional return value to pres_auth_status() for polite-block
tls: new parameter 'renegotiation' to enable/disable client renegotiation
tls: use pkg-config to get cflags and libs for compilation
...
---
Module: sip-router
Branch: master
Commit: d768eb5cc535efa47164a26e021f6741d974760d
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=d768eb5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Dec 21 14:54:29 2011 +0100
core: sdp parser - keep link to start and lenght of sdp content
- useful in multi-part bodies and sdp operations
---
parser/sdp/sdp.c | 5 +++++
parser/sdp/sdp.h | 1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/parser/sdp/sdp.c b/parser/sdp/sdp.c
index 6a635f8..30de265 100644
--- a/parser/sdp/sdp.c
+++ b/parser/sdp/sdp.c
@@ -371,6 +371,11 @@ static int parse_sdp_session(str *sdp_body, int session_num, str *cnt_disp, sdp_
int parse_payload_attr;
str fmtp_string;
+ /* hook the start and lenght of sdp body inside structure
+ * - shorcut useful for multi-part bodies and sdp operations
+ */
+ _sdp->text = *sdp_body;
+
/*
* Parsing of SDP body.
* Each session starts with v-line and each session may contain a few
diff --git a/parser/sdp/sdp.h b/parser/sdp/sdp.h
index 353580c..a1fa8ce 100644
--- a/parser/sdp/sdp.h
+++ b/parser/sdp/sdp.h
@@ -101,6 +101,7 @@ typedef struct sdp_session_cell {
typedef struct sdp_info {
msg_body_type_t type;
free_msg_body_f free;
+ str text; /**< link to start of sdp and its length */
int sessions_num; /**< number of SDP sessions */
int streams_num; /**< total number of streams for all SDP sessions */
struct sdp_session_cell *sessions;