Hi,
logs cannot be accessed (I get a 404).
I have a question: is the To domain different according to whether a user registers on web or on mobile?
If yes you should set the use_domain parameter to 0 (https://kamailio.org/docs/modules/5.8.x/modules/tsilo.html#tsilo.p.use_domain).

Regards,

Federico


On Mon, May 12, 2025 at 1:24 PM Roman Dcoz via sr-dev <sr-dev@lists.kamailio.org> wrote:
Hello,

Thanks for the reply.

Version: kamailio 5.8.5 (x86_64/linux) fddfbd

Here is the Push Join Updated Code.

route[PUSHJOIN] {
    xlog("L_WARN", "PUSHJOIN Function Called value is tU : $tU\n");
    xlog("L_WARN", "PUSHJOIN Function Called value is tu : $tu\n");


    # $var(ct_uri) = $(ct{re.subst,/<([^>]*)>.*/\1/});
    # xlog("L_INFO", "PUSHJOIN Function Called value Contact URI: $var(ct_uri)\n");

    $var(hjoin) = 0;
    lock("$tU");
    $var(hjoin) = $sht(vtp=>join::$tU);
    $var(hstored) = $sht(vtp=>stored::$tU);

    xlog("L_WARN", "hjoin outside If : $var(hjoin)\n");
    xlog("L_WARN", "hstored outside If  : $var(hstored)\n");

    $sht(vtp=>join::$tU) = $null;
    unlock("$tU");
    if ($var(hjoin)==0)
    {
        xlog("L_WARN", "hjoin INSIDE If of hjoin: $var(hjoin)\n");
        xlog("L_WARN", "hstored  INSIDE If of hjoin: $var(hstored)\n");
        if ($var(hstored)){
            xlog("L_WARN", "ts_append Function called here if this link executing...\n");
            ts_append("location", "$tu");
            xlog("L_WARN", "ts_append Function executed check if any error in above line...\n");
        }
        return;
    }
    $var(id_index) = $(var(hjoin){s.select,0,:}{s.int});
    $var(id_label) = $(var(hjoin){s.select,1,:}{s.int});
    xlog("L_INFO","resuming trasaction [$var(id_index):$var(id_label)] $ru ($var(hjoin))\n");
    t_continue("$var(id_index)", "$var(id_label)", "INVRESUME");
}

After kamailio in debug mode -3 getting below lines,

May 12 11:05:35 ip-172-31-5-37 /usr/local/sbin/kamailio[1018716]: WARNING: ts_append Function called here if this link executing...
May 12 11:05:35 ip-172-31-5-37 /usr/local/sbin/kamailio[1018716]: DEBUG: tsilo [ts_append.c:76]: ts_append(): no record for sip:102@91b08a80-99c3-11ea-a870-9138eeb61ce2.com
May 12 11:05:35 ip-172-31-5-37 /usr/local/sbin/kamailio[1018716]: WARNING: ts_append Function executed check if any error in above line...

Username is 102 just before registred on android device and domain name which is multi-tenent in freeswitch side also have it available in domain table. so what should be the value of ts_append function second argument so it consider like contact of the user exists and send call to them.

Also attached debug logs, My call schenario is dialing from 201 to 102 (while 102 is registered on Web and Mobile) Web getting INVITE but not Android APP side.

DEBUG LOGS : https://pastebin.com/2LDj27qR

Thanks in advanced.
_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!