This post is at: ForumGeneral Questions
6 posts / 0 new
Last post
etornetworks
etornetworks's picture
Joined: 2017/02/24
Points: 0

I have a paging system setup inside as an extension- anyone that dials this extension can page into the loud speaker system.

The problem is, someone from the outside is calling in!

How can I specify a particular 3 digit extension to be dropped when dialed from in the IVR?

netriplex
netriplex's picture
Joined: 2012/01/24
Points: 80

You cannot as far as I am aware.

Typically we would setup a paging system as a special line and attach it to a feature code (which can be disabled from IVRs and are disabled by default from IVRs actually).

volodya
volodya's picture
Joined: 2017/01/05
Points: 60

Hello,

Alternatively, if you really want to keep using User Extension for your paging system, you can perform following steps:

1. Clone User extension script (default is tl-stdexten).
2. Modify clone script. You can add caller's ID number check to see if the call goes from inside of the system or from carrier. Based on that pass or reject it.
3. Modify User extension. Set your custom script on Advanced tab.

etornetworks
etornetworks's picture
Joined: 2017/02/24
Points: 0

Is there a way to have a custom field on the IVR?
as an example- if inbound caller enters extension 222, it will go back to an autoattendant or another extension?

i only see the pre-defined feilds matching the keys available on a phone.

volodya
volodya's picture
Joined: 2017/01/05
Points: 60

You can add as many custom numbers or patterns, separated with comma in "Additional allowed dialing pattern(s)" field on Options tab as you need. Each of them will get "Goto(from-inside-test,${EXTEN},1)" dialplan string in IVR's context.

For even more customizability you can use /etc/asterisk/user_extensions.include dialplan file. It is ment for user custom dialplan and is not getting overwritten on system updates. Following three lines will allow IVR test in tenant test to execute simple custon dialplan when user will dial 440. Please be sure to test system behavior in your particular case if you will decide to override User extensions or Feature Codes while they are being allowed to dial.

[test-test]
exten => 440,1,NoOp(You dialed 440 in test IVR)
exten => 440,n,Hangup

eeman
eeman's picture
Joined: 2007/11/06
Points: 190

actually, much simpler, dont use a user extension for your overhead paging. Use a special line. Map a feature code to the special line using a very simple script to dial the device (why would you want FM/FM, forwading, voicemail and other crap on a paging extension anyway). Disallow the IVR to call feature codes.

Solved.

Erik Smith
dCAP
Thirdlane/Asterisk Support available
esmith.bgnv@gmail.com