Why I can’t link Linphone with my PBX?

https://wiki.freepbx.org/display/FPG/Extensions+Module+-+PJSIP+Extension

but I don’t understand, am I not supposed to use the chansip extension instead of the pjsip? For link the PBX with a softphone ??

It is best if you can use PJSIP for trunks and extensions.

Connecting the Softphone is just using the information that is in FreePBX. If you have an extension as ChanSip then you connect to the PBX with the chansip port but if you have created using PJSIP use the PJSIP port as defined in Asterisk SIP Settings.

1 Like

I assume that the VirtualBox host is the same Windows 10 machine that is running Linphone. If not, please explain.

Confirm that the VirtualBox VM is using Bridged Networking. If you type
ifconfig
from a shell prompt on the PBX, you should see for your (virtual) Ethernet interface, something like
inet addr:192.168.123.7
This is the local IP address of your PBX.

And if you type
ipconfig
at a command prompt in Windows,
you should see for your (real) Ethernet interface or bridge, something like
IPv4 Address . . . . : 192.168.123.4
This is the local IP address of your Windows machine. Both should be in the same subnet.

Now, in Linphone, set up something like
Adresse SIP* "yoannB" <sip:[email protected]:5061>
Adresse du serveur SIP* <sip:192.168.123.7:5061;transport=udp>

Replace 4840 with the extension you set up in FreePBX.
Replace 192.168.123.7 with the actual local IP address of the PBX.
Replace 5061 with the value of “Port to Listen On” (if you set up a pjsip extension) or with the value of “Bind Port” (if you set up a chan_sip extension).

If you still have trouble, report what, if anything, appears in the Asterisk log when Linphone attempts to register.

1 Like

Ok so when you say “the host” I hope you mean the person behind the screen which is me indeed I hope it’s not in the “technical” sense, my virtual machine is configured in NAT because I’m using a vpn (that’s why I posted my ip address), I hope it’s not a problem because I already have problems with virtualbox network settings and it’s horrible to fix…

Anyway, when I type ifconfig on Ubuntu I don’t get an address that looks like yours, it’s something like 127.X.X.X (of course there are numbers instead of X’s), it’s this address that allows me to access the freepbx panel, I typed ipconfig on Windows and it gives me 192.168… and it’s not the same as the other one, so that’s where the problem is?

I will continue and deal with the problem above later, then on the suite I have exactly the same thing except for the ip address which seems to be a local ip address and I put my ip address (of the vpn) and my port is :5060

I have to put the local ip address or the public ip address in the Linphone settings?

Do you recommend me to use the port 5060 (chansip) or 5061 (pjsip) ?

And I guess the problem of local ip addresses (windows and Ubuntu) that don’t match is a very big problem?

Do you not understand IP addresses at all?

127.x.x.x is the loopback IP; that’s not the one you want. Inteface lo is also not the one you want.

How are you at solving captcha puzzles??

1 Like

you’re right I was wrong but it doesn’t change anything, the windows ip address doesn’t coordinate with the Ubuntu one, this is what it says:

enp0s3: inet: 10.X.X.X5
netmask: 25x.xxx.2xxx.0
broadcast: 10.X.X.X5X

And the rest is ipv6

Here is

That’s because as ever you refuse to listen or read, where you not just a few hours ago advised to

…Confirm that the VirtualBox VM is using Bridged Networking…

Did you do that?

I suspect we are all wasting our time with all your identities, you just seem incapable of comprehending anything .

An understanding of Virtualbox and Networking in general will allow you to resolve all your issues. You have reading to do if you truly want to resolve your issues and get everything working as you like. These are not FreePBX issues…

1 Like

You should probably hire an IT professional if you arent interested in educating yourself on the issues you are having.

1 Like

If you want to talk about IncrediblePBX, go to their forum.

There are 2 ways for solving your problems

  1. Start reading and listening to learn basic stuff about SIP/VOIP, Networking and Virtualization
  2. Pay a IT-Professional for it to set it up for you.

Generally a PBX on Virtualbox isn’t a good idea in a production environment

And before you starting with thinking about VPN you’ll need the basics as well.
At the point where you are at the moment, you’ll have these problems with every PBX system - because the problem is in your general setup and not a PBX problem

Technically its not a problem to set it up on a VirtualBox Enviroment - if you know how to configure the settings of the VM.
(I think thats the easier part against a PBX over VPN)

But if you know how to setup that vps and configure the VPN connection it will work as well.

But save the money

But concretely for someone who doesn’t know anything like me it will be easier to start over on a vps or else there will be the same problems and might as well stay on the virtual machine

You’ll have to have more knowlege on the vps solutions, because with an VPN you always have to route your VOIP Stuff. This can sometimes be tricky if you’re doing NAT or so.

So start learning the basics about Virtualbox, Networking, Voip,…
Everything else is just a waste of time for you and for us

Ok, so isn’t there a good site that will gather everything there is to learn about what you said?
By the way, the time to get the link that would know how to do that : “put a static ip address in the virtual machine”.
it’s the local ip address or the public one that I have to put

Internet, Youtube, Google, Books,…
We are not here to teach you HOW to learn.

3 Likes

You tried IncrediblePBX where he gives you comprehensive shell scripts to build out your system with a few commands. They also have lengthy tutorials written out on the blog so that you barely need to know anything other than how to read and enter commands into a terminal or browser.

Because you can’t/won’t even do that, they have banned you from their forums.

Please have some dignity; stop begging and spend time learning. :slight_smile:

I ask questions that are not asked on this complete “blog” such as how to make your pbx work with a vpn

There are 183 articles on the Nerd Vittles blog (which is primarily focused on his project IncrediblePBX) that mention VPN. I suggest starting at the most recent.

1 Like