There are many possibilities.
One of - use listen names and advertised address with allow_double_rr option. 

Once you do that - you'll be able to add 2 rr headers, and kamailio will be able to handle gateway functionality between interfaces via RR/Route headers

On Thu, 28 Sept 2023, 11:53 codenot--- via sr-users, <sr-users@lists.kamailio.org> wrote:
UA1(192.168.0.1)  --> kamailio (internal:192.168.0.2  public:1.1.1.1) -->  UA2(2.2.2.2)
if in  UA1 INVITE, I write KSR.rr.record_route(). 
so  UA2(2.2.2.2) received sip msg (Record-Route: <sip:1.1.1.1:7080>), so Kamailio can received BYE/ACK from UA2.
but,Kamailio can't received BYE/ACK  from UA1.

if in UA1 INVITE, i write KSR.rr.record_route_advertised_address("192.168.0.2"), then Kamailio can received  BYE/ACK  from UA1, but not from UA2.

what can i do, let Kamailio receive BYE/ACK  from both sides ?
__________________________________________________________
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: