[asterisk-users] Chan variables for peer
Danny Nicholas
danny at debsinc.com
Mon Oct 25 09:53:19 CDT 2010
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Mike Diehl
Sent: Sunday, October 24, 2010 4:55 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Chan variables for peer
Hi all,
I used to configure each of my sip clients with a unique identifier via
setvar. These clients were all configured as "friends."
However, now that I've got some Polycom phones, which MUST be "peers," I am
unable to define this variable.
For example, this works:
[friend-client]
context = default
accountcode = pcc
type = friend
username = username
secret = ya,right
host = dynamic
nat = yes
canreinvite = no
callerid = User <155512345>
mailbox = 155512345 at customers,123456
setvar = id=123
However, if I change the type to "peer," I am unable to get a value for
${id}.
Is this a known limitation, or am I doing something wrong? If this won't
work, is there a work-around?
--
Take care and have fun,
Mike Diehl.
#1 check the bug tracker
#2 you might have to change the syntax - it seems to me that setvar=id=123
is an accident waiting to happen (or maybe it did.) setvar=>id=123 or setvar
= "id=123" might be more appropriate.
More information about the asterisk-users
mailing list