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

Thorsten Lockert tholo at sigmasoft.com
Sun Oct 30 14:01:58 MST 2005


On Oct 30, 2005, at 10:23 , Kevin P. Fleming wrote:
> 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.

Isn't "LIMIT n" a non-ANSI extension to SQL that is not supported by  
many implementations...?

Thorsten



More information about the asterisk-dev mailing list