home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / rfc / rfc1645 < prev    next >
Text File  |  1994-07-14  |  31KB  |  844 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                           A. Gwinn
  8. Request for Comments: 1645                 Southern Methodist University
  9. Obsoletes: 1568                                                July 1994
  10. Category: Informational
  11.  
  12.  
  13.                Simple Network Paging Protocol - Version 2
  14.  
  15. Status of this Memo
  16.  
  17.    This memo provides information for the Internet community.  This memo
  18.    does not specify an Internet standard of any kind.  Distribution of
  19.    this memo is unlimited.
  20.  
  21. Abstract
  22.  
  23.    This RFC suggests a simple way for delivering both alphanumeric and
  24.    numeric pages (one-way) to radio paging terminals.  Gateways
  25.    supporting this protocol, as well as SMTP, have been in use for
  26.    several months for nationwide paging and messaging.  In addition,
  27.    email filters and SNPP client software for Unix and Windows are
  28.    available at no cost.  Please contact the author for more
  29.    information.
  30.  
  31.    Earlier versions of this specification were reviewed by IESG members
  32.    and the "822 Extensions" Working Group.  They preferred an alternate
  33.    strategy, as discussed under "Relationship to Other IETF Work",
  34.    below.
  35.  
  36. 1. Introduction
  37.  
  38.    Beepers are as much a part of computer nerdom as X-terminals
  39.    (perhaps, unfortunately, more).  The intent of Simple Network Paging
  40.    Protocol is to provide a standard whereby pages can be delivered to
  41.    individual paging terminals.  The most obvious benefit is the
  42.    elimination of the need for modems and phone lines to produce
  43.    alphanumeric pages, and the added ease of delivery of pages to
  44.    terminals in other cities or countries.  Additionally, automatic page
  45.    delivery should be somewhat more simplified.
  46.  
  47. 2. System Philosophy
  48.  
  49.    Radio paging is somewhat taken for granted, because of the wide
  50.    availability and wide use of paging products.  However, the actual
  51.    delivery of the page, and the process used (especially in wider area
  52.    paging) is somewhat complicated.  When a user initiates a page, by
  53.    dialing a number on a telephone, or entering an alphanumeric page
  54.    through some input device, the page must ultimately be delivered to
  55.  
  56.  
  57.  
  58. Gwinn                                                           [Page 1]
  59.  
  60. RFC 1645                    SNPP - Version 2                   July 1994
  61.  
  62.  
  63.    some paging terminal, somewhere.  In most cases, this delivery is
  64.    made using TAP (Telocator Alphanumeric input Protocol, also known as
  65.    IXO).  This protocol can be a somewhat convoluted, and complicated
  66.    protocol using older style ASCII control characters and a non-
  67.    standard checksumming routine to assist in validating the data.
  68.  
  69.    Even though TAP is widely used throughout the industry, there are
  70.    plans on the table to move to a more flexible "standard" protocol
  71.    referred to as TME (Telocator Message Entry Protocol).  The level two
  72.    enhancements to SNPP (as described below) are intended for use with
  73.    this forthcoming standard.
  74.  
  75.    However, acknowledging the complexity and flexibility of the current
  76.    protocols (or the lack thereof), the final user function is quite
  77.    simple: to deliver a page from point-of-origin to someone's beeper.
  78.    That is the simple, real-time function that the base protocol
  79.    attempts to address.  Validation of the paging information is left
  80.    completely up to the paging terminal, making an SNPP gateway a direct
  81.    "shim" between a paging terminal and the Internet.
  82.  
  83. 3. Why not just use Email and SMTP?
  84.  
  85.    Email, while quite reliable, is not always timely.  A good example of
  86.    this is deferred messaging when a gateway is down. Suppose Mary Ghoti
  87.    (fish@hugecompany.org) sends a message to Zaphod Beeblebrox's beeper
  88.    (5551212@pager.pagingcompany.com). Hugecompany's gateway to the
  89.    Internet is down causing Mary's message to be deferred.  Mary,
  90.    however, is not notified of this delay because her message has not
  91.    actually failed to reach its destination.  Three hours later, the
  92.    link is restored, and (as soon as sendmail wakes up) the message is
  93.    sent.  Obviously, if Mary's page concerned a meeting that was
  94.    supposed to happen 2 hours ago, there will be some minor
  95.    administrative details to work out between Mary and Zaphod!
  96.  
  97.    On the other hand, if Mary had used her SNPP client (or simply
  98.    telnetted to the SNPP gateway), she would have immediately discovered
  99.    the network problem.  She would have decided to invoke plan "B" and
  100.    call Zaphod's pager on the telephone, ringing him that way.
  101.  
  102.    The obvious difference here is not page delivery, but the immediate
  103.    notification of a problem that affects your message. Standard email
  104.    and SMTP, while quite reliable in most cases, cannot be positively
  105.    guaranteed between all nodes at all times, making it less desirable
  106.    for emergency or urgent paging.  This inability to guarantee delivery
  107.    could, whether rightly or wrongly, place the service provider in an
  108.    uncomfortable position with a client who has just received his or her
  109.    emergency page, six hours too late.
  110.  
  111.  
  112.  
  113.  
  114. Gwinn                                                           [Page 2]
  115.  
  116. RFC 1645                    SNPP - Version 2                   July 1994
  117.  
  118.  
  119.    Another advantage of using a separate protocol for paging delivery is
  120.    that it gives the sender absolute flexibility over what is sent to
  121.    the pager.  For instance, in the paging arena, where messages are
  122.    sent to alphanumeric pagers, it is less desirable to send the
  123.    recipient general header lines from a standard SMTP message.  Much of
  124.    the information is useless, possibly redundant, and a waste of
  125.    precious RF bandwidth.
  126.  
  127.    Therefore, when implementing an SMTP gateway, the service provider
  128.    should elect to parse out needed information (such as the sender, and
  129.    possibly subject) such to maximize the utility of the transmission.
  130.    Parsing generally means less control over content and format by the
  131.    message originator.  SNPP provides a clean, effective way to send a
  132.    message, as written, to the recipient's pager.
  133.  
  134.    The other consideration is the relative simplicity of the SNPP
  135.    protocol for manual telnet sessions versus someone trying to manually
  136.    hack a mail message into a gateway.
  137.  
  138. 4. The SNPP Protocol
  139.  
  140.    The SNPP protocol is a sequence of commands and replies, and is based
  141.    on the philosophy of many other Internet protocols currently in use.
  142.    SNPP has several input commands (the first 4 characters of each are
  143.    significant) that solicit various server responses falling into four
  144.    categories:
  145.  
  146.     2xx - Successful, continue
  147.     3xx - Begin DATA input (see "DATA" command)
  148.     4xx - Failed with connection terminated
  149.     5xx - Failed, but continue session
  150.  
  151.    The first character of every server response code is a digit
  152.    indicating the category of response.  The text portion of the
  153.    response following the code may be altered to suit individual
  154.    applications.
  155.  
  156.    The session interaction is actually quite simple (hence the name).
  157.    The client initiates the connection with the listening server.  Upon
  158.    opening the connection, the server issues a "220" level message
  159.    (indicating the willingness of the server to accept SNPP commands).
  160.    The client passes pager ID information, and a message, then issues a
  161.    "SEND" command.  The server then feeds the information to the paging
  162.    terminal, gathers a response, and reports the success or failure to
  163.    the client.
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Gwinn                                                           [Page 3]
  171.  
  172. RFC 1645                    SNPP - Version 2                   July 1994
  173.  
  174.  
  175. 4.1 Examples of SNPP Transactions
  176.  
  177.    The following illustrate examples of client-server communication
  178.    using SNPP.
  179.  
  180. 4.1.1 A Typical Level One Connection
  181.  
  182.             Client                         Server
  183.  
  184.     Open Connection               -->
  185.                                   <--  220 SNPP Gateway Ready
  186.     PAGE 5551212                  -->
  187.                                   <--  250 Pager ID Accepted
  188.     MESS Your network is hosed    -->
  189.                                   <--  250 Message OK
  190.     SEND                          -->
  191.                                   <--  250 Message Sent OK
  192.     QUIT                          -->
  193.                                   <--  221 OK, Goodbye
  194.  
  195. 4.1.2 A Typical Level Two, Multiple Transaction
  196.  
  197.    The following example illustrates a single message sent to two
  198.    pagers.  Using this level protocol, pager-specific options may be
  199.    selected for each receiver by specifying the option prior to issuing
  200.    the "PAGEr" command.  In this example, an alternate coverage area is
  201.    selected for the first pager, while delayed messaging is specified
  202.    for the second.
  203.  
  204.             Client                         Server
  205.  
  206.     Open Connection               -->
  207.                                   <--  220 SNPP Server Ready
  208.     COVE 2                        -->
  209.                                   <--  250 Alternate Area Selected
  210.     PAGE 5551212 FOOBAR           -->
  211.                                   <--  250 Pager ID Accepted
  212.     HOLD 9401152300 -0600         -->
  213.                                   <--  250 Delayed Message OK
  214.     PAGE 5552323 XYZZY            -->
  215.                                   <--  250 Pager ID Accepted
  216.     SUBJ Seattle Meeting          -->
  217.                                   <--  250 Message Subject OK
  218.     DATA                          -->
  219.                                   <--  354 Begin Input, End With '.'
  220.     Please meet me tomorrow at    -->
  221.     the Seattle office            -->
  222.                                   <--  250 DATA Accepted
  223.  
  224.  
  225.  
  226. Gwinn                                                           [Page 4]
  227.  
  228. RFC 1645                    SNPP - Version 2                   July 1994
  229.  
  230.  
  231.     SEND                          -->
  232.                                   <--  250 Message Sent OK
  233.     QUIT                          -->
  234.                                   <--  221 OK, Goodbye
  235.  
  236. 4.2 Level 1 Commands
  237.  
  238.    Level one commands are designed as a minimum implementation of the
  239.    protocol.  This collection of commands may be used with either
  240.    TAP/IXO or TME for message delivery to the paging terminal.
  241.  
  242. 4.2.1 PAGEr <Pager ID>
  243.  
  244.    The PAGEr command submits a pager ID (PID) number, for inclusion in
  245.    the next messaging transaction.  The PID used must reside in, and be
  246.    validated by the paging terminal.  Limited validation may optionally
  247.    be done on the server (such as all numeric, and ID length), or
  248.    validation can be left up to the terminal at the time the page is
  249.    sent.
  250.  
  251.    When implementing SNPP, the user may elect to support multiple
  252.    recipients per message sent.  However, be wary that validation-
  253.    prior-to-sending is not possible with TAP/IXO (and is not an official
  254.    option of the current TME specification).  What this means is that in
  255.    order to validate a PID, one must generate a message to the pager.
  256.    The terminal responds favorably or negatively.  When reporting
  257.    failure of a single PID in a sequence, delineating and reporting the
  258.    failure in a "standard format" may prove to be a challenge.
  259.  
  260.    Possible responses from the SNPP server, with suggested text, in
  261.    response to a PAGEr command are:
  262.  
  263.     250 Pager ID Accepted
  264.     421 Too Many Errors, Goodbye (terminate connection)
  265.     421 Gateway Service Unavailable (terminate connection)
  266.     550 Error, Invalid Pager ID
  267.     554 Error, failed (technical reason)
  268.  
  269.    The level 2 enhancements affect the PAGEr command.  Please refer to
  270.    the appropriate section for details.
  271.  
  272. 4.2.2 MESSage <Alpha or Numeric Message>
  273.  
  274.    The MESSage command specifies a single-line message, into the
  275.    gateway.  Limited validation of the message may be done on the SNPP
  276.    server (such as length), but type-of-message validation should be
  277.    done by the paging terminal.  Duplicating the MESSage command before
  278.    SENDing the message should produce an "503 ERROR, Message Already
  279.  
  280.  
  281.  
  282. Gwinn                                                           [Page 5]
  283.  
  284. RFC 1645                    SNPP - Version 2                   July 1994
  285.  
  286.  
  287.    Entered" message, and allow the user to continue.
  288.  
  289.    Possible responses from the SNPP server, with suggested text, in
  290.    response to a MESSage command are:
  291.  
  292.     250 Message OK
  293.     421 Too Many Errors, Goodbye (terminate connection)
  294.     421 Gateway Service Unavailable (terminate connection)
  295.     503 ERROR, Message Already Entered
  296.     550 ERROR, Invalid Message
  297.     554 Error, failed (technical reason)
  298.  
  299. 4.2.3 RESEt
  300.  
  301.    The RESEt command clears already entered information from the server
  302.    session, resetting it to the state of a freshly opened connection.
  303.    This is provided, primarily, as a means to reset accidentally entered
  304.    information during a manual session.
  305.  
  306.    Possible responses from the SNPP server, with suggested text, in
  307.    response to a RESEt command are:
  308.  
  309.     250 RESET OK
  310.     421 Too Many Errors, Goodbye (terminate connection
  311.     421 Gateway Service Unavailable (terminate connection)
  312.  
  313. 4.2.4 SEND
  314.  
  315.    The SEND command finalizes the current message transaction, and
  316.    processes the page to the paging terminal.  Prior to processing, the
  317.    PAGEr and MESSage fields (or message DATA when using the level two
  318.    option) should be checked for the existence of information.  Should
  319.    one of these required fields be missing, the server should respond
  320.    "503 Error, Incomplete Information" and allow the user to continue.
  321.    Assuming that the information is complete, the SNPP server should
  322.    format and send the page to the paging terminal, and await a
  323.    response.
  324.  
  325.    Possible responses from the SNPP server, with suggested text, in
  326.    response to a SEND command are:
  327.  
  328.     250 Message Sent Successfully
  329.     421 Too Many Errors, Goodbye (terminate connection)
  330.     421 Gateway Service Unavailable (terminate connection)
  331.     503 Error, Pager ID or Message Incomplete
  332.     554 Message Failed [non-administrative reason]
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Gwinn                                                           [Page 6]
  339.  
  340. RFC 1645                    SNPP - Version 2                   July 1994
  341.  
  342.  
  343.    Or, in the case of an illegal or non-existent pager ID, or some other
  344.    administrative reason for rejecting the page, the server should
  345.    respond:
  346.  
  347.     550 Failed, Illegal Pager ID (or other explanation)
  348.  
  349.    After processing a SEND command, the server should remain online to
  350.    allow the client to submit another transaction.
  351.  
  352. 4.2.5 QUIT
  353.  
  354.    The QUIT command terminates the current session.  The server should
  355.    simply respond:
  356.  
  357.     221 OK, Goodbye"
  358.  
  359.    and close the connection.
  360.  
  361. 4.2.6 HELP (optional)
  362.  
  363.    The optional HELP command displays a screen of information about
  364.    commands that are valid on the SNPP server.  This is primarily to
  365.    assist manual users of the gateway.  Each line of the HELP screen
  366.    (responses) are preceded by a code "214".  At the end of the HELP
  367.    sequence, a "250" series message is issued.
  368.  
  369.    Possible responses from the SNPP server, with suggested text, in
  370.    response to a HELP command are:
  371.  
  372.     214 [Help Text]  (repeated for each line of information)
  373.     250 End of Help Information
  374.     421 Too Many Errors, Goodbye (terminate connection)
  375.     421 Gateway Service Unavailable (terminate connection)
  376.     500 Command Not Implemented
  377.  
  378. 4.3 Level 2 - Minimum Extensions
  379.  
  380.    This section specifies minimum enhancements to the SNPP protocol for
  381.    added functionality.
  382.  
  383. 4.3.1 DATA
  384.  
  385.    The DATA command is an alternate form of the MESSage command,
  386.    allowing for multiple line delivery of a message to the paging
  387.    terminal.  This command's function is similar to the DATA command
  388.    implemented in SMTP (Internet STD10, RFC821).  The SNPP server should
  389.    only allow one DATA or MESSage command to be issued prior to a SEND.
  390.  
  391.  
  392.  
  393.  
  394. Gwinn                                                           [Page 7]
  395.  
  396. RFC 1645                    SNPP - Version 2                   July 1994
  397.  
  398.  
  399.    Possible responses from the SNPP server, with suggested text, in
  400.    response to a DATA command are:
  401.  
  402.     354 Begin Input; End with <CRLF>'.'<CRLF>
  403.     421 Too Many Errors, Goodbye (terminate connection)
  404.     421 Gateway Service Unavailable (terminate connection)
  405.     503 ERROR, Message Already Entered
  406.     500 Command Not Implemented
  407.     550 ERROR, failed (administrative reason)
  408.     554 ERROR, failed (technical reason)
  409.  
  410.    Upon receiving a "354" response, the client begins line input of the
  411.    message to send to the pager.  A single period ("."), in the first
  412.    position of the line, terminates input.  After input, the server may
  413.    respond:
  414.  
  415.     250 Message OK
  416.     421 Too Many Errors, Goodbye (terminate connection)
  417.     421 Gateway Service Unavailable (terminate connection)
  418.     550 ERROR, Invalid Message (or administrative reason)
  419.     554 ERROR, Failed (technical reason)
  420.  
  421. 4.4 Level 2 - Optional Extensions
  422.  
  423.    This section discusses enhancements to the SNPP protocol for more
  424.    control over paging functions.  These are primarily designed to
  425.    mirror the added functionality built into the Telocator Message Entry
  426.    (TME) protocol as specified in the TDP protocol suite. These
  427.    functions may, optionally (as is being done by the author), be
  428.    integrated into a paging terminal.  There is no requirement to
  429.    implement all of these functions.  Requests for invalid functions
  430.    should return a "500 Function Not Implemented" error.
  431.  
  432.    It is important to note that, at the time of this publication, the
  433.    TME standard is still not finalized.
  434.  
  435. 4.4.1 LOGIn <loginid> [password]
  436.  
  437.    This command allows for a session login ID to be specified.  It is
  438.    used to validate the person attempting to access the paging terminal.
  439.    If no LOGIn command is issued, "anonymous" user status is assumed.
  440.  
  441.    Possible responses from the SNPP server, with suggested text, in
  442.    response to a LOGIn command are:
  443.  
  444.     250 Login Accepted
  445.     421 Too Many Errors, Goodbye (terminate connection)
  446.     421 Gateway Service Unavailable (terminate connection)
  447.  
  448.  
  449.  
  450. Gwinn                                                           [Page 8]
  451.  
  452. RFC 1645                    SNPP - Version 2                   July 1994
  453.  
  454.  
  455.     421 Illegal Access Attempt
  456.     550 Error, Invalid LoginID or Password
  457.     554 Error, failed (technical reason)
  458.  
  459. 4.4.2 PAGEr <PagerID> [Password/PIN]
  460.  
  461.    This PAGEr command is an enhancement to the level one specification.
  462.    The primary difference is the ability to specify a password or PIN
  463.    for validation or feature access.
  464.  
  465.    Before proceeding, it is important to understand the logical function
  466.    of the PAGEr command with respect to the LEVEl, COVErage, HOLDtime,
  467.    and ALERt commands (option parameters as described below).  Each time
  468.    a PAGEr command is issued, it should be thought of as the last step
  469.    in a multiple step transaction.
  470.  
  471.    When the PAGEr command is processed, the pager ID (and password) is
  472.    submitted to the paging terminal with LEVEl, COVErage, HOLDtime, and
  473.    ALERt.  If these parameters have not been altered, then their
  474.    defaults are assumed for the transaction.  After the next PAGEr
  475.    command has been processed, these option parameters are reset their
  476.    defaults.  Using this type of "option-option- option-go" scheme, it
  477.    is possible to specify a different priority level for "Jeff," and an
  478.    alternate coverage area for "Kathy," while sending the same message
  479.    to each.
  480.  
  481.    Possible responses from the SNPP server, with suggested text, in
  482.    response to a PAGEr command are:
  483.  
  484.     250 Pager ID Accepted
  485.     421 Too Many Errors, Goodbye (terminate connection)
  486.     421 Gateway Service Unavailable (terminate connection)
  487.     550 Error, Invalid Pager ID or Password
  488.     554 Error, failed (technical reason)
  489.  
  490. 4.4.3 LEVEl <ServiceLevel>
  491.  
  492.    The LEVEl function is used to specify an optional alternate level of
  493.    service for the next PAGEr command.  Ideally, "ServiceLevel" should
  494.    be an integer between 0 and 11 inclusive.  The TME protocol specifies
  495.    ServiceLevel as follows:
  496.  
  497.     0 - Priority
  498.     1 - Normal (default)
  499.     2 - Five minutes
  500.     3 - Fifteen minutes
  501.     4 - One hour
  502.     5 - Four hours
  503.  
  504.  
  505.  
  506. Gwinn                                                           [Page 9]
  507.  
  508. RFC 1645                    SNPP - Version 2                   July 1994
  509.  
  510.  
  511.     6 - Twelve hours
  512.     7 - Twenty Four hours
  513.     8 - Carrier specific '1'
  514.     9 - Carrier specific '2'
  515.    10 - Carrier specific '3'
  516.    11 - Carrier specific '4'
  517.  
  518.    The choice on how to implement this feature, or to what level it
  519.    should be implemented, should be optional and up to the discretion of
  520.    the carrier.
  521.  
  522.    Possible responses from the SNPP server, with suggested text, in
  523.    response to a LEVEl command are:
  524.  
  525.     250 OK, Alternate Service Level Accepted
  526.     421 Too Many Errors, Goodbye (terminate connection)
  527.     421 Gateway Service Unavailable (terminate connection)
  528.     500 Command Not Implemented
  529.     550 Error, Invalid Service Level Specified
  530.     554 Error, failed (technical reason)
  531.  
  532. 4.4.4 ALERt <AlertOverride>
  533.  
  534.    The optional ALERt command may be used to override the default
  535.    setting and specify whether or not to alert the subscriber upon
  536.    receipt of a message.  This option, like the previous command, alters
  537.    the parameters submitted to the paging terminal using the PAGEr
  538.    command.  The TME protocol specifies AlertOverride as either 0-
  539.    DoNotAlert, or 1-Alert.
  540.  
  541.    Possible responses from the SNPP server, with suggested text, in
  542.    response to a ALERt command are:
  543.  
  544.     250 OK, Alert Override Accepted
  545.     421 Too Many Errors, Goodbye (terminate connection)
  546.     421 Gateway Service Unavailable (terminate connection)
  547.     500 Command Not Implemented
  548.     550 Error, Invalid Alert Parameter
  549.     554 Error, failed (technical reason)
  550.  
  551. 4.4.5 COVErage <AlternateArea>
  552.  
  553.    The optional COVErage command is used to override the subscriber's
  554.    default coverage area, and allow for the selection of an alternate
  555.    region.  This option, like the previous command, alters the
  556.    parameters submitted to the paging terminal using the PAGEr command.
  557.    AlternateArea is a designator for one of the following:
  558.  
  559.  
  560.  
  561.  
  562. Gwinn                                                          [Page 10]
  563.  
  564. RFC 1645                    SNPP - Version 2                   July 1994
  565.  
  566.  
  567.     - A subscriber-specific alternate coverage area
  568.     - A carrier-defined region available to subscribers
  569.  
  570.    As an example, Mary Ghoti is a subscriber having local service in
  571.    Chicago, Illinois (Mary's region '1').  Her account has been set up
  572.    in such a manner as to allow Mary's pager to be paged nationwide upon
  573.    demand (Mary's region '2').  Specifying "COVErage 2" prior to issuing
  574.    the appropriate "PAGEr" command allows the default Chicago area to be
  575.    overridden, and Mary's pager to be messaged nationally for that
  576.    transaction.  It is assumed that the carrier providing Mary's service
  577.    will keep track of how many pages have been sent to her pager in this
  578.    manner, and will bill her accordingly.
  579.  
  580.    Possible responses from the SNPP server, with suggested text, in
  581.    response to a COVErage command are:
  582.  
  583.     250 Alternate Coverage Selected
  584.     421 Too Many Errors, Goodbye (terminate connection)
  585.     421 Gateway Service Unavailable (terminate connection)
  586.     500 Command Not Implemented
  587.     550 Error, Invalid Alternate Region
  588.     554 Error, failed (technical reason)
  589.  
  590. 4.4.6 HOLDuntil <YYMMDDHHMMSS> [+/-GMTdifference]
  591.  
  592.    The HOLDuntil command allows for the delayed delivery of a message,
  593.    to a particular subscriber, until after the time specified.  The time
  594.    may be specified in local time (e.g. local to the paging terminal),
  595.    or with an added parameter specifying offset from GMT (in other
  596.    words, "-0600" specifies Eastern Standard Time).  This option, like
  597.    the previous command, alters the parameters submitted to the paging
  598.    terminal using the PAGEr command.
  599.  
  600.    Possible responses from the SNPP server, with suggested text, in
  601.    response to a HOLDuntil command are:
  602.  
  603.     250 Delayed Messaging Selected
  604.     421 Too Many Errors, Goodbye (terminate connection)
  605.     421 Gateway Service Unavailable (terminate connection)
  606.     500 Command Not Implemented
  607.     550 Error, Invalid Delivery Date/Time
  608.     554 Error, failed (technical reason)
  609.  
  610. 4.4.7 CALLerid <CallerID>
  611.  
  612.    The CALLerid function is a message-oriented function (as opposed to
  613.    the subscriber-oriented functions just described).  This allows for
  614.    the specification of the CallerIdentifier function as described in
  615.  
  616.  
  617.  
  618. Gwinn                                                          [Page 11]
  619.  
  620. RFC 1645                    SNPP - Version 2                   July 1994
  621.  
  622.  
  623.    TME.  This parameter is optional, and is at the discretion of the
  624.    carrier as to how it should be implemented or used.
  625.  
  626.    Possible responses from the SNPP server, with suggested text, in
  627.    response to a CALLerid command are:
  628.  
  629.     250 Caller ID Accepted
  630.     421 Too Many Errors, Goodbye (terminate connection)
  631.     421 Gateway Service Unavailable (terminate connection)
  632.     500 Command Not Implemented
  633.     550 Error, Invalid Caller ID
  634.     554 Error, failed (technical reason)
  635.  
  636. 4.4.8 SUBJect <MessageSubject>
  637.  
  638.    The SUBJect function allows is a message-oriented function that
  639.    allows the sender to specify a subject for the next message to be
  640.    sent.  This parameter is optional and is at the discretion of the
  641.    carrier as to how it should be implemented or used.
  642.  
  643.    Possible responses from the SNPP server, with suggested text, in
  644.    response to a SUBJect command are:
  645.  
  646.     250 Message Subject Accepted
  647.     421 Too Many Errors, Goodbye (terminate connection)
  648.     421 Gateway Service Unavailable (terminate connection)
  649.     500 Command Not Implemented
  650.     550 Error, Invalid Subject Option
  651.     554 Error, failed (technical reason)
  652.  
  653. 4.5 Illegal Commands
  654.  
  655.    Should the client issue an illegal command, the server may respond in
  656.    one of the two following ways:
  657.  
  658.     421 Too Many Errors, Goodbye (terminate connection)
  659.     500 Command Not Implemented, Try Again
  660.  
  661.    The number of illegal commands allowed before terminating the
  662.    connection should be at the discretion of the operator of the SNPP
  663.    server.  The only response that has not been discussed is:
  664.  
  665.     421 SERVER DOWN, Goodbye
  666.  
  667.    This is used to refuse or terminate connections when the gateway is
  668.    administratively down, or when there is some other technical or
  669.    administrative problem with the paging terminal.
  670.  
  671.  
  672.  
  673.  
  674. Gwinn                                                          [Page 12]
  675.  
  676. RFC 1645                    SNPP - Version 2                   July 1994
  677.  
  678.  
  679. 4.6 Timeouts
  680.  
  681.    The SNPP server can, optionally, have an inactivity timeout
  682.    implemented.  At the expiration of the allotted time, the server
  683.    responds "421 Timeout, Goodbye" and closes the connection.
  684.  
  685. 4.7 Rigidity of Command Structure
  686.  
  687.    The commands from client to server should remain constant. However,
  688.    since the first character of the response indicates success or
  689.    failure, the text of the server responses could be altered to suit
  690.    the tastes of the operator of the SNPP server. It is suggested that
  691.    the response codes mirror SMTP response codes as closely as possible.
  692.  
  693. 5. Revision History
  694.  
  695.    Originally, when proposed, the author employed POP2 style
  696.    result/response codes.  The Internet community suggested that this
  697.    '+' and '-' style theory be altered to provide numeric response codes
  698.    -- similar to those used in other services such as SMTP.  The
  699.    protocol has been altered to this specification from the first
  700.    proposed draft.
  701.  
  702.    Administrative errors (Illegal Pager ID, for example) have been
  703.    separated from technical errors (out-of-space on disk, for example).
  704.    Administrative failures are generally preceded with a 550 series
  705.    response, while technical failures bear a 554 series code.
  706.  
  707.    Level two enhancements to the protocol have been added in preparation
  708.    for TME deployment.
  709.  
  710.    Error code "502 Command not implemented" was changed to a general
  711.    "500 Command not recognized" failure result to closer follow SMTP.
  712.  
  713. 6. Relationship to Other IETF Work
  714.  
  715.    The strategy of this specification, and many of its details, were
  716.    reviewed by an IETF Working Group and three IESG members.  They
  717.    concluded that an approach using the existing email infrastructure
  718.    was preferable, due in large measure to the very high costs of
  719.    deploying a new protocol and the advantages of using the Internet's
  720.    most widely-distributed applications protocol infrastructure.  Most
  721.    reviewers felt that no new protocol was needed at all because the
  722.    special "deliver immediately or fail" requirements of SNPP could be
  723.    accomplished by careful configuration of clients and servers.  The
  724.    experimental network printing protocol [4] was identified as an
  725.    example of an existing infrastructure approach to an existing
  726.    problem. Other reviewers believed that a case could be made for new
  727.  
  728.  
  729.  
  730. Gwinn                                                          [Page 13]
  731.  
  732. RFC 1645                    SNPP - Version 2                   July 1994
  733.  
  734.  
  735.    protocol details to identify paging clients and servers to each other
  736.    and negotiate details of the transactions, but that it would be
  737.    sensible to handle those details as extensions to SMTP [1, 2] rather
  738.    than deploying a new protocol structure.
  739.  
  740.    The author, while recognizing these positions, believes that there is
  741.    merit in a separate protocol to isolate details of TAP/IXO and its
  742.    evolving successors from users and, indeed, from mail-based
  743.    approaches that might reach systems that would act as SMTP/MIME [3]
  744.    to SNPP gateways.  Such systems and gateways are, indeed, undergoing
  745.    design and development concurrent with this work.  See the section
  746.    "Why not just use Email and SMTP?" for additional discussion of the
  747.    author's view of the classical electronic email approach.
  748.  
  749. 7. References
  750.  
  751.    [1] Postel, J., "Simple Mail Transfer Protocol", STD 10, RFC 821,
  752.        USC/Information Sciences Institute, August 1982.
  753.  
  754.    [2] Klensin, J., Freed, N., Rose, M., Stefferud, E., and D. Crocker,
  755.        "SMTP Service Extensions", United Nations University, Innosoft,
  756.        Dover Beach Consulting, Inc., Network Management Associates,
  757.        Inc., The Branch Office, RFC 1425, February 1993.
  758.  
  759.    [3] Borenstein, N., and N. Freed, "MIME  (Multipurpose Internet Mail
  760.        Extensions) Part One:  Mechanisms for Specifying and Describing
  761.        the Format of Internet Message Bodies", RFC 1521, Bellcore,
  762.        Innosoft, September 1993.
  763.  
  764.    [4] Rose, M., and C. Malamud, "An Experiment in Remote Printing", RFC
  765.        1486, Dover Beach Consulting, Inc., Internet Multicasting
  766.        Service, July 1993.
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786. Gwinn                                                          [Page 14]
  787.  
  788. RFC 1645                    SNPP - Version 2                   July 1994
  789.  
  790.  
  791. 8.  Security Considerations
  792.  
  793.    Security issues are not discussed in this memo.
  794.  
  795. 9. Author's Address
  796.  
  797.    R. Allen Gwinn, Jr.
  798.    Associate Director, Computing Services
  799.    Business Information Center
  800.    Southern Methodist University
  801.    Dallas, TX  75275
  802.  
  803.    Phone:  214/768-3186
  804.    EMail:  allen@mail.cox.smu.edu  or  allen@sulaco.lonestar.org
  805.  
  806.  
  807.  
  808.  
  809.  
  810.  
  811.  
  812.  
  813.  
  814.  
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842. Gwinn                                                          [Page 15]
  843.  
  844.