Is there a way to create different dialing permissions. I can't seem to find a way to create more beyond the three already there.
I want to allow local calls, toll free calls, but not 900 or local toll or long distance the only options I see are:
Allow calling all numbers (no good for me)
Disallow calling restricted numbers (where are restricted numbers assigned)
Allow internal and Emergency numbers only. (no good for me)
Whats there usually does it for me -
Do this with an inter-relation of specific outbound routes, associated route types, and extension dialing permissions.
Here's an example: You have a PBX assigned to your family. Using outbound routes, you make 10 & 11 digit NANPA and International calls 'Restricted' and local calls as 'Unrestricted', so you can control who can use them.
Then you make your wife's extension able to dial all numbers, but you set your mother in-law's extension to 'Disallow calling restricted numbers', so she can't run up your LD and INTL bill. You could then set up outbound routing for outwats (tollfree 8xx) 10 & 11 digit as 'Unrestricted' and your mom-in-law could then dial toll-free but no other 10 or 11-digit numbers, if that was free for you.
If you kinda dislike her anyway, you could set her extension to 'Allow internal and emergency numbers only, and she could only call the extensions in your PBX or what you've designated as emergency numbers.
If you hate her, you could just set her SIP password to whatever your favorite pet name for her is, and never offer to reprogram her phone. Or just never offer to put her on your PBX.
Custom Tag - a way to treat some extensrion differently
Now you can also use Custom Tag to associate arbitrary data with any extension and write your own script for dialing out which could retrieve the tag from asterisk database (TL/username-for-the-extension/tag) and do about anything you'd like based on the data in the tag. Probably a good way to write this script would be to do custom processing and then call tl-dialout-base.
Alex
What you would need to do is to create outbound routes for the specific patterns (like 900) you want to control and make them restricted (by selecting that in the dropdown).
An alternative would be to create your own copy of tl-dialout-base or tl-dialout-x-trunk (x = 1, 2) script.
Best regards,
Alex