Re: [asterisk-dev] app_directory realtime
On Wednesday 26 April 2006 10:40, Ken Ouellette wrote: > Is there any reason why the appropriate subset of users couldn't be > retrieved after the user was prompted? Given a reasonable > distribution in the first three letters of user's last names, this > should result in a much smaller result set being returned. Theoretically, yes, but unfortunately, the way we'd have to structure a single query is not currently a way that we support with the ODBC abstraction. We'd have to create a new method that supports doing an OR between multiple parameters (yet still let most parameters be an AND. For example, with app_directory, if the first number pushed were 2, the resulting query would be: SELECT * FROM voicemail_table WHERE (fullname LIKE '% A%' OR fullname LIKE '% B%' OR fullname LIKE '% C%') AND context='foo'; That assumes that all names are properly capitalized in the database, which may or may not matter (doesn't matter on MySQL, matters on virtually every other database). Also note that due to the structure of this query, you couldn't use an index, which means that on a busy database, it won't matter whether we select all rows or just a subset, as it will incur the same load. While we could force in a single query like this, it's not good abstraction, especially considering that we'd like to support other realtime backends, such as LDAP, in the future. If we encode a long SQL string in the API, we'd have to do a very complex translation on that query for the LDAP driver. If you'd like to attempt an abstraction to the Realtime subsystem that would support such a complex query without directly encoding the whole query as a single string, we'd be happy to see such a patch on the bugtracker. However, as I've outlined the reasons here, this is not a simple task. This is why we haven't done it already. ;-) -- Tilghman ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] User Authotentication
ok, i am so sorry.ThankSonyJared Smith <[EMAIL PROTECTED]> wrote: On Wed, 2006-04-26 at 03:22 -0700, Sony Veri Shandy wrote:> I wanna help for SIP Asterisk for user authotentication with mysql> database support. Default user authotentication with txt.file> (sip.conf and extension.conf). I need user authotentication from mysql> database.You are asking on the wrong mailing list -- this list is for Asterisk*developers* to discuss changes to the Asterisk *source code*. You'renot likely to get an answer to an end-user question on this mailinglist. I suggest you try the -users mailing list instead.-Jared___--Bandwidth and Colocation provided by Easynews.com --asterisk-dev mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] AST_FORMAT_AMR anyone?
Tim Panton wrote: > I feared that. > (special pleading: There are probably more AMR licenced devices out > there than > any other codec.) But they are not VOIP devices, so they don't communicate with Asterisk directly. > Failing that > How about a wildcard codec, so we can at least not use > ones that will get allocated, or a 'meta' codec with some formal extension > mechanism. The codec numbers are not relevant except for over IAX2 frames. Over RTP the codec number is assigned by the IANA or randomly assigned from the dynamic number pool. > Erm, given Digium's ability to sell the 729 codec, any chance > Digium would be licensing AMR (also from voiceage)? We don't license G.729 from VoiceAge any longer (haven't for a while). If customers demonstrate adequate demand for AMR, I'm sure we would consider it. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] AST_FORMAT_AMR anyone?
On 26 Apr 2006, at 19:23, Kevin P. Fleming wrote: Tim Panton wrote: Any chance of getting a constant allocated in include/asterisk/ frame.h for AMR (wide and narrow?) There are tons of codecs that we could add this 'token' support for, and the current methods of defining them and selecting them have finite limits as to the number of formats we can support. I feared that. (special pleading: There are probably more AMR licenced devices out there than any other codec.) Failing that How about a wildcard codec, so we can at least not use ones that will get allocated, or a 'meta' codec with some formal extension mechanism. I don't think it is likely that we will just start adding 'format types' for formats that will never be in the tree. Erm, given Digium's ability to sell the 729 codec, any chance Digium would be licensing AMR (also from voiceage)? Tim. Tim Panton [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] AST_FORMAT_AMR anyone?
Tim Panton wrote: > Any chance of getting a constant allocated in include/asterisk/frame.h > for AMR (wide and narrow?) There are tons of codecs that we could add this 'token' support for, and the current methods of defining them and selecting them have finite limits as to the number of formats we can support. I don't think it is likely that we will just start adding 'format types' for formats that will never be in the tree. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] Zaptel DTMF Problem?
Wai Wu wrote: > I hate to bring this up again. I got it working; but only after I put in > vpmsupport=0 when loading the module wct4xxp (My card is TE411P and I > saw your message in the users' mailing list). That parameter in effect > down graded the card as well. I am using the zaptel driver from the CVS > HEAD. And for the third time, I will tell you that you should contact Digium Support. ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] AST_FORMAT_AMR anyone?
On Wed, Apr 26, 2006 at 04:49:58PM +0100, Tim Panton wrote: TP> Any chance of getting a constant allocated in include/asterisk/ TP> frame.h for AMR (wide and narrow?) It would be very nice, if AST_FORMAT_G722 constant also would be added to frame.h -- JID: [EMAIL PROTECTED] ICQ: 58417635 (please, use jabber, if you can) http://freesource.info/ ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
Re: [asterisk-dev] Having a bit of trouble with autoconf/automake
just a note regarding the new build process...to compile for a C3 processor you used to just edit the top level makefile to say PROC=i586. Now you need to specify something like ./configure --build=i586-pc-linux-gnu to get -march set correctly.On 4/26/06, Alexander Lopez <[EMAIL PROTECTED]> wrote: That did it, Thank youCan we add a BUILDING file to the top directory?> -Original Message-> From: [EMAIL PROTECTED] [mailto:asterisk-dev-> [EMAIL PROTECTED]] On Behalf Of Russell Bryant> Sent: Wednesday, April 26, 2006 9:15 AM > To: Asterisk Developers Mailing List> Subject: Re: [asterisk-dev] Having a bit of trouble withautoconf/automake>> Alexander Lopez wrote:> > Is the configure script hosed, or is it me??? >> You're probably not running all of the commands that need to beexecuted> to> generate everything correctly. Try running bootstrap.sh instead.>> Russell> ___ > --Bandwidth and Colocation provided by Easynews.com -->> asterisk-dev mailing list> To UNSUBSCRIBE or update options visit:> http://lists.digium.com/mailman/listinfo/asterisk-dev___--Bandwidth and Colocation provided by Easynews.com --asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev-- Mike TahtPostCards From the Bleeding Edgehttp://the-edge.blogspot.com ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
[asterisk-dev] AST_FORMAT_AMR anyone?
Any chance of getting a constant allocated in include/asterisk/ frame.h for AMR (wide and narrow?) I know that an implementation won't get into the core code, but (like) g729 it would be good if folks with appropriate licenses could interoperate, rather than everyone making up their own numbers. Thanks. Tim. Tim Panton [EMAIL PROTECTED] ___ --Bandwidth and Colocation provided by Easynews.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev