[Asterisk-Dev] Conditional Goto and GoSub use 'n'?

Rushowr madprofzero at yahoo.com
Fri Nov 25 10:53:48 MST 2005


Just wanted to see if the developers can answer this question since my
searches have proved fruitless.

I wish to use the 'n' priority in my dialplan. but whenever I use GotoIf
(and soon Gosubif) I've tended to use strict priority numbering. My
question is, can you use for instance 

exten=test,1,Gotoif($["${DIALSTATUS}" = "${BUSY}")?n+3:n) 

my thought is that I know n is where I want to process non busy
dialstatus', and n+3 is the location of busy processing....


Any thoughts, pointers, large rainbow trouts?

Thanks,

SKM




More information about the asterisk-dev mailing list