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!