[Asterisk-Users] Limit the call & recording when pressing *1

Kris Stark Kris.Stark at goDataflow.com
Sat Feb 26 23:41:23 MST 2005


Joseph wrote:
> On Sat, 2005-02-26 at 22:14 -0800, Luki wrote:
> 
>>>exten => 21,1,Dial(${phone1},20,r,L(5[:4][:1]))
>>
>>I think should be:
>>exten => 21,1,Dial(${phone1},20,r,L(5:4:1))
>>
>>The [] mean the parameter is optional, but you don't use them when
>>specifying the values.
> 
> 
> I've tried that too, doesn't work!
> 5min. has passed and the call wasn't disconnected nor I hear any warning
> to message how many minutes are left.

Options should be in a single "section" so that all options are 
delimited by a single comma.  Thus, try:

exten => 21,1,Dial(${PHONE1},20,rwL(5:4:1))

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Kris.Stark.vcf
Type: text/x-vcard
Size: 306 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050227/b80ffc71/Kris.Stark.vcf


More information about the asterisk-users mailing list