[OpenSIPS-Users] 1.8 Dispatcher ignore 500x replies

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Feb 20 17:22:57 CET 2013


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 <bogdan at opensips.org 
> <mailto:bogdan at 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 at lists.opensips.org  <mailto:Users at lists.opensips.org>
>>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130220/6b0b3d56/attachment-0001.htm>


More information about the Users mailing list