Mark Reardon
2007-Mar-29 07:51 UTC
[asterisk-users] L options in Dial() dont seem to work....
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. Cheers Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070329/0a394e07/attachment.htm
Eric "ManxPower" Wieling
2007-Mar-29 08:10 UTC
[asterisk-users] L options in Dial() dont seem to work....
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
Steve Murphy
2007-Mar-29 08:17 UTC
[asterisk-users] L options in Dial() dont seem to work....
On Thu, 2007-03-29 at 15:51 +0100, 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]There's the prob: It's L(...) not L[...]. Another case of a silently rejected syntax error.> 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. > > Cheers > > Mark > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users