In article <[EMAIL PROTECTED]>,
Anselm Martin Hoffmeister <[EMAIL PROTECTED]> wrote:
> Am Sonntag, den 02.09.2007, 23:25 -0700 schrieb fateme fatah:
> > Hi:
> > When should we use "unnumbered priorities"(n) in extensions.What is
> > the different between these 2 forms of extensions.conf? and ,Are both
> > true?
> > extensions.conf:
> > form1:
> > [Conferencerooms]
> > exten => 333,1,Answer
> > exten => 333,n,meetme(8000|cim)
> > exten => 333,n,playback(vm-goodbye)
> > exten => 333,n,hangup
> > 
> > form2:
> > [Conferencerooms]
> > exten => 333,1,Answer
> > exten => 333,2,meetme(8000|cim)
> > exten => 333,3,playback(vm-goodbye)
> > exten => 333,4,hangup
> 
> On one of my Asterisk 1.2 setups, I have a dialplan that mixes both - so
> they can coexist in the same extensions.conf.
> 
> The difference is that with the "n" type extensions, you can easily
> insert a line or three without renumbering lots of lines - and searching
> for all those GOTOs that also need a new line number. Renumbering
> error-prone.

In fact the 'n' is just a shortcut for "next number" and is translated into
an actual number when the extensions.conf file is read.

If you do "show dialplan", you will see all the extensions have numbers,
even if you had used 'n'.

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to