Whoops! Forgot to change it for SIP devices. Of course you need to change your queue member devices to SIP and not Local/${ARG1} as I've got agents and other complications in mine.
You might need a context or not, see what happens! Rob Here is corrected version (I think will work, untested though!) > [macro-outofgroup] > exten => s,1,NoOp("macro-outofgroup reached: ${ARG1}") > exten => s,n,NoOp( -- DND pausing queue member: SIP/${ARG1} --- ) > exten => s,n,PauseQueueMember(|SIP/${ARG1}) > exten => s,n,Set(DB(${ARG1}/outofgroup)=1) > exten => s,n,Answer > exten => s,n,Playback(extras/dnd-out-of-group) > exten => s,n,Hangup > > [macro-ingroup] > exten => s,1,NoOp("macro-ingroup reached: ${ARG1}") > exten => s,n,NoOp( -- DND unpausing queue member: SIP/${ARG1} --- ) > exten => s,n,UnPauseQueueMember(|SIP/${ARG1}) > exten => s,n,DBdel(${ARG1}/outofgroup) > exten => s,n,Answer > exten => s,n,Playback(extras/dnd-now-in-group) > exten => s,n,Hangup > > [macro-togglegroup] > exten => s,1,NoOp("macro-togglegroup reached: ${ARG1}") > exten => s,n,GotoIf($["${DB(${ARG1}/outofgroup)}" = ""]?900) > exten => s,n,Macro(ingroup,${ARG1}) > exten => s,n,Hangup > > exten => s,900,Macro(outofgroup,${ARG1}); > exten => s,n,Hangup -- Robert Lister - London Internet Exchange - http://www.linx.net/ sip:[EMAIL PROTECTED] - inoc-dba:5459*710 - tel: +44 (0)20 7645 3510 _______________________________________________ Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users