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) + "(a)sip.zadarma.com".com";
route(RELAY);
}
...
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1443#issuecomment-366060726