Hello,
On 19.07.18 18:32, Karthik Srinivasan wrote:
Hello,
Can someone explain to me why statement A returns True and statement B
returns False.
Statement A:
is_myself("$ru")
Statement B:
uri == myself
Isn't uri and $ru referencing the same data?
With my current config i am expecting the is_myself to return True; i
was expecting the same for Statement B but unfortunately it is
returning False.
they are supposed to be the same in this case.
Are they used at the same place in config? Note that $ru can be changed
by different functions such as those from registrar, dispatcher, lcr, ...
Cheers,
Daniel
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference --
www.kamailioworld.com