Re: [asterisk-users] Accessing a 'user' variable via. dialplan.

2011-01-20 Thread Andrew Thomas
1 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Accessing a 'user' variable via. dialplan. > -Original Message- > From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users- > boun...@lists.digium.com] O

Re: [asterisk-users] Accessing a 'user' variable via. dialplan.

2011-01-20 Thread William Stillwell
t: [asterisk-users] Accessing a 'user' variable via. dialplan. > > Hi, > > I know you can access various sip variables via > 'Set(sstatus=${SIPPEER(201,status)})' (for example) to get the status > of > the sip user - but what about variables? > > I have a u

[asterisk-users] Accessing a 'user' variable via. dialplan.

2011-01-20 Thread Andrew Thomas
Hi, I know you can access various sip variables via 'Set(sstatus=${SIPPEER(201,status)})' (for example) to get the status of the sip user - but what about variables? I have a user that has setvar=123456 in their users.conf (sip.conf if you prefer). I can read it with a 'sip show peer 201