Need to add SIP header to outbound calls on PJSIP trunk

ok, that helps. I thought I had seen more recent posts, but search skill fialed me today.

That answers question 1. I can easily do Set(PJSIP_HEADER(add,X-Tenant)=somename.to.match)

Now where to get this into the dialplan…