Thanks for replying!

Yes I have

    children=2
    listen=udp:10.10.0.209:5060
    listen=udp:MY_PUBLIC_IP:5060

tried:

            # This will check if the TO user is a office user
            if (avp_db_load("$to", "$avp(gsmoffice")) {
                if ( $avp(office)==1 ) {
                    xlog("L_ERR","[REQUEST_ROUTE]: [$rm] callid: $ci Call
from=$fU to=$tU is a Office USER ($avp(office)) - Appending branch\n");
                    #append_branch("sip:[email protected]:5060");
                    $fs = 'udp:MY_PUBLIC_IP:5060';
                }
            }

But no INVITE is ever sent out... with force_send_socket it would only use
the private...

Regards,

David Villasmil
email: [email protected]
phone: +34669448337


On Mon, Oct 8, 2018 at 1:31 AM Alex Balashov <[email protected]>
wrote:

> Hi,
>
> 1. force_send_socket() is essentially deprecated in favour of mutating
> $fs:
>
>    $fs = 'udp:67.215.186.219:5060';
>
> 2. Do you have an exact matching[1] listener for this outgoing
> interface?
>
> [1] Transport, IP, port.
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> [email protected]
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to