[asterisk-users] Setvar=var=val in sip.conf
Joshua Colp
jcolp at digium.com
Mon Jul 17 12:14:30 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
No, this will set the variable "cid_agent " to the value " 80014054". The spaces are considered part of the variable name and variable value.
> >
>
> Turns out you can't have spaces between setvar and the '='. I'm going
> to open a bug on this, because all other sip.conf settings are ok with
> a space.
setvar is no different. In the future you can use sip show peer to see what is happening.
>
> Doug.
> _______________________________________________
Joshua Colp
More information about the asterisk-users
mailing list