Commit Graph

749 Commits

Author SHA1 Message Date
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
Michael Jerris fa37b6630b fix error for unused local variable.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@78 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 20:04:50 +00:00
Michael Jerris ddc578bc1c use () around & ops to clarify order precedence
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@77 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:54:27 +00:00
Michael Jerris 5356f273b1 warning levels on nix build prohibits // comments
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@76 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:48:51 +00:00
Michael Jerris d2e3cc0b8d builds on windows again.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@75 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:43:20 +00:00
Michael Jerris c7747664b3 warning levels on nix build prohibits // comments
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@74 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:37:52 +00:00
Michael Jerris 443fe5b183 more warning stuff.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@73 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:34:43 +00:00
Michael Jerris 1f16b98ca8 warnings cleanup.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@72 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:23:01 +00:00
Michael Jerris 23d2d673c1 warning levels on nix build prohibits // comments
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@71 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:02:28 +00:00
Michael Jerris f2a4b8b14d Q921.c should build now under heavier warning levels.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@70 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 19:00:38 +00:00
Anthony Minessale 0c54b8b50b fixing make...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@69 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:57:23 +00:00
Michael Jerris bd9ea03197 normalize using unsigned char for buffers instead of mixed signed/unsigned in isdn code.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@68 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:53:58 +00:00
Michael Jerris 23043a7e4d windows build add isdn files
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@67 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:51:13 +00:00
Anthony Minessale 0ae4f34c0c fixing make...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@66 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:34:46 +00:00
Michael Jerris 70f5fc6153 checkin q931/q932/q921 code.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@65 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 18:25:36 +00:00
Michael Jerris 5ab3190cc8 fix comment
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@64 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 17:52:09 +00:00
Michael Jerris 379379d7b7 windows build fix
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@63 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 17:51:57 +00:00
Anthony Minessale 5724bd4d6a update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@62 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 17:48:13 +00:00
Michael Jerris 491d7a2fe4 fix leak on pthread failures.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@61 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 15:38:35 +00:00
Michael Jerris f37fb06241 typo
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@60 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:47:32 +00:00
Michael Jerris 45d3a0a08e typo
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@59 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:45:52 +00:00
Michael Jerris eec3cb0975 typo
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@58 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:43:38 +00:00
Michael Jerris d072950e7d typo
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@57 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:41:36 +00:00
Michael Jerris 424f6107a6 add detached thread abstraction.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@56 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-21 02:40:06 +00:00
Michael Jerris 89e4d886b2 initial check in of cross platform thread and mutex abstraction (just recursive mutexes so far).
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@55 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 20:30:31 +00:00
Michael Jerris 18b8c77d74 tweak types
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@54 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 15:28:49 +00:00
Michael Jerris e73424f36d tweak types
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@53 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 15:27:29 +00:00
Michael Jerris 8f340bf0e5 add missing header file to sangoma_tdm_api.h.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@52 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 10:35:07 +00:00
Michael Jerris f0834d471c implementations for the cross platform read and write in sangoma_tdm_api.h.
move zap_wanpipe.c to use the read and write from sangoma_tdm_api.h.
cleanups and lots of comments added to sangoma_tdm_api.h
some fixes to sangoma_tdm_api.h to make the api more consistent between windows and nix.

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@51 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 10:30:51 +00:00
Michael Jerris d3efe9d8dd cleanup
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@50 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-20 06:26:05 +00:00