Has the syntax for setting up extentions changed?? In Hand Book ver 1 a dial command was like this: exten=>1234,1,Dial,Zap/1 In Hand Book ver 2 the syntax has changed to: exten=>1234,1,Dial(Zap/1) So how would a more complex definition like: exten=>1234,1,Dial,Zap/1|30|Tt be written in the new format? Thanks -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze
On Thu, 2003-03-20 at 14:14, WipeOut . wrote:> Has the syntax for setting up extentions changed?? > > In Hand Book ver 1 a dial command was like this: > exten=>1234,1,Dial,Zap/1 > > In Hand Book ver 2 the syntax has changed to: > exten=>1234,1,Dial(Zap/1) > > So how would a more complex definition like: > exten=>1234,1,Dial,Zap/1|30|Tt > > be written in the new format?pipes become commas, exten=>1234,1,Dial(Zap/1,30,Tt) -- Steven Critchfield <critch@basesys.com>
> So how would a more complex definition like: > exten=>1234,1,Dial,Zap/1|30|TtEither as exten => 1234,1,Dial(Zap/1|30|Tt) or exten => 1234,1,Dial(Zap/1,30,Tt) Asterisk automatically converts your "," to a | if it's in the (). This change was made to make it easier to read dialplans as though they were scripts. Mark