80 Commits

Author SHA1 Message Date
Michael Jerris
c8f9f19b14 Add beginning of auto-restart functionality
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@179 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 16:30:20 +00:00
Michael Jerris
1b2f1da9c8 remove codeset form generic message struct, it doesn't belong there, this is still messy, need a cleaner way.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@178 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 15:32:37 +00:00
Michael Jerris
c48ce7994f Correct crv handling.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@176 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 04:13:24 +00:00
Michael Jerris
524ed2ba1c typos.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@175 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 03:15:18 +00:00
Michael Jerris
8c0b033418 off by 1 error in Q931Uie_CalledNum.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@174 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 03:08:41 +00:00
Michael Jerris
8f76c671c1 use Q931Uie_GenericDigits for national isdn setup message parser.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@173 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 02:44:14 +00:00
Michael Jerris
68b898c69e better implement Q931Uie_GenericDigits.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@172 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 02:42:32 +00:00
Michael Jerris
27cfa656c3 missing ()
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@171 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-28 22:49:54 +00:00
Michael Jerris
f3fe8c1743 Start of support for codesets and shift operation in messages.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@170 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-28 22:48:13 +00:00
Michael Jerris
4b82de25cc Added typedefs for some functions to simplify the declarations for the function pointer tables and the header files.
API rework to simplify the Umes functions.  


git-svn-id: http://svn.openzap.org/svn/openzap/trunk@169 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-28 22:00:14 +00:00
Michael Jerris
3599a316bb move ie definitions and declarations to a new header file.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@168 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-28 03:14:24 +00:00
Michael Jerris
12eb05c035 add codeset enum.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@167 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-28 02:59:34 +00:00
Michael Jerris
605f70877f dos2unix
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@165 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-27 16:37:52 +00:00
Michael Jerris
0c8704da07 Tweak and add some defines.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@164 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-27 15:01:40 +00:00
Michael Jerris
65983aa84e better compliance with Q.931 on a few ie pack/unpack functions. Revert to using the corrected functions for national dialect.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@154 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-26 01:02:43 +00:00
Michael Jerris
1673571842 add Q931MegGetIE function to simplify the Pmes functions.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@147 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 20:16:45 +00:00
Anthony Minessale
afb3f35a82 Steps towards parsing NI2 Setup message.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@146 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 18:16:04 +00:00
Michael Jerris
adb55eaedc need to count by 2's
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@145 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 17:29:22 +00:00
Anthony Minessale
0b76265c61 need blank line at end of file
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@144 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 17:20:27 +00:00
Michael Jerris
b9cd7f9160 error -> error name.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@143 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 17:19:03 +00:00
Michael Jerris
824cf6414f cleanup and simplify the message unpack functions.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@141 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 16:40:03 +00:00
Michael Jerris
bbd85a8e99 api rework to pass the Q931mes_Generic pointer into the message pack functions, and out of the message unpack functions. Move Q932 to use the generic message type.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@140 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 16:21:57 +00:00
Michael Jerris
770b88eac0 cleanup.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@139 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 14:42:00 +00:00
Michael Jerris
2111722eb0 Use the same Q931mes_Generic for all messages for simplicity.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@137 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 14:27:20 +00:00
Michael Jerris
74b55a890e add initial National ISDN Dialect.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@132 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 04:12:15 +00:00
Michael Jerris
8ad644fe35 get building on windows again.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@131 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 04:11:32 +00:00
Anthony Minessale
4b46d222e6 ease debugging for now
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@129 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 02:27:08 +00:00
Anthony Minessale
7ebb574f03 revert back to previous api for 921 callbacks expected return
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@127 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 01:55:26 +00:00
Michael Jerris
96de29a23b dos2unix.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@126 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 01:02:25 +00:00
Anthony Minessale
6e28089604 this is much more correct, we respond to the NT sending RR commands instead of us sending RR commands on the timer.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@123 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 00:53:06 +00:00
Anthony Minessale
1ba035044f make this work for a few more things.. this will probably need to move to a dialect
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@122 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 00:51:56 +00:00
Michael Jerris
9e864e6ed7 quick hack to try to get somthing working.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@121 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 22:58:56 +00:00
Michael Jerris
2b9ed2d398 Return the correct size from the Q931Pmes functions
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@119 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 21:06:33 +00:00
Michael Jerris
52bed6bc1b pass the correct index to the Q931Pie table for the ie pack function.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@118 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 20:47:59 +00:00
Michael Jerris
6228923000 unpack ie's into the ie buffer space, not overwriting the rest of the message structure.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@117 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 20:27:03 +00:00
Michael Jerris
cfcaaa148b set the ie to point to the first byte of the ie struct, not the last.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@116 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 20:15:05 +00:00
Michael Jerris
375100f1a3 the size in ie packets is the size of the contents, not the whole ie.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@115 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 20:10:20 +00:00
Anthony Minessale
0ca281c3a9 kindof working t203 timer
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@114 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 19:47:35 +00:00
Michael Jerris
fe0bbb8396 add some timers
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@113 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 19:26:53 +00:00
Michael Jerris
11bb923c0b remove some extra debug messages
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@112 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 18:25:46 +00:00
Anthony Minessale
31f79bf237 add more couters, better process vs and vr
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@110 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 18:19:04 +00:00
Anthony Minessale
db1af075b6 use the correct sizes
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@109 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 16:15:48 +00:00
Anthony Minessale
9443d75028 cast
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@108 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 16:14:47 +00:00
Anthony Minessale
5e1d3ea15d set size and location correctly
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@107 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 16:14:15 +00:00
Anthony Minessale
5f0b5353d2 dos2unix
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@106 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 16:11:36 +00:00
Michael Jerris
ce51441fa0 add message pack and unpack functions for Restart and RestartAck from Jan. Thanks Jan.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@105 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 04:10:50 +00:00
Anthony Minessale
bc07decb59 little formatting...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@104 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 04:05:34 +00:00
Michael Jerris
aecacc27df add Q931InitMesRestartAck
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@103 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 22:24:43 +00:00
Anthony Minessale
795f2f6d31 w00t
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@102 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 22:07:05 +00:00
Michael Jerris
2ffac06178 change prototype
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@101 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 19:22:09 +00:00