Been trying to define a trunk from one Freepbx to another of type registration not peer.
but i am still not aware of taking the certificates to validate.
To be clear, in case of sip phones that need to register on freepbx using TLS, someone needs to take the certificates in order to upload it to the phone so it would be authenticated.
but in case of SIP trunks of type registration using TLS, lets say we have two freepbx servers and two sip trunks in two directions.
FPBX1 is the first server with sip trunk called TRUNK1 and FPBX2 is the second server with sip trunk called TRUNK2. where both servers are on TLS.
TRUNK1 acts as if it is a sip endpoint for FPBX2, thus i need to define at FPBX2 a pjsip account with same username and password. TRUNK1-that needs to register at FPBX2-needs the client certificates of FPBX2, and then here comes the problem! i dont know where to put these certificates!