1 /***************************************************************************** 2 3 FileName: EuroISDNStateTE.c 4 5 Contents: EuroISDN State Engine for TE (User Mode). 6 7 The controlling state engine for Q.931 is the state engine 8 on the NT side. The state engine on the TE side is a slave 9 of this. The TE side maintain it's own states as described in 10 ITU-T Q931, but will in raise conditions be overridden by 11 the NT side. 12 13 License/Copyright: 14 15 Copyright (c) 2007, Jan Vidar Berger, Case Labs, Ltd. All rights reserved. 16 email:janvb@caselaboratories.com 17 18 Redistribution and use in source and binary forms, with or without 19 modification, are permitted provided that the following conditions are 20 met: 21 22 * Redistributions of source code must retain the above copyright notice, 23 this list of conditions and the following disclaimer. 24 * Redistributions in binary form must reproduce the above copyright notice, 25 this list of conditions and the following disclaimer in the documentation 26 and/or other materials provided with the distribution. 27 * Neither the name of the Case Labs, Ltd nor the names of its contributors 28 may be used to endorse or promote products derived from this software 29 without specific prior written permission. 30 31 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 32 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 33 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 34 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 35 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 36 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 37 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 38 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 39 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 40 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41 POSSIBILITY OF SUCH DAMAGE. 42 *****************************************************************************/ 43 44 #include "Q931.h" 45 46 /* 47 EuroISDN is a sub-set of Q.931. Q.931 is very generic as it embrase a lot, 48 while EuroISDN is more exact and make decitions on some of the 49 'implementation options' in the original standard. EuroISDN will 50 however run smoothly under the generic space, so these functions are more 51 for show 52 */ 53 #if 0 54 static void EuroISDNCreateTE(L3UCHAR i) 55 { 56 Q931CreateTE(i); 57 } 58 #endif