Is there a way to access a cached database table from the config file, without using a function from a module?
Example - Lookup ip_addr from 'address' table or src_ip from 'trusted' table based on the 'tag' column. No function exists in permissions module to do this, but running 'kamctl address show ' or 'kamctl trusted show ', show that the tables along with tag column are cached.
Thanks!
-Dan
i think peer_tag_avp can help you about your problem.
http://kamailio.org/docs/modules/4.4.x/modules/permissions.html#permissions....
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Accessing-cached-database-table-tp15... Sent from the Users mailing list archive at Nabble.com.
I want to query the cached table without invoking one of the permission module methods. The only way peer_tag_avp is loaded is a result of calling allow_address() for example.
-----Original Message----- From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of ycaner Sent: Wednesday, September 28, 2016 1:41 AM To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Accessing cached database table
i think peer_tag_avp can help you about your problem.
http://kamailio.org/docs/modules/4.4.x/modules/permissions.html#permissions....
-- View this message in context: http://sip-router.1086192.n5.nabble.com/Accessing-cached-database-table-tp15... Sent from the Users mailing list archive at Nabble.com.
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users