Not really though Elastix but with your VoIP provider, yes. Make sure you have the most up to date FreePBX version. Then, copy everything in the PEER Details of your provider's trunk. Create a new trunk and paste all those lines in the PEER Details. Then, for outbound caller ID, type 'unknown' and check the box "Never Override Caller ID".
In outbound routes, make a new outbound route, call it "Private". To your dial plan, add:
(if you are in USA only, the above dial plan will work)
Then, for trunk sequence, use the trunk we just created
Make sure your phone's dial plans accept *67xxxxxxxxxxx
You're all set to go. Just test before use as each provider may vary.
Yes, this is what I want to do
but unfortunatly my blacklist module does not work correctly. when you put a number or remove a number in the blacklist with the "Feature code" it works but this number can make and receive calls even though this number is in the blacklist.