Hi *, I have problems with the variables in the extensions.conf file. --- snip --- [global] JOHN=SIP/17 [incoming] exten => s,1,Answer() exten => s,2,Playback(demo-enterkeywords) exten => s,3,Background(demo-congrats) exten => 1,1,Dial(SIP/17) exten => 2,1,Dial(${JOHN}) --- snap --- If I dial 1 it will work fine, but if I dial 2 I will get this Message in the Asterisk CLI: Jul 27 17:39:34 WARNING[425999]: app_dial.c:485 dial_exec: Dial argument takes format (technology1/number1&technology2/number2...|optional timeout) Does anybody knows where the problem is? Cheers Bastian
On Tue, 2004-07-27 at 09:40, Bastian Schern wrote:> Hi *, > > I have problems with the variables in the extensions.conf file. > > --- snip --- > [global] > JOHN=SIP/17 > > [incoming] > exten => s,1,Answer() > exten => s,2,Playback(demo-enterkeywords) > exten => s,3,Background(demo-congrats) > exten => 1,1,Dial(SIP/17) > exten => 2,1,Dial(${JOHN}) > --- snap --- > > If I dial 1 it will work fine, but if I dial 2 I will get this Message > in the Asterisk CLI: > Jul 27 17:39:34 WARNING[425999]: app_dial.c:485 dial_exec: Dial argument > takes format (technology1/number1&technology2/number2...|optional timeout)[global] should be [globals] -Seth -- Seth Remington SaberLogic, LLC 661-B Weber Drive Wadsworth, Ohio 44281 Phone: (330)335-6442 Fax: (330)336-8559
Seth Remington schrieb:> On Tue, 2004-07-27 at 09:40, Bastian Schern wrote: > >>Hi *, >> >>I have problems with the variables in the extensions.conf file. >> >>--- snip --- >>[global] >>JOHN=SIP/17 >> >>[incoming] >>exten => s,1,Answer() >>exten => s,2,Playback(demo-enterkeywords) >>exten => s,3,Background(demo-congrats) >>exten => 1,1,Dial(SIP/17) >>exten => 2,1,Dial(${JOHN}) >>--- snap --- >> >>If I dial 1 it will work fine, but if I dial 2 I will get this Message >>in the Asterisk CLI: >>Jul 27 17:39:34 WARNING[425999]: app_dial.c:485 dial_exec: Dial argument >>takes format (technology1/number1&technology2/number2...|optional timeout) > > > [global] should be [globals] > > -Seth >Ups, I got my information from here: http://www.asteriskdocs.org/modules/tinycontent/content/docbook/current/docs-html/x680.html Is it an error in the doc? ;-) thanks for help Bastian