I’m not familiar with Asterisk very good. But i need to do 3 things:
Deny calls for a specific number. For example: my company is situated in Moscow. And i want to deny calls from Moscow to St Petrsburg from a specific number.
I need to be able to make direct calls from one phone to another: i hang up and without dialing i want to be connected to specified number.
I need to configure Asterisk to make random calls to the numbers from the pool.
I’ll answer any questions for details.
Please help me!
But i don’t know HOW to do this. Can you explain me? Please.
About 2): i have 2 VoIP gateways and 2 phones… Gateways are connected to astrisk and both phones are registred. Fist phone has 101 number, the second has 102 number. I need to hang up 101 and without dialing 102 be connected ro another one. I’m using Siemens Euroset802 phones. No special functions… just phone.
Marco, would you be so kind to give me an example of configuration for 1) denying calls? Please!
What .conf file i need to edit for 1)? I really need help!
*CLI> core show function BLACKLIST
-= Info about function ‘BLACKLIST’ =-
Check if the callerid is on the blacklist
Uses astdb to check if the Caller*ID is in family ‘blacklist’. Returns 1 or 0.
This will block the caller completely. Try to google for ‘asterisk blacklist’ and you will see a lot of examples how people were doing such things before this function was introduced. The idea is to put ‘bad numbers’ into astdb and make a caller id check on each incoming call against the db.
I have asterisk 1.2… And what’s your version?