Search the wiki for the application command realtime() if you are using realtime.
www.voip-info.org > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of unplug > Sent: Monday, June 12, 2006 10:47 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] get value from DB directly > > Hi, > I want to know how I can get a value from a table. Say, I have a > table sip_buddies for storing sip user account information. There is > a field called 'accountcode' that I want to get its value in the dial > plan. As I find that there is no direct way to get the value from the > table. Does anyone can tell me how can I get its value in the dial > plan? > Thanks! > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users