Add missing ringing cdr
Fix agent_channel crash on wrapup fail