[OpenSIPS-Users] 1.8 Dispatcher ignore 500x replies

2013-02-20 Thread Adam Raszynski
Hi When I use dispatcher module and it gets 50x response from destination host it automatically marks that destination as inactive for some time period I only need to disable destinations when they don't respond for OPTIONS probing 50x errors should not mark destinations as inactive How to do

Re: [OpenSIPS-Users] 1.8 Dispatcher ignore 500x replies

2013-02-20 Thread Bogdan-Andrei Iancu
Hi Adam, See the options_reply_codes parameter for the dispatcher module: http://www.opensips.org/html/docs/modules/1.9.x/dispatcher.html#id250429 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 02/20/2013 12:31 PM, Adam Raszynski wrote:

Re: [OpenSIPS-Users] 1.8 Dispatcher ignore 500x replies

2013-02-20 Thread Adam Raszynski
As I can see options_reply_codes is related to OPTIONS responses and that's not the problem The problem is when OpenSIPS with dispatcher module receives 500 or 503 response for INVITE request and after then for some period that destination is marked offline. OpenSIPS gives Service Unavailable

Re: [OpenSIPS-Users] 1.8 Dispatcher ignore 500x replies

2013-02-20 Thread Bogdan-Andrei Iancu
Hi Adam, In such case, in failure route, when you do ds_mark_dst() and ds_next_xx(), do not do it for 500 or 503 replies - make in script a reply code filter to detect proper failure cases. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On