Hi,
I use to add
if (!(is_method("REGISTER") || is_from_gw()) || is_method("INVITE"))
{and it works as I try to set it as
if (!(is_method("REGISTER") )) {
$avp(ip) = $si;
$avp(port) = 5060;
$avp(proto) = $proto;
Hi,
I have a problem when I include the same IP address in dr_gateways
(do_routing ) and in address table (permission module)
In other words I have a problem when the IP address exists as provider and
as client
The below function is not recognizing the IP address when it exists as
provi
Hey All,
The problem was with datatype of mask column.
This has to be updated in the doc mentioned here
http://www.opensips.org/html/docs/db/db-schema-1.6.x.html#AEN3632.
The doc specifies mask column to be char while opensips expects it to be
int.
Its working now.
Thanks all,
--- Jayesh
On Sat
Hi Bogdan,
Here is the resultset of the query "Select * from trusted_hosts"
id grp host mask port
protocolpattern context_info
1 1 122.160.231.66 320
udp^sip:.*$
Note: The
This happen to me before when i have a space at the end of the ip address
inserted into the database.
--
View this message in context:
http://opensips-open-sip-server.1449251.n2.nabble.com/permission-module-problem-tp5273775p5276518.html
Sent from the OpenSIPS - Users mailing list archive at Na
Hi Jayesh,
Could you post the exact content of the "address" table ? Do a "select
* from address" .
Regards,
Bogdan
Jayesh Nambiar wrote:
> Hi All,
> I am trying to use the permission module and test the address
> functions. But whenever I try to start opensips I get the following error:
> ER
Hi All,
I am trying to use the permission module and test the address functions. But
whenever I try to start opensips I get the following error:
ERROR:permissions:reload_address_table: database problem
Jul 9 10:19:11 [10964] DBG:core:db_allocate_rows: allocate 272 bytes for
result rows and values
Hi Wesley,
The number of parameters is not correct, See:
http://www.opensips.org/html/docs/modules/devel/permissions.html#id271903
Regards,
Bogdan
Wesley Volcov wrote:
> Hello all,
>
> I've got the follow problem. I'm using opensips 1.6.1-notls version.
>
> First, see my script conf:
>
> lo
Hello all,
I've got the follow problem. I'm using opensips 1.6.1-notls version.
First, see my script conf:
loadmodule "permissions.so"
modparam("permissions","db_url", "mysql://opensips:opensip...@localhost
/opensips")
if (check_address()) {
if (!proxy_authorize("","sub