[from-anveo]
exten => s,1,Verbose(Incoming SMS from ${CALLERID(num)})
exten => s,n,Answer
exten => s,n,Set(SMSINRAW=${MESSAGE(body)})
exten => s,n,Set(SMSIN=${URIENCODE(${SMSINRAW})})
exten => s,n,NoOp(Saving SMS message to a file)
exten => s,n,Set(FILE(/var/spool/asterisk/sms/${STRFTIME(${EPOCH},,%F-%T)}-${CALLERID(num)}-${EXTEN}.txt,a)=${MESSAGE(body)})
exten => s,n,Hangup
[smsdial]
exten => 1,1,NoOp(Sending a Message)
exten => 1,n,Set(MESSAGE(body)=Hello)
exten => 1,n,MessageSend(sip:<RECIPIENT_NUMBER@sip.anveo.com:5010>,<ACCOUNT_NUMBER_ONLY>)