I am trying to forward calls to my sip device from my twilio number. However this is currently not working as expected because Twilio does not like SIP providers using a load balanced url. In my case the sip uri ends with @in.callcentric.com
which in turn sends requests to three servers. If I directly use one of the servers, i.e. @alpha11.callcentric.com:5070
instead of @in.callcentric.com
it works. However this is not ideal imo.
I have found a node module that does SRV lookups. Is this something I could use with twilio functions to solve the problem?
Is there a way to force twilio to lookup the SRV record and automatically use that to forward the calls?