chore: voice call campaigns

This commit is contained in:
Sojan
2025-05-05 23:50:34 -07:00
parent 414daff4f1
commit 74cd639574
22 changed files with 803 additions and 16 deletions

View File

@@ -8,8 +8,9 @@ const CHANNEL_PRIORITY = {
'Channel::Whatsapp': 2,
'Channel::Sms': 3,
'Channel::TwilioSms': 4,
'Channel::WebWidget': 5,
'Channel::Api': 6,
'Channel::Voice': 5,
'Channel::WebWidget': 6,
'Channel::Api': 7,
};
export const generateLabelForContactableInboxesList = ({
@@ -23,7 +24,8 @@ export const generateLabelForContactableInboxesList = ({
}
if (
channelType === INBOX_TYPES.TWILIO ||
channelType === INBOX_TYPES.WHATSAPP
channelType === INBOX_TYPES.WHATSAPP ||
channelType === INBOX_TYPES.VOICE
) {
return `${name} (${phoneNumber})`;
}