3CX integration witch PMS Mitel SX2000 protocol

Status
Not open for further replies.

jaume.casanovas

Platinum Partner
Advanced Certified
Joined
Aug 31, 2021
Messages
20
Reaction score
6
Hello,
We want to integrate 3CX with hotel software that uses the Mitel SX2000 protocol, we already have some hotels working with this same scenario.
With one of them we have port transfer problems between hotel client software and 3CX, specifically with port 15374.

3CX is on LAN 192.168.124.2 and hotel software is on 192.168.17.5
We have PING between the two systems without problem.
Between 3CX and hotel software, through port 3000 and active socket, we export the CDRs without problem.
The problem is, we believe, with the opening of ports in Debian 10.

I attach screenshots of the open ports in: /etc/nftables.conf and /var/lib/3cxpbx/Bin/nftables.conf


/etc/nftables.conf

1710246054019.png


/var/lib/3cxpbx/Bin/nftables.conf

1710246062085.png


To open and save the opening of ports I have done:

First ---> sudo sh /etc/nftables.conf
After ---> sudo /var/lib/3cxpbx/Bin/nftables.conf


Add rule to IP FILTER table and PHONESYSTEM string

nft add rule ip filter phonesystem tcp dport 15374 accept
nft add rule ip filter phonesystem tcp dport 3000 accept
nft add rule ip filter phonesystem udp dport 15374 accept
nft add rule ip filter phonesystem udp dport 3000 accept

Keep
nft list ruleset > /etc/nftables.conf

Restart nftables Services
systemctl restart nftables.service


Is it done correctly?
I have done a port scan between B and A and there is no traffic.
Does anyone comes up with something?

Thanks
 

Attachments

  • 1710246026559.png
    1710246026559.png
    45.3 KB · Views: 11
Did you try a netstat to see if 3CX is listening on the port?
 
  • Like
Reactions: Nathan@Voxtelesys
Funny.
Now we have a PMS connection with the hotel software. But we have a problem that we do not respond to the ACK correctly. Could it be a port problem as well? I have opened port 15374 UDP and TCP. It is indicated in the captures.


1710324009458.png

thanks
 
@jaume.casanovas Hi there

The process to be honest should be straightforward, you add a hotel module port that is used on the Phonesystem for the TCP protocol into the nftables and have both, restart the service and have the systems connected.

But we have a problem that we do not respond to the ACK correctly. Could it be a port problem as well?
>>
You run .pcap capture on the OS where the PBX is installed and you don't have a proper TCP handshake established?
So the ACK is not received from the PMS to finish the TCP handshake?
 
Hello, thanks for the answer.
I have opened a support case in the partner portal with the screenshots made and the relevant support report.

About your questions:
In the 3CX logs (file 3CXHotelModule.log) I see the following:

1710327263567.png
1710327380976.png
 
Hi @jaume.casanovas

The information received from the PMS is corrupted or sent in a different way

1710330997444.png

The PMS is sending the corrupted message or in an unsupported format to the 3CX because it cannot be seen what it is sending.

Please review the following document

They must correct it in the PMS so that it can be understood in the 3CX.
 
it works now!
open ports in debian correctly (thanks Nathan@Voxtelesys)
and problem with the message from the hotel software.
Thank you all.
 
Perfect Jaume, have a nice weekend!
 
Status
Not open for further replies.

Forum statistics

Threads
111,973
Messages
590,078
Members
164,896
Latest member
sameage