[Asterisk-Users] get value from DB directly

unplug maillisting at gmail.com
Mon Jun 12 19:16:51 MST 2006


Thanks. I have set the ARA to using DB without problem.  From the
example, I can get the value of account code from sip_buddies using
the following.
exten=>100,1,Answer()
exten=>100,2,NoOp(${ACCOUNTCODE})

I can't get the value of the field 'cancallforward' using the following.
exten=>101,1,Answer()
exten=>101,2,NoOp(${CANCALLFORWARD})

How cant I get the value of each field in the table?



On 6/13/06, Damon Estep <damon at suburbanbroadband.net> wrote:
> Search the wiki for the application command realtime() if you are using
> realtime.
>
> www.voip-info.org



More information about the asterisk-users mailing list