Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-23693

Custom Directory Pattern Dialing

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 15, 16
    • Component/s: None
    • Labels:
      None
    • ToDo:
    • Distro Version:
      15
    • Distro:
      FreePBX Distro
    • Module Fix Version:

      Description

      This is when associating an IVR with a directory to allow dialing whatever extensions were specified in the list.

      The problem is, if you want to allow a custom pattern. So let's say you create a custom entry

      Name=Remote Users, Name Announcement=Text to Speech, Custom Dial String=_41XX

      FreePBX will generate the dialplan as follows:

       

      
      [from-ivr-directory-4]
      include => from-ivr-directory-4-custom
      exten => 502,1,Macro(blkvm-clr,)
      exten => 502,n,Set(__NODEST=)
      exten => 502,n,Goto(from-internal,502,1)
      
      exten => _41XX,1,Macro(blkvm-clr,)
      exten => _41XX,n,Set(__NODEST=)
      exten => _41XX,n,Goto(from-internal,_41XX,1)

       

      Instead, it would be more ideal that the Goto should be: from-internal,${EXTEN},1

      I have modified the module code, I'll try to submit a PR, please bear with me as it is my first time doing this

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                PitzKey Itzik
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

                  Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.