[Asterisk-Users] Automon / wW options ?

Kenneth Shaw ken at expitrans.com
Wed Nov 16 11:30:06 MST 2005


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
ken at expitrans.com




More information about the asterisk-users mailing list