Hi, I am having trouble with Polycom forwards and Asterisk. Basically, I have no clue on how to force callerid or even custom variables (set using SetVar in the sip.conf file) on the transfered call. For example, I set a variable called var_a to "foo". When the call comes in, the variable is set. The Polycom is set to forward the call to 555-555-1234. When that second "leg" of the same is done, var_a is unset. Any solutions? Mick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080520/8e1cbaee/attachment.htm
On Tue, 2008-05-20 at 10:55 -0400, Mike wrote:> Hi, > > > > I am having trouble with Polycom forwards and Asterisk. Basically, I > have no clue on how to force callerid or even custom variables (set > using SetVar in the sip.conf file) on the transfered call. > > > > For example, I set a variable called var_a to "foo". When the call > comes in, the variable is set. The Polycom is set to forward the call > to 555-555-1234. When that second "leg" of the same is done, var_a is > unset.Did you try _var_a? Iirc you need to prepend it with an underscore to make the variable persistent. Regards, Patrick