Can't get user's Digium phone out of DND

My user has a Digium D70 phone and I can’t get DND tuned off. The phone reads Available but when you call her it goes straight to voicemail. I went into her UCP and tried to change it there but still no change. I also unplugged the phone from POE to reboot it, still no change. How can I get this phone back working?
Thanks,
BW

Why do you think that DND is the issue? Does it say somewhere that the extension is set to DND?

What’s the output of pjsip show contacts for that extension?

I’m on Freepbx 13. pjsip show contacts reads command not found.

You are using chan_sip then. Try sip show peers.

Beyond that you’ll need to supply a log output of the failed call when it happens.

https://wiki.freepbx.org/display/SUP/Providing+Great+Debug

sip show peers also reads command not found. I’ll check your link. The calls in are not failing. They are just going straight to voicemail instead of ringing the phone so the user to answer it.
Thanks for replying.

Are you in the asterisk console or just the CLI? You need to be inside of the asterisk console to run those commands.

Technically the calls to the extension are failing. If the extension is offline for whatever reason asterisk sends the call directly to VM.

I was just in the CLI. In asterisk sip show peers the extension in question read:
916/916 the ip address D No No A 5060 Ok 3ms

Yea, providing a log of the call going to VM is the next step.

I’m not highly Linux savvy but I try to research first.
I tried from the asterisk cli: cat /var/log/asterisk/full | grep 916
Once again I rec’d no such command.
What else can I try to get the log of the call?

Once you are on the CLI if you get into the asterisk console with asterisk -rvvv and make a call you should see some output after dialing the number. Copy all of the output after dialing the number and put it here for us to take a look at.

