[Asterisk-Dev] Loss of functionality with depreciation of
DBGet/Put?
Brian West
brian.west at mac.com
Tue May 17 08:17:18 MST 2005
>
> exten => 100,1,Set(temp=${DB(CFIM/200)})
> exten => 100,n,GotoIF(${temp} = "" ? novalue)
> exten => 100,n,...
> exten => 100,n(novalue),...
exten => 100,1,Set(temp=${IF(${DB(CFIM/200)} = ${DB(CFIM/200)} ?
novalue )})
Not sure if that is 100% correct but give it a go it should work...
then maybe we need a GOTO function to operate similar?
exten => 100,1,Dial(${IF(${DB(CFIM/200)} = ${DB(CFIM/200)} ? "SIP/
default" )})
The set app is not a requirement to use the return value of the
function (or shouldn't be)
/b
More information about the asterisk-dev
mailing list