Can be merged, but I would like to change the name of the new function -- it can be done
in a follow up commit, after merging.
Although there few functions that uses 2 as replacement for 'to' in the name of
functions, this is not the common. Then scriptvar is rather long, better use just the
'var', being the name of that variables, there is already a prefix 'pv'
that points it is about pseudo-variables. For example, the new name:
```
pv_var_to_xavp(...)
```
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/309#issuecomment-136396376