search for: realtime_hash

Displaying 4 results from an estimated 4 matches for "realtime_hash".

2010 Jan 09
1
Using HASH() and REALTIME_HASH()
Hi, I'm playing around with asterisk 1.6.2.0 and the first try was to replace my now non-functionning 'app-realtime' macro which emulated RealTime with REALTIME_HASH() There is very few documentation on the subject except for this bug report: https://issues.asterisk.org/view.php?id=13651#c94998 However when i try this syntax: Set(HASH(info)=${REALTIME_HASH(call_info,exten,${dest})}); the syntax doesn't seem to be happy: -- Executing [s...
2009 Mar 13
1
Realtime dialplan application versus REALTIME dialplan function
Hi All, I'm upgrading some PBX's from 1.2 to 1.4 and having a bit of trouble with converting the Realtime application to the REALTIME function. I have the method down and understand simplistically what is going on, at least enough to get my old 1.2 apps to run in 1.4 functions. I do not understand why change from the app to the func? What the benefits? To me, the app seemed so
2009 Aug 13
1
RealTime in dialplan - proper way?
...as one long concatenated string that must be CUT multiple times using multiple variables. Not only does this waste resources but there is no guarantee that the columns returned back will be in the same order all the time. I found a SVN commit dated Nov 19 2008 that introduces two new functions, REALTIME_HASH and REALTIME_FIELD. But for some reason, this patch is NOT located in the 1.6.1.2 that I just downloaded. (Bug #13651) How is that possible that a 10 month old patch to the trunk is not in the most recent stable? So, what is the proper way to do REALTIME lookups within the dial plan that do...
2008 Oct 08
1
make func_realtime work like app_realtime (1.6)
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'm getting a new 1.6 box built out and working, and wanted to emulate the functionality of APP_realtime somehow, so I started digging around in the func_realtime source - here's what I came up with: For 1.6.0, look at line 86