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

Custom context extensions break call pickup of members of ring group

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Ring Groups
    • Labels:
      None
    • ToDo:
    • Asterisk Version:
      13.22
    • Distro Version:
      14
    • Distro:
      FreePBX Distro

      Description

      I have a ring group like the above. They all have a custom context "gsandco-firewall" to restrict calling.:

      [gsandco-firewall]
      exten => _12XX,1,Goto(from-internal,${EXTEN},1)
      exten => _*12XX,1,Goto(from-internal,${EXTEN},1)
      exten => _**XX.,1,Goto(from-internal,${EXTEN},1)
      include => client-firewall

      When they use call pickup (Ex.) **1207 it should pick up the call from 1207. However it insteads gives an error code on the phone and in the dial plan it just hangs up. All extensions are using that custom context.

      
          -- Executing [**1207@from-internal:2] Set("PJSIP/1177-000016e2", "PICKUP_EXTEN=1177") in new stack
          -- Executing [**1207@from-internal:3] Pickup("PJSIP/1177-000016e2", "1207&1207@PICKUPMARK&1280@from-internal&1280@from-internal-xfer&1280@ext-group") in new stack
          -- Executing [**1207@from-internal:4] Hangup("PJSIP/1177-000016e2", "") in new stack
        == Spawn extension (from-internal, **1207, 4) exited non-zero on 'PJSIP/1177-000016e2'
          -- Executing [h@from-internal:1] Macro("PJSIP/1177-000016e2", "hangupcall") in new stack
          -- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/1177-000016e2", "1?theend") in new stack
          -- Goto (macro-hangupcall,s,3)
      

      If I add a single extension that has the from-internal context set then it will call pickup like normal.

      Setting them as a queue instead of a ring group is a workaround for this.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                adtopkek adtopkek
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:

                  NextupJiraPlusStatus

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