Re: [SR-Users] Dialog module - db_fetch_rows

2015-08-24 Thread Daniel-Constantin Mierla
Hello, db_fetch_rows is about setting the value of how many rows to be loaded at once. 0 is a special value meaning that this limit is not set and all rows are loaded at once. db_fetch_rows is common parameter for other modules (e.g., usrloc) with same kind of behaviour, so I would not change the

Re: [SR-Users] Proxy-Require: privacy error

2015-08-24 Thread Daniel-Constantin Mierla
This is not related to log messages -- see the parameter: http://kamailio.org/docs/modules/stable/modules/sanity.html#sanity.p.proxy_require You can remove the check for proxy-require header from sanity_check() parameter as well. Cheers, Daniel On 22/08/15 11:08, Chad wrote: > Well I can't igno

[SR-Users] Request timout - Change value

2015-08-24 Thread Loic Chabert
Hello everybody, I'm using kamailio as a dispatcher in front of asterisk boxes and i use a failure route if asterisk box does not respond or send 500error. failure_route[RTF_DISPATCH]{ if(t_is_canceled()){ exit(); } if(t_check_status("500") || (t_branch_timeout() && !t_branch

Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Daniel-Constantin Mierla
Hello, see t_set_fr() function of tm module -- with it you can set the timeout per transaction, for each step of forwarding -- just use it when you want to change the value. Cheers, Daniel On 24/08/15 11:54, Loic Chabert wrote: > Hello everybody, > > I'm using kamailio as a dispatcher in front o

Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Loic Chabert
Hello Daniel, Thanks for your reply, but i dont need to set timeout value for a particular request, i need to set it globally. Is-it possible to handle it ? If not, i will execute this function before launch t_on_failure(). Thanks. 2015-08-24 12:23 GMT+02:00 Daniel-Constantin Mierla : > Hello,

Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Daniel-Constantin Mierla
Hello, there are parameters for tm module to set the timeout values: fr_timer and fr_inv_timer. When you want to set it per transaction with t_set_fr(), the best is to do it somewhere before t_relay(), with the value you want for that forwarding step. Cheers, Daniel On 24/08/15 12:34, Loic Chab

Re: [SR-Users] CRITICAL log on kamailio startup

2015-08-24 Thread Nuno Reis
Good morning. Has anyone seen this too? Looking forward to hear from you. BR, -- *Nuno Miguel Reis* | *Unified Communication** Systems* M. +351 913907481 | nr...@wavecom.pt WAVECOM-Soluções Rádio, S.A. Cacia Park | Rua do Progresso, Lote 15 3800-639 AVEIRO | Portugal T. +351 309 700 225 | F. +35

Re: [SR-Users] CRITICAL log on kamailio startup

2015-08-24 Thread Daniel-Constantin Mierla
Hello, are you loading any module using dialog before it? You can paste your loadmodule lines here if you are not sure which one depends on dialog. Cheers, Daniel On 24/08/15 13:20, Nuno Reis wrote: > Good morning. > Has anyone seen this too? > Looking forward to hear from you. > > BR, > > -- >

Re: [SR-Users] Dialog module - db_fetch_rows

2015-08-24 Thread jay binks
With that in mind , I have fixed the documentation and reverted my change in https://github.com/kamailio/kamailio/pull/295 I've also added a basic db_skip_load as suggested. ( however is there an easy way to fix the readme, without manually re-numbering everything ? ) On 24 August 2015 at 17:10

Re: [SR-Users] Dialog module - db_fetch_rows

2015-08-24 Thread Daniel-Constantin Mierla
To update the content of the README you have to add to/change the content of the xml files in doc/ subfolder of the module, then run: make modules-readme modules=modules/dialog Some more details: - http://www.kamailio.org/wiki/devel/module-docbook-readme - http://www.kamailio.org/wiki/devel/

Re: [SR-Users] Request timout - Change value

2015-08-24 Thread Loic Chabert
Thanks Daniel, My voip system is now more reactive if an hosted failed ! Thanks. Regards. 2015-08-24 12:40 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > there are parameters for tm module to set the timeout values: fr_timer and > fr_inv_timer. > > When you want to set it per transaction wit

Re: [SR-Users] dmq_usrloc

2015-08-24 Thread Charles Chance
Hi, I have pushed a change to master which should prevent the crash. You'll still need (for now) to use "location" in save/lookup - I will add multi-domain replication later but there needs to be some enhancement to the usrloc API first. Please confirm this fixes the crash and I will backport to

[SR-Users] Rewrite Invite w/o sdp

2015-08-24 Thread Serge Yuriev
Hello, Our PBX (Cisco CallManager) uses "late offer" sending invites w/o sdp. After receiving provisional reply 18x it answers prack with sdp I'm trying to realize following scenario: 1 Pbx (invite no sdp) 2 kamailio hold and saves invite 3 send 183 to Pbx 4 get prack with sdp 5 construct new i

[SR-Users] OT: some github stuff

2015-08-24 Thread Daniel-Constantin Mierla
Hello, wondering if people here can shed some light on few github things: 1) is possible to have a multi-line project description (the text at the top of https://github.com/kamailio/kamailio)? Maybe a special format (I tried to add \n or , but they were displayed as is, not interpreted). I would

Re: [SR-Users] dispatcher gateway probing in 4.3

2015-08-24 Thread Joseph Dickson
For any interested, I did a quick fork and change and put in the following pull request: https://github.com/kamailio/kamailio/pull/297 I basically just added a new probing mode (3), DS_PROBE_ONLYFLAGGED, which doesn't reset the probing state. This covers my use case, in that I can set probing on

Re: [SR-Users] OT: some github stuff

2015-08-24 Thread Fred Posner
On 08/24/2015 02:34 PM, Daniel-Constantin Mierla wrote: > 2) is there any specific content/marker to add to README to have it > interpreted as markdown (without adding .md extensions)? Something like > a special first or last line, ... It will be displayed nicer, but > renaming will result in chang