It seems to be related to the functions exported via KEMI that return string value. I
looked at the code, but I could not find a reason for it.
The next ruby line is executing ok:
```
KSR.err("RUBY - #{KSR.is_INVITE} - #{KSR::PV.get('$pp')}\n")
```
$pp returns the process id, which is int.
Next one causes a crash:
```
KSR.err("RUBY - #{KSR.is_INVITE} - #{KSR::PV.get('$si')}\n")
```
$si returns source ip as a string.
I am not familiar with Ruby, I did the embedding of Ruby following some online examples.
Maybe other people familiar with Ruby ecosystem can provide some hints.
If it cannot be sorted out, I can add again the code for dealing with PVs from v5.3,
however, in that case there will still be some functions that won't work, like those
exposed by kemix module.
--
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/2180#issuecomment-572103553