[Freeswitch-users] Connection problem between FreeSwitch Server and Asterisk Server
cong.wang.itsherpa at gmail.com
Mon Oct 16 01:32:14 UTC 2017
I had built a set of server which includes a FS server and an Asterisk Server, and I hope to use FS on application call, Asterisk on public call. Both 2 servers had installed 2 Ethernet controllers(one for public network, and one for LAN).
During test I found the App-App call works, but App-public not. Asterisk and FreeSwitch can’t communicate well via LAN. I thought it might a firewall problem, but it still not work since I disabled the iptables on both server.
FS is listening a public ip with 5080 and a local ip with 5060, while Asterisk sends the message by local ip with 5080. In this situation, FS can’t receive messages from Asterisk. After I set port to 5060 on Asterisk, it can’t receive messages from FS.
Anyone has idea about settings? Do I need to make another sip profile to listen local:5080?
More information about the FreeSWITCH-users