Michael Jerris
3e8c6d83b2
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
Anthony Minessale
7973f377e7
update some macros and analog stuff
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@142 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 16:42:38 +00:00
Michael Jerris
ea0cd7baf8
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
b8bfc4c8e4
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
dd283a1e6c
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
Anthony Minessale
e1cff2315e
cleanup from generic message header change
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@138 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 14:30:36 +00:00
Michael Jerris
4f86bcc241
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
Anthony Minessale
8ab54893ce
fix test app
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@136 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 13:46:54 +00:00
Anthony Minessale
2a7297278d
add new file to Makefile
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@135 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 13:43:44 +00:00
Anthony Minessale
d67257f229
add new file to Makefile
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@134 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 13:41:43 +00:00
Anthony Minessale
bc1b0ef116
merge
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@133 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 13:39:40 +00:00
Michael Jerris
8a47dc9b4c
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
803b42ac76
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
d97b50a9c9
add basics for analog (wip)
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@130 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 03:42:40 +00:00
Anthony Minessale
17c249c210
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
bb1e193a41
add debug error msg for 931 parse error
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@128 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 01:59:26 +00:00
Anthony Minessale
e79c497e6e
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
397eebfd09
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
Michael Jerris
743414e00f
add zap_isdn.c to windows build.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@125 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 01:02:13 +00:00
Michael Jerris
479657d1af
uninitialized var.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@124 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 01:01:50 +00:00
Anthony Minessale
06f3ac6402
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
37bc1f714a
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
2366b78c8a
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
Anthony Minessale
56a341e2ce
big enough buffer for the whole message for our debug
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@120 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 21:15:38 +00:00
Michael Jerris
0d8ef69f03
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
f7c8f57270
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
9cf72575f1
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
5de359b32d
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
71f4590889
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
46b96bac7d
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
b208dfd237
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
381d8d8fb2
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
80435e6f81
getting closer
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@111 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-23 18:25:23 +00:00
Anthony Minessale
b5d1ff62b6
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
43bc6035d2
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
25e0f9443d
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
10b0f6998e
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
8697d65b4b
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
82c66d25ab
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
3885bde05b
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
f2eb322de8
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
b67a52b142
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
2e097a54ef
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
Michael Jerris
6be4a026fd
add Q921Start
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@100 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 19:21:55 +00:00
Michael Jerris
b57d5390d3
correct initialization to set the right dialect.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@99 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 17:17:32 +00:00
Michael Jerris
33f9f436aa
add separate private data for tx to 2 and 4.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@98 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 16:33:13 +00:00
Michael Jerris
29d460e725
add separate private data for tx to 1 and 3.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@97 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 16:27:40 +00:00
Michael Jerris
598d8df49a
rework 921/931 api.
...
Move the Tx callbacks on each to be trunk specific, not global so that we can set them per trunk.
Change prototypes for the Tx callbacks so that they pass a trunk specific private pointer to the Tx callbacks so that 921 and 931 can call each other directly.
change 921 so that it doesn't use a static array for it's trunk structure to match 931
use more enums.
more to come....
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@96 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 08:03:20 +00:00
Michael Jerris
629ed3ef24
missed this one from the last commit.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@95 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 04:33:31 +00:00
Michael Jerris
f88576f4bb
let us use either static or dynamic trunk handles.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@94 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 04:25:04 +00:00