[SR-Users] I think I found issue to Kamailio not forwarding ACK sent to it by Asterisk

Wilkins, Steve swwilkins at mitre.org
Mon May 21 19:32:43 CEST 2018


I set that double route to ‘2’ and Kamailio still not hearing traffic coming in from Public.  I think I need to figure out how to get Kamailio to set the first RR in the ‘200 OK’ to its Private IP, because  the Server Kamailio is on may not be open to public traffic.

Thank you

From: sr-users [mailto:sr-users-bounces at lists.kamailio.org] On Behalf Of Federico Cabiddu
Sent: Monday, May 21, 2018 1:08 PM
To: Kamailio (SER) - Users Mailing List <sr-users at lists.kamailio.org>
Subject: Re: [SR-Users] I think I found issue to Kamailio not forwarding ACK sent to it by Asterisk

if you have Kamailio listening on private IP and public IP you need two record-routes.
Have a look at this param of the rr module:

Best regards,


On Mon, May 21, 2018 at 7:01 PM, Wilkins, Steve <swwilkins at mitre.org<mailto:swwilkins at mitre.org>> wrote:

Hello All,

When Kamailio  sends a ‘200 OK’ to Asterisk, it is putting its Public IP into the Record-Routes.  In Asterisk 14.6, it would send the ‘ACK’ back to the Private IP Address of Kamailio, but Asterisk 15.x is using the Public IP Address that Kamailio placed in the Record-Routes so…
Is there a way to force Kamailio to set the Record-Route to its Private IP address of the first Record-Route in messages forwarded to Asterisk?

Thank you?

Kamailio (SER) - Users Mailing List
sr-users at lists.kamailio.org<mailto:sr-users at lists.kamailio.org>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180521/471c5875/attachment.html>

More information about the sr-users mailing list