partial #1482
This commit is contained in:
parent
133d2286a5
commit
8806c7115b
@ -210,7 +210,6 @@ class Controller_api_order extends Crunchbutton_Controller_Rest {
|
||||
echo '<Dial timeout="10" record="true">'.c::config()->phone->restaurant.'</Dial>';
|
||||
|
||||
default:
|
||||
echo '<Say voice="'.c::config()->twilio->voice.'">'.c::config()->twilio->greeting.'.</Say>';
|
||||
case '3':
|
||||
case '4':
|
||||
case '5':
|
||||
@ -221,6 +220,7 @@ class Controller_api_order extends Crunchbutton_Controller_Rest {
|
||||
case '#':
|
||||
case '*':
|
||||
echo '<Gather action="/api/order/'.$order->id_order.'/doconfirm" numDigits="1" timeout="10" finishOnKey="#" method="get">'
|
||||
. '<Say voice="'.c::config()->twilio->voice.'">'.c::config()->twilio->greeting.'.</Say>'
|
||||
.'<Say voice="'.c::config()->twilio->voice.'" loop="3">Please press 1 to confirm that you just received order number '.$order->id_order.'. Or press 2 and we will resend the order. . . .</Say>'
|
||||
.'</Gather>';
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user