[asterisk-users] L options in Dial() dont seem to work....

Eric "ManxPower" Wieling eric at fnords.org
Thu Mar 29 08:10:33 MST 2007


Mark Reardon wrote:
> Hello Asterisk users,
> 
> Can someone thwack me with a clue stick please?
> I am following the Asterisk TFOT book Dial() example trying to get the 
> limit
> and announcements to work as per below.
> 
> These settings seem to have no effect.
> 
> There are no warning messages after 4 minutes or every 30 secs thereafter
> and the call lasts longer than 5 minutes.
> 
> gunner*CLI> show dialplan
> [ Context 'outgoing' created by 'pbx_config' ]
>  '123' =>       1. Answer()                                   [pbx_config]
>                    2. AGI(/usr/local/share/examples/asterisk/agi/agi-
> test.agi) [pbx_config]
>                    3. Hangup()
> [pbx_config]
>  '_X.' =>        1. Dial(SIP/sipprovider/${EXTEN}||L[300000:240000:30000])
> [pbx_config]
>                    2. Hangup()
> [pbx_config]
> 
> I am using 1.2.17.
> 
> /usr/local/sbin/asterisk -vvvvvv -g  -dddddd -c
> 
> Does not show anything to even indicate * is trying anything unusual with
> regards to limits or warnings. It just seems to ignore the dialplan options
> altogether.

You are using [ ] instead of ( ) after L


More information about the asterisk-users mailing list