Don't write call history record from queue calls

If a call is accepted somewhere else and the RFC3226 header Reason is
set to cause=200;text="Call completed elsewhere" the history record is
not being written.