VoIP Phones - UDM-Pro

From AAISP Support Site

UDM Pro with Unifi Talk

One of our clever customers Rob managed to get this working by editing a .js file.

First enter the VoIP/SIP credentials as per image below. The UDM will set the sip_from_uri = sip:+44123456789@talk.com which needs to be corrected.

Second edit the file: /usr/share/unifi-talk/app/server.js

And replace the 2 references or sip_from_uri like this:

{application:"export",data:"sip_from_uri=sip:${outbound_caller_id}@talk.com"}

With this:

{application:"export",data:"sip_from_uri=sip:${outbound_caller_id}@voiceless.aa.net.uk"}

Not an ideal solution as will need to make changes to the file whenever I upgrade but it appears to be working.