On Thu, 2005-11-17 at 07:10 +1300, Matt Riddell wrote:
> Kenneth Shaw wrote:
> > exten => 123,1,SetVar(DYNAMIC_FEATURES=automon) ; enable One-touch 
> > exten => 123,2,Dial(SIP/phone100,,wW) ; wW allow one-touch recording
> 
> Heh, I wasn't even close.
> 

Actually, you don't have to do a SetVar to enable it, which would
require it to be enabled before every single Dial statement.

Instead, to enable automon globally, you can in extensions.conf put:

[globals]
DYNAMIC_FEATURES=>automon

Which will enable it for any Dial() or Queue() call with the options w
or W set.

-- 
Kenneth Shaw
Director of Technology
ExpiTrans, Inc.
129 W. Wilson St., Suite 204
Costa Mesa, CA 92627
tel: 949 278 7288
fax: 866 494 5043
[EMAIL PROTECTED]

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to