[Asterisk-Users] Undocumented "exten" syntax?

Eric Wieling eric at fnords.org
Fri Mar 18 08:23:11 MST 2005


John Goerzen wrote:

> Over at http://www.voip-info.org/wiki-Asterisk+tips+911, I see these
> extensions.conf lines:
> 
> exten => s,1,SetVar(SET_EMERG_FLAG=0)
> exten => s,n(checkavail),ChanIsAvail(${EMERGENCY_TRUNK})
> exten => s,n,SetGlobalVar(EMERGENCY=1)
> exten => s,n,SetVar(SET_EMERG_FLAG=1)
> exten => s,n(dial),Dial(${EMERGENCY_TRUNK}/${EMERGENCY_NUM})
> exten => s,s+2(trunkbusy),GotoIf($[${EMERGENCY} = 1]?inprogress)

I hope the wiki page mentions that the "n" priority is only supported 
in CVS-HEAD, not 1.0.x.


-- 
Always do right. This will gratify some people and astonish the rest.
Mark Twain



More information about the asterisk-users mailing list