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

steve at daviesfam.org steve at daviesfam.org
Mon Oct 31 01:17:12 MST 2005



On Sun, 30 Oct 2005, Kevin P. Fleming wrote:

> Thorsten Lockert wrote:
> 
> > Isn't "LIMIT n" a non-ANSI extension to SQL that is not supported by  
> > many implementations...?
> 
> He is proposing adding it to res_config_mysql specifically, which does 
> support it. You are correct, though, that we cannot put this into the 
> higher layers (the users of Realtime), since the target storage system 
> might not even be SQL-based :-)

The "limit 1" makes a big difference in my particular test setup.

I did consider exposing the "limit" up through the API to allow the 
original caller into realtime to say whether they want 1 or multiple.  
But, we already have a "multi" call, so I don't see the value.

Steve




More information about the asterisk-dev mailing list