Fixed error on Template using plain text.
Added support for templates in Ticket Phone Inbound and Outbound.