[Asterisk-Users] Define variable in sip.conf
James H Thompson
jht at lj.net
Tue Nov 8 17:02:16 MST 2005
----- Original Message -----
From: "Olle E. Johansson" <oej at edvina.net>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Sent: Wednesday, October 05, 2005 7:55 PM
Subject: Re: [Asterisk-Users] Define variable in sip.conf
> 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
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list