Joseph wrote on Saturday, 26 February 2005 8:38 PM:

> I'm testing two options from dial command and can not make them to
> work. 

< < < S N I P > > >

> exten => 21,1,Dial(${phone1},20,r,w)
> exten => 21,1,Dial(${phone1},20,r,L(5[:4][:1]))

Try: 

exten => 21,1,Dial(${phone1},20,rw)

Options should be combined.   

and

exten => 21,1,Dial(${phone1},20,rwL(300000:240000:60000))

This limits the call to five minutes, warning every 60 seconds when four
minutes are remaining.  Keep in mind that time is specified in milliseconds.
(FYI:  There are 60,000 milliseconds in a minute.)

                Sincerely,
                Trevor Hammonds

_______________________________________________
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