Having successfully configured and maintained few Asterisk based installations, I have now been provided a task to configure FreeSwitch SIP server.
ISO downloaded from
http://wiki.fusionpbx.com/index.php?title=CentOS_ISO
Configuration
- CentOS 5.4 Final
- FreeSwitch
- FusionPBX 1.0
Steps
- Installed the FusionPBX iso.
- Firewall and network configuration setup. Server IP: 192.168.0.100
- Logged in to FusionPBX web frontend from another box. (http://192.168.0.100)
- Created an extension 6000 with password 6000.
- Applied the changes/restarted.
I have two softwphone clients,
- 3cx
- X-Lite 4
Now when I try and register the softphone to FreePBX, SIP error 408 is shown.
Please help.
Finally found the cause of the issue. A bug in FreeSwitch.
SIP Profiles
There are three sip profiles under the normal installation:
For this particular case, internal.xml was the culprit but I am pretty sure that the problem will be the same for the other files, as well.
Why Extensions are Not Registering?
There are three sections in the internal.xml file, namely
looking at which, we find two aliases:
FreeSwitch parsed both values as "127.0.0.1".
Solution
I was able to solve the problem by not letting FreeSwitch decide the values for me.
It sounds, to me, like you need to sniff the traffic between the softphone client and the server and see what's actually going on with the packets on the wire. SIP is a very human-readable protocol, and it's likely that a quick
tcpdump
trace on the server (and a trace from a suitable analog on the client, ideally) is going to give you some idea as to what's going wrong faster than poking at a "black box". Nothing beats seeing the traffic on the wire.Because you are trying to use either 3cx which has support for Windows, Android and Iphone or Xlite which is only supported on Windows and OSX, I will assume that you are running your softphones on Windows as it is the only platform in common which supports both clients.
your error is:
408 Request Timeout
What ip address are you getting on your softphone client pc? 192.168.0.x?
Disable windows firewall on the softphone client PC.