[OpenSIPS-Devel] [ opensips-Bugs-3489766 ] 1.7.1 - dispatcher - options_reply_codes ignored

SourceForge.net noreply at sourceforge.net
Tue Feb 21 14:22:13 CET 2012


Bugs item #3489766, was opened at 2012-02-20 13:56
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3489766&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.7.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Vladut-Stefan Paiu (vladut-paiu)
Summary: 1.7.1 - dispatcher - options_reply_codes ignored

Initial Comment:
If i set for example:
modparam("dispatcher", "options_reply_codes", "501, 403")
and a gateway responds "488 Not Acceptable Here" then the gateway remains active.

So it looks to me like the "options_reply_codes" is ignored.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2012-02-21 05:22

Message:
Yes, i have ds_probing_mode set to 1.
When i restart OpenSIPS this gateway is marked as active immediately but
the gateway always responds a 488.
Does this mean;
   - all gateways are marked active on startup and
   - a gateway that responds remains active whatever the reply code is?
Thank in advance!

----------------------------------------------------------------------

Comment By: Vladut-Stefan Paiu (vladut-paiu)
Date: 2012-02-21 03:21

Message:
Hello,

The options_reply_codes represent the codes that will be accepted when a
gateway is in probing and it being pinged in order to get it back to the
active state. So, for your example, when a GW is in probing and it replies
to an Options with 200, 501 or 403, it will be marked again as active.

In your case, do you have ds_probing_mode set to 1, so you ping all
gateways ?

Regards,
Vlad

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3489766&group_id=232389



More information about the Devel mailing list