Do not disturb not working - Device Status not set

Hi

Do not disturb is not currently working for me on any extensions, here is what happens when I dial *76, the feature code it is setup on.

   Connected to Asterisk 11.7.0 currently running on Test-pbx (pid = 7693)
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdni                                                                                                                                                             s,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,                                                                                                                                                             linkedid,peer,userdeftype,userfield) VALUES ('CHAN_START',{ts '2015-02-19 10:49:                                                                                                                                                             44'},'Wayne','118','','','','*76','Test','SIP/118-000000f1','','',3,'','14                                                                                                                                                             24303384.317','1424303384.317','','','')]
  == Extension Changed 118[ext-local] new state InUse for Notify User 101
  == Extension Changed 118[ext-local] new state InUse for Notify User 118
  == Extension Changed 118[ext-local] new state InUse for Notify User 100
  == Extension Changed 118[ext-local] new state InUse for Notify User 105
    -- Executing [*76@Test:1] Answer("SIP/118-000000f1", "") in new stack
  == Extension Changed 118[ext-local] new state InUse for Notify User 111
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdni                                                                                                                                                             s,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,                                                                                                                                                             linkedid,peer,userdeftype,userfield) VALUES ('ANSWER',{ts '2015-02-19 10:49:44'}                                                                                                                                                             ,'Wayne','118','118','','*76','*76','Test','SIP/118-000000f1','Answer','',                                                                                                                                                             3,'','1424303384.317','1424303384.317','','','')]
       > 0x7fd660126b50 -- Probation passed - setting RTP source address to 192.                                                                                                                                                             168.1.135:16536
    -- Executing [*76@Test:2] Wait("SIP/118-000000f1", "1") in new stack
