On 31 Jul 2024, at 17:13, palany via sr-users <sr-users@lists.kamailio.org> wrote:

I have integrated Microsoft teams and freepbx using Kamailio version 5.8 as my SBC.
Calls from freepbx to teams are working fine with audio and I am having challenges with calls from teams to freepbx. The calls rings and after answering there is only way audio and the call drops off after thirty seconds. My pbx is behind a microtik router and I have port forwarded my sip port and rtp ports to freepbx and have also disabled sip alg. My Kamailio is hosted in AWS. I have attached both my pcap from Kamailio, freepbx and my Kamailio.cfg. I am thinking It’s a misconfiguration challenge or something else. Please help I am failing to see my challenge. 
 

Without seeing any details, “call hangup after 30 seconds” and “one way audio” are the most common issues when you have firewalls or NATs in the way and don’t handle it. The default timer for retransmission is 32 seconds in SIP and after that the INVITE transaction fails. During that time you will have audio.

Check the packet logs with Wireshark or a similar tool and you will likely see many retransmits.

Regards,
/O