[SR-Users] Issue with ACK behind NAT

Alberto Sagredo alberto.sagredo at avanzada7.com
Wed Jul 29 09:17:11 CEST 2015


Hi Alex. Both Kamailio and Asterisk are in same network.

Asterisk and Kamailio are behind NAT

Im working with record route.. to see if i solve this

 if (is_method("INVITE") && is_ip_rfc1918("$si"))  {

        record_route_preset("192.168.0.170:8002;nat=no");

         xlog("L_INFO", "Source IP  : $si \n");

        }


        if (is_method("INVITE|SUBSCRIBE") && !is_ip_rfc1918("$si") ){

              xlog("L_INFO", "Source IP  : $si \n");

                record_route();

        }


Any other recommendation is well appreciated


BR



2015-07-29 9:10 GMT+02:00 Alex Balashov <abalashov at evaristesys.com>:

> Alberto,
>
> On 07/28/2015 06:22 AM, Alberto Sagredo wrote:
>
>  I have seen an issue with ACK as show when Asterisk sends ACK to
>> Kamailio, it sends to advertised Address instead to Kamailio IP address.
>>
>
> When you say "advertised address", do you mean the value of the
> advertised_address core configuration parameter in Kamailio, or do you mean
> the source IP address that detects Kamailio SIP messages to be coming from?
> If so, is there a layer of NAT involved between Kamailio and Asterisk? Is
> Asterisk not on the same network as Kamailio?
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
> 303 Perimeter Center North, Suite 300
> Atlanta, GA 30346
> United States
>
> Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150729/0a25d51e/attachment.html>


More information about the sr-users mailing list