[Reviewer Ellie] Fixes #567 - PJSIP assert when trying to transmit 100 Trying response on completed transaction

Ellie

As discussed, I've fixed the issue with PJSIP asserts when we try to send a 100 Trying response on a transaction which has already completed.  Can you review the changes please.

Mike