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. Below are google drive links logs for the incoming call in 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.
kamailio.pcap -
https://drive.google.com/file/d/1aoJhksgwcH-52unwxuyzn8GAmG9PEnOM/view?usp=s haring
freepbx.pcap - https://drive.google.com/file/d/1JJXs9UOUFak5Y4uWI_ARB56vQfVYfSDj/view?usp=s haring
kamailio.cfg - https://drive.google.com/file/d/1v2ZtylOf8fIMYH4OckGmnP489PO7WI7J/view?usp=s haring
Best Regards
I think you have set up everything correctly but the issue with audio and dropped calls could be due to a few factors
You should Double check your NAT and firewall settings. Ensure RTP ports are properly forwarded and there is no interference from the MikroTik router. Also Confirm SIP ALG is completely disabled on your router, as it sometimes re-enables itself after a reboot. Review your Kamailio configuration to ensure it handles NAT and RTP correctly. You might need to tweak settings related to NAT traversal. Please verify that both Kamailio & FreePBX have matching codecs and RTP port ranges configured.
Thank you very much iamolivasmith. On the freepbx and microtik I have double checked and everything seems to be fine. Let me review my Kamailio config.
-----Original Message----- From: iamolivasmith--- via sr-users [mailto:sr-users@lists.kamailio.org] Sent: Thursday, 8 August 2024 1:41 PM To: sr-users@lists.kamailio.org Cc: iamolivasmith@gmail.com Subject: [SR-Users] Re: Incoming call with one one way audio and cutting off after thirty seconds
I think you have set up everything correctly but the issue with audio and dropped calls could be due to a few factors
You should Double check your NAT and firewall settings. Ensure RTP ports are properly forwarded and there is no interference from the MikroTik router. Also Confirm SIP ALG is completely disabled on your router, as it sometimes re-enables itself after a reboot. Review your Kamailio configuration to ensure it handles NAT and RTP correctly. You might need to tweak settings related to NAT traversal. Please verify that both Kamailio & FreePBX have matching codecs and RTP port ranges configured. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to sr-users-leave@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: