[OpenSIPS-Users] How to increase cache in opensips tables

Irina Stanescu istanescu at opensips.org
Wed Jan 6 15:36:44 CET 2010


Hello Ahmed,


Firstly, I need to see the log so I could understand better the error 
you get. I don't think the problem is that the cache is too small.

Also, you cannot use 0 for the group id, the documentation says:
"group_id

This argument represents the group id to be matched. It can be an 
integer string or a string pvar. If the group_id argument is "0", the 
query can match any group in the cached address table"


Secondly, as the name suggests, the ip column is reserved for IPs only. 
You cannot add domain name addresses to this column.


Regards,
Irina Stanescu


Ahmed Munir wrote:
> Hi,
>
> I'm using permission module's function check_source_address(), the 
> problem I'm facing is that I can not add not than more 8 IPs in 
> address table, but I want to permit more than 100 IPs. I only want to 
> use these IPs on group 0 what I am using. When I enter more than 8 IPs 
> in address table and make a call, I observe a message i.e. not found 
> in hash table.My opensips.cfg configuration for check_source_address() 
> is listed below;
>
>   if (is_method("INVITE") && check_source_address("0")) {
>                 log("########INVITE#######################");
>                 ds_select_domain("1","4");
>                 forward();
>                 route(1);
>                 log("#####END");
>                 setflag(1);
>         }
>
>
> Kindly advise me how to increase cache of OpenSIPs database tables so 
> I can reslove my case. Further added, how can I enter domain name in 
> 'ip' column section of address table i.e. abc.com <http://abc.com> 
> can't be used and gives me an error, kindly advise this well.
>
> -- 
> Regards,
>
> Ahmed Munir
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>   




More information about the Users mailing list