Re: [SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > can you give a test to latest master branch? I pushed a patch there. now also the test case where i set flag 16 works ok. thanks. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list s

Re: [SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Jason Penton
Apologies for this guys. This was our mistake. Thanks Daniel for resolving. We will test the async replies in master today. --- This mail was sent using my phone and may be brief, to the point, or contain typos --- On 24 Oct 2013 08:17, "Daniel-Constantin Mierla" wrote: > Hello, > > can you give

Re: [SR-Users] clearing pua table

2013-10-23 Thread Kristian F . Høgh
Hi David, overrride_lifetime modify the "presence duration" for the dialog, early, confirmed or terminated. The patch I created, modify the lifetime after the call terminates, to remove it from pua. When the call i active, I use the lifetime of the dialog. /Kristian. On Wednesday 23 October

Re: [SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Daniel-Constantin Mierla
Hello, can you give a test to latest master branch? I pushed a patch there. Cheers, Daniel On 10/24/13 7:39 AM, Daniel-Constantin Mierla wrote: Hello, On 10/23/13 8:31 PM, Juha Heinanen wrote: in the test where reply is not relayed, i set flag 16: setflag(16); then see this: msg_pars

Re: [SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Daniel-Constantin Mierla
Hello, On 10/23/13 8:31 PM, Juha Heinanen wrote: in the test where reply is not relayed, i set flag 16: setflag(16); then see this: msg_parser.h:#define FL_RPL_SUSPENDED (1<<16) /* for async reply processing */ could this explain what is happening? i have always thought that mess

[SR-Users] How to add debugger module in kamailio.cfg

2013-10-23 Thread Owais ul Haq
Hello, I want to add "dubugger module" in kamailio. As I want to know which part of kamailio.cfg is responsible for reply of some of incoming sip messages. Can some one please help me in this regard. Regards, Kamailio kid. ___

[SR-Users] kamailio tls.reload core dump

2013-10-23 Thread Ding Ma
Hi, all This is related to the previous tls.reload not safe email chain. Now we have a detailed gdb output that shows the stack trace of the core dump. Please take a look. This looks like a bug. Please let me know if you have any insights on how to fix this. Thanks, Ding #0 0x7f0a6126a2b2 in

Re: [SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Juha Heinanen
in the test where reply is not relayed, i set flag 16: setflag(16); then see this: msg_parser.h:#define FL_RPL_SUSPENDED (1<<16) /* for async reply processing */ could this explain what is happening? i have always thought that message flags can be freely used in the script. is it no

Re: [SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Juha Heinanen
Ovidiu Sas writes: > Do a search for FL_RPL_SUSPENDED and add some DBG probes where is set. ovidiu, i already did. the flag is only set in t_suspend.c: tm$ egrep RPL_SUSP *.c t_reply.c: if (unlikely(p_msg->flags&FL_RPL_SUSPENDED)) { t_suspend.c:msg->flags |= FL_RPL_SUSPENDED;

Re: [SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Ovidiu Sas
Do a search for FL_RPL_SUSPENDED and add some DBG probes where is set. There were some enhancements to allow t-suspend for replies: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=16e763c32d7a2b9fc451185e028a90b3be758f65 Regards, Ovidiu Sas On Wed, Oct 23, 2013 at 1:54 PM, Juh

[SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Juha Heinanen
Juha Heinanen writes: > what could cause the flag FL_RPL_SUSPENDED being set and reply being > suspended? by reading t_suspend.c, i got the impression that t_suspend() needs to be called in order to suspend the transaction. if so, i'm not calling t_suspend() or t_continue() in my config. was th

[SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Juha Heinanen
i added some INFO calls to t_reply.c: INFO(" testing suspended\n"); if (unlikely(p_msg->flags&FL_RPL_SUSPENDED)) { INFO(" skip sending of reply\n"); goto skip_send_reply; /* suspend the reply (async), no error */ } INFO("=

Re: [SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > It is a bit strange -- can you remove the 'return' (which doesn't do > anything useful there) to see if that is the cause? it cannot be the reason, because with exactly same config, some 180s are relayed. in all tests, the called party is the same and the same

Re: [SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Daniel-Constantin Mierla
It is a bit strange -- can you remove the 'return' (which doesn't do anything useful there) to see if that is the cause? Cheers, Daniel On 10/23/13 4:50 PM, Juha Heinanen wrote: i have been wondering why my proxy is not forwarding 180 ringing reply to caller that it receives from callee. invi

[SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Juha Heinanen
i compared debug of failing 180 reply to working one and i don't see any other difference except in working one reply gets relayed: ... Oct 23 18:07:43 rautu /usr/sbin/sip-proxy[8738]: DEBUG: tm [t_lookup.c:1140]: t_check_msg(): DEBUG: t_check_msg: msg id=11 global id=11 T end=0xb425e168 Oct 23 1

[SR-Users] proxy is not forwarding 180 ringing reply

2013-10-23 Thread Juha Heinanen
i have been wondering why my proxy is not forwarding 180 ringing reply to caller that it receives from callee. invite was forwarded to callee by t_relay(). proxy does not print any error messages to syslog. the only thing i get is the message i have in onreply_route: onreply_route [REPLY] {

Re: [SR-Users] clearing pua table

2013-10-23 Thread David
Hello, I may have misunderstood the thread, but why not use the override_lifetime parameter ? http://kamailio.org/docs/modules/stable/modules/pua_dialoginfo.html#idp15277344 Would this not be easier than patching the code? David On 13-10-23 09:54 AM, Kristian F. Høgh wrote: Hi, I have se

Re: [SR-Users] clearing pua table

2013-10-23 Thread Kristian F . Høgh
Hi, I have send the patch directly to Toni. I try attaching it here again for completeness, as I wasn't subscribed to the list using this email address. /Kristian. On Wednesday 23 October 2013 15:35:42 SIP Guru wrote: Hi Kristian, thank you. I'll check this. I think in some cases we are usi

[SR-Users] clearing pua table

2013-10-23 Thread SIP Guru
Hi Kristian, thank you. I'll check this. I think in some cases we are using even a higher lifetime. Could you please send me a patch with your changes for the pua_dialoginfo module in case we run into the same issue. Toni On Tuesday 22 October 2013 13:19:01 Kristian Høgh wrote: Hi, I thin

[SR-Users] Pickup group implementation in Kamailio

2013-10-23 Thread John Murray
Hi, I am also looking for a 'group pickup' function with Kamailio. Once I have the information on the call I want to get how would I 'grab' the call. My calls are being processed with the tm module. I imagine I send an INVITE with the 'replaces' header but what Kamailio module would pr

[SR-Users] ALIAS_DB module resolving to multiple user@domain does not work when use_domain is set to 1

2013-10-23 Thread Vassilis Radis
The documentation of the append_brances(int) function in ALIAS _DB module says: "If the alias resolves to many SIP IDs, the first is replacing the R-URI, the rest are added as branches." However this only works if not using the domain for resolving, i.e. use_domain is set to 0. This happens beca

[SR-Users] Fwd: Presence Proxy

2013-10-23 Thread Jan Gaida
Hello, I'd like to explain my scenario and the module I'd like to develop. I am hoping for comments whether there are already modules like that or which modules' API I could use to make the development easier. Scenario: I have two domains (A and B) with a Kamailio server in each of them configure