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 02/20/2013 04:40 PM, Adam Raszynski wrote:
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 response for further INVITE
requests. After then when dispatcher gets some proper responses for
OPTIONS it marks that destination online again and INVITES are
forwarded (until next 503 is sent in response to INVITE and the story
repeats)
The question is how to change that behavior, so one 503 response for
INVITE from dispatcher destination don't make it marked offline for
all other requests?
2013/2/20 Bogdan-Andrei Iancu <bog...@opensips.org
<mailto:bog...@opensips.org>>
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:
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 this?
Kind Regards
_______________________________________________
Users mailing list
Users@lists.opensips.org <mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users