[PS-1009] - Errors when saving a registered trunk can leave orphaned register entries: under some circumstances an entry in the INBOUND trunk configuration can lead to a data corruption in the underlying database and thus in the behaviour of Asterisk.