How to limit to call one extension in IVR

  1. Connect PBX by SSH port using Putty or other Application.

        Then login and type the commands to check the configuration file

vi /etc/asterisk/extensions.conf :

 

 

 

  1. Type  /660

       Then  Enter Key to find the IVR configuration.

 

  

 

Copy all the configuration information bellow the [voicemenu-custom-welcome]

(Please remember the name maybe changed for different settings by the different settings)

Type  :q

Then Enter Key to get out of extensions.conf.

  1. Run this command to edit the extensions_custom.conf file:

vi /persistent/custom-cfg/extensions_custom.conf

Attention:Type  i  to get into the Edit Mode Type Esc Key to quit the Edit Mode

          Type  :q  then Enter Key to get out of extensions_custom.conf without saving the edit change.

          Type  :wq  then Enter Key to get out of extensions_custom.conf with saving the your edit change.

Type all the information from the [voicemenu-custom-welcome] with one line added(For example, 601 is the extension you would like to be hangup) Here is the example:

 

exten = 601,1,Hangup ()  // You can add more that one lines to have more extensions be limited.

 

 

Then go to the Web GUI to press any settings then Save the setting and “Apply all the Changes”

Then it will be finished.

Have more questions? Submit a request

3 Comments

  • 0
    Avatar

    Will this allow me to have two different DID's that go to two different IVR's and not be able to interact with each other?

  • 0
    Avatar

    Stephen,

    If I understand correctly, "not be able to interact with each other" means the setting on the one IVR will not interact with another IVR? For example, in IVR 661, we setup "exten = 601, 1, Hangup()", in IVR 662, we will still be able to dial 601? 

    If my understanding is correct, I believe this solution allows you to have two different DID's that go to two different IVR's and not be able to interact with each other.

  • 0
    Avatar

    Great - that's what I was looking to confirm.  Thanks.

Please sign in to leave a comment.