[Asterisk-Users] Define variable in sip.conf
Olle E. Johansson
oej at edvina.net
Wed Oct 5 22:55:40 MST 2005
Benjamin Lawetz wrote:
> I'm looking for a way to transmit a user specific variable to my dialplan
>
> If we use the example of the hair color, I was thinking of having something
> like:
>
> [bob]
> context=users
> host=dynamic
> secret=password
> type=friend
> username=bob
> hair=brown
Use
setvar=hair=brown
in 1.2beta or CVS head. Works for both IAX2 and SIP configuration files.
/Olle
More information about the asterisk-users
mailing list