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

Feature codes deny not working -COS module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 13
    • Labels:
      None
    • Bug Tracker:
      QA Testing
    • Asterisk Version:
      11
    • Distro Version:
      10.13.66-17
    • Distro:
      FreePBX Distro

      Description

      Hi,
      The COS module is not functioning properly as I have denied the below feature codes for extension Number 1001 but those feature code are working on that extension.As per the COS configuration that feature codes are should not be work on that extension.

      
      Direct Dial prefix Failed(*)
      Dynamic member Queue login and logout(*45)
      Queue pause Toggle(*46)
      Call trace (*69)
      pickup parked call Prefix(*85)
      Call forward All prompting Activate(*93)
      Call forward Busy prompting Activate(*94)
      Call forward no Answer/Unavailable Prompting  activate(*95)
      Dial system fax(*666)
      

      Here are my settings in cos.

      
      ------Below log is captured for Direct Dial prefix(*) 
      Executing [*1002@from-internal:1] Set("SIP/1001-00000002", "CONNECTEDLINE(name-charset,i)=utf8") in new stack
          -- Executing [*1002@from-internal:2] Set("SIP/1001-00000002", "CONNECTEDLINE(name,i)=1002 Voicemail") in new stack
          -- Executing [*1002@from-internal:3] Set("SIP/1001-00000002", "CONNECTEDLINE(num,i)=1002") in new stack
          -- Executing [*1002@from-internal:4] Macro("SIP/1001-00000002", "vm,1002,DIRECTDIAL,") in new stack
          -- Executing [s@macro-vm:1] Macro("SIP/1001-00000002", "user-callerid,SKIPTTL") in new stack
          -- Executing [s@macro-user-callerid:1] Set("SIP/1001-00000002", "TOUCH_MONITOR=1480050681.2") in new stack
          -- Executing [s@macro-user-callerid:2] Set("SIP/1001-00000002", "AMPUSER=1001") in new stack
          -- Executing [s@macro-user-callerid:3] GotoIf("SIP/1001-00000002", "0?report") in new stack
          -- Executing [s@macro-user-callerid:4] ExecIf("SIP/1001-00000002", "1?Set(REALCALLERIDNUM=1001)") in new stack
          -- Executing [s@macro-user-callerid:5] Set("SIP/1001-00000002", "AMPUSER=1001") in new stack
          -- Executing [s@macro-user-callerid:6] GotoIf("SIP/1001-00000002", "0?limit") in new stack
          -- Executing [s@macro-user-callerid:7] Set("SIP/1001-00000002", "AMPUSERCIDNAME=Dinesh") in new stack
          -- Executing [s@macro-user-callerid:8] GotoIf("SIP/1001-00000002", "0?report") in new stack
          -- Executing [s@macro-user-callerid:9] Set("SIP/1001-00000002", "AMPUSERCID=1001") in new stack
          -- Executing [s@macro-user-callerid:10] Set("SIP/1001-00000002", "__DIAL_OPTIONS=") in new stack
          -- Executing [s@macro-user-callerid:11] Set("SIP/1001-00000002", "CALLERID(all)="Dinesh" <1001>") in new stack
          -- Executing [s@macro-user-callerid:12] GotoIf("SIP/1001-00000002", "0?limit") in new stack
          -- Executing [s@macro-user-callerid:13] ExecIf("SIP/1001-00000002", "0?Set(GROUP(concurrency_limit)=1001)") in new stack
          -- Executing [s@macro-user-callerid:14] ExecIf("SIP/1001-00000002", "0?Set(CHANNEL(language)=)") in new stack
          -- Executing [s@macro-user-callerid:15] GotoIf("SIP/1001-00000002", "1?continue") in new stack
          -- Goto (macro-user-callerid,s,29)
          -- Executing [s@macro-user-callerid:29] Set("SIP/1001-00000002", "CALLERID(number)=1001") in new stack
          -- Executing [s@macro-user-callerid:30] Set("SIP/1001-00000002", "CALLERID(name)=Dinesh") in new stack
          -- Executing [s@macro-user-callerid:31] GotoIf("SIP/1001-00000002", "0?cnum") in new stack
          -- Executing [s@macro-user-callerid:32] Set("SIP/1001-00000002", "CDR(cnam)=Dinesh") in new stack
          -- Executing [s@macro-user-callerid:33] Set("SIP/1001-00000002", "CDR(cnum)=1001") in new stack
          -- Executing [s@macro-user-callerid:34] Set("SIP/1001-00000002", "CHANNEL(language)=en") in new stack
          -- Executing [s@macro-user-callerid:35] ExecIf("SIP/1001-00000002", "0?Set(CALLERID(name)=)") in new stack
          -- Executing [s@macro-user-callerid:36] GosubIf("SIP/1001-00000002", "0?app-check-classofservce,s,1()") in new stack
          -- Executing [s@macro-vm:2] Set("SIP/1001-00000002", "VMGAIN=") in new stack
          -- Executing [s@macro-vm:3] Macro("SIP/1001-00000002", "blkvm-check,") in new stack
          -- Executing [s@macro-blkvm-check:1] Set("SIP/1001-00000002", "GOSUB_RETVAL=") in new stack
          -- Executing [s@macro-blkvm-check:2] ExecIf("SIP/1001-00000002", "0?Set(GOSUB_RETVAL=TRUE)") in new stack
          -- Executing [s@macro-blkvm-check:3] MacroExit("SIP/1001-00000002", "") in new stack
          -- Executing [s@macro-vm:4] GotoIf("SIP/1001-00000002", "1?vmx,1") in new stack
          -- Goto (macro-vm,vmx,1)
          -- Executing [vmx@macro-vm:1] Set("SIP/1001-00000002", "MEXTEN=1002") in new stack
          -- Executing [vmx@macro-vm:2] Set("SIP/1001-00000002", "MMODE=DIRECTDIAL") in new stack
          -- Executing [vmx@macro-vm:3] Set("SIP/1001-00000002", "RETVM=") in new stack
          -- Executing [vmx@macro-vm:4] Set("SIP/1001-00000002", "MODE=unavail") in new stack
          -- Executing [vmx@macro-vm:5] Macro("SIP/1001-00000002", "get-vmcontext,1002") in new stack
          -- Executing [s@macro-get-vmcontext:1] Set("SIP/1001-00000002", "VMCONTEXT=default") in new stack
          -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/1001-00000002", "0?200:300") in new stack
          -- Goto (macro-get-vmcontext,s,300)
          -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/1001-00000002", "") in new stack
          -- Executing [vmx@macro-vm:6] Set("SIP/1001-00000002", "MODE=unavail") in new stack
          -- Executing [vmx@macro-vm:7] NoOp("SIP/1001-00000002", "MODE IS: unavail") in new stack
          -- Executing [vmx@macro-vm:8] GotoIf("SIP/1001-00000002", "1?chknomsg") in new stack
          -- Goto (macro-vm,vmx,10)
          -- Executing [vmx@macro-vm:10] GotoIf("SIP/1001-00000002", "0?s-DIRECTDIAL,1") in new stack
          -- Executing [vmx@macro-vm:11] GotoIf("SIP/1001-00000002", "0?notdirect") in new stack
          -- Executing [vmx@macro-vm:12] Set("SIP/1001-00000002", "MODE=unavail") in new stack
          -- Executing [vmx@macro-vm:13] NoOp("SIP/1001-00000002", "Checking if ext 1002 is enabled: ") in new stack
          -- Executing [vmx@macro-vm:14] GotoIf("SIP/1001-00000002", "1?s-DIRECTDIAL,1") in new stack
          -- Goto (macro-vm,s-DIRECTDIAL,1)
          -- Executing [s-DIRECTDIAL@macro-vm:1] NoOp("SIP/1001-00000002", "DIRECTDIAL voicemail") in new stack
          -- Executing [s-DIRECTDIAL@macro-vm:2] Macro("SIP/1001-00000002", "get-vmcontext,1002") in new stack
          -- Executing [s@macro-get-vmcontext:1] Set("SIP/1001-00000002", "VMCONTEXT=default") in new stack
          -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/1001-00000002", "0?200:300") in new stack
          -- Goto (macro-get-vmcontext,s,300)
          -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/1001-00000002", "") in new stack
          -- Executing [s-DIRECTDIAL@macro-vm:3] VoiceMail("SIP/1001-00000002", "1002@default,") in new stack
             > 0x7ff4680451c0 -- Probation passed - setting RTP source address to 192.168.3.122:12100
          -- <SIP/1001-00000002> Playing 'vm-intro.g722' (language 'en')
          -- <SIP/1001-00000002> Playing 'beep.g722' (language 'en')
          -- Recording the message
          -- x=0, open writing:  /var/spool/asterisk/voicemail/default/1002/tmp/8mSa4u format: wav, 0x7ff494002c08
          -- User hung up
        == Spawn extension (macro-vm, s-DIRECTDIAL, 3) exited non-zero on 'SIP/1001-00000002' in macro 'vm'
        == Spawn extension (from-internal, *1002, 4) exited non-zero on 'SIP/1001-00000002'
          -- Executing [h@from-internal:1] Macro("SIP/1001-00000002", "hangupcall") in new stack
          -- Executing [s@macro-hangupcall:1] ExecIf("SIP/1001-00000002", "0?Set(CDR(recordingfile)=.)") in new stack
          -- Executing [s@macro-hangupcall:2] GotoIf("SIP/1001-00000002", "1?theend") in new stack
          -- Goto (macro-hangupcall,s,4)
          -- Executing [s@macro-hangupcall:4] ExecIf("SIP/1001-00000002", "0?Set(CDR(recordingfile)=)") in new stack
          -- Executing [s@macro-hangupcall:5] Hangup("SIP/1001-00000002", "") in new stack
        == Spawn extension (macro-hangupcall, s, 5) exited non-zero on 'SIP/1001-00000002' in macro 'hangupcall'
        == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/1001-00000002'
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jphilip Philip Joseph
                  Reporter:
                  ddinesh Dinesh Duraisamy [X] (Inactive)
                • 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.