From 2023299f84d8274e12461c5d2db223a96d48d70b Mon Sep 17 00:00:00 2001 From: Jesse Young Date: Thu, 15 Mar 2012 19:38:05 -0700 Subject: [PATCH] add incoming call notifications to server api reference --- .phrozn/entries/serverapi/index.twig | 7 ++++--- serverapi/index.html | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.phrozn/entries/serverapi/index.twig b/.phrozn/entries/serverapi/index.twig index f0fa887..7a16004 100755 --- a/.phrozn/entries/serverapi/index.twig +++ b/.phrozn/entries/serverapi/index.twig @@ -233,7 +233,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
"incoming":
- Forward an incoming SMS or MMS message to the server + Forward an incoming message to the server (SMS, MMS, or call notification)
"send_status":
@@ -300,15 +300,16 @@ Additional parameters sent in POST requests with action=incoming: The phone number of the message sender. -
"message_type" ::= "sms" | "mms"
+
"message_type" ::= "sms" | "mms" | "call"
- Whether this message is an SMS or MMS. + Whether this message is a SMS, MMS, or a notification of an incoming call.
"message" ::= <text>
The message body of the SMS, or the content of the text/plain part of the MMS. For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters. + (This field is empty for incoming call notifications.)
"timestamp" ::= <long integer>
diff --git a/serverapi/index.html b/serverapi/index.html index 08d8dd2..a440c69 100755 --- a/serverapi/index.html +++ b/serverapi/index.html @@ -273,7 +273,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
"incoming":
- Forward an incoming SMS or MMS message to the server + Forward an incoming message to the server (SMS, MMS, or call notification)
"send_status":
@@ -340,15 +340,16 @@ Additional parameters sent in POST requests with action=incoming: The phone number of the message sender. -
"message_type" ::= "sms" | "mms"
+
"message_type" ::= "sms" | "mms" | "call"
- Whether this message is an SMS or MMS. + Whether this message is a SMS, MMS, or a notification of an incoming call.
"message" ::= <text>
The message body of the SMS, or the content of the text/plain part of the MMS. For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters. + (This field is empty for incoming call notifications.)
"timestamp" ::= <long integer>