From e3daaac8d67db0982177cd70e66e9ca6563cceab Mon Sep 17 00:00:00 2001 From: Daniel Camargo Date: Mon, 25 Feb 2013 14:24:29 -0300 Subject: [PATCH] testing issue 8 --- .../controllers/default/crunchbutton/api/notification/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/controllers/default/crunchbutton/api/notification/index.php b/include/controllers/default/crunchbutton/api/notification/index.php index bfb1be728..e464d8857 100644 --- a/include/controllers/default/crunchbutton/api/notification/index.php +++ b/include/controllers/default/crunchbutton/api/notification/index.php @@ -72,7 +72,7 @@ class Controller_api_notification extends Crunchbutton_Controller_Rest { case 'twilio': - if ($notification->order()->accepted()) { + if ($notification->order()->accepted() || $notification->order()->confirmed ) { if ($_REQUEST['CallSid'] == $notification->remote) { if ($_REQUEST['Duration']) { $notification->status = 'success';