[asterisk-users] Setvar=var=val in sip.conf

Patrick asterisk-list at puzzled.xs4all.nl
Mon Jul 17 11:13:03 MST 2006


On Mon, 2006-07-17 at 11:10 -0600, Douglas Garstang wrote:
[snip]
> setvar = cid_agent = 80014054  ; <---- This should set variable cid_agent to 80014054

Did you check the samples? All the lines in the samples use:
<foo>=<bar>

You have everywhere:
<foo> = <bar>

Did you try removing all those spaces and use:
setvar=cid_agent=80014054

Don't want to be picky but if the samples say "setvar" I would use
"setvar" and not "Setvar" as in the subject. No idea if it makes a
difference but this is Asterisk so you never know (unless you are fluent
in Asterisk code I guess).

Regards,
Patrick




More information about the asterisk-users mailing list