Autoreply to inbound SMS/MMS

{% if "pizza" into Message | lower%}

Here is the pizza recipe ...

{% endif%}

{% if Now.weekday <4 and Now | date: "H" <14%}

Thanks! We will get back within 4 hours

{% else%}

Thanks! We will return tomorrow

{% endif%}

{% if Now.weekday == 4 and Now | date: "H" <14%}

Thanks! We will get back within 4 hours

{% else%}

Thanks! We will return Monday

{% endif%}

{% if Now.weekday> 4%}

Thanks! We will return Monday

{% endif%}

Your message {{Words.0}} {{Words.1}} {{}} Words.2 ... has been received.

You can set up an automated response to your incoming SMS / MMS. Then the person who sent SMS to you, direct a text message back with anoptional text.

To activate select the menu option "Automatic Answer" in the code / code word provided. You will get the dialog box to the left.

Originator

Sender to the auto reply sent if other than the number itself is desired.

Autoreply

Please enter the text you want to be sent back.

Dynamic Autoreply

Sometimes, one can hope that the answer varies depending on content, timing, etc.

To do this, enter code directly into the box for the response text as an open programming language, Django.

It's pretty simple so it is enough to try out the examples below. Would you like to do more sophisticated things:http://docs.djangoproject.com/en/1.2/ref/templates/builtins/.

You Have Access To The Following variables:

Message - the message text

Words - list of words in the message, without punctuation, capitalization. It can index as an example: {{Words.0}} {{}} Words.1

Now - a datetime with the time in GMT when message received

Now.weekday gives 0-6, 0 is Monday

Now.month gives 1-12

Originator - the sender's mobile number

SupplierId - TellusTalk serial number (log-id) of the transaction

Group events - events that turns to a text block

Possible values​​: START - join, MESSAGE - message sent to the group, STOP - exit; REPLY - no answer,

(START_request - anyone want to join a closed group, SEND_request - Non moderator trying to send, unknown_user - message from non-member.

Group member - (True / False) if there is one member who sends

Group Moderator - (True / False), if there is a moderator who will send

Example Dynamic autoreply