Dear friends, I turn to you for help because I cannot cope.
I have a PBX based on Issabel’s asterisk.
The basic configuration of calling inside, outside, in groups, on certain days is familiar to me and I can handle it.
I’ve been struggling with the internal call blocking configuration for a few days now.
-30 internal numbers (numbers 100-130)
-3 groups (600-603)
-1 sip trunk
Group1 - secretariat -600
Group2 - boss - 601
Group3 - employees - 602
-100 - secretary’s office
-101 - reception
-103 - boss 1
-104 - boss 2
-105 - boss 3
-106 - protection
-107-130 - employees
I need that no one outside the secretariat can reach the bosses (103,104,105) or the group of bosses (602). An employee who wants to call the bosses must be immediately forwarded to the secretary’s office (100) and the secretary’s office is to transfer the call.
I’ve read a lot of posts on various forums and sites. I found that I can accomplish this by one of the options:
- Configure extension.conf, custom, aditional …
- Through the “Boss Secretary” module
- Through the “Class of Service” module
I have done all these options but still have the problem
- By changing the extension.conf
exten => _101/_103,1,Hangup)
exten => _103/_101,1,Hangup)
exten => _106/_103,1,Hangup)
exten => _103/_106,1,Hangup)
…
Calls from numbers 101 and 106 to 103 are automatically blocked, there is no automatic redirection to the secretariat.
If I call the secretariat directly from 101 and 106 and redirect to 103 - the call is terminated.
- Boss Secretary
GROUP LABEL: NOBOSS
BOSSES/CHIEFS: 103,104,105
SECRETARIES: 100
Calls to bosses numbers are forwarded to the secretariat (100). Secretariat answers the call and redirects to a specific boss.
But if the secretariat rejects the incoming call, the telephone exchange automatically redirects the call to the previously selected boss by the caller …
-
“Class of Service” module
Again, to some extent I achieved what I wanted.
I have three instances of misconfiguration -
internal calls to the BOSS first go to the SECRETARY, then the secretariat redirects them to the target BOSS.
Outside calls are also sent first to the secretary’s office, then the secretary’s office forwards them to the destination external number
(outside calls must work without secretarial acknowledgment/forwarding) -
internal calls to the BOSS do not go anywhere (ringing signal in the handset and nothing else)
External connections work fine. -
internal calls to the BOSS first go to the SECRETARY, then the secretariat redirects them to the target BOSS.
Calls outside go nowhere (ringing tone on handset and nothing else)
I have not found which functions to mark as: “ALLOW”, “ALLOW RULES”, “DENY”, “DENY RULES”
Would anyone be able to solve my problem?
Regards