I am using Kamailio as a SIP proxy for my Asterisk server, and the SIP message flow is as shown in the image below:
This is not in line with my requirements. I need the SIP message flow to be like the image below:
The main difference between the two models is that the ACK and BYE messages should not pass through Kamailio.
Could you please let me know which module or setup options I need to use in order to make Kamailio work as shown in the second image? Thank you for your attention.