On Friday 03 August 2012, virendra bhati wrote: > Hi Team, > > I want to used *'n*' as priority in asterisk realtime but asterisk don't > support n as next priority.... > > I am using Asterisk 1.4.41
Well, what you are wanting would be mathematically impossible! A simple text file is read sequentially, so you can infer priorities from the position of lines within the file. A database is truly random-access, and so doesn't have any such natural ordering. You have to indicate the sequence explicitly within a field in each record, and refer to this with an ORDER BY clause. -- AJS Answers come *after* questions. -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users