Block ability to dial across ingroups from a call menu

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Block ability to dial across ingroups from a call menu

Postby ryanhs » Tue Mar 03, 2020 3:39 pm

We are using 3 ingroup's that are separate companies. i'm trying to prevent a caller from dialing an extension of a user agent in a different ingoup.
For example: I dial the DID routed to callmenu1, prompt the caller to press option1 and route to ingroup1 or dial an extension (user number) directly. If the caller enters a user number that is a member of ingroup2 the call is routed instead of invalid.
I need to prevent cross-dialing user numbers accross our different business portfolio's. I am looking for a configuration that will treat user code as invalid unless it is logged into the respective campaign for that ingroup. I have considered using extensions for each portfolio that are far apart from each other but it isn't acceptable from a compliance standpoint to reach the other company's agents through any call menu.

Custom Dial Plan Entry in test call menu
exten => _XXXX,1,AGI(agi-AGENT_route.agi,default---AGENTDIRECTDEV---LOGGED_IN---------invalid---------DEVTEST)

If I enter 4021 in the call menu i get my agent directly that is logged into AGENTDIRECTDEV. If i enter 4022 (that doesn't exist) I get invalid which is good. If i enter 2003, it does work and that agent is AGENTDIRECT but not AGENTDIRECTDEV.

INVALID
[Mar 3 13:35:31] -- Executing [4022@DEVTEST:1] AGI("SIP/bandwidth-00000638", "agi-AGENT_route.agi,default---AGENTDIRECTDEV---LOGGED_IN---------invalid---------DEVTEST") in new stack
[Mar 3 13:35:31] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-AGENT_route.agi
[Mar 3 13:35:31] -- <SIP/bandwidth-00000638> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar 3 13:35:31] -- <SIP/bandwidth-00000638> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar 3 13:35:31] -- <SIP/bandwidth-00000638> Playing 'sip-silence.gsm' (escape_digits=) (sample_offset 0) (language 'en')
[Mar 3 13:35:31] -- <SIP/bandwidth-00000638> Playing 'invalid.gsm' (escape_digits=) (sample_offset 0) (language 'en')

SHOULD BE INVALID beacuse the user's inbound group selection does not include AGENTDIRECTDEV
[Mar 3 13:38:06] -- Executing [2003@DEVTEST:1] AGI("SIP/bandwidth-00000641", "agi-AGENT_route.agi,default---AGENTDIRECTDEV---LOGGED_IN---------invalid---------DEVTEST") in new stack
[Mar 3 13:38:06] -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-AGENT_route.agi
[Mar 3 13:38:06] -- <SIP/bandwidth-00000641>AGI Script agi-AGENT_route.agi completed, returning 0
[Mar 3 13:38:06] -- Executing [99909*1*AGENTDIRECTDEV*2003*@default:1] Answer("SIP/bandwidth-00000641", "") in new stack


Thank you in advance for any help on this! Cheers!

-----------------------------
VERSION: 2.14-694a
BUILD: 181005-1738

Cluster 1 core + 2 dialers
SuperMicro board and chassis

Core DB+HTTP Server:
openSUSE Leap 42.3
Intel Xeon CPU E5-2620 v4 @ 2.10GHz - 8 core 16 thread
16GB RAM
SSD RAID

Dialer1:
openSUSE Leap 42.3
Asterisk 13.21.1-vici
Intel Xeon CPU E3-1220 v3 @ 3.10GHz - 4 core 4 thread
8GB RAM
HDD RAID

Dialer2:
openSUSE Leap 42.3
Asterisk 13.21.1-vici
Intel Xeon CPU E3-1220 v3 @ 3.10GHz - 4 core 4 thread
8GB RAM
HDD RAID
ryanhs
 
Posts: 15
Joined: Tue Jan 22, 2019 10:25 am

Re: Block ability to dial across ingroups from a call menu

Postby williamconley » Wed Mar 04, 2020 2:52 pm

That's what contexts are for. Don't use Default.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 77 guests