[Home]

Summary:ASTERISK-01976: adds incominglimit and outgoinglimit to mysql user
Reporter:ehud (ehud)Labels:
Date Opened:2004-07-08 17:24:52Date Closed:2011-06-07 14:04:51
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_sip_c.diff.txt
Description:mysql type=user (feature 1815) doesn't implement
incominglimit=n and outgoinglimit=n.

This patch does.

****** ADDITIONAL INFORMATION ******

mysql> alter table sipusers add column inlimit integer;

mysql> alter table sipusers add column outlimit integer;

mysql> update sipusers set inlimit=0;

mysql> update sipusers set outlimit=0;
Comments:By: Brian West (bkw918) 2004-07-08 19:15:21

kinda pointless as user limits never work right.  app_groupcount works better for channel limits.  and out/inlimit is going to be ripped out at some point.  Or thats the plan.

By: Olle Johansson (oej) 2004-07-09 05:14:36

have you *really* confirmed that this works?

Since we are not keeping SIP mysql peers in memory, we are not saving any states for them either - that means that the counter is reset at each call and *no* limits are enforced.

By: Olle Johansson (oej) 2004-07-12 04:50:47

No answer from Ehud.