Dial DND on feature code
Extension Changed 425[ext-local] new state InUse for Notify User 435
-- Executing [*78@from-internal:1] Answer("SIP/425-b4f177d8", "") in new stack
Extension Changed 425[ext-local] new state InUse for Notify User 424
Extension Changed 425[ext-local] new state InUse for Notify User 427
-- Executing [*78@from-internal:2] Wait("SIP/425-b4f177d8", "1") in new stack
-- Executing [*78@from-internal:3] Macro("SIP/425-b4f177d8", "user-callerid|") in new stack
-- Executing [*78@from-internal:4] Set("SIP/425-b4f177d8", "DB(DND/425)=YES") in new stack
-- Executing [*78@from-internal:5] Set("SIP/425-b4f177d8", "STATE=BUSY") in new stack
-- Executing [*78@from-internal:6] Gosub("SIP/425-b4f177d8", "sstate|1") in new stack
-- Executing [sstate@from-internal:1] Set("SIP/425-b4f177d8", "DEVICES=425") in new stack
-- Executing [sstate@from-internal:2] GotoIf("SIP/425-b4f177d8", "0?return") in new stack
-- Executing [sstate@from-internal:3] Set("SIP/425-b4f177d8", "LOOPCNT=1") in new stack
-- Executing [sstate@from-internal:4] Set("SIP/425-b4f177d8", "ITER=1") in new stack
-- Executing [sstate@from-internal:5] Set("SIP/425-b4f177d8", "DEVSTATE(Custom:FOLLOWME425)=BUSY") in new stack
At this point a show hints only displays Follow me as InUse? ??
Should this not be setting the following to inuse ?
425@ext-local : SIP/425&Custom:DND42 State:Idle Watchers 3
The only way I can get the DND hint to be Inuse is by dialling the full number being
*76xxx. Isn't the idea behind the devstate thing, is that when user sets dnd on or off, they can subscribe to the Custom devstate option ??