[sr-dev] git:master: modules_k: ratelimit - removing rl_drop functionality
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jul 5 12:32:30 CEST 2010
Hello,
On 7/5/10 12:29 PM, Henning Westerholt wrote:
> On Saturday 03 July 2010, Ovidiu Sas wrote:
>
>> modules_k: ratelimit - removing rl_drop functionality
>>
>> - rl_drop is now obsolete: same functionality can be
>> achieved by invoking:
>> append_to_reply("Retry-After: 5\r\n");
>> sl_send_reply("503","Limiting");
>>
> Hi Ovidiu,
>
> if you like to achive the existing functionality of rl_drop with a random
> Retry-After, you additionally need to use the $RANDOM PV with from cfgutils
> with e.g. a modulo operation in the script.
>
do not forget to add notes about these updates in the migration wiki page:
http://sip-router.org/wiki/install/3.0.x-to-3.1.x
Thanks,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com/
More information about the sr-dev
mailing list