Minor style change
[dragonfly.git] / usr.sbin / i4b / isdntrace / pcause_1tr6.h
blob2e74c87625515c08b078f8cf015c8d08eaeb1a32
1 /*
2 * Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
13 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
25 *---------------------------------------------------------------------------
27 * pcause1tr6.h - 1TR6 causes definitions
28 * --------------------------------------
30 * $Id: pcause_1tr6.h,v 1.5 1999/12/13 21:25:26 hm Exp $
32 * $FreeBSD: src/usr.sbin/i4b/isdntrace/pcause_1tr6.h,v 1.6.2.1 2001/08/01 17:45:08 obrien Exp $
33 * $DragonFly: src/usr.sbin/i4b/isdntrace/pcause_1tr6.h,v 1.2 2003/06/17 04:29:55 dillon Exp $
35 * last edit-date: [Mon Dec 13 21:56:10 1999]
37 *---------------------------------------------------------------------------*/
39 char *print_cause_1tr6(unsigned char code);
41 /* 1TR6 protocol causes */
43 #define CAUSE_1TR6_SHUTDN 0x00 /* normal D-channel shutdown */
44 #define CAUSE_1TR6_ICRV 0x01 /* invalid call reference value */
45 #define CAUSE_1TR6_BSNI 0x03 /* bearer service not implemented */
46 #define CAUSE_1TR6_CIDNE 0x07 /* call identity does not exist */
47 #define CAUSE_1TR6_CIIU 0x08 /* call identity in use */
48 #define CAUSE_1TR6_NCA 0x0A /* no channel available */
49 #define CAUSE_1TR6_RFNI 0x10 /* requested facility not implemented */
50 #define CAUSE_1TR6_RFNS 0x11 /* requested facility not subscribed */
51 #define CAUSE_1TR6_OCB 0x20 /* outgoing calls barred */
52 #define CAUSE_1TR6_UAB 0x21 /* user access busy */
53 #define CAUSE_1TR6_NECUG 0x22 /* non existent CUG */
54 #define CAUSE_1TR6_NECUG1 0x23 /* non existent CUG */
55 #define CAUSE_1TR6_SPV 0x25 /* kommunikationsbeziehung als SPV nicht erlaubt */
56 #define CAUSE_1TR6_DNO 0x35 /* destination not obtainable */
57 #define CAUSE_1TR6_NC 0x38 /* number changed */
58 #define CAUSE_1TR6_OOO 0x39 /* out of order */
59 #define CAUSE_1TR6_NUR 0x3A /* no user responding */
60 #define CAUSE_1TR6_UB 0x3B /* user busy */
61 #define CAUSE_1TR6_ICB 0x3D /* incoming calls barred */
62 #define CAUSE_1TR6_CR 0x3E /* call rejected */
63 #define CAUSE_1TR6_NCO 0x59 /* network congestion */
64 #define CAUSE_1TR6_RUI 0x5A /* remote user initiated */
65 #define CAUSE_1TR6_LPE 0x70 /* local procedure error */
66 #define CAUSE_1TR6_RPE 0x71 /* remote procedure error */
67 #define CAUSE_1TR6_RUS 0x72 /* remote user suspended */
68 #define CAUSE_1TR6_RUR 0x73 /* remote user resumed */
69 #define CAUSE_1TR6_UIDL 0x7F /* user info discharded locally */
71 /* EOF */