TRIP, Telephone Routing over IP |
![]() |
Description | Glossary | RFCs | Publications | Obsolete RFCs |
Protocol suite: | TCP/IP. |
Protocol type: | Application layer protocol. |
Ports: | 6069 (TCP). |
MIME subtype: | |
SNMP MIBs: | iso.org.dod.internet.mgmt.mib-2.tripTC (1.3.6.1.2.1.115)
iso.org.dod.internet.mgmt.mib-2.tripMIB (1.3.6.1.2.1.116) |
Working groups: | iptel, IP Telephony. IETF working group, Transport area. |
Links: | IANA: TRIP parameters. |
TRIP is a policy driven inter-administrative domain protocol for advertising the reachability of telephony destinations between location servers, and for advertising attributes of the routes to those destinations. TRIP's operation is independent of any signaling protocol, hence TRIP can serve as the telephony routing protocol for any signaling protocol.
TRIP is modeled after the BGP protocol.
Messages are sent over a reliable transport protocol connection. A message MUST be processed only after it is entirely received. The maximum message size is 4096 bytes. All implementations MUST support this maximum message size. The smallest message that MAY be sent consists of a TRIP header without a data portion.
MAC header | IP header | TCP header | TRIP header | Data ::: |
TRIP header:
00 | 01 | 02 | 03 | 04 | 05 | 06 | 07 | 08 | 09 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Length | Type | Data ::: |
Length.
16 bits, unsigned. 3 to 4096.
Indicates the total length of the message, including the header, in bytes.
No padding of extra data after the message is allowed, so the Length field must have the smallest value possible given the rest of the message.
Type. 8 bits.
Type | Description |
---|---|
0 | |
1 | OPEN. |
2 | UPDATE. |
3 | NOTIFICATION. |
4 | KEEPALIVE. |
5 - 255 |
Data. Variable length.
TRIP attributes.
Code | Description | References |
---|---|---|
0 | reserved. | RFC 3219 |
1 | WithdrawnRoutes. | RFC 3219 |
2 | ReachableRoutes. | RFC 3219 |
3 | NextHopServer. | RFC 3219 |
4 | AdvertisementPath. | RFC 3219 |
5 | RoutedPath. | RFC 3219 |
6 | AtomicAggregate. | RFC 3219 |
7 | LocalPreference. | RFC 3219 |
8 | MultiExitDisc. | RFC 3219 |
9 | Communities. | RFC 3219 |
10 | ITAD Topology. | RFC 3219 |
11 | ConvertedRoute. | RFC 3219 |
12 | ResourcePriority. | RFC 5115 |
13 | TotalCircuitCapacity. | RFC 5140 |
14 | AvailableCircuits. | RFC 5140 |
15 | CallSuccess. | RFC 5140 |
16 | E.164 Prefix. | RFC 5140 |
17 | Pentadecimal Routing Number Prefix. | RFC 5140 |
18 | Decimal Routing Number Prefix. | RFC 5140 |
19 | TrunkGroup. | RFC 5140 |
20 | Carrier. | RFC 5140 |
21 - 223 | ||
224 - 255 | reserved for vendor specific attributes. | RFC 3219 |
RFCs:
[RFC 3219] Telephony Routing over IP (TRIP).
[RFC 3872] Management Information Base for Telephony Routing over IP (TRIP).
![]() |
Description | Glossary | RFCs | Publications | Obsolete RFCs |