Missing "@" when dongle sms

Can not send “@” in sms

I send [email protected]
I get test¡site.com

What im missing in dialplan ?
Does its a bug or im missing something in dial plan?

PLEASE help :crying_cat_face:

exten => 111,1,NoOp(SMS receiving dialplan invoked)
exten => 111,n,NoOp(To ${MESSAGE(to)})
exten => 111,n,NoOp(From ${MESSAGE(from)})
exten => 111,n,NoOp(Body ${MESSAGE(body)})
exten => 111,n,Set(ACTUALTO=${CUT(MESSAGE(to),@,1)})
exten => 111,n,MessageSend(${ACTUALTO},${MESSAGE(from)})
exten => 111,n,NoOp(Send status is ${MESSAGE_SEND_STATUS})
exten => 111,n,GotoIf($[“${MESSAGE_SEND_STATUS}” != “SUCCESS”]? sendfailedmsg)
exten => 111,n,Hangup()

chan_dongle isn’t supported here.

Actually, as far as I can tell, chan_dongle isn’t supported.

However, it would appear that it sending your ASCII/Unicode code points as though they were in the native SMS alphabet: GSM 03.38 - Wikipedia

Unfortunately the correct code point for @ in SMS is an ASCII NUL, which is typically used as a delimiter for end of string.

It seems to be a known, and seven year old, but still open, issue, in at least one fork of chan_dongle.

(The reverse symptom with inbound @ is because it is encoded like a string delimiter.)

1 Like