[Asterisk-Users] get value from DB directly

Damon Estep damon at suburbanbroadband.net
Mon Jun 12 10:57:30 MST 2006


Search the wiki for the application command realtime() if you are using
realtime.

www.voip-info.org

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] 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



More information about the asterisk-users mailing list