Restrict Trunks access - SIP Server

Hi guys,
I have a customer with SIP Server and he is asking that only some agents will be able to dial international calls. As this is no PBX perse how can I achieve this?
I was thinking on denying access to the Trunk for that agent but not sure if will work as it is SIP Server who actually dials…
We are using a Mediant 2000 (AudioCodes) as Media Server…

Any idea?

Thanks

Hi Cav,

It is possible to achieve required by using Dial Plan (recommended, required release 8.0.2+) or Outbound Dialing Rules. Let me know if you need help with configuration ;).

R.

Hey René,
Thanks for the pointer but quite don’t understand the documentation…where should apply the rules? On Sip Server or on each DN/Agent?

Do you have some small sample?

Thanks a lot as usual

2 Likes

Hi,

I think, simple way may look like that:
create VoIP service DN with type “dial-plan”, create rules to reject long-distance calls in it

(example:
[TServer]
dial-plan-rule-1=%LONGDISTANCEPATTERN%=>0;type=reject # DoNotCall
service-type=dial-plan)

and assign this dial-plan to SIP server globally in Tserver-Options, then
create another dial-plan DN with same rules, but this time rules must allow calls

(example:
dial-plan-rule-1=%LONGDISTANCEPATTERN%=%LONGDISTANCEPATTERN%>;calltype=outbound # Allow Call)

and assign second dial-plan only to desired Agent Login’s\DN’s.
As a result desired agent’s dial-plan takes precedence over global dial-plan, allowing to make international calls, while calls made by rest of agents are rejected by SIPServer.

more complex config may include ClassOfService DN’s and privilege-level option

Regards,
Mike

1 Like