Commit Graph

278 Commits

Author SHA1 Message Date
Anthony Minessale a4363ac2a9 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 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
Michael Jerris 89046a6e5b 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 9c21da494e 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 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
Anthony Minessale 04ac959cbc 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 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 04d4509a32 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 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
Michael Jerris b9d3b86363 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 4b3113f56d 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 b06d0d2589 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 50aba550c9 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 f59812b19c 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 5daa050cb5 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 4373a35c25 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
Michael Jerris f3dd2b1cd7 fix default channel setup for things not E1
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@93 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 03:18:23 +00:00
Michael Jerris 36d6b40908 add function to initialize a new trunk.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@92 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 02:45:42 +00:00
Michael Jerris 7eebf19e08 adjust to filename change.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@91 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 02:45:21 +00:00
Anthony Minessale 62eea6fd81 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@90 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 02:27:50 +00:00
Michael Jerris b8635f17e7 missing changes from previous commit.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@89 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 01:29:31 +00:00
Michael Jerris 36411f16ac add missing header files to the project file.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@88 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 01:26:15 +00:00
Michael Jerris ec4ee146d9 default to 4 trunks max at compile time.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@87 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 01:26:00 +00:00
Michael Jerris 45268b86af add functions to initialize a trunk, and a public function to receive from layer 3 that sends an I frame.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@86 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-22 01:25:35 +00:00
Anthony Minessale 65bf12a048 change linefeeds
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@85 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 23:29:33 +00:00
Anthony Minessale 4fb5220f5b update makefile
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@84 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 21:47:30 +00:00
Anthony Minessale 4de078c9e8 dont error on unused function paramaters
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@83 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:45:45 +00:00
Michael Jerris 38c513f42f resolve msvc warning C4244
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@82 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:41:41 +00:00
Michael Jerris 2cf4daf1e5 resolve msvc warning C4267
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@81 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:34:49 +00:00
Michael Jerris 38237eb382 fix some type overflow warnings in q921 caused by the math implicitly becoming int.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@80 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:28:13 +00:00
Michael Jerris 56007735e4 empty if body on ie that has not yet been implemented.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@79 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:08:52 +00:00