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

Eric Wieling EWieling at nyigc.com
Fri Aug 3 13:42:44 CDT 2012


Using "n" with labels is what most people do.  A dialplan isn't javascript, you don't need two hundred 3 line functions.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Leandro Dardini
Sent: Friday, August 03, 2012 2:40 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion; raju at linux-delhi.org
Subject: Re: [asterisk-users] Asterisk realtime don't support 'n' as extension's next priority

No, numbers have to be in sequence. 

Leandro

I am typing from my mobile phone...

Il giorno 03/ago/2012 20:28, "Raj Mathur (राज माथुर)" <raju at linux-delhi.org> ha scritto:


	On Friday 03 Aug 2012, C. Savinovich wrote:
	>    You don't use 'n's in your dialplan?, you number it yourself?
	> man,  what if you have a 300 line dialplan and then you decide to
	> insert a new line in the middle?
	
	If you ever used BASIC you'd remember the trick is to increment line
	numbers (priorities) by 10.  I presume a dialplan would work fine even
	if the priorities aren't sequential, as long as they're increasing
	monotonically.
	
	Could someone confirm?
	
	Having said that, I use n with abandon.
	
	Regards,
	
	-- Raj
	--
	Raj Mathur                          || raju at kandalaya.org   || GPG:
	http://otheronepercent.blogspot.com || http://kandalaya.org || CC68
	It is the mind that moves           || http://schizoid.in   || D17F
	
	--
	_____________________________________________________________________
	-- 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
	



More information about the asterisk-users mailing list