-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Mike Diehl
Sent: Sunday, October 24, 2010 4:55 PM
To: [email protected]
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 = 155512...@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.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users