Main Menu with direct extension dialing

Discussion in 'Call Flow Designer' started by Mark Ibiaz, Sep 25, 2017.

Thread Status:
Not open for further replies.
  1. Mark Ibiaz

    Joined:
    Jun 28, 2017
    Messages:
    1
    Likes Received:
    0
    Hello everyone,

    i am a little bit stuck right now in trying to implement a main menu with direct dialing extensions like in the digital receptionist.We wanted this so that we can setup transfers to the correct people during certain hours. Thank you
     
  2. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,258
    Likes Received:
    97
    Hi @Mark Ibiaz,

    In that case, instead of using a Menu component, you need a User Input component. The Menu component will only ask for 1 digit, and move on. If you need to let the user enter for example 3 digits for the extension number, you need a User Input component. Then, in the Valid Input branch you can use a "Create a condition" component to decide if the user input is a menu option, a valid extension, etc.

    In order to check if the input is a valid extension, you will need to use the 3CX Call Control API, from a Launch External Script component.

    Kind regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Trestill

    Joined:
    Jan 22, 2015
    Messages:
    41
    Likes Received:
    1
    Hi Mark,

    from what you are saying it looks like User Input component should do and then Transfer Component to userinput1.Buffer.
    You could add Condition to check if extension of provided number exists (and is willing to accept direct calls).

    Regards
     
  4. edossantos

    edossantos Support Team
    Staff Member 3CX Support

    Joined:
    Jun 27, 2007
    Messages:
    1,258
    Likes Received:
    97
    Hi @Mark Ibiaz,

    In order to check if an extension is valid or not, you can use:
    PhoneSystem.Root.GetDNByNumber()

    That method will return null if the extension is not valid.

    Regards.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.