[asterisk-users] Chan variables for peer

Mike Diehl mdiehl at diehlnet.com
Sun Oct 24 16:55:01 CDT 2010


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.



More information about the asterisk-users mailing list