我想知道 Twilio API 之间的P1connected
区别InboundCall
。
switch (requestedop){
case P1Connected:
output = //calling a method
break;
case P2Connected:
output = //calling a method
break;
case EndCall:
output = //calling a method
break;
case TranscribeCallBack:
output = //calling a method
break;
case InboundCall:
output =//calling a method
break;
case InboundCallForward:
output = //calling a method
break;
case InboundSms:
output = //calling a method
break;
case FallBack:
output = //calling a method
break;
case MissedCall:
output = //calling a method
break;
default:
throw new ServletException ("Operation not supported.");
}
我用谷歌搜索了它,但没有找到确切的区别。