tm: safety check for uas callid value when callid_matching is 1

- according to the documentation is for UA that cannot match the
  responses when call-id is changed, but is not the case of self
  generated requests
- closes FS#390

(cherry picked from commit 1787b4239f3494fe7a88b0868a807e86a3b92639)
(cherry picked from commit ef478ac0709a9bef99df0818f68b597f39ba7c3b)