Re: [sr-dev] [kamailio/kamailio] rr module is_direction("downstream") and $ruid("dir") always evaluate downstream to true. (#1729)

2018-11-19 Thread Daniel-Constantin Mierla
Closed #1729. -- 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/1729#event-1974476410___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] rr module is_direction("downstream") and $ruid("dir") always evaluate downstream to true. (#1729)

2018-11-19 Thread Daniel-Constantin Mierla
`KSR.rr.is_direction(...)` returns `1` if the direction is matching the parameter and `-1` if not. It does not return `true` or `false`, therefore be sure you do the appropriate comparison, it is different that kamailio.cfg language, where a negative return value is evaluated as false and positi

[sr-dev] [kamailio/kamailio] rr module is_direction("downstream") and $ruid("dir") always evaluate downstream to true. (#1729)

2018-11-19 Thread Surendra Tiwari
### Description ### Troubleshooting Reproduction Debugging Data ``` (paste your debugging data here) ``` Log Messages ``` (paste your log messages here) ``` SIP Traffic ``` (paste your sip traffic here) ``` ### Possible Solutions ### Additional Informatio