[2015-02-19 10:49:44] NOTICE[30089][C-000000cc]: channel.c:4257 __ast_read: Drop                                                                                                                                                             ping incompatible voice frame on SIP/118-000000f1 of format alaw since our nativ                                                                                                                                                             e format has changed to (ulaw)
    -- Executing [*76@Test:3] Macro("SIP/118-000000f1", "user-callerid,")                                                                                                                                                              in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/118-000000f1", "TOUCH_MONITO                                                                                                                                                             R=1424303384.317") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/118-000000f1", "AMPUSER=118"                                                                                                                                                             ) in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/118-000000f1", "0?report"                                                                                                                                                             ) in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/118-000000f1", "1?Set(REA                                                                                                                                                             LCALLERIDNUM=118)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/118-000000f1", "AMPUSER=118"                                                                                                                                                             ) in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/118-000000f1", "0?limit")                                                                                                                                                              in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/118-000000f1", "AMPUSERCIDNA                                                                                                                                                             ME=Wayne") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/118-000000f1", "0?report"                                                                                                                                                             ) in new stack
    -- Executing [s@macro-user-callerid:9] Set("SIP/118-000000f1", "AMPUSERCID=1                                                                                                                                                             18") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/118-000000f1", "__DIAL_OPTI                                                                                                                                                             ONS=TtrwW") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/118-000000f1", "CALLERID(al                                                                                                                                                             l)="Wayne" <118>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("SIP/118-000000f1", "0?limit"                                                                                                                                                             ) in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("SIP/118-000000f1", "0?Set(GR                                                                                                                                                             OUP(concurrency_limit)=118)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("SIP/118-000000f1", "0?Set(CH                                                                                                                                                             ANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GosubIf("SIP/118-000000f1", "7?sub-c                                                                                                                                                             css,s,1(Test,*76)") in new stack
    -- Executing [s@sub-ccss:1] ExecIf("SIP/118-000000f1", "0?Return()") in new                                                                                                                                                              stack
    -- Executing [s@sub-ccss:2] Set("SIP/118-000000f1", "CCSS_SETUP=TRUE") in ne                                                                                                                                                             w stack
    -- Executing [s@sub-ccss:3] GosubIf("SIP/118-000000f1", "0?monitor_config,1(                                                                                                                                                             Test,*76):monitor_default,1(Test,*76)") in new stack
    -- Executing [monitor_default@sub-ccss:1] GotoIf("SIP/118-000000f1", "0?is_e                                                                                                                                                             xten") in new stack
    -- Executing [monitor_default@sub-ccss:2] StackPop("SIP/118-000000f1", "") i                                                                                                                                                             n new stack
    -- Executing [monitor_default@sub-ccss:3] Return("SIP/118-000000f1", "FALSE"                                                                                                                                                             ) in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/118-000000f1", "0?contin                                                                                                                                                             ue") in new stack
    -- Executing [s@macro-user-callerid:17] ExecIf("SIP/118-000000f1", "1?Set(__                                                                                                                                                             CALLEE_ACCOUNCODE=)") in new stack
    -- Executing [s@macro-user-callerid:18] Set("SIP/118-000000f1", "__TTL=64")                                                                                                                                                              in new stack
    -- Executing [s@macro-user-callerid:19] GotoIf("SIP/118-000000f1", "1?contin                                                                                                                                                             ue") in new stack
    -- Goto (macro-user-callerid,s,30)
    -- Executing [s@macro-user-callerid:30] Set("SIP/118-000000f1", "CALLERID(nu                                                                                                                                                             mber)=118") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/118-000000f1", "CALLERID(na                                                                                                                                                             me)=Wayne") in new stack
    -- Executing [s@macro-user-callerid:32] Set("SIP/118-000000f1", "CDR(cnum)=1                                                                                                                                                             18") in new stack
    -- Executing [s@macro-user-callerid:33] Set("SIP/118-000000f1", "CDR(cnam)=W                                                                                                                                                             ayne") in new stack
    -- Executing [s@macro-user-callerid:34] Set("SIP/118-000000f1", "CHANNEL(lan                                                                                                                                                             guage)=en") in new stack
    -- Executing [*76@Test:4] GotoIf("SIP/118-000000f1", "0?activate:deact                                                                                                                                                             ivate") in new stack
    -- Goto (Test,*76,8)
    -- Executing [*76@Test:8] NoOp("SIP/118-000000f1", "Deleting: DND/118                                                                                                                                                              YES") in new stack
    -- Executing [*76@Test:9] Playback("SIP/118-000000f1", "do-not-disturb                                                                                                                                                             &de-activated") in new stack
    -- <SIP/118-000000f1> Playing 'do-not-disturb.ulaw' (language 'en')
    -- <SIP/118-000000f1> Playing 'de-activated.ulaw' (language 'en')
    -- Executing [*76@Test:10] Macro("SIP/118-000000f1", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/118-000000f1", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/118-000000f1", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/118-000000f1", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/118-000000f1' in macro 'hangupcall'
  == Spawn extension (Test, *76, 10) exited non-zero on 'SIP/118-000000f1'
    -- Executing [h@Test:1] Macro("SIP/118-000000f1", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/118-000000f1", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/118-000000f1", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/118-000000f1", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/118-000000f1' in macro 'hangupcall'
  == Spawn extension (Test, h, 1) exited non-zero on 'SIP/118-000000f1'
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('HANGUP',{ts '2015-02-19 10:49:47'},'Wayne','118','118','','*76','h','Test','SIP/118-000000f1','','',3,'','1424303384.317','1424303384.317','','','')]
  == Extension Changed 118[ext-local] new state Idle for Notify User 101
  == Extension Changed 118[ext-local] new state Idle for Notify User 118
  == Extension Changed 118[ext-local] new state Idle for Notify User 100
  == Extension Changed 118[ext-local] new state Idle for Notify User 105
  == Extension Changed 118[ext-local] new state Idle for Notify User 111
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('CHAN_END',{ts '2015-02-19 10:49:48'},'Wayne','118','118','','*76','h','Test','SIP/118-000000f1','','',3,'','1424303384.317','1424303384.317','','','')]
       > [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES ('LINKEDID_END',{ts '2015-02-19 10:49:48'},'Wayne','118','118','','*76','h','Test','SIP/118-000000f1','','',3,'','1424303384.317','1424303384.317','','','')]
Test-pbx*CLI>'

The BLF on the phones does not work and when I use the extensionstate command in AJAM I get the following:

Response: Success
Message: Extension Status
Exten: 118
Context: default
Hint: SIP/118
Status: 0

When I toggle dnd it doesn’t change.

Any ideas on how I can debug and solve this problem?

Thanks!

This can be closed.

Someone changed the hint settings in Advanced settings.

Just a simple misunderstanding.

1 Like