[OpenSIPS-Users] Fwd: Opensips 3.0 permission table not sending proper context info

Vic Jolin adjolin at gmail.com
Wed Jun 17 18:15:32 EST 2020


Hi all, I have IP addresses setup in my mysql table address

+----+-----+----------------+------+------+-------+---------+--------------+
| id | grp | ip             | mask | port | proto | pattern | context_info |
+----+-----+----------------+------+------+-------+---------+--------------+
|  9 |   1 | x.x.x.x   |    1 | 5060 | any   |         | 10           |
+----+-----+----------------+------+------+-------+---------+--------------+

But when I check source address in opensips.cfg

check_source_address( 1, $avp(groupid))
xlog("Call coming from trunk with $avp(groupid)\n");

The output thou is:
*Call coming from trunk with 1*

Can anyone shed some light on this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200618/bf5996fa/attachment.html>


More information about the Users mailing list