[Asterisk-Users] Problems with variables

Seth Remington sremington at saberlogic.com
Tue Jul 27 07:17:59 MST 2004


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




More information about the asterisk-users mailing list