Hello all,
I have some trouble with permissions module and allow_routing().
I want to allow_routing ONLY from IP 1.2.3.4 (which is my PSTN GW) and all the rest will be denied (actually all the other will be send for authentication with "radius_proxy_authorize").
What is the syntax of the permissions.* files ? The following doesn't work..
permissions.deny: ALL : ALL
permissions.allow: "^sip:*@1.2.3.4" : "^sip:*@10.10.10.1"
where 10.10.10.1 is my SER's IP.
thanks for any help, Kostas
Check SER log messages to see if permissions module can find your permissions.allow and permissions.deny. Typically the reside in the same directory as the main configuration file.
Jan.
Kostas Marneris wrote:
Hello all,
I have some trouble with permissions module and allow_routing().
I want to allow_routing ONLY from IP 1.2.3.4 (which is my PSTN GW) and all the rest will be denied (actually all the other will be send for authentication with "radius_proxy_authorize").
What is the syntax of the permissions.* files ? The following doesn't work..
permissions.deny: ALL : ALL
permissions.allow: "^sip:*@1.2.3.4" : "^sip:*@10.10.10.1"
where 10.10.10.1 is my SER's IP.
thanks for any help, Kostas