[asterisk-users] make func_realtime work like app_realtime (1.6)

BJ Weschke bweschke at gmail.com
Wed Oct 8 14:15:25 CDT 2008


Tilghman Lesher wrote:
> On Wednesday 08 October 2008 13:22:25 Rob Hillis wrote:
>   
>> Wesley Haut wrote:
>>     
>>> Yell at me if you will, but I hate func_realtime - it's not very
>>> usable nor is it change-friendly (update your database and your
>>> dialplan completely breaks).
>>>       
>> I agree completely.  As it stands, the REALTIME() function is nearly
>> completely useless.  If Asterisk had better string manipulation
>> functionality, it would be /marginally/ better, though still not much good.
>>
>> A far better approach would be to allow you to specify the specific
>> field you want to retrieve - the same way that you do for a write.
>> /That/ would make the function many times more useful than it currently is.
>>     
>
> What if I made it work with the HASH() dialplan function, similar to how
> func_odbc works?  Keys are column names, values are the associated field
> value.
>
>   
 +1 to that Tilghman. HASH() wasn't there at the time that we originally 
put func_realtime together, but it would certainly make it more usable.


-- 
--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/






More information about the asterisk-users mailing list