**Nice, it works and won't crash anymore. Thanks!**
For the further readers who has same problem and couldn't apply this patch temporarily, **below is my workaround before this patch:**
1. load htable module 2. wrap a event route using htable:mod-init exported from htable 3. use $shv to substitute $sel cfg variables as cross-process global setting 4. then you can use $shv in un-patched evapi event_route ( or other modules which has similar situation, especially when async jobs to a non-main-sip process. )
``` loadmodule "htable.so"
event_route[htable:mod-init] { $shv(MYIP) = $sel(cfg_get.self.MYIP); }
```
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/287#issuecomment-134035171