" /> Restrict Trunks access - SIP Server - Genesys CTI User Forum

Author Topic: Restrict Trunks access - SIP Server  (Read 4304 times)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Restrict Trunks access - SIP Server
« on: November 16, 2011, 08:35:20 PM »
Advertisement
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

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Restrict Trunks access - SIP Server
« Reply #1 on: November 16, 2011, 09:23:40 PM »
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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Restrict Trunks access - SIP Server
« Reply #2 on: November 18, 2011, 02:51:06 PM »
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

Offline kolonil

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: Restrict Trunks access - SIP Server
« Reply #3 on: November 18, 2011, 04:10:32 PM »
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