On Sat, Oct 9, 2010 at 7:22 PM, Shrouk Khan shroukkhan@softverk.is 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 0 192.168.189.1 32 5060
so the mask is the issue ? or the ip address . I am not great with networking . i am just trying to allow 192.168.189.1 to be able to send INVITE msg.
On Sat, Oct 9, 2010 at 7:13 PM, Iñaki Baz Castillo ibc@aliax.net wrote:
2010/10/9 Shrouk Khan shroukkhan@softverk.is:
its kamailio 3.0.3 from : http://www.kamailio.org/pub/kamailio/3.0.3/src/
And have you checked the netries in "address" table as I have suggested?
-- Iñaki Baz Castillo ibc@aliax.net
-- Regards
Shrouk Khan (Khan) System Administrator / Telecommunication System Developer Office: +354 4400807 (Reykjavik) +44 2031370800 (London) Mobile: +66 875049439 (Bangkok)
Web: www.softverk.is
Reykjavik, Iceland // London, UK // Bangkok, Thailand
2010/10/9 Shrouk Khan shroukkhan@softverk.is:
On Sat, Oct 9, 2010 at 7:22 PM, Shrouk Khan shroukkhan@softverk.is 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 0 192.168.189.1 32 5060
so the mask is the issue ? or the ip address . I am not great with networking . i am just trying to allow 192.168.189.1 to be able to send INVITE msg.
'grp' shouldn't be zero, but being zero shouldn't originate your issue anyhow. But try changing it.
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 ibc@aliax.net wrote:
2010/10/9 Shrouk Khan shroukkhan@softverk.is:
On Sat, Oct 9, 2010 at 7:22 PM, Shrouk Khan shroukkhan@softverk.is 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 0 192.168.189.1 32 5060
so the mask is the issue ? or the ip address . I am not great with networking . i am just trying to allow 192.168.189.1 to be able to send INVITE msg.
'grp' shouldn't be zero, but being zero shouldn't originate your issue anyhow. But try changing it.
-- Iñaki Baz Castillo ibc@aliax.net
2010/10/9 Shrouk Khan shroukkhan@softverk.is:
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 inmediately. In fact, the default value of "grp" column is 1 (check the table schema).
[*] http://kamailio.org/docs/modules/stable/modules_k/permissions.html#id2884734