On Fri, May 11, 2018 at 11:54:53AM +0000, KamDev Essa wrote:
Forgot WITH_VOICEMAIL. :( Works now. However I dont see the Diversion Header since the call is forwarded. I need that for correct VM treatment.
You're in luck:
https://kamailio.org/docs/modules/5.1.x/modules/diversion.html#diversion.f.a...
Although, of course, if you need to customise this header more extensively, just use append_hf() and construct your own:
append_hf("Diversion: sip:abc123@1.2.3.4\r\n");
-- Alex