wdoekes / asterisk-chan-dongle

chan_dongle channel driver for Huawei UMTS cards, works with Asterisk 14+
Other
298 stars 104 forks source link

Use Asterisk function `ast_unescape_c` on SMS text when sending via AMI #101

Closed miopa closed 4 years ago

miopa commented 4 years ago

This change was warranted because AMI is a text based protocol and the newline can't be included in the payload.

Standard backslash escape sequences are used, e.g. '\n' for newline and '\t' for tabulator characters.