Chan dongle status report and sending the sms throught trunk

I have 2 questions.

  1. How to transfer the sms throught SIP trunk?
    I am using SIPAddHeader at the moment which is not the prefect solution. It works only for latin characters without enters and smilies. If it receives a sms with comma without space after, it breaks the message at that spot. (instead of receiving “hello,its a good day”, it sends only “hello,”)

  2. I can see status report of sending SMS in the CLI
    [XXX] Successfully sent SMS message 0x285bf48
    Can I somehow catch it in the dialplan?

Thank you