File tree 1 file changed +4
-1
lines changed
lib/_internal/method_channel
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -331,12 +331,15 @@ class MethodChannelTwilioVoice extends TwilioVoicePlatform {
331
331
printDebug (tokens[1 ]);
332
332
}
333
333
334
+ // https://www.twilio.com/docs/api/errors/31600
335
+ // Busy Everywhere. All possible destinations are busy.
336
+ //
334
337
// source: https://www.twilio.com/docs/api/errors/31603
335
338
// The callee does not wish to participate in the call.
336
339
//
337
340
// https://www.twilio.com/docs/api/errors/31486
338
341
// The callee is busy.
339
- if (tokens[1 ].contains ("31603" ) || tokens[1 ].contains ("31486" )) {
342
+ if (tokens[1 ].contains ("31600" ) || tokens[ 1 ]. contains ( " 31603" ) || tokens[1 ].contains ("31486" )) {
340
343
call.activeCall = null ;
341
344
return CallEvent .declined;
342
345
} else if (tokens.toString ().toLowerCase ().contains ("call rejected" )) {
You can’t perform that action at this time.
0 commit comments