To get the value of the variable, being $null or something else, then you have to use some
internal fixup function -- maybe ds_select_dst() from dispatcher has something like that,
not 100% sure though.
Anyhow, the best in my option would be an empty string in this case. There are couple of
other functions with the same behaviour (e.g., t_on_branch("") ...).
--
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/pull/1912#issuecomment-479401325