----- Original Message ----- From: "Olle E. Johansson" <[EMAIL PROTECTED]> To: "Asterisk Users Mailing List - Non-Commercial Discussion" <[email protected]>
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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to