Re: [SR-Users] Recommended configuration for TCP support

2015-05-08 Thread Vitaliy Aleksandrov
What would happen in this case? If I understand correctly, the proxy will always forward the request but the last hop (before the UAS) will forward the request only if a connection is active? correct. If the last hop doesn't forward the request because no TCP connection exists, what happe

Re: [SR-Users] Recommended configuration for TCP support

2015-05-08 Thread Mickael Marrache
What would happen in this case? If I understand correctly, the proxy will always forward the request but the last hop (before the UAS) will forward the request only if a connection is active? If the last hop doesn't forward the request because no TCP connection exists, what happens? How the pro

Re: [SR-Users] db_text error

2015-05-08 Thread jaflong jaflong
Thanks, I got slightly more debug 0(3933) DEBUG: [route.c:907]: fix_actions(): fixing save() 0(3933) INFO: db_text [dbt_base.c:99]: dbt_init(): using database at: /usr/local/etc/kamailio/ 0(3933) DEBUG: db_text [dbt_lib.c:129]: dbt_cache_get_db(): looking for db /usr/local/etc/kamailio/! 0(3

Re: [SR-Users] Memory leak or bad setting.

2015-05-08 Thread Daniel-Constantin Mierla
Hello, it is recommended to upgrade to latest 4.2.x -- there were some fixes since version 4.2.1. The same configuration file and database structure works for all 4.2.x, therefore just deploy the newer 4.2.x like you did with 4.2.1 and just restart. After upgrade, if you still see decrease of pkg

Re: [SR-Users] db_text error

2015-05-08 Thread Daniel-Constantin Mierla
Yes, it seems it is looking for different database path -- can you double check to be sure you set db_url properly for all modules? Cheers, Daniel On 08/05/15 15:50, jaflong jaflong wrote: > Thanks, I got slightly more debug > > 0(3933) DEBUG: [route.c:907]: fix_actions(): fixing save() > 0(39

[SR-Users] Memory leak or bad setting.

2015-05-08 Thread Kjeld Flarup
Hello We experienced a failure on our kamailio (4.2.1+trusty), which required a restart. May 6 07:40:41 rtpproxy01 /usr/sbin/kamailio[5467]: ERROR: [msg_translator.c:2270]: generate_res_buf_from_sip_res(): out of mem Afterwards we inspected all the settings to be using default, but at a much hi

[SR-Users] db_text error

2015-05-08 Thread jaflong jaflong
db_text error I am getting the following error on using db_text 0(6638) INFO: db_text [dbt_base.c:99]: dbt_init(): using database at: /usr/local/etc/kamailio/ 0(6638) ERROR: db_text [dbt_base.c:207]: dbt_query(): table version not loaded! (too few columns) 0(6638) ERROR: db_text [dbt_base.c

Re: [SR-Users] db_text error

2015-05-08 Thread Daniel-Constantin Mierla
Hello, set debug=3 in kamailio.cfg and test again, you should get more details about what kamailio tried to do and what is the potential error (maybe some empty line). Cheers, Daniel On 08/05/15 14:53, jaflong jaflong wrote: > > db_text error > > I am getting the following error on using db_text

Re: [SR-Users] Recommended configuration for TCP support

2015-05-08 Thread Vitaliy Aleksandrov
Hi, I suppose calling set_forward_no_connect() at the LB for a request from the registrar to a user will lead to the result. LB won't try to make an outgoing tcp/tls connection to reach a requested destination and will only forward a request only via existing one. BR Thanks for your explan

Re: [SR-Users] NO VOICE AFTER MSILO

2015-05-08 Thread Daniel-Constantin Mierla
Hello, I suspect you call exit somewhere and the packets are not routed out. Load debugger module and enable cfgtrace parameter, then send the log messages here to see what actions from configuration files are executed. Cheers, Daniel On 01/05/15 10:51, sscc wrote: > am also cluless:-( > > > >

Re: [SR-Users] Kamailio proxy for far-end nat traversal

2015-05-08 Thread Daniel-Constantin Mierla
Hello, you can force rtp relaying always, if it is what you want -- just call rtpproxy_manage() for all INVITE requests and their replies. Otherwise you have to tune the nat_uac_test() parameter in order to match what you want to relay. For signaling relaying, be sure you do record_route() for c

Re: [SR-Users] Timer Process versus Slow Timer Process

2015-05-08 Thread Daniel-Constantin Mierla
Hello, On 07/05/15 16:32, Mack Hendricks wrote: > Hi All, > > I'm looking to have a better understanding of when to use the Timer > process versus the "Slow Timer" Process. This is what I came up with, > but please correct me: > > * The “*Timer*” process is used to handle core processing within

Re: [SR-Users] Kamailio authentication method

2015-05-08 Thread Daniel-Constantin Mierla
Hello, On 07/05/15 15:38, Mathys Frédéric wrote: > > Still on the subject, we are exploring the possibilities and one of > them would be to use the diameter module. As stated in the documentation : > > “NOTE: diameter support was developed for DISC (DIameter Server Client > project at http://devel

Re: [SR-Users] Kamailio authentication method

2015-05-08 Thread Daniel-Constantin Mierla
Hello, On 07/05/15 09:49, Mathys Frédéric wrote: > > Hello Daniel, > > > > Thank you for your answer, this is exactly what I need. Modification > of the auth module seems to be a better solution, but this lead to > some questions for me… > > - Could you explain a little bit how the aut