I just upgraded my b2bua opensips server to the latest trunk version and now my if statements using &quot;check_source_address&quot; from the permissions module isn&#39;t working. I have the following set up<br /><br />loadmodule &quot;permissions.so&quot;<br />modparam(&quot;permissions&quot;,&quot;db_url&quot;,&quot;mysql://adfasdf:dfasdfasd@108.XXX.XXX.XXX/opensips&quot;)<br /><br /><br />if (check_source_address(&quot;2&quot;) || check_source_address(&quot;3&quot;) || check_source_address(&quot;4&quot;)) {<br /><br />The INVITE comes from my SIP Proxy and worked before the upgrade without issue<br /><br /><br /><br />Feb 1 22:41:01 proxy01 /usr/local/sbin/opensips[30163]: DBG:permissions:check_src_addr_3: Looking for : &lt;2, 173.XXX.XXX.XXX, 5060, 1&gt; in tables<br />Feb 1 22:41:01 proxy01 /usr/local/sbin/opensips[30163]: DBG:permissions:hash_match: specified group does not exist in hash table<br />Feb 1 22:41:01 proxy01 /usr/local/sbin/opensips[30163]: DBG:permissions:match_subnet_table: subnet table is empty<br />Feb 1 22:41:01 proxy01 /usr/local/sbin/opensips[30163]: DBG:permissions:check_src_addr_3: Looking for : &lt;3, 173.XXX.XXX.XXX, 5060, 1&gt; in tables<br />Feb 1 22:41:01 proxy01 /usr/local/sbin/opensips[30163]: DBG:permissions:hash_match: specified group does not exist in hash table<br />Feb 1 22:41:01 proxy01 /usr/local/sbin/opensips[30163]: DBG:permissions:match_subnet_table: subnet table is empty<br />Feb 1 22:41:01 proxy01 /usr/local/sbin/opensips[30163]: DBG:permissions:check_src_addr_3: Looking for : &lt;4, 173.XXX.XXX.XXX, 5060, 1&gt; in tables<br />Feb 1 22:41:01 proxy01 /usr/local/sbin/opensips[30163]: DBG:permissions:hash_match: specified group does not exist in hash table<br />Feb 1 22:41:01 proxy01 /usr/local/sbin/opensips[30163]: DBG:permissions:match_subnet_table: subnet table is empty<br /><br /><br /><br /><br />This is what I have in the database<br />Proxy01:/var/log# opensipsctl db show address<br />+-----+-----+----------------+------+------+-------+---------+--------------+<br />| id | grp | ip | mask | port | proto | pattern | context_info |<br />+-----+-----+----------------+------+------+-------+---------+--------------+<br />| 3 | 2 | 216.XXX.XXX.202 | 32 | 5060 | any | NULL | NULL |<br />| 258 | 4 | 64.XXX.XXX.15 | 32 | 5060 | any | NULL | NULL |<br />| 1 | 10 | 173.XXX.XXX.XXX | 32 | 5060 | any | NULL | NULL |<br />| 2 | 10 | 173.XXX.XXX.XXX | 32 | 5060 | any | NULL | NULL |<br />| 257 | 3 | 173.XXX.XXX.XXX | 32 | 5060 | any | NULL | NULL |<br />| 4 | 2 | 216.XXX.XXX.202 | 32 | 5060 | any | NULL | NULL |<br />+-----+-----+----------------+------+------+-------+---------+--------------+<br /><br /><br /><br />I am not sure if OpenSIPS is really querying the mysql database because I don&#39;t really see any connections from the server when a call is made.  How could this be possible?  When I start OpenSIPS I see that it talks to the database.