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

Class of service Deny feature code Queue login toggle and Queue Pause toggle not working.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Bug Tracker:
      QA Testing
    • ToDo:
    • Distro Version:
      13,14
    • Distro:
      FreePBX Distro

      Description

      Created a class of service included an extension under it and denied the Queue login toggle(*45) and Queue Pause toggle (*46) option and dialed *45 and *46 and checked. But the COS allows to dial and loggin/logout and pause activated/deactivated message.

      Attached call log for reference.

      
       Executing [*45@from-internal:1] Goto("SIP/1992-00000050", "app-all-queue-toggle,s,start") in new stack
          -- Goto (app-all-queue-toggle,s,1)
          -- Executing [s@app-all-queue-toggle:1] Answer("SIP/1992-00000050", "") in new stack
             > 0x7ff7cc0910c0 -- Probation passed - setting RTP source address to 192.168.3.132:12170
          -- Executing [s@app-all-queue-toggle:2] Wait("SIP/1992-00000050", "1") in new stack
          -- Executing [s@app-all-queue-toggle:3] Macro("SIP/1992-00000050", "user-callerid,") in new stack
          -- Executing [s@macro-user-callerid:1] Set("SIP/1992-00000050", "TOUCH_MONITOR=1500027269.272") in new stack
          -- Executing [s@macro-user-callerid:2] Set("SIP/1992-00000050", "AMPUSER=1992") in new stack
          -- Executing [s@macro-user-callerid:3] GotoIf("SIP/1992-00000050", "0?report") in new stack
          -- Executing [s@macro-user-callerid:4] ExecIf("SIP/1992-00000050", "1?Set(__REALCALLERIDNUM=1992)") in new stack
          -- Executing [s@macro-user-callerid:5] Set("SIP/1992-00000050", "AMPUSER=1992") in new stack
          -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1992-00000050", "0?limit") in new stack
          -- Executing [s@macro-user-callerid:7] Set("SIP/1992-00000050", "AMPUSERCIDNAME=Sandesh 1992") in new stack
          -- Executing [s@macro-user-callerid:8] GotoIf("SIP/1992-00000050", "0?report") in new stack
          -- Executing [s@macro-user-callerid:9] Set("SIP/1992-00000050", "AMPUSERCID=1992") in new stack
          -- Executing [s@macro-user-callerid:10] Set("SIP/1992-00000050", "__DIAL_OPTIONS=Ttr") in new stack
          -- Executing [s@macro-user-callerid:11] Set("SIP/1992-00000050", "CALLERID(all)="Sandesh 1992" <1992>") in new stack
          -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1992-00000050", "0?limit") in new stack
          -- Executing [s@macro-user-callerid:13] ExecIf("SIP/1992-00000050", "0?Set(GROUP(concurrency_limit)=1992)") in new stack
          -- Executing [s@macro-user-callerid:14] GosubIf("SIP/1992-00000050", "7?sub-ccss,s,1(app-all-queue-toggle,*45)") in new stack
          -- Executing [s@sub-ccss:1] ExecIf("SIP/1992-00000050", "0?Return()") in new stack
          -- Executing [s@sub-ccss:2] Set("SIP/1992-00000050", "CCSS_SETUP=TRUE") in new stack
          -- Executing [s@sub-ccss:3] GosubIf("SIP/1992-00000050", "0?monitor_config,1(app-all-queue-toggle,*45):monitor_default,1(app-all-queue-toggle,*45)") in new stack
          -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1992-00000050", "0?is_exten") in new stack
          -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1992-00000050", "") in new stack
          -- Executing [monitor_default@sub-ccss:3] Return("SIP/1992-00000050", "FALSE") in new stack
          -- Executing [s@macro-user-callerid:15] ExecIf("SIP/1992-00000050", "0?Set(CHANNEL(language)=)") in new stack
          -- Executing [s@macro-user-callerid:16] GotoIf("SIP/1992-00000050", "0?continue") in new stack
          -- Executing [s@macro-user-callerid:17] ExecIf("SIP/1992-00000050", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
          -- Executing [s@macro-user-callerid:18] Set("SIP/1992-00000050", "__TTL=6") in new stack
          -- Executing [s@macro-user-callerid:19] GotoIf("SIP/1992-00000050", "1?continue") in new stack
          -- Goto (macro-user-callerid,s,30)
          -- Executing [s@macro-user-callerid:30] Set("SIP/1992-00000050", "CALLERID(number)=1992") in new stack
          -- Executing [s@macro-user-callerid:31] Set("SIP/1992-00000050", "CALLERID(name)=Sandesh 1992") in new stack
          -- Executing [s@macro-user-callerid:32] GotoIf("SIP/1992-00000050", "0?cnum") in new stack
          -- Executing [s@macro-user-callerid:33] Set("SIP/1992-00000050", "CDR(cnam)=Sandesh 1992") in new stack
          -- Executing [s@macro-user-callerid:34] Set("SIP/1992-00000050", "CDR(cnum)=1992") in new stack
          -- Executing [s@macro-user-callerid:35] Set("SIP/1992-00000050", "CHANNEL(language)=en") in new stack
          -- Executing [s@macro-user-callerid:36] ExecIf("SIP/1992-00000050", "0?Set(CALLERID(name)=)") in new stack
          -- Executing [s@macro-user-callerid:37] GosubIf("SIP/1992-00000050", "0?app-check-classofservce,s,1()") in new stack
          -- Executing [s@app-all-queue-toggle:4] AGI("SIP/1992-00000050", "queue_devstate.agi,getall,1992") in new stack
          -- Launched AGI Script /var/lib/asterisk/agi-bin/queue_devstate.agi
          -- queue_devstate.agi,getall,1992: Finished sorting
          -- queue_devstate.agi,getall,1992: Looking up queues for agent: 1992
          -- queue_devstate.agi,getall,1992: no queues for this agent
          -- queue_devstate.agi,getall,1992: Agent 1992 is NOQUEUES for at least one of their queues
          -- <SIP/1992-00000050>AGI Script queue_devstate.agi completed, returning 0
          -- Executing [s@app-all-queue-toggle:5] GotoIf("SIP/1992-00000050", "1?skip") in new stack
          -- Goto (app-all-queue-toggle,s,15)
          -- Executing [s@app-all-queue-toggle:15] ExecIf("SIP/1992-00000050", "1?Playback(agent-loggedoff)") in new stack
          -- <SIP/1992-00000050> Playing 'agent-loggedoff.ulaw' (language 'en')
          -- Executing [s@app-all-queue-toggle:16] ExecIf("SIP/1992-00000050", "0?Playback(agent-loginok)") in new stack
          -- Executing [s@app-all-queue-toggle:17] ExecIf("SIP/1992-00000050", "0?SayDigits(1992)") in new stack
          -- Executing [s@app-all-queue-toggle:18] Macro("SIP/1992-00000050", "hangupcall,") in new stack
          -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1992-00000050", "1?theend") in new stack
          -- Goto (macro-hangupcall,s,3)
          -- Executing [s@macro-hangupcall:3] ExecIf("SIP/1992-00000050", "0?Set(CDR(recordingfile)=)") in new stack
          -- Executing [s@macro-hangupcall:4] Hangup("SIP/1992-00000050", "") in new stack
        == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1992-00000050' in macro 'hangupcall'
        == Spawn extension (app-all-queue-toggle, s, 18) exited non-zero on 'SIP/1992-00000050'
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
      freepbx*CLI>
        == Using SIP RTP TOS bits 184
        == Using SIP RTP CoS mark 5
          -- Executing [*46@from-internal:1] Goto("SIP/1992-00000051", "app-all-queue-pause-toggle,s,1") in new stack
          -- Goto (app-all-queue-pause-toggle,s,1)
          -- Executing [s@app-all-queue-pause-toggle:1] Answer("SIP/1992-00000051", "") in new stack
             > 0x7ff7cc0a8880 -- Probation passed - setting RTP source address to 192.168.3.132:12172
          -- Executing [s@app-all-queue-pause-toggle:2] Wait("SIP/1992-00000051", "1") in new stack
          -- Executing [s@app-all-queue-pause-toggle:3] Macro("SIP/1992-00000051", "user-callerid,") in new stack
          -- Executing [s@macro-user-callerid:1] Set("SIP/1992-00000051", "TOUCH_MONITOR=1500027279.273") in new stack
          -- Executing [s@macro-user-callerid:2] Set("SIP/1992-00000051", "AMPUSER=1992") in new stack
          -- Executing [s@macro-user-callerid:3] GotoIf("SIP/1992-00000051", "0?report") in new stack
          -- Executing [s@macro-user-callerid:4] ExecIf("SIP/1992-00000051", "1?Set(__REALCALLERIDNUM=1992)") in new stack
          -- Executing [s@macro-user-callerid:5] Set("SIP/1992-00000051", "AMPUSER=1992") in new stack
          -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1992-00000051", "0?limit") in new stack
          -- Executing [s@macro-user-callerid:7] Set("SIP/1992-00000051", "AMPUSERCIDNAME=Sandesh 1992") in new stack
          -- Executing [s@macro-user-callerid:8] GotoIf("SIP/1992-00000051", "0?report") in new stack
          -- Executing [s@macro-user-callerid:9] Set("SIP/1992-00000051", "AMPUSERCID=1992") in new stack
          -- Executing [s@macro-user-callerid:10] Set("SIP/1992-00000051", "__DIAL_OPTIONS=Ttr") in new stack
          -- Executing [s@macro-user-callerid:11] Set("SIP/1992-00000051", "CALLERID(all)="Sandesh 1992" <1992>") in new stack
          -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1992-00000051", "0?limit") in new stack
          -- Executing [s@macro-user-callerid:13] ExecIf("SIP/1992-00000051", "0?Set(GROUP(concurrency_limit)=1992)") in new stack
          -- Executing [s@macro-user-callerid:14] GosubIf("SIP/1992-00000051", "7?sub-ccss,s,1(app-all-queue-pause-toggle,*46)") in new stack
          -- Executing [s@sub-ccss:1] ExecIf("SIP/1992-00000051", "0?Return()") in new stack
          -- Executing [s@sub-ccss:2] Set("SIP/1992-00000051", "CCSS_SETUP=TRUE") in new stack
          -- Executing [s@sub-ccss:3] GosubIf("SIP/1992-00000051", "0?monitor_config,1(app-all-queue-pause-toggle,*46):monitor_default,1(app-all-queue-pause-toggle,*46)") in new stack
          -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/1992-00000051", "0?is_exten") in new stack
          -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/1992-00000051", "") in new stack
          -- Executing [monitor_default@sub-ccss:3] Return("SIP/1992-00000051", "FALSE") in new stack
          -- Executing [s@macro-user-callerid:15] ExecIf("SIP/1992-00000051", "0?Set(CHANNEL(language)=)") in new stack
          -- Executing [s@macro-user-callerid:16] GotoIf("SIP/1992-00000051", "0?continue") in new stack
          -- Executing [s@macro-user-callerid:17] ExecIf("SIP/1992-00000051", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
          -- Executing [s@macro-user-callerid:18] Set("SIP/1992-00000051", "__TTL=6") in new stack
          -- Executing [s@macro-user-callerid:19] GotoIf("SIP/1992-00000051", "1?continue") in new stack
          -- Goto (macro-user-callerid,s,30)
          -- Executing [s@macro-user-callerid:30] Set("SIP/1992-00000051", "CALLERID(number)=1992") in new stack
          -- Executing [s@macro-user-callerid:31] Set("SIP/1992-00000051", "CALLERID(name)=Sandesh 1992") in new stack
          -- Executing [s@macro-user-callerid:32] GotoIf("SIP/1992-00000051", "0?cnum") in new stack
          -- Executing [s@macro-user-callerid:33] Set("SIP/1992-00000051", "CDR(cnam)=Sandesh 1992") in new stack
          -- Executing [s@macro-user-callerid:34] Set("SIP/1992-00000051", "CDR(cnum)=1992") in new stack
          -- Executing [s@macro-user-callerid:35] Set("SIP/1992-00000051", "CHANNEL(language)=en") in new stack
          -- Executing [s@macro-user-callerid:36] ExecIf("SIP/1992-00000051", "0?Set(CALLERID(name)=)") in new stack
          -- Executing [s@macro-user-callerid:37] GosubIf("SIP/1992-00000051", "0?app-check-classofservce,s,1()") in new stack
          -- Executing [s@app-all-queue-pause-toggle:4] AGI("SIP/1992-00000051", "queue_devstate.agi,toggle-pause-all,1992") in new stack
          -- Launched AGI Script /var/lib/asterisk/agi-bin/queue_devstate.agi
          -- queue_devstate.agi,toggle-pause-all,1992: Finished sorting
          -- queue_devstate.agi,toggle-pause-all,1992: Looking up queues for agent: 1992
          -- queue_devstate.agi,toggle-pause-all,1992: got queues from logged in of:
          -- <SIP/1992-00000051>AGI Script queue_devstate.agi completed, returning 0
          -- Executing [s@app-all-queue-pause-toggle:5] Playback("SIP/1992-00000051", "dictate/pause&activated") in new stack
          -- <SIP/1992-00000051> Playing 'dictate/pause.ulaw' (language 'en')
          -- <SIP/1992-00000051> Playing 'activated.ulaw' (language 'en')
          -- Executing [s@app-all-queue-pause-toggle:6] Macro("SIP/1992-00000051", "hangupcall,") in new stack
          -- Executing [s@macro-hangupcall:1] GotoIf("SIP/1992-00000051", "1?theend") in new stack
          -- Goto (macro-hangupcall,s,3)
          -- Executing [s@macro-hangupcall:3] ExecIf("SIP/1992-00000051", "0?Set(CDR(recordingfile)=)") in new stack
          -- Executing [s@macro-hangupcall:4] Hangup("SIP/1992-00000051", "") in new stack
        == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/1992-00000051' in macro 'hangupcall'
        == Spawn extension (app-all-queue-pause-toggle, s, 6) exited non-zero on 'SIP/1992-00000051'
      
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jphilip Philip Joseph
                  Reporter:
                  psandesh Sandesh Prakash [X] (Inactive)
                • 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.