[asterisk-dev] ${DIALSTATUS} = NULL - is that OK?

Andrew Kohlsmith (lists) aklists at mixdown.ca
Mon Jun 9 07:20:04 CDT 2008


On June 9, 2008 06:34:29 am Chris Maciejewski wrote:
> Is behaviour described above normal? The reason I am asking is because
> my dialplan logic depends on ${DIALSTATUS} variable and currently I
> use "GotoIf($[${ISNULL(${DIALSTATUS})} = 1]?label1:label2)" which
> works fine for now, but may break if Dial will return some status in
> the future.

Personally I would like to see Dial set the variable to INPROGRESS as soon as 
it runs.  I use DIALSTATUS=NULL to see if I dialed at all.  :-)

-A.



More information about the asterisk-dev mailing list