Hi,

It sounds like Asterisk is giving registrations relayed through your Kamailio 
the NAT traversal treatment, which you should turn off. 

Second, you're going to need the SIP Path mechanism to make this work:

https://datatracker.ietf.org/doc/html/rfc3327

https://kamailio.org/docs/modules/5.8.x/modules/path.html

Cheers,

-- Alex

> On Feb 17, 2025, at 8:51 AM, Enzo Damato via sr-users 
> <[email protected]> wrote:
> 
> Hi. I'm working on setting up kamailio as a load balancer for some asterisk 
> instances. I've build a configuration that is working for the most part, but 
> I am encountering issues with calls from the asterisk instances to users 
> who's registrations were processed through the kamailio instance. When these 
> users register, asterisk saves thier AOR as the address of the kamailio 
> instance, and then subsequently tires to send invites to kamailio, instead of 
> to the UAC. Since kamailio just proxied the registration, without actually 
> registering the user, it doesn't know what to do with the invite, and the 
> call fails. I would like to configure kamailio to rewrite the sip requests so 
> that all traffic appears to be coming from the end user, rather than from the 
> kamailio instance, essentially making the proxy transparent. Is this possible?
> 
> Thank you,
> 
> Enzo Damato
> 
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions -- 
> [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to the 
> sender!

-- 
Alex Balashov
Principal Consultant
Evariste Systems LLC
Web: https://evaristesys.com
Tel: +1-706-510-6800

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to