[Asterisk-Users] return code of app in dialplan

Gary Reuter gary.reuter at gmail.com
Sat Feb 12 10:01:28 MST 2005


Hi,
I'll probably kick myself when I read the replies to this...

How do I test the return code of an app in the dialplan?

I need to test if the app, MYSQL() in this case, returned -1 or 0.  
It's easy to see after-the-fact in the log output, but I need the
result in the dialplan, I just can't find which variable stores the
actual return-code.

Thanks!



More information about the asterisk-users mailing list