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

Queue Max Wait Time and Failover destination not honored when "Queue No Answer: YES"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not an issue
    • Affects Version/s: 2.11
    • Fix Version/s: None
    • Component/s: Queues
    • Labels:
    • Environment:

      CentOS 6.4 64bit, Asterisk 11 64bit

    • ToDo:
    • Distro Version:
      3.0
    • Distro:
      AsteriskNOW

      Description

      • Go in Advanced Settings and set "Hide Queue No Answer Option" = FALSE
      • Create a new Queue and set:

      Queue Number: 1003
      Queue No Answer: YES
      Generate Device Hints: YES
      Static Agents: 801
      Skip Busy Agents: YES
      Autofill: YES
      Mark calls answered elsewhere: YES
      Max Wait Time: 15 seconds
      Agent Timeout: 15 seconds
      Retry: No Retry

      Join Empty: No
      Leave Empty: Yes

      Fail Over Destination: Terminate Call (Hangup)

      • Call 1003 from another internal phone: the call get disconnected after 15 seconds (this is good)
      • Call from a cell phone the external number linked to 1003 queue: the call get disconnected after 60 seconds and 4 cycles (this is bad)

      in the log, after 15000ms timeout I get:

      ====================================================
      [2013-11-29 22:57:28] VERBOSE[11259][C-000002e4] pbx.c: – Executing [s@macro-dial-one:42] Dial("Local/801@from-queue-00000242;2", "SIP/801,,TtrM(auto-blkvm)") in new stack
      [2013-11-29 22:57:28] VERBOSE[11259][C-000002e4] netsock2.c: == Using SIP RTP TOS bits 184
      [2013-11-29 22:57:28] VERBOSE[11259][C-000002e4] netsock2.c: == Using SIP RTP CoS mark 5
      [2013-11-29 22:57:28] VERBOSE[11259][C-000002e4] app_dial.c: – Called SIP/801
      [2013-11-29 22:57:28] VERBOSE[11258][C-000002e4] app_queue.c: – Local/801@from-queue-00000242;1 is ringing
      [2013-11-29 22:57:28] VERBOSE[11258][C-000002e4] app_queue.c: – Local/801@from-queue-00000242;1 connected line has changed. Saving it until answer for SIP/02199451000-00000159
      [2013-11-29 22:57:28] VERBOSE[11258][C-000002e4] app_queue.c: – Local/801@from-queue-00000242;1 connected line has changed. Saving it until answer for SIP/02199451000-00000159
      [2013-11-29 22:57:28] VERBOSE[11259][C-000002e4] app_dial.c: – SIP/801-0000015a is ringing
      [2013-11-29 22:57:28] VERBOSE[11258][C-000002e4] app_queue.c: – Local/801@from-queue-00000242;1 is ringing
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] app_queue.c: – Nobody picked up in 15000 ms
      [2013-11-29 22:57:42] VERBOSE[11259][C-000002e4] app_macro.c: == Spawn extension (macro-dial-one, s, 42) exited non-zero on 'Local/801@from-queue-00000242;2' in macro 'dial-one'
      [2013-11-29 22:57:42] VERBOSE[11259][C-000002e4] app_macro.c: == Spawn extension (macro-exten-vm, s, 7) exited non-zero on 'Local/801@from-queue-00000242;2' in macro 'exten-vm'
      [2013-11-29 22:57:42] VERBOSE[11259][C-000002e4] pbx.c: == Spawn extension (from-internal, 801, 2) exited non-zero on 'Local/801@from-queue-00000242;2'
      [2013-11-29 22:57:42] VERBOSE[11259][C-000002e4] pbx.c: – Executing [h@from-internal:1] Hangup("Local/801@from-queue-00000242;2", "") in new stack
      [2013-11-29 22:57:42] VERBOSE[11259][C-000002e4] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'Local/801@from-queue-00000242;2'
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] app_queue.c: – Exiting on time-out cycle
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] res_musiconhold.c: – Stopped music on hold on SIP/02199451000-00000159
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [1003@ext-queues:39] Macro("SIP/02199451000-00000159", "blkvm-clr,") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [s@macro-blkvm-clr:1] Set("SIP/02199451000-00000159", "SHARED(BLKVM,SIP/02199451000-00000159)=") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [s@macro-blkvm-clr:2] Set("SIP/02199451000-00000159", "GOSUB_RETVAL=") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [s@macro-blkvm-clr:3] MacroExit("SIP/02199451000-00000159", "") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [1003@ext-queues:40] Gosub("SIP/02199451000-00000159", "sub-record-cancel,s,1()") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [s@sub-record-cancel:1] Set("SIP/02199451000-00000159", "__REC_POLICY_MODE=") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [s@sub-record-cancel:2] ExecIf("SIP/02199451000-00000159", "1?Return()") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [1003@ext-queues:41] Set("SIP/02199451000-00000159", "__NODEST=") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [1003@ext-queues:42] Set("SIP/02199451000-00000159", "_QUEUE_PRIO=0") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [1003@ext-queues:43] Set("SIP/02199451000-00000159", "__CWIGNORE=") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [1003@ext-queues:44] Set("SIP/02199451000-00000159", "QDEST=") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [1003@ext-queues:45] Set("SIP/02199451000-00000159", "VQ_DEST=") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [1003@ext-queues:46] GotoIf("SIP/02199451000-00000159", "1?app-blackhole,hangup,1:,,") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Goto (app-blackhole,hangup,1)
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [hangup@app-blackhole:1] NoOp("SIP/02199451000-00000159", "Blackhole Dest: Hangup") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: – Executing [hangup@app-blackhole:2] Hangup("SIP/02199451000-00000159", "") in new stack
      [2013-11-29 22:57:42] VERBOSE[11258][C-000002e4] pbx.c: == Spawn extension (app-blackhole, hangup, 2) exited non-zero on 'SIP/02199451000-00000159'
      [2013-11-29 22:57:43] VERBOSE[6104][C-000002e5] netsock2.c: == Using SIP RTP TOS bits 184
      [2013-11-29 22:57:43] VERBOSE[6104][C-000002e5] netsock2.c: == Using SIP RTP CoS mark 5
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [s@from-pstn-toheader:1] Goto("SIP/02199451000-0000015b", "from-pstn,02199451003,1") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Goto (from-pstn,02199451003,1)
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [02199451003@from-pstn:1] Set("SIP/02199451000-0000015b", "__FROM_DID=02199451003") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [02199451003@from-pstn:2] Set("SIP/02199451000-0000015b", "CDR(did)=02199451003") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [02199451003@from-pstn:3] Gosub("SIP/02199451000-0000015b", "cidlookup,cidlookup_2,1()") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [cidlookup_2@cidlookup:1] ExecIf("SIP/02199451000-0000015b", "0?Set(CALLERID(name)=)") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [cidlookup_2@cidlookup:2] Return("SIP/02199451000-0000015b", "") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [02199451003@from-pstn:4] ExecIf("SIP/02199451000-0000015b", "1 ?Set(CALLERID(name)=3488XXXXXX)") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [02199451003@from-pstn:5] Set("SIP/02199451000-0000015b", "__CALLINGPRES_SV=allowed_not_screened") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [02199451003@from-pstn:6] Set("SIP/02199451000-0000015b", "CALLERPRES()=allowed_not_screened") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [02199451003@from-pstn:7] Set("SIP/02199451000-0000015b", "__ALERT_INFO=external") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Executing [02199451003@from-pstn:8] Goto("SIP/02199451000-0000015b", "ext-queues,1003,1") in new stack
      [2013-11-29 22:57:43] VERBOSE[11260][C-000002e5] pbx.c: – Goto (ext-queues,1003,1)
      ====================================================

      Of course if I set "Queue No Answer: NO", the Max Wait Time Works from external calls also.

      Best Regards

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jin Ugo Viti
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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