Any of the DND options are not working (*78, *79, *76) I dial one of them, it acts like its going to call and then just hangs up. I’ve tried it from several phones including a softphone, all same effect.
Any advice would be great! Thanks!
here is my asterisk -vvvvvr output…
localhost*CLI>
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [*78@from-internal:1] Answer(“SIP/901-0000000e”, “”) in new stack
– Executing [*78@from-internal:2] Wait(“SIP/901-0000000e”, “1”) in new stack
> 0xb76735b8 – Probation passed - setting RTP source address to 192.168.1.20:53632
– Executing [*78@from-internal:3] Macro(“SIP/901-0000000e”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/901-0000000e”, “TOUCH_MONITOR=1399073724.14”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/901-0000000e”, “AMPUSER=901”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/901-0000000e”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/901-0000000e”, “1?Set(REALCALLERIDNUM=901)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/901-0000000e”, “AMPUSER=901”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/901-0000000e”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/901-0000000e”, “AMPUSERCIDNAME=MacSoftPhone”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/901-0000000e”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/901-0000000e”, “AMPUSERCID=901”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/901-0000000e”, “__DIAL_OPTIONS=Ttr”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/901-0000000e”, “CALLERID(all)=“MacSoftPhone” <901>”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/901-0000000e”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/901-0000000e”, “0?Set(GROUP(concurrency_limit)=901)”) in new stack
– Executing [s@macro-user-callerid:14] GosubIf(“SIP/901-0000000e”, “7?sub-ccss,s,1(from-internal,*78)”) in new stack
– Executing [s@sub-ccss:1] ExecIf(“SIP/901-0000000e”, “0?Return()”) in new stack
– Executing [s@sub-ccss:2] Set(“SIP/901-0000000e”, “CCSS_SETUP=TRUE”) in new stack
– Executing [s@sub-ccss:3] GosubIf(“SIP/901-0000000e”, “0?monitor_config,1(from-internal,*78):monitor_default,1(from-internal,*78)”) in new stack
– Executing [monitor_default@sub-ccss:1] GotoIf(“SIP/901-0000000e”, “0?is_exten”) in new stack
– Executing [monitor_default@sub-ccss:2] StackPop(“SIP/901-0000000e”, “”) in new stack
– Executing [monitor_default@sub-ccss:3] Return(“SIP/901-0000000e”, “FALSE”) in new stack
– Executing [s@macro-user-callerid:15] ExecIf(“SIP/901-0000000e”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:16] GotoIf(“SIP/901-0000000e”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:17] Set(“SIP/901-0000000e”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:18] GotoIf(“SIP/901-0000000e”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,29)
– Executing [s@macro-user-callerid:29] Set(“SIP/901-0000000e”, “CALLERID(number)=901”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/901-0000000e”, “CALLERID(name)=MacSoftPhone”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/901-0000000e”, “CDR(cnum)=901”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/901-0000000e”, “CDR(cnam)=MacSoftPhone”) in new stack
– Executing [s@macro-user-callerid:33] Set(“SIP/901-0000000e”, “CHANNEL(language)=en”) in new stack
– Executing [*78@from-internal:4] Set(“SIP/901-0000000e”, “DB(DND/901)=YES”) in new stack
– Executing [*78@from-internal:5] Playback(“SIP/901-0000000e”, “do-not-disturb&activated”) in new stack
– Executing [*78@from-internal:6] Macro(“SIP/901-0000000e”, “hangupcall,”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/901-0000000e”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [s@macro-hangupcall:3] ExecIf(“SIP/901-0000000e”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [s@macro-hangupcall:4] Hangup(“SIP/901-0000000e”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/901-0000000e’ in macro ‘hangupcall’
== Spawn extension (from-internal, *78, 6) exited non-zero on ‘SIP/901-0000000e’
– Executing [h@from-internal:1] Hangup(“SIP/901-0000000e”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/901-0000000e’