[SR-Users] kamctl fifo not responding

2011-01-18 Thread Anton Roman
Hi all, I'm having trouble trying to execute fifo commands with "kamctl fifo ". Just after restarting Kamailio it works fine, however, sometimes after some days running it doesn't respond. kamailio1:~#* kamctl fifo which* It doesn't respond so I input *Crtl+c* and I get: /usr/local/lib/kamailio/

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Mino Haluz
So failure_route[FAIL_ONE] { ... if (t_check_status("408")) { t_reply("480","Temporarily Unavailable"); exit; } } Thank you, but I am encountering particular problem, that there are 2 messages stored in the radius, the original 408 and my 480 Temporarily unavailabe. Can I force to d

Re: [SR-Users] kamctl fifo not responding

2011-01-18 Thread Daniel-Constantin Mierla
Hello, do you get anything in kamailio log messages when the fifo is not responding? What version of kamailio do you have? Removing and creating a new one will not help, since kamailio will not reopen, so practically will still use the old file descriptor. Cheers, Daniel On 1/18/11 10:54

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Daniel-Constantin Mierla
Do you have failed transaction accounting enabled? Can you watch the sip traffic (ngrep, wireshark), is the 408 sent to caller as well? Cheers, Daniel On 1/18/11 10:54 AM, Mino Haluz wrote: So failure_route[FAIL_ONE] { ... if (t_check_status("408")) { t_reply("480","Temporarily Un

Re: [SR-Users] ACK problem with FreeSwitch-Kamailio SBC implementation.

2011-01-18 Thread Daniel-Constantin Mierla
Hello, do you have an alias to server IP address only? If yes, then all ports will be matched locally and r-uri will be consumed as strict route. If not, can you run with high debug mode and send the output of ack routing here? Cheers, Daniel On 1/17/11 9:39 PM, Ricardo Martinez wrote:

Re: [SR-Users] Reconnection to db

2011-01-18 Thread Javier Gallart
Hi Daniel I tested the patch but the mtree module fails to start: Jan 18 04:15:55 kam-test ./kamailio[4616]: DEBUG: [db.c:202]: using db bind api for db_postgres Jan 18 04:15:55 kam-test ./kamailio[4616]: DEBUG: [db.c:285]: connection 0x931768 not found in pool Jan 18 04:15:55 kam-test ./kamail

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Mino Haluz
These are my modparams. modparam("acc", "failed_transaction_flag", 1) modparam("acc", "report_cancels", 1) modparam("acc", "report_ack", 0) modparam("acc", "early_media",0) modparam("acc", "log_level", 5) modparam("acc", "log_flag", 1) modparam("acc", "log_m

Re: [SR-Users] kamctl fifo not responding

2011-01-18 Thread Anton Roman
Hi, my reply is inline 2011/1/18 Daniel-Constantin Mierla > Hello, > > do you get anything in kamailio log messages when the fifo is not > responding? > No, I didn't find anything regarding the fifo command in the logs. > > What version of kamailio do you have? > kamailio-3.0.2, the last ti

Re: [SR-Users] Reconnection to db

2011-01-18 Thread Daniel-Constantin Mierla
Hello, I did a new tuning, skipping reconnect in submit query if connection is ok - the result might be broken due to other reasons and will be reported when fetching it. If you can try again and report, would be appreciated. Thanks, Daniel On 1/18/11 11:34 AM, Javier Gallart wrote: Hi Da

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Daniel-Constantin Mierla
Not sure if it is documented, but iirc, failed transactions accounting reports each stage of a failed forwarding (i.e., each final negative reply received for a transactions is reported). Try: modparam("acc", "failed_transaction_flag", 4) And in failure route before t_reply(480...) do setfla

Re: [SR-Users] kamctl fifo not responding

2011-01-18 Thread Daniel-Constantin Mierla
Hello, do you have ctl module loaded? If yes, you can connect with sercmd and get the pid of the fifo listener: sercmd> ps Then connect with gdb: gdb /path/to/kamailio pidoffifolistener and get the backtrace. That should show what the fifo process is doing. Also, you can get the pid of fi

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Mino Haluz
I changed the flag, and added: if (t_check_status("408|480")) { setflag(4); t_reply("480","Temporarily unavailable"); exit; } But with no difference .. On Tue, Jan 18, 2011 at 12:02 PM, Daniel-Constantin Mierla wrote: > Not sure if it is docum

Re: [SR-Users] Return code after fr_inv_timer hit

2011-01-18 Thread Klaus Darilion
Am 18.01.2011 12:02, schrieb Daniel-Constantin Mierla: Not sure if it is documented, but iirc, failed transactions accounting reports each stage of a failed forwarding (i.e., each final negative reply received for a transactions is reported). Try: modparam("acc", "failed_transaction_flag", 4)

Re: [SR-Users] Bug in LDAP module?

2011-01-18 Thread Pan B. Christensen
- Original Message - From: "Mikko Lehto" To: "Pan B. Christensen" Cc: Sent: Friday, January 14, 2011 6:08 AM Subject: Re: [SR-Users] Bug in LDAP module? Hi Pan Do you have comment on the above patch by Daniel-Constantin? I plan to use ldap module soon and would like to hear if th

[SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Vikram Ragukumar
Hello, The diagram below shows the SIP message flow in our setup when Softphone A places a call to Softphone B. --- - -- - --- |Softphone A|-<->-|Proxy|-<->-|Sip Server|-<->-|Proxy|-<->-|Softphone B| --- - --

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Alex Balashov
Vikram, 1. The port is not mandatory. 2. You can force the port in the RURI explicitly by manipulating the mutable pseudovariable $rp prior to relay, E.g. $rp = 5067; -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-06

Re: [SR-Users] Merging nathelper modules

2011-01-18 Thread Daniel-Constantin Mierla
Hello, On 1/13/11 7:38 PM, Ovidiu Sas wrote: Hello all, The nathelper module in modules_k was split in two: - nathelper (dealing with signaling); - rtpproxy (dealing with rtpproxy protocol). I would like to move the rtpproxy module from "modules_k" into "modules" and remove rtpproxy functi

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Klaus Darilion
When A places a call to B, an INVITE is proxied to the Sip Server from A. The Sip Server now sends another INVITE to the proxy, however the R-URI of this INVITE does not contain the port number that the INVITE is supposed to be sent to. Hence the proxy sends the INVITE to the default SIP port 5060

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Vikram Ragukumar
Hello, Alex, Klaus thank you for your replies. Usually the softphones register to the proxy or SIP server. Thus, the proxy or SIP server knows under which IP:port (The IP:port from which the REGISTER was received) it can contact the sofpthone. Yes, the softphones are registered to the SIP ser

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Alex Balashov
It is assumed 5060 by default. -- Alex Balashov - Principal Evariste Systems LLC 260 Peachtree Street NW Suite 2200 Atlanta, GA 30303 Tel: +1-678-954-0670 Fax: +1-404-961-1892 Web: http://www.evaristesys.com/ On Jan 18, 2011, at 2:27 PM, Vikram Ragukumar wrote: Hello, Alex, Klaus thank yo

[SR-Users] Float Comparison

2011-01-18 Thread Brandon Armstead
Hello, Is there anything special that needs to be done for float comparison? For example: if([5.5 >= 4.3]) or if(5.5 > 4.3) The conditional does not seem to be coming back as true like it should? This is simply an example... the precision in the actual case is different (longer d

Re: [SR-Users] Proxying INVITE message without port information in R-URI

2011-01-18 Thread Klaus Darilion
Am 18.01.2011 20:27, schrieb Vikram Ragukumar: Hello, Alex, Klaus thank you for your replies. Usually the softphones register to the proxy or SIP server. Thus, the proxy or SIP server knows under which IP:port (The IP:port from which the REGISTER was received) it can contact the sofpthone.

Re: [SR-Users] Float Comparison

2011-01-18 Thread Klaus Darilion
Am 18.01.2011 21:26, schrieb Brandon Armstead: Hello, Is there anything special that needs to be done for float comparison? For example: if([5.5 >= 4.3]) or if(5.5 > 4.3) The conditional does not seem to be coming back as true like it should? I have no idea if floating poin