[SR-Users] pipelimit rate question

Daniel-Constantin Mierla miconda at gmail.com
Sun Oct 19 11:51:23 CEST 2014


On 19/10/14 09:28, Alex Balashov wrote:
> On 10/19/2014 03:25 AM, Alex Balashov wrote:
>
>> If I don't use DB backing, there is no MI/RPC command to flush existing
>> pipes and cause them to be recreated with reconstituted limits.
>
> I should clarify: there is the pl.set_pipe command, but it does not
> like the pipe name being an integer as given in the example, i.e.
>
>    kamcmd pl.set_pipe 2 RED 10
>
> This gives me:
>
> [root at centosity6 kamailio]# kamcmd pl.set_pipe 1 TAILDROP 50
> error: 400 - error at parameter 0: expected string type but record
> doesn't match type
This is kamcmd auto-converting numbers to integer, use:

kamcmd pl.set_pipe s:2 RED 10

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list