Re: [SR-Users] route[LOCATION] is it bug?

2017-08-04 Thread Paul Smith
Hi Aidar, I believe $rc is the return code of the last function called (ref https://www.kamailio.org/wiki/cookbooks/4.4.x/pseudovariables#rc_-_returned_code ) In your example you call xwarn() and then test $rc…

[SR-Users] route[LOCATION] is it bug?

2017-08-03 Thread Aidar Kamalov
Hello, I 'm new in kamailio. I have kamailio with dispatcher and two asterisks. Endpoints register to kamailio. Calls beetwen endpoints going through dispatcher to asterisks. Calls to other destination rejected by kamailio with 404. But If i put xlog("") or xwarn in route[LOCATION] in if