[FEATURE] Add end_code attribute to Call

Currently a Call copies the reason attribute of an End event, but the platform code is missing.
This attribute is useful for more specific handling of call failures.