futel / twilio-sip-server

Deploys Twilio components to implement SIP services
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

use umatilla edge where possible #21

Open kra opened 10 months ago

kra commented 10 months ago

This is an issue because Twilio downloads every media file before sending audio.

The current twilio region is Ashburn (us1) s3 is us-west-2 twilio wants "umatilla"

This crap ai twilio doc talks about setting the region in the console https://www.twilio.com/docs/global-infrastructure/regional-sip-domains The API we use to create the SIP domains doesn't have a way to set the region? https://www.twilio.com/docs/voice/sip/api/sip-domain-resource

Maybe the sip domain name is significant, that would be weird. --domain-name direct-futel-stage.sip.twilio.com --domain-name direct-futel-stage.sip.umatilla.twilio.com

kra commented 10 months ago

use localized sip uri for sip domains --domain-name direct-futel-stage.sip.umatilla.twilio.com

point sip client to localized uri

what is the procedure for changing this?

kra commented 10 months ago

"region" is where compute happens, "edge" is where it touches the internet sip domain domain name isn't relevant, it gets normalized out if an edge is included can't connect a sip client with the edge included? eg direct-futel-stage.sip.umatilla.twilio.com

kra commented 1 month ago

client to sip domain connections are using edge (in the docs, existing clients will need to be updated)

a region doc for sip: https://www.twilio.com/docs/global-infrastructure/inbound-processing-console

Do we need to set the region within the sip domain, not just the edge of the connection? See first issue comment.