glarkou
glarkou

Reputation: 7101

Freeswitch server getting INVITE request in ngrep but nothing in fs_cli

I am trying to route the call from opensips server to freeswitch server. My freeswitch server is actually a container which i have created using 'lxc/lxd' and it is running CentOS.

When I route the call from opensips server to freeswitch server container i got the INVITE requests sip log in 'ngrep' but getting nothing in Freeswitch log as in nothing in fs_cli and my call is failing with the disposition 'SIP 408 - Request Timeout'

I have tried with routing the call from opensips server to other freeswitch server which is actually having a physical ip and not the container server and when I tried that, i am able to get the logs in freeswitch as in fs_cli.

Sip profile parameters auth-calls, auth-all-packets, aggressive-nat-detection set to true, there is no firewall or iptable rule between opensips and freeswitch servers. i can access the osips server from freeswitch server and vice versa.

So, what am i missing here. please suggest me something.

Upvotes: 0

Views: 882

Answers (2)

suren
suren

Reputation: 385

Your freeswitch server is not listening on the port with interface on which you are sending. Just check out freeswitch profile on which port and interface they are listening.

Upvotes: 0

Stanislav Sinyagin
Stanislav Sinyagin

Reputation: 1961

In fs_cli, sofia status will show you on which IP address the SIP profile is bound. Probably it's not the address you're sending invites to.

Upvotes: 0

Related Questions