nyaruka / courier

Messaging gateway for RapidPro/TextIt.
Other
114 stars 68 forks source link

Twilio WhatsApp OGG attachments #588

Open ericnewcomer opened 1 year ago

ericnewcomer commented 1 year ago

Twilio is rejecting OGG audio attachments we are sending. Perhaps related to this:

https://support.twilio.com/hc/en-us/articles/360017961894-Sending-and-Receiving-Media-with-WhatsApp-Messaging-on-Twilio#h_01F63FCC54J22ZZFBERMF8058N

**WhatsApp outbound OGG is only supported when the ogg file uses the opus audio codec. These files may have the .ogg or the .opus extension.

morgs commented 1 year ago

Per https://developers.facebook.com/docs/whatsapp/on-premises/reference/media the content type needs to be "audio/ogg; codecs=opus"

On Thu, 18 May 2023 at 19:48, Eric Newcomer @.***> wrote:

Twilio is rejecting OGG audio attachments we are sending. Perhaps related to this:

https://support.twilio.com/hc/en-us/articles/360017961894-Sending-and-Receiving-Media-with-WhatsApp-Messaging-on-Twilio#h_01F63FCC54J22ZZFBERMF8058N

**WhatsApp outbound OGG is only supported when the ogg file uses the opus audio codec. These files may have the .ogg or the .opus extension.

— Reply to this email directly, view it on GitHub https://github.com/nyaruka/courier/issues/588, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAAUGHGX4DFVK2CWTMJXUTXGZOHPANCNFSM6AAAAAAYGYKQCU . You are receiving this because you are subscribed to this thread.Message ID: @.***>