26 Commits

Author SHA1 Message Date
Stefan Knoblich
9bcabce6e8 Add initial Basic Rate Interface (BRI) support...
Short summary of changes:
    (Massive) rework of the Q.921 layer
    Q.931 changes to get BRI PTMP working and cleanups (more to come...)
    Add Hi-Layer compat and Progress IE to outgoing SETUP messages
    Improve handling of call tear-down in zap_isdn.c
    Open ZAP I/O channels after processing the dialplan for incoming calls
    Bearer Capability and Channel ID IE handling improved for BRI/PRI and A-law/u-law

    ...and a lot of other small changes



git-svn-id: http://svn.openzap.org/svn/openzap/trunk@512 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-22 16:55:01 +00:00
Michael Jerris
5803a63bac clarify.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@443 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-04-04 20:43:48 +00:00
Michael Jerris
f1ced4783f doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@442 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-04-04 20:39:14 +00:00
Michael Jerris
e01c1022bb Add files for 5ess Dialect, numerous formatting and typo fixes. MODENDP-43 and MODENDP-44.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@346 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-22 09:28:40 +00:00
Michael Jerris
c70233502a fix for euroisdn, watch if this one breaks dms
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@306 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-08-02 21:24:09 +00:00
Michael Jerris
ce36f85c1d cleanup of service message handling, add separate dialects for dms and national.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@290 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-25 16:00:24 +00:00
Anthony Minessale
bed2275bc8 outbound isdn w00t
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@264 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-16 04:39:15 +00:00
Anthony Minessale
f981ebef9f inbound calls milestone
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@255 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-14 03:54:02 +00:00
Michael Jerris
2f4d9e8c3b properly send release complete
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@254 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-14 02:02:56 +00:00
Michael Jerris
02186c731d add auto acks.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@246 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-12 01:38:45 +00:00
Michael Jerris
505539d65c add enum helpers
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@245 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-11 22:11:58 +00:00
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
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
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
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
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
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
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
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
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
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