I only changed the names of the caller and the party called***
Asterisk cleanly ending (0).
Executing last minute cleanups
[root@localhost ~]# asterisk -rvvv
Asterisk 13.29.2, Copyright (C) 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer [email protected]
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 13.29.2 currently running on localhost (pid = 2594)
[2023-03-22 15:16:45] NOTICE[2653]: chan_sip.c:28488 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 624
[2023-03-22 15:16:46] NOTICE[2653]: chan_sip.c:28488 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 269
[2023-03-22 15:17:33] NOTICE[2653]: chan_sip.c:28488 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 622
[2023-03-22 15:17:41] NOTICE[2653]: chan_sip.c:28488 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 269
[2023-03-22 15:18:24] NOTICE[2653]: chan_sip.c:28488 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 269
[2023-03-22 15:18:36] NOTICE[2653]: chan_sip.c:28488 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 269
[2023-03-22 15:19:15] NOTICE[2653]: chan_sip.c:28488 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 624
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [916@from-internal:1] GotoIf(“SIP/640-00007b5b”, “0?ext-local,916,1:followme-check,916,1”) in new stack
– Goto (followme-check,916,1)
– Executing [916@followme-check:1] Gosub(“SIP/640-00007b5b”, “followme-sub,916,1()”) in new stack
== Extension Changed 640[ext-local] new state InUse for Notify User 169
– Executing [916@followme-sub:1] Macro(“SIP/640-00007b5b”, “user-callerid,”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 927
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 772
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 250
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 650
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 151
– Executing [s@macro-user-callerid:1] Set(“SIP/640-00007b5b”, “TOUCH_MONITOR=1679512767.69392”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 160
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 259
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 267
– Executing [s@macro-user-callerid:2] Set(“SIP/640-00007b5b”, “AMPUSER=640”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 253
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 166
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 640
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 251
– Executing [s@macro-user-callerid:3] Set(“SIP/640-00007b5b”, “HOTDESCKCHAN=640-00007b5b”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 896
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 697
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 923
– Executing [s@macro-user-callerid:4] Set(“SIP/640-00007b5b”, “HOTDESKEXTEN=640”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 920
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 686
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 915
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 917
– Executing [s@macro-user-callerid:5] Set(“SIP/640-00007b5b”, “HOTDESKCALL=0”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 898
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 646
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 919
– Executing [s@macro-user-callerid:6] ExecIf(“SIP/640-00007b5b”, “0?Set(HOTDESKCALL=1)”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 256
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 655
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 914
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 656
– Executing [s@macro-user-callerid:7] ExecIf(“SIP/640-00007b5b”, “0?Set(CALLERID(name)=)”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 262
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 770
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 254
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 257
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/640-00007b5b”, “0?report”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 648
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 167
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 644
– Executing [s@macro-user-callerid:9] ExecIf(“SIP/640-00007b5b”, “1?Set(REALCALLERIDNUM=640)”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 925
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 168
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 150
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 642
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 886
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 658
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 255
– Executing [s@macro-user-callerid:10] Set(“SIP/640-00007b5b”, “AMPUSER=640”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 161
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 261
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 647
– Executing [s@macro-user-callerid:11] GotoIf(“SIP/640-00007b5b”, “0?limit”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 266
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 162
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 657
– Executing [s@macro-user-callerid:12] Set(“SIP/640-00007b5b”, “AMPUSERCIDNAME=Lee Boling”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 164
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 683
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 265
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 659
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 159
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 649
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 692
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 654
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/640-00007b5b”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 885
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 653
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 252
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 926
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 258
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 895
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 687
– Executing [s@macro-user-callerid:14] GotoIf(“SIP/640-00007b5b”, “0?report”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 884
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 924
– Executing [s@macro-user-callerid:15] Set(“SIP/640-00007b5b”, “AMPUSERCID=640”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 890
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 165
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 894
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 893
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 163
– Executing [s@macro-user-callerid:16] Set(“SIP/640-00007b5b”, “__DIAL_OPTIONS=Ttr”) in new stack
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 918
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 260
== Extension Changed auto_hint_640[from-internal] new state InUse for Notify User 916
– Executing [s@macro-user-callerid:17] Set(“SIP/640-00007b5b”, “CALLERID(all)= “Callers Name” <640>”) in new stack
– Executing [s@macro-user-callerid:18] GotoIf(“SIP/640-00007b5b”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:19] ExecIf(“SIP/640-00007b5b”, “0?Set(GROUP(concurrency_limit)=640)”) in new stack
– Executing [s@macro-user-callerid:20] ExecIf(“SIP/640-00007b5b”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:21] NoOp(“SIP/640-00007b5b”, “Macro Depth is 1”) in new stack
– Executing [s@macro-user-callerid:22] GotoIf(“SIP/640-00007b5b”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] GotoIf(“SIP/640-00007b5b”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:24] ExecIf(“SIP/640-00007b5b”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
– Executing [s@macro-user-callerid:25] Set(“SIP/640-00007b5b”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:26] GotoIf(“SIP/640-00007b5b”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,42)
– Executing [s@macro-user-callerid:42] Set(“SIP/640-00007b5b”, “CALLERID(number)=640”) in new stack
– Executing [s@macro-user-callerid:43] Set(“SIP/640-00007b5b”, “CALLERID(name)=Callers Name”) in new stack
– Executing [s@macro-user-callerid:44] GotoIf(“SIP/640-00007b5b”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:45] Set(“SIP/640-00007b5b”, “CDR(cnam)=Callers Name”) in new stack
– Executing [s@macro-user-callerid:46] Set(“SIP/640-00007b5b”, “CDR(cnum)=640”) in new stack
– Executing [s@macro-user-callerid:47] Set(“SIP/640-00007b5b”, “CHANNEL(language)=en”) in new stack
– Executing [s@macro-user-callerid:48] GosubIf(“SIP/640-00007b5b”, “0?app-check-classofservce,s,1()”) in new stack
– Executing [916@followme-sub:2] Set(“SIP/640-00007b5b”, “DIAL_OPTIONS=TtrI”) in new stack
– Executing [916@followme-sub:3] Set(“SIP/640-00007b5b”, “CONNECTEDLINE(num,i)=916”) in new stack
– Executing [916@followme-sub:4] Gosub(“SIP/640-00007b5b”, “sub-presencestate-display,s,1(916)”) in new stack
– Executing [s@sub-presencestate-display:1] Goto(“SIP/640-00007b5b”, “state-available,1”) in new stack
– Goto (sub-presencestate-display,state-available,1)
– Executing [state-available@sub-presencestate-display:1] Set(“SIP/640-00007b5b”, “PRESENCESTATE_DISPLAY=(Available)”) in new stack
– Executing [state-available@sub-presencestate-display:2] Return(“SIP/640-00007b5b”, “”) in new stack
– Executing [916@followme-sub:5] Set(“SIP/640-00007b5b”, “CONNECTEDLINE(name)=Party Called(Available)”) in new stack
– Executing [916@followme-sub:6] Set(“SIP/640-00007b5b”, “FM_DIALSTATUS=BUSY”) in new stack
– Executing [916@followme-sub:7] Set(“SIP/640-00007b5b”, “__EXTTOCALL=916”) in new stack
– Executing [916@followme-sub:8] Set(“SIP/640-00007b5b”, “__PICKUPMARK=916”) in new stack
– Executing [916@followme-sub:9] Macro(“SIP/640-00007b5b”, “blkvm-setifempty,”) in new stack
– Executing [s@macro-blkvm-setifempty:1] GotoIf(“SIP/640-00007b5b”, “1?init”) in new stack
– Goto (macro-blkvm-setifempty,s,4)
– Executing [s@macro-blkvm-setifempty:4] Set(“SIP/640-00007b5b”, “__BLKVM_CHANNEL=SIP/640-00007b5b”) in new stack
– Executing [s@macro-blkvm-setifempty:5] Set(“SIP/640-00007b5b”, “SHARED(BLKVM,SIP/640-00007b5b)=TRUE”) in new stack
– Executing [s@macro-blkvm-setifempty:6] Set(“SIP/640-00007b5b”, “GOSUB_RETVAL=TRUE”) in new stack
– Executing [s@macro-blkvm-setifempty:7] MacroExit(“SIP/640-00007b5b”, “”) in new stack
– Executing [916@followme-sub:10] GotoIf(“SIP/640-00007b5b”, “1?skipov”) in new stack
– Goto (followme-sub,916,13)
– Executing [916@followme-sub:13] Set(“SIP/640-00007b5b”, “RRNODEST=”) in new stack
– Executing [916@followme-sub:14] Set(“SIP/640-00007b5b”, “__NODEST=916”) in new stack
– Executing [916@followme-sub:15] GosubIf(“SIP/640-00007b5b”, “0?sub-fmsetcid,s,1()”) in new stack
– Executing [916@followme-sub:16] GotoIf(“SIP/640-00007b5b”, “1?skipprepend”) in new stack
– Goto (followme-sub,916,18)
– Executing [916@followme-sub:18] Set(“SIP/640-00007b5b”, “RecordMethod=Group”) in new stack
– Executing [916@followme-sub:19] Gosub(“SIP/640-00007b5b”, “sub-record-check,s,1(exten,916,)”) in new stack
– Executing [s@sub-record-check:1] GotoIf(“SIP/640-00007b5b”, “0?initialized”) in new stack
– Executing [s@sub-record-check:2] Set(“SIP/640-00007b5b”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:3] Set(“SIP/640-00007b5b”, “NOW=1679512767”) in new stack
– Executing [s@sub-record-check:4] Set(“SIP/640-00007b5b”, “__DAY=22”) in new stack
– Executing [s@sub-record-check:5] Set(“SIP/640-00007b5b”, “__MONTH=03”) in new stack
– Executing [s@sub-record-check:6] Set(“SIP/640-00007b5b”, “__YEAR=2023”) in new stack
– Executing [s@sub-record-check:7] Set(“SIP/640-00007b5b”, “__TIMESTR=20230322-151927”) in new stack
– Executing [s@sub-record-check:8] Set(“SIP/640-00007b5b”, “__FROMEXTEN=640”) in new stack
– Executing [s@sub-record-check:9] Set(“SIP/640-00007b5b”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:10] NoOp(“SIP/640-00007b5b”, “Recordings initialized”) in new stack
– Executing [s@sub-record-check:11] ExecIf(“SIP/640-00007b5b”, “1?Set(ARG3=dontcare)”) in new stack
– Executing [s@sub-record-check:12] Set(“SIP/640-00007b5b”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:13] ExecIf(“SIP/640-00007b5b”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [s@sub-record-check:14] GotoIf(“SIP/640-00007b5b”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [s@sub-record-check:17] GotoIf(“SIP/640-00007b5b”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [exten@sub-record-check:1] NoOp(“SIP/640-00007b5b”, “Exten Recording Check between 640 and 916”) in new stack
– Executing [exten@sub-record-check:2] Set(“SIP/640-00007b5b”, “CALLTYPE=internal”) in new stack
– Executing [exten@sub-record-check:3] ExecIf(“SIP/640-00007b5b”, “0?Set(CALLTYPE=)”) in new stack
– Executing [exten@sub-record-check:4] Set(“SIP/640-00007b5b”, “CALLEE=dontcare”) in new stack
– Executing [exten@sub-record-check:5] ExecIf(“SIP/640-00007b5b”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [exten@sub-record-check:6] GotoIf(“SIP/640-00007b5b”, “0?callee”) in new stack
– Executing [exten@sub-record-check:7] GotoIf(“SIP/640-00007b5b”, “1?caller”) in new stack
– Goto (sub-record-check,exten,13)
– Executing [exten@sub-record-check:13] Set(“SIP/640-00007b5b”, “RECMODE=dontcare”) in new stack
– Executing [exten@sub-record-check:14] ExecIf(“SIP/640-00007b5b”, “0?Set(RECMODE=dontcare)”) in new stack
– Executing [exten@sub-record-check:15] ExecIf(“SIP/640-00007b5b”, “1?Set(RECMODE=dontcare)”) in new stack
– Executing [exten@sub-record-check:16] Gosub(“SIP/640-00007b5b”, “recordcheck,1(dontcare,internal,916)”) in new stack
– Executing [recordcheck@sub-record-check:1] NoOp(“SIP/640-00007b5b”, “Starting recording check against dontcare”) in new stack
– Executing [recordcheck@sub-record-check:2] Goto(“SIP/640-00007b5b”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [recordcheck@sub-record-check:3] Return(“SIP/640-00007b5b”, “”) in new stack
– Executing [exten@sub-record-check:17] Return(“SIP/640-00007b5b”, “”) in new stack
– Executing [916@followme-sub:20] GotoIf(“SIP/640-00007b5b”, “1?skipdring”) in new stack
– Goto (followme-sub,916,23)
– Executing [916@followme-sub:23] Set(“SIP/640-00007b5b”, “STRATEGY=ringall”) in new stack
– Executing [916@followme-sub:24] Set(“SIP/640-00007b5b”, “__RVOL=”) in new stack
– Executing [916@followme-sub:25] GotoIf(“SIP/640-00007b5b”, “0?skipsimple”) in new stack
– Executing [916@followme-sub:26] GotoIf(“SIP/640-00007b5b”, “0 ?skipsimple”) in new stack
– Executing [916@followme-sub:27] Macro(“SIP/640-00007b5b”, “simple-dial,916,10”) in new stack
– Executing [s@macro-simple-dial:1] Set(“SIP/640-00007b5b”, “__EXTTOCALL=916”) in new stack
– Executing [s@macro-simple-dial:2] Set(“SIP/640-00007b5b”, “RT=10”) in new stack
– Executing [s@macro-simple-dial:3] Set(“SIP/640-00007b5b”, “CFUEXT=”) in new stack
– Executing [s@macro-simple-dial:4] Set(“SIP/640-00007b5b”, “CFBEXT=”) in new stack
– Executing [s@macro-simple-dial:5] Set(“SIP/640-00007b5b”, “CWI_TMP=”) in new stack
– Executing [s@macro-simple-dial:6] Macro(“SIP/640-00007b5b”, “dial-one,10,TtrI,916”) in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/640-00007b5b”, “DEXTEN=916”) in new stack
– Executing [s@macro-dial-one:2] Set(“SIP/640-00007b5b”, “__CRM_SOURCE=640”) in new stack
– Executing [s@macro-dial-one:3] ExecIf(“SIP/640-00007b5b”, “0?Set(__EXTTOCALL=916)”) in new stack
– Executing [s@macro-dial-one:4] Set(“SIP/640-00007b5b”, “DIALSTATUS_CW=”) in new stack
– Executing [s@macro-dial-one:5] GosubIf(“SIP/640-00007b5b”, “0?screen,1()”) in new stack
– Executing [s@macro-dial-one:6] GosubIf(“SIP/640-00007b5b”, “0?cf,1()”) in new stack
– Executing [s@macro-dial-one:7] GotoIf(“SIP/640-00007b5b”, “0?skip1”) in new stack
– Executing [s@macro-dial-one:8] Set(“SIP/640-00007b5b”, “DEXTEN=”) in new stack
– Executing [s@macro-dial-one:9] Set(“SIP/640-00007b5b”, “DIALSTATUS=BUSY”) in new stack
– Executing [s@macro-dial-one:10] GotoIf(“SIP/640-00007b5b”, “1?nodial”) in new stack
– Goto (macro-dial-one,s,60)
– Executing [s@macro-dial-one:60] NoOp(“SIP/640-00007b5b”, “”) in new stack
– Executing [s@macro-dial-one:61] ExecIf(“SIP/640-00007b5b”, “0?Set(DIALSTATUS=NOANSWER)”) in new stack
– Executing [s@macro-dial-one:62] NoOp(“SIP/640-00007b5b”, “Returned from dial-one with nothing to call and DIALSTATUS: BUSY”) in new stack
– Executing [s@macro-dial-one:63] MacroExit(“SIP/640-00007b5b”, “”) in new stack
– Executing [s@macro-simple-dial:7] Set(“SIP/640-00007b5b”, “__CWIGNORE=”) in new stack
– Executing [s@macro-simple-dial:8] Set(“SIP/640-00007b5b”, “PR_DIALSTATUS=BUSY”) in new stack
– Executing [s@macro-simple-dial:9] GosubIf(“SIP/640-00007b5b”, “0?docfu,1()”) in new stack
– Executing [s@macro-simple-dial:10] GosubIf(“SIP/640-00007b5b”, “0?docfb,1()”) in new stack
– Executing [s@macro-simple-dial:11] Set(“SIP/640-00007b5b”, “DIALSTATUS=BUSY”) in new stack
– Executing [s@macro-simple-dial:12] Goto(“SIP/640-00007b5b”, “s-BUSY,1”) in new stack
– Goto (macro-simple-dial,s-BUSY,1)
– Executing [s-BUSY@macro-simple-dial:1] NoOp(“SIP/640-00007b5b”, “Extension is reporting s-BUSY”) in new stack
– Executing [916@followme-sub:28] Set(“SIP/640-00007b5b”, “RingGroupMethod=ringall”) in new stack
– Executing [916@followme-sub:29] Set(“SIP/640-00007b5b”, “_FMGRP=916”) in new stack
– Executing [916@followme-sub:30] GotoIf(“SIP/640-00007b5b”, “1?DIALGRP”) in new stack
– Goto (followme-sub,916,34)
– Executing [916@followme-sub:34] ExecIf(“SIP/640-00007b5b”, “1?Set(DOPTS=TtrI):Set(DOPTS=m(Ring)TtI)”) in new stack
– Executing [916@followme-sub:35] GotoIf(“SIP/640-00007b5b”, “0?doconfirm”) in new stack
– Executing [916@followme-sub:36] GotoIf(“SIP/640-00007b5b”, “0?ringallv21”) in new stack
– Executing [916@followme-sub:37] Macro(“SIP/640-00007b5b”, “dial,20,TtrI,916”) in new stack
– Executing [s@macro-dial:1] NoOp(“SIP/640-00007b5b”, "Blind Transfer: , Attended Transfer: , User: 640, Alert Info: ") in new stack
– Executing [s@macro-dial:2] Set(“SIP/640-00007b5b”, “__CRM_SOURCE=640”) in new stack
– Executing [s@macro-dial:3] ExecIf(“SIP/640-00007b5b”, “1?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial:4] ExecIf(“SIP/640-00007b5b”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial:5] ExecIf(“SIP/640-00007b5b”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [s@macro-dial:6] ExecIf(“SIP/640-00007b5b”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [s@macro-dial:7] AGI(“SIP/640-00007b5b”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: Caller ID name is ‘Callers Name’ number is ‘640’
dialparties.agi: CW Ignore is:
dialparties.agi: CF Ignore is:
dialparties.agi: CW IN_USE/BUSY is: 1
dialparties.agi: Methodology of ring is ‘ringall’
– dialparties.agi: Added extension 916 to extension map
– dialparties.agi: Extension 916 cf is disabled
== dialparties.agi: Extension 916 has do not disturb enabled, or followme pre-ring returned busy
– dialparties.agi: Filtered ARG3:
– <SIP/640-00007b5b>AGI Script dialparties.agi completed, returning 0
– Executing [s@macro-dial:8] NoOp(“SIP/640-00007b5b”, “Returned from dialparties with no extensions to call and DIALSTATUS: BUSY”) in new stack
– Executing [s@macro-dial:9] MacroExit(“SIP/640-00007b5b”, “”) in new stack
– Executing [916@followme-sub:38] Goto(“SIP/640-00007b5b”, “nextstep”) in new stack
– Goto (followme-sub,916,45)
– Executing [916@followme-sub:45] Set(“SIP/640-00007b5b”, “RingGroupMethod=”) in new stack
– Executing [916@followme-sub:46] GotoIf(“SIP/640-00007b5b”, “0?nodest”) in new stack
– Executing [916@followme-sub:47] Set(“SIP/640-00007b5b”, “__NODEST=”) in new stack
– Executing [916@followme-sub:48] Set(“SIP/640-00007b5b”, “__PICKUPMARK=”) in new stack
– Executing [916@followme-sub:49] Macro(“SIP/640-00007b5b”, “blkvm-clr,”) in new stack
– Executing [s@macro-blkvm-clr:1] Set(“SIP/640-00007b5b”, “SHARED(BLKVM,SIP/640-00007b5b)=”) in new stack
– Executing [s@macro-blkvm-clr:2] Set(“SIP/640-00007b5b”, “GOSUB_RETVAL=”) in new stack
– Executing [s@macro-blkvm-clr:3] MacroExit(“SIP/640-00007b5b”, “”) in new stack
– Executing [916@followme-sub:50] Set(“SIP/640-00007b5b”, “DIALSTATUS=BUSY”) in new stack
– Executing [916@followme-sub:51] GotoIf(“SIP/640-00007b5b”, “0?dohangup”) in new stack
– Executing [916@followme-sub:52] Goto(“SIP/640-00007b5b”, “ext-local,916,dest”) in new stack
– Goto (ext-local,916,3)
– Executing [916@ext-local:3] Set(“SIP/640-00007b5b”, “__PICKUPMARK=”) in new stack
– Executing [916@ext-local:4] Macro(“SIP/640-00007b5b”, “vm,916,BUSY,”) in new stack
– Executing [s@macro-vm:1] Macro(“SIP/640-00007b5b”, “user-callerid,SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/640-00007b5b”, “TOUCH_MONITOR=1679512767.69392”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/640-00007b5b”, “AMPUSER=640”) in new stack
– Executing [s@macro-user-callerid:3] Set(“SIP/640-00007b5b”, “HOTDESCKCHAN=640-00007b5b”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/640-00007b5b”, “HOTDESKEXTEN=640”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/640-00007b5b”, “HOTDESKCALL=0”) in new stack
– Executing [s@macro-user-callerid:6] ExecIf(“SIP/640-00007b5b”, “0?Set(HOTDESKCALL=1)”) in new stack
– Executing [s@macro-user-callerid:7] ExecIf(“SIP/640-00007b5b”, “0?Set(CALLERID(name)=)”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/640-00007b5b”, “10?report”) in new stack
– Goto (macro-user-callerid,s,21)
– Executing [s@macro-user-callerid:21] NoOp(“SIP/640-00007b5b”, “Macro Depth is 2”) in new stack
– Executing [s@macro-user-callerid:22] GotoIf(“SIP/640-00007b5b”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] GotoIf(“SIP/640-00007b5b”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,42)
– Executing [s@macro-user-callerid:42] Set(“SIP/640-00007b5b”, “CALLERID(number)=640”) in new stack
– Executing [s@macro-user-callerid:43] Set(“SIP/640-00007b5b”, “CALLERID(name)=Callers Name”) in new stack
– Executing [s@macro-user-callerid:44] GotoIf(“SIP/640-00007b5b”, “0?cnum”) in new stack
– Executing [s@macro-user-callerid:45] Set(“SIP/640-00007b5b”, “CDR(cnam)=Callers Name”) in new stack
– Executing [s@macro-user-callerid:46] Set(“SIP/640-00007b5b”, “CDR(cnum)=640”) in new stack
– Executing [s@macro-user-callerid:47] Set(“SIP/640-00007b5b”, “CHANNEL(language)=en”) in new stack
– Executing [s@macro-user-callerid:48] GosubIf(“SIP/640-00007b5b”, “0?app-check-classofservce,s,1()”) in new stack
– Executing [s@macro-vm:2] Set(“SIP/640-00007b5b”, “VMGAIN=g(12)”) in new stack
– Executing [s@macro-vm:3] Macro(“SIP/640-00007b5b”, “blkvm-check,”) in new stack
– Executing [s@macro-blkvm-check:1] Set(“SIP/640-00007b5b”, “GOSUB_RETVAL=”) in new stack
– Executing [s@macro-blkvm-check:2] ExecIf(“SIP/640-00007b5b”, “0?Set(GOSUB_RETVAL=TRUE)”) in new stack
– Executing [s@macro-blkvm-check:3] MacroExit(“SIP/640-00007b5b”, “”) in new stack
– Executing [s@macro-vm:4] GotoIf(“SIP/640-00007b5b”, “1?vmx,1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [vmx@macro-vm:1] Set(“SIP/640-00007b5b”, “__EXTTOCALL=916”) in new stack
– Executing [vmx@macro-vm:2] Set(“SIP/640-00007b5b”, “__CRM_VOICEMAIL=916”) in new stack
– Executing [vmx@macro-vm:3] Set(“SIP/640-00007b5b”, “MEXTEN=916”) in new stack
– Executing [vmx@macro-vm:4] Set(“SIP/640-00007b5b”, “MMODE=BUSY”) in new stack
– Executing [vmx@macro-vm:5] Set(“SIP/640-00007b5b”, “RETVM=”) in new stack
– Executing [vmx@macro-vm:6] Set(“SIP/640-00007b5b”, “MODE=busy”) in new stack
– Executing [vmx@macro-vm:7] Macro(“SIP/640-00007b5b”, “get-vmcontext,916”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“SIP/640-00007b5b”, “VMCONTEXT=default”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/640-00007b5b”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [s@macro-get-vmcontext:300] NoOp(“SIP/640-00007b5b”, “”) in new stack
– Executing [vmx@macro-vm:8] Set(“SIP/640-00007b5b”, “MODE=busy”) in new stack
– Executing [vmx@macro-vm:9] NoOp(“SIP/640-00007b5b”, “MODE IS: busy”) in new stack
– Executing [vmx@macro-vm:10] GotoIf(“SIP/640-00007b5b”, “1?chknomsg”) in new stack
– Goto (macro-vm,vmx,12)
– Executing [vmx@macro-vm:12] GotoIf(“SIP/640-00007b5b”, “0?s-BUSY,1”) in new stack
– Executing [vmx@macro-vm:13] GotoIf(“SIP/640-00007b5b”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,15)
– Executing [vmx@macro-vm:15] NoOp(“SIP/640-00007b5b”, "Checking if ext 916 is enabled: ") in new stack
– Executing [vmx@macro-vm:16] GotoIf(“SIP/640-00007b5b”, “1?s-BUSY,1”) in new stack
– Goto (macro-vm,s-BUSY,1)
– Executing [s-BUSY@macro-vm:1] NoOp(“SIP/640-00007b5b”, “BUSY voicemail”) in new stack
– Executing [s-BUSY@macro-vm:2] Macro(“SIP/640-00007b5b”, “get-vmcontext,916”) in new stack
– Executing [s@macro-get-vmcontext:1] Set(“SIP/640-00007b5b”, “VMCONTEXT=default”) in new stack
– Executing [s@macro-get-vmcontext:2] GotoIf(“SIP/640-00007b5b”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [s@macro-get-vmcontext:300] NoOp(“SIP/640-00007b5b”, “”) in new stack
– Executing [s-BUSY@macro-vm:3] VoiceMail(“SIP/640-00007b5b”, “916@default,bg(12)”) in new stack
– <SIP/640-00007b5b> Playing ‘/var/spool/asterisk/voicemail/default/916/busy.slin’ (language ‘en’)
[2023-03-22 15:19:31] NOTICE[2653]: chan_sip.c:28488 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 269
– <SIP/640-00007b5b> Playing ‘vm-intro.ulaw’ (language ‘en’)
– <SIP/640-00007b5b> Playing ‘beep.ulaw’ (language ‘en’)
– Recording the message
– x=0, open writing: /var/spool/asterisk/voicemail/default/916/tmp/fNiEwV format: wav, 0x7f7970cd0508
– User hung up
– Recording was 0 seconds long but needs to be at least 1 - abandoning
== Spawn extension (macro-vm, s-BUSY, 3) exited non-zero on ‘SIP/640-00007b5b’ in macro ‘vm’
== Spawn extension (ext-local, 916, 4) exited non-zero on ‘SIP/640-00007b5b’
– Executing [h@ext-local:1] Macro(“SIP/640-00007b5b”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/640-00007b5b”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/640-00007b5b”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/640-00007b5b”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/640-00007b5b’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘SIP/640-00007b5b’
== Extension Changed 640[ext-local] new state Idle for Notify User 169

You were correct. It looks like DND is enabled on the extension. What happens if you dial the feature code *76 from the phone that’s extension 916, which is the DND toggle?

I’ll have the user try it tomorrow and let you know. Thanks

Sucess, *76 cleared the DND on the phone. Is there a site this lists other codes for Digium Phones?
I really apprciate the assist.
Thanks,
BW

This is not a Digium phone feature, this is a FreePBX feature. You can look at all the feature codes under Admin → Feature Codes.

In this case provided by the DND module[1] I believe.

[1] Do Not Disturb (DND) Module User Guide - PBX GUI - Documentation

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.