I did, as a test, and it did work. The problem if that since the SIP phone (Polycom in my case) is handling the transfer, I have nowhere to put this line.
What I did, which I thought was the same, as put the underscores in the SIP registrations table's setvar column. But THAT didn't work. I`ll take a look at the other solution this evening. Hopefully it's not as complicated as it looks at first glance. Regards, Mick > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of Leif Madsen > Sent: Tuesday, June 10, 2008 09:34 > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [asterisk-users] Asterisk : using setvar with IP Realtime and > variable inheritance > > Mike wrote: > > If I hardcode this value in my dialplan using two underscores before it > (i.e > > Setvar(__did=5555551234) ) this works. But I can't hardcode it, I need > to > > fetch it from the table. > > Have you tried: > > Set(__did=${did}) > > That might work. > > -- > Leif Madsen > http://www.leifmadsen.com > http://www.oreilly.com/catalog/asterisk > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
