[OpenSIPS-Users] Permissions module

Anton Zagorskiy a.zagorskiy at oyster-telecom.ru
Tue Feb 1 12:36:23 CET 2011


Can I use pseudo variable as first parameter in the function allow_routing?

I've made files domain1.allow, domain1.deny, domain2.allow, domain2.deny. 
Next, I'm calling "allow_routing("$dlg_val(cur_domain)")". In the log file I
see "DBG:permissions:check_routing: no rules => allow any routing" and
nothing more from permissions module.
In each file there is at least one rule.

What I'm doing wrong?

WBR, Anton Zagorskiy
VoIP Developer, Oyster Telecom
Phone.: +7 812 601-0666
Fax: +7 812 601-0593
a.zagorskiy at oyster-telecom.ru

More information about the Users mailing list