It is now possible to first create the LinphoneEvent, configure it with custom headers, then send it.