I set up a freepbx server using the iso image to install the entire operating system. After getting it setup I subscriped to a SIP trunk with Twilio. I was able to get outbound calls to work just fine however inbound calls are failing with an error. Looking at the asterisk log I see the following error.
[2017-05-16 19:46:54] NOTICE res_pjsip/pjsip_distributor.c: Request ‘INVITE’ from ‘sip:hello@SIPTRUNKURL’ failed for ‘GATEWAYIPADDRESS:65476’ (callid: firstname.lastname@example.org) - No matching endpoint found
I have tried various debugging techniques but have not been able to resolve this. Let me know if you have any other information you need in order to help me with this.