Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: cavagnaro on November 16, 2011, 08:35:20 PM

Title: Restrict Trunks access - SIP Server
Post by: cavagnaro on November 16, 2011, 08:35:20 PM
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
Title: Re: Restrict Trunks access - SIP Server
Post by: René 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.
Title: Re: Restrict Trunks access - SIP Server
Post by: cavagnaro 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
Title: Re: Restrict Trunks access - SIP Server
Post by: kolonil 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