Fixed handling the case when an internal pjsip invitation error occurs

Ignore-this: b44db3470114e39af297418a4f97fa96

darcs-hash:20100719080608-1e3d8-b54b883ec455cc9d491fc3804d0469a778ab4764