155714Skris/* 255714Skris * Copyright (c) 1997, 1999 Hellmuth Michaelis. All rights reserved. 355714Skris * 455714Skris * Redistribution and use in source and binary forms, with or without 555714Skris * modification, are permitted provided that the following conditions 655714Skris * are met: 755714Skris * 1. Redistributions of source code must retain the above copyright 855714Skris * notice, this list of conditions and the following disclaimer. 955714Skris * 2. Redistributions in binary form must reproduce the above copyright 1055714Skris * notice, this list of conditions and the following disclaimer in the 1155714Skris * documentation and/or other materials provided with the distribution. 1255714Skris * 1355714Skris * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1455714Skris * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1555714Skris * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1655714Skris * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1755714Skris * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1855714Skris * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1955714Skris * 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. 24 * 25 *--------------------------------------------------------------------------- 26 * 27 * pcause1tr6.h - 1TR6 causes definitions 28 * -------------------------------------- 29 * 30 * $Id: pcause_1tr6.h,v 1.2 2009/04/16 05:56:33 lukem Exp $ 31 * 32 * $FreeBSD$ 33 * 34 * last edit-date: [Mon Dec 13 21:56:10 1999] 35 * 36 *---------------------------------------------------------------------------*/ 37 38const char *print_cause_1tr6(unsigned char code); 39 40/* 1TR6 protocol causes */ 41 42#define CAUSE_1TR6_SHUTDN 0x00 /* normal D-channel shutdown */ 43#define CAUSE_1TR6_ICRV 0x01 /* invalid call reference value */ 44#define CAUSE_1TR6_BSNI 0x03 /* bearer service not implemented */ 45#define CAUSE_1TR6_CIDNE 0x07 /* call identity does not exist */ 46#define CAUSE_1TR6_CIIU 0x08 /* call identity in use */ 47#define CAUSE_1TR6_NCA 0x0A /* no channel available */ 48#define CAUSE_1TR6_RFNI 0x10 /* requested facility not implemented */ 49#define CAUSE_1TR6_RFNS 0x11 /* requested facility not subscribed */ 50#define CAUSE_1TR6_OCB 0x20 /* outgoing calls barred */ 51#define CAUSE_1TR6_UAB 0x21 /* user access busy */ 52#define CAUSE_1TR6_NECUG 0x22 /* non existent CUG */ 53#define CAUSE_1TR6_NECUG1 0x23 /* non existent CUG */ 54#define CAUSE_1TR6_SPV 0x25 /* kommunikationsbeziehung als SPV nicht erlaubt */ 55#define CAUSE_1TR6_DNO 0x35 /* destination not obtainable */ 56#define CAUSE_1TR6_NC 0x38 /* number changed */ 57#define CAUSE_1TR6_OOO 0x39 /* out of order */ 58#define CAUSE_1TR6_NUR 0x3A /* no user responding */ 59#define CAUSE_1TR6_UB 0x3B /* user busy */ 60#define CAUSE_1TR6_ICB 0x3D /* incoming calls barred */ 61#define CAUSE_1TR6_CR 0x3E /* call rejected */ 62#define CAUSE_1TR6_NCO 0x59 /* network congestion */ 63#define CAUSE_1TR6_RUI 0x5A /* remote user initiated */ 64#define CAUSE_1TR6_LPE 0x70 /* local procedure error */ 65#define CAUSE_1TR6_RPE 0x71 /* remote procedure error */ 66#define CAUSE_1TR6_RUS 0x72 /* remote user suspended */ 67#define CAUSE_1TR6_RUR 0x73 /* remote user resumed */ 68#define CAUSE_1TR6_UIDL 0x7F /* user info discharded locally */ 69 70/* EOF */ 71