I’m a new FreePBX user and have done a basic setup of FreePBX 17.0.19.16 with a publicly routable IP address. I am able to make calls between extensions, everything works smoothly out of the box. Thanks for the great experience!
Now I want to call and receive calls from accounts on other SIP servers, for example sip.linhome.org. When I try to call these accounts, e.g. sip:[email protected], the call doesn’t go through and I don’t seem to be reachable from there.
What do I need to set up to make and receive calls from SIP servers all over the world? Finally, I would like to point out that I’m not using any SIP trunks or accounts to call numbers on POTS (and I’m not interested in calling POTS, just other SIP accounts as explained above).
In general, promiscuous calling of servers work these days, as the vast majority of servers are configured to only accept their ITSPs and local users as clients, for a combination of security reasons and not understanding that SIP is more capable than traditional phone systems.
The easiest way is to configure a trunk to the each server. If you really want to dial arbitrary SIP URIs, you need to convince Dial to use a destination which looks like PJSIP/somedefinedtrunk/sip:user@domain (where user@domain is optional). There are ways of doing this with FreePBX, for a predefined set of destinations, or if they can be looked up in a database, although I’m not familiar with the details.
(somedefinedtrunk is used to establish transports, codecs, authentication, etc.)
If you want end users to be able to call arbitrary URIs, you may want to go with raw Asterisk, or even with a SIP proxy.
I think you need to explain your end goals, rather than asking about technical implementation proposals.