[SR-Users] Dispatcher is using gateways in Probing mode

2010-11-12 Thread alex pappas
Dear all, Does anyone can explain how Dispatcher module is sending calls to the gateways in the different states? I mean if I have 3 gateways and the one of them is in Probing mode why Dispatcher is continuing sending there calls? Why this gateway is not changing from Probing to Inactive since is

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-12 Thread Daniel-Constantin Mierla
Hi Alex, dispatcher module does not send new invites to inactive gateways. But in case a destination became inactive while some INVITEs were already through dispatcher, these recent inactive gateways may still be used for them. Regarding the probing mode, dispatcher will never select a probi

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-16 Thread alex pappas
Hi Daniel, I have configured that option before i send it the email. modparam("dispatcher", "ds_probing_threshhold", 2) I have gateways A,A,B,C. (A and A is the same gw. I want to send more calls that's why is added twice) C is the dead gateway. It never responds back to the options because is n

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-16 Thread Carsten Bock
Hi Alex, you must have set this to ds_mark_dst("i") instead of "p", only "i" will set the gateway to inactive. Also you should add a "t_check_status()" before calling ds_mark_dst() in order to define the codes, which should lead to the required state, e.g.: if (t_check_status("408|503")) { ds_

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-17 Thread alex pappas
Ηι Carsten, I added in my failure route the following : if (t_check_status("408")) { ds_mark_dst("i"); } and everything works fine. Thank you very much for your help Alex On Tue, Nov 16, 2010 at 6:03 PM, Carsten Bock wrote: > Hi Alex, > > you must have set this to ds_mark_dst("i") inste

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-17 Thread Daniel-Constantin Mierla
Hello, On 11/16/10 12:43 PM, alex pappas wrote: [..] I also tried to use “9” - use weight based load distribution but with no success. i got in the logs that this algorithm is not implemented. I'm doing something wrong here or is not implemented in this version of Kamailio. ( 3.0.1) this algo

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-18 Thread alex pappas
Hi Carsten, I tried that before but it's not what I really need. By saying that , when I added this function to my failure route then every call failure that happened (routing problem let's say) then immediately this GW was set to Inactive mode and I was not able to use it. What I'm asking is to

Re: [SR-Users] Dispatcher is using gateways in Probing mode

2010-11-19 Thread Carsten Bock
Hi Alex, do you have a "ds_mark_dst("p")" in your failure route? This needs to be called "threshhold" times in order to set the gateway to probing... And please be aware of timeouts: If you have a Transaction-timeout of e.g. 60 seconds, then the failure-route would be executed after 60 seconds and