THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#395 - call_control: Passthrough sip_application
User who did this - Daniel-Constantin Mierla (miconda)
Reason for closing: Implemented
Additional comments about closing: Thanks for the patch, it was merged to master branch.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=395
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#348 - Invalide tel INVITE crashes 4.0.3
User who did this - Daniel-Constantin Mierla (miconda)
----------
Is this still an issue? When I tried it worked and then no follow up...
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=348#comment1306
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#390 - Bug in tm with topoh modules - segfault on callid comparison.
User who did this - Daniel-Constantin Mierla (miconda)
----------
Added checks to topoh to handle local generated requests and their responses without trying to hide/unhide headers -- there is nothing to protect in such case.
Can you test with next patches?
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=41f12e0…http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=376d8b3…
If all ok, I will backport.
----------
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=390#comment1305
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: 376d8b3972d96b70d1e12cc57104475b2ee7ade8
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=376d8b3…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Feb 21 18:26:34 2014 +0100
topoh: let replies for CANCEL requests be handled
- CANCEL is hop by hop, but can have the call-id hidden when sending out
---
modules/topoh/topoh_mod.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/modules/topoh/topoh_mod.c b/modules/topoh/topoh_mod.c
index 698f853..b533945 100644
--- a/modules/topoh/topoh_mod.c
+++ b/modules/topoh/topoh_mod.c
@@ -318,8 +318,9 @@ int th_msg_received(void *data)
if(msg.via2==0)
{
/* one Via in received reply -- it is for local generated request
- * - nothing to unhide */
- goto done;
+ * - nothing to unhide unless is CANCEL/ACK */
+ if((get_cseq(&msg)->method_id)&(METHOD_CANCEL))
+ goto done;
}
th_unmask_via(&msg, &th_cookie_value);
@@ -385,12 +386,6 @@ int th_msg_sent(void *data)
th_del_cookie(&msg);
if(msg.first_line.type==SIP_REQUEST)
{
- if(msg.via2==0)
- {
- /* one Via in request sent out -- it is local generated
- * - nothing to hide */
- goto done;
- }
direction = (th_cookie_value.s[0]=='u')?1:0; /* upstream/downstram */
dialog = (get_to(&msg)->tag_value.len>0)?1:0;
local = (th_cookie_value.s[0]!='d'&&th_cookie_value.s[0]!='u')?1:0;
Module: sip-router
Branch: master
Commit: 41f12e01b20a6b32d26297fbdf6ce17d40823ef2
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=41f12e0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Feb 21 17:58:19 2014 +0100
topoh: don't encode/decode content for local generated messages
- requests generated by kamailio don't have headers that should be
hidden
- replies to them don't have anything hidden
- update as part of report from FS#390
---
modules/topoh/topoh_mod.c | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/modules/topoh/topoh_mod.c b/modules/topoh/topoh_mod.c
index 28a53bb..698f853 100644
--- a/modules/topoh/topoh_mod.c
+++ b/modules/topoh/topoh_mod.c
@@ -222,6 +222,13 @@ int th_prepare_msg(sip_msg_t *msg)
return 2;
}
+ /* force 2nd via parsing here - it helps checking it later */
+ if (parse_headers(msg, HDR_VIA2_F, 0)==-1
+ || (msg->via2==0) || (msg->via2->error!=PARSE_OK))
+ {
+ LM_DBG("no second via in this message \n");
+ }
+
if(parse_from_header(msg)<0)
{
LM_ERR("cannot parse FROM header\n");
@@ -308,6 +315,13 @@ int th_msg_received(void *data)
}
} else {
/* reply */
+ if(msg.via2==0)
+ {
+ /* one Via in received reply -- it is for local generated request
+ * - nothing to unhide */
+ goto done;
+ }
+
th_unmask_via(&msg, &th_cookie_value);
th_flip_record_route(&msg, 0);
if(th_cookie_value.s[0]=='u')
@@ -371,6 +385,12 @@ int th_msg_sent(void *data)
th_del_cookie(&msg);
if(msg.first_line.type==SIP_REQUEST)
{
+ if(msg.via2==0)
+ {
+ /* one Via in request sent out -- it is local generated
+ * - nothing to hide */
+ goto done;
+ }
direction = (th_cookie_value.s[0]=='u')?1:0; /* upstream/downstram */
dialog = (get_to(&msg)->tag_value.len>0)?1:0;
local = (th_cookie_value.s[0]!='d'&&th_cookie_value.s[0]!='u')?1:0;
Hi All,
I am planning to use Kamailio, to build a B2BUA with the following functionalities:
- Topology Hiding (SIP: To, From, Call-ID, P-Asserted-ID)
- Topology Hiding (SDP: Changing SDP info - and act as an RTP Proxy)
- Perform - NAPTR ENUM Query
- To Release call (If Max Duration Reached)
- Generate CDRs.
[Note: This is somewhat like a light SBC service]
Now, my question is how to develop this service over Kamailio.
Does Kamailio provide any Development APIs, which this B2BUA can use?
OR I need to enhance or built new Kamailio modules?
>From the initial understanding, I got to know, Kamailio maintains SIP Transactions, and NOT the SIP Dialog, and basically I need to build this.
It will be great if someone can give me any leads on this front.
Thanks,
SS
________________________________
The information contained in this e-mail and any accompanying documents may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient of this message, please immediately alert the sender by reply e-mail and then delete this message. Any dissemination, distribution or other use of the contents of this message by anyone other than the intended recipient is strictly prohibited. R Systems has taken every reasonable precaution to minimize the risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#384 - Crash in kamailio core - timeout on forked destinations
User who did this - Daniel-Constantin Mierla (miconda)
----------
Was there any resolution to this? I see the message from Carsten mentioning a take over.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=384#comment1304
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#397 - Kamailio doesn't to handle any SIP message at all after several dialogs... (CPU high usage)
User who did this - Daniel-Constantin Mierla (miconda)
----------
Btw, if you want to crash it, kill with signal 6 (abort). But getting backtrace by attaching with gdb to the process by pid is better to be sure the corefiles don't overwrite.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=397#comment1303
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#380 - fixes for memory leak in TLS module
User who did this - Daniel-Constantin Mierla (miconda)
----------
The patch was backported to 4.1 a while ago. For 4.0 it gives conflicts, so has to be manually crafted.
It would be good if you can send the patch for atomic_t.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=380#comment1302
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.