2.8 Outgoing-Call-Reply

The Outgoing-Call-Reply is a PPTP control message sent by the PAC to the PNS in response to a received Outgoing-Call-Request message.  The reply indicates the result of the outgoing call attempt.  It also provides information to the PNS about particular parameters used for the call.  It provides information to allow the PNS to regulate the transmission of data to the PAC for this session.

       0                   1                   2                   3

       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |            Length             |      PPTP Message Type        |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |                         Magic Cookie                          |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |     Control Message Type      |           Reserved0           |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |            Call ID            |       Peer's Call ID          |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |  Result Code  |  Error Code   |          Cause Code           |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |                         Connect Speed                         |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |   Packet Recv. Window Size    |    Packet Processing Delay    |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

      |                      Physical Channel ID                      |

      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

LengthTotal length in octets of this PPTP message, including the entire PPTP header.

PPTP Message Type1 for Control Message.

Magic Cookie0x1A2B3C4D.

Control Message Type8 for Outgoing-Call-Reply.

Reserved0This field MUST be 0.

Call IDA unique identifier for the tunnel, assigned by the PAC to this session.  It is used to multiplex and demultiplex data sent over the tunnel between the PNS and PAC involved in this session.

Peer's Call IDThis field is set to the value received in the Call ID field of the corresponding Outgoing-Call-Request message.  It is used by the PNS to match the Outgoing-Call-Reply with the Outgoing-Call-Request it issued. It also is used as the value sent in the GRE header for mux/demuxing.

Result CodeThis value indicates the result of the Outgoing-Call-Request attempt.  Currently valid values are:

1 (Connected) - Call established with no errors

2 (General Error) - Outgoing Call not established for the reason indicated in Error Code

3 (No Carrier) - Outgoing Call failed due to no carrier detected

4 (Busy) - Outgoing Call failed due to detection of a busy signal

5 (No Dial Tone) - Outgoing Call failed due to lack of a dial tone

6 (Time-out) - Outgoing Call was not established within time allotted by PAC

7 (Do Not Accept) - Outgoing Call administratively prohibited

Error CodeThis field is set to 0 unless a "General Error" condition exists, in which case Result Code is set to 2 and this field is set to the value corresponding to the general error condition as specified in Section 2.16.

Cause CodeThis field gives additional failure information.  Its value can vary depending upon the type of call attempted.  For ISDN call attempts it is the Q.931 cause code.

Connect SpeedThe actual connection speed used, in bits/second.

Packet Recv. Window Size The number of received data packets the PAC will buffer for this session.

Packet Processing DelayA measure of the packet processing delay that might be imposed on data sent to the PAC from the PNS.  This value is specified in units of 1/10 seconds.  For the PAC, this number is related to the size of the buffer used to hold packets to be sent to the client and to the speed of the link to the client.  This value should be set to the maximum delay that can normally occur between the time a packet arrives at the PAC and is delivered to the client.  See Appendix A for an example of how this value is determined and used.

Physical Channel IDThis field is set by the PAC in avendor-specific manner to the physical channel number used to place this call. It is used for logging purposes only.