On 10/9/10 3:35 PM, Iñaki Baz Castillo wrote:
2010/10/9 Shrouk Khan:
Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: ERROR: permissions
[address.c:156]: database problem
Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: CRITICAL: permissions
[address.c:233]: reload of address table failed
Oct 9 04:44
On 10/9/10 3:07 PM, Juha Heinanen wrote:
Iñaki Baz Castillo writes:
Hi Juha, the above error occurs because "grp" is 0. Could the log be
improved so it doesn't complain about shared memory and instead tells
that "grp" cannot be zero?
there was a commit recently to kamailio_3.0
modules_k/perm
Iñaki Baz Castillo writes:
> Hi Juha, the above error occurs because "grp" is 0. Could the log be
> improved so it doesn't complain about shared memory and instead tells
> that "grp" cannot be zero?
there was a commit recently to kamailio_3.0
modules_k/permissions/address.c. perhaps is already f
2010/10/9 Shrouk Khan :
> Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: ERROR: permissions
> [address.c:156]: database problem
> Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: CRITICAL: permissions
> [address.c:233]: reload of address table failed
> Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: ERROR:
2010/10/9 Shrouk Khan :
> WOW changing grp to 1 fixed the issue.
>
> So , why can it not be zero ?
Because allow_source_address_group() [*] function returns as integer
the value of "grp" column and any module exported function returning 0
means that the request/response processing terminates inmed
WOW changing grp to 1 fixed the issue.
So , why can it not be zero ?
On Sat, Oct 9, 2010 at 7:29 PM, Iñaki Baz Castillo wrote:
> 2010/10/9 Shrouk Khan :
>> On Sat, Oct 9, 2010 at 7:22 PM, Shrouk Khan wrote:
>>> hi,
>>> actually if i make the address table empty , it works. but if i add
>>> any
2010/10/9 Shrouk Khan :
> On Sat, Oct 9, 2010 at 7:22 PM, Shrouk Khan wrote:
>> hi,
>> actually if i make the address table empty , it works. but if i add
>> any entry to it , it stops working .
>> my address table looks like this:
>>
>>
>> id grp ip_addr mas
On Sat, Oct 9, 2010 at 7:22 PM, Shrouk Khan wrote:
> hi,
> actually if i make the address table empty , it works. but if i add
> any entry to it , it stops working .
> my address table looks like this:
>
>
> id grp ip_addr mask port
> 3
2010/10/9 Shrouk Khan :
> ct 9 04:44:25 ubuntu /sbin/kamailio[1469]: WARNING: permissions
> [permissions.c:604]: default allow file (//etc/kamailio/permissions.allow)
> not found => empty rule set
> Oct 9 04:44:25 ubuntu /sbin/kamailio[1469]: WARNING: permissions
> [permissions.c:613]: default de
hi all, i am trying to load the permission module in the following manner:
loadmodule "permissions.so"
# permission params --
modparam("permissions", "db_url",
"mysql://openser:opense...@localhost/openser")
modparam("permissions", "db_mode",1)
modparam("permissions", "trusted_table", "tr
10 matches
Mail list logo