[Asterisk-Users] Problems with variables

Bastian Schern ml01 at in-bln.de
Tue Jul 27 06:40:42 MST 2004


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



More information about the asterisk-users mailing list