Yes,
Here is an example:
voice grouped-trunk VOIP
trunk T01
accept $ cost 0
reject 12125551212
This trunk will accept all calls except 12125551212.
Is that for blocking outgoing calls or for blocking incoming calls?
That is to block calls going out that trunk.
If you want to block calls coming from this trunk you can block it on the destination trunk.
Here is an example of a system with a VoIP trunk and a PRI trunk:
voice grouped-trunk PRI
trunk T02
accept $ cost 0
reject 12125551212 <- Blocks calls from the VoIP to PRI
voice grouped-trunk VOIP
trunk T01
accept $ cost 0
reject 12125551212 <- Blocks calls from the PRI to VoIP
If you have more than two trunks you may want to use SABR https://supportforums.adtran.com/docs/DOC-1862
How would we go about blocking Incoming calls?
Please post your config.
Kurttsc,
Thanks for posting! The Total Access 900 series does not support blocking calls from a SIP trunk to an voice user (FXS port). If the inbound call reaches the internal switchboard with destination that matches a voice user number, identity, or alias, the unit will ring the associated port. However, you may be able to block this call in the network or on the customer PBX.
Thanks!
David
David,
Would it be possible to use an HMR Ruleset that matches on the from header and then rewrites to the to header to an invalid number and set up the policy to run the rule on calls coming in on the sip trunk? Just a thought.
John Wable
John,
Yes, that could work. However, I would typically recommend that this type of feature be handled on the SIP server, SBC, or customer PBX. If we use HMR to essentially "break" the valid call, it could have unexpected consequences on the network side. I would be concerned about call loops or failover initiation on the network side if we were to respond with something like a 404 Not Found to a valid call.
Thanks!
David
Kurttsc,
I went ahead and flagged this post as "Assumed Answered" as well as your other post. If any of the responses on this thread assisted you, please mark them as Correct or Helpful as the case may be with the applicable buttons. This will make them visible and help other members of the community find solutions more easily. If you still need assistance, I would be more than happy to continue working with you on this - just let me know in a reply.
Thanks!
David
Kurttsc,
Since this answer is from 2012, I wanted to double check whether this is still true today with current version of AOS on the Total Access 900. Can you confirm?
Thanks,
Adam
Still not easily doable. Best to have the number blocked on the carrier.
John Wable
Ok, I appreciate the update. Thanks.