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

Federico Cabiddu federico.cabiddu at gmail.com
Mon May 21 23:06:19 CEST 2018


Not sure I understand your scenario.
How many interfaces your kamailio has?
How's the callflow going?
Public->Kamailio->Asterisk?
Did you have a look on "advertise" parameter of core "listen" directive?
https://www.kamailio.org/wiki/cookbooks/5.1.x/core#listen

Best regards,

Federico

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

> Hello,
>
>
>
> 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
>
>
>
> Hi,
>
> 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:
>
> http://www.kamailio.org/docs/modules/devel/modules/rr.html#
> rr.p.enable_double_rr
>
>
>
> Best regards,
>
>
>
> Federico
>
>
>
>
>
> On Mon, May 21, 2018 at 7:01 PM, Wilkins, Steve <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
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180521/4d9138a6/attachment.html>


More information about the sr-users mailing list