Shame on me -__-

It was mistake in my config, i forgot to set $var(nu)

# get user name
$var(nu) = $rU;

so fixed kamailio.cfg:

...
request_route {
    if($rU=~"^(z\#)[0-9][0-9]{1,20}$"){
        # get user name
        $var(nu) = $rU;

        # get normal DestNum without prefix
        $var(nuu) = $(var(nu){s.strip,2});

        #set FROM Caller ID /TEST/
        # @TODO: Set from callerID HERE
        $fU = "74951277197";

        # new sip uri
        $ru = "sip:" + $var(nuu) + "@sip.zadarma.com";
        route(RELAY);
    }
...


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.