[asterisk-users] Asterisk realtime don't support 'n' as extension's next priority

A J Stiles asterisk_list at earthshod.co.uk
Fri Aug 3 05:01:11 CDT 2012


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.



More information about the asterisk-users mailing list