I think you have multiple issues:
(not sure if I am right as I have to guess your network setup)
1. If Kamailio is an Application Layer Gateway between the public and
the internal network, then of course Asterisk should listen only on the
internal interface. Thus in sip.conf add:
Hello All,
I'm using Kamailio as a Border controller for my VoIP Research project at my
school.
The problem I'm facing is Kamailio routes the traffic to the private network
where my asterisk machine is listening.
The asterisk machine responds to the Kamailio using the public network but
not the