[Asterisk-Dev] realtime iax2, non-unique realtime requests

Kevin P. Fleming kpfleming at digium.com
Sun Oct 30 11:23:12 MST 2005


steve at daviesfam.org wrote:

> So: in the general case can I just add a "limit 1" to the generated SQL 
> statement in the realtime_func?  (Obviously not in the 
> realtime_multi_func).

I think that's a reasonable change, yes. In fact, we can 'document' that 
the normal realtime_func callback is designed to return only a single 
row, so the other Realtime backends can be optimized to do the same thing.



More information about the asterisk-dev mailing list