private pjsip_redirect_op OnCallRedirect(int callId, ref pjsip_uri target, IntPtr e) { var @event = new CallRedirected() { Id = callId }; _eventAggregator.Publish(@event); return((pjsip_redirect_op)@event.Option); }
public void OnCallRedirected(CallRedirected args) { var ea = new CallRedirectedEventArgs() { CallId = args.Id, Target = args.Target, Option = args.Option }; CallRedirected(this, ea); args.Option = ea.Option; }