Commit Graph

125 Commits

Author SHA1 Message Date
Stefan Knoblich 584880af5b Fix encoding of the Channel ID IE
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@516 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-28 15:50:26 +00:00
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 0baedecdfd change order.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@502 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-15 17:34:17 +00:00
Stefan Knoblich d54afa6106 [Q.931] INFORMATION message is 0x7b not 0x7a
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@501 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-08 14:45:41 +00:00
Stefan Knoblich 45d28e8fab [Q.931] Fix DateTime IE parsing
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@500 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-08 14:44:11 +00:00
Michael Jerris 1b523a758f DOH
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@497 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-01 23:34:16 +00:00
Michael Jerris 7d9be1f65a re-set our decode buffer to get rid of the previous message.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@496 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-01 22:34:59 +00:00
Anthony Minessale a90ef152f9 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@468 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-02 23:37: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
Anthony Minessale 5daf56acd5 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@437 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-04-02 20:24:54 +00:00
Michael Jerris 77c2ce76bd fix caller id (MODAPP-77)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@404 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-18 18:16:58 +00:00
Anthony Minessale d809d5111d build with all the strict flags on
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@402 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-18 17:17:38 +00:00
Michael Jerris 081d5f2e52 try to release call table entry a bit more.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@396 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-17 10:33:21 +00:00
Michael Jerris 33f70e63bc try to release the call refs.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@389 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-02-06 18:10:27 +00:00
Michael Jerris 59d4031735 allow diag bytes on Cause IE
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@382 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-01-30 16:24:54 +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 d0a3cefa3f unused var.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@344 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-21 22:08:37 +00:00
Michael Jerris 8dfec4151f pull some state stuff out for now
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@343 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-21 22:02:04 +00:00
Michael Jerris e77c69f283 allways tell the app regardless of state.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@342 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-21 21:55:46 +00:00
Michael Jerris 3faf9b70c3 Send event to app when we get a release.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@341 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-11-21 21:08:06 +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 916bd148ff use "isQ931ext" in LLComp ie parser.
Be more flexible to missing octect 7 in LLComp ie.

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@300 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-07-02 22:31:20 +00:00
Michael Jerris 93a1903a3c handle sending complete in setup (kindof)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@296 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-26 15:23:27 +00:00
Michael Jerris d8fb3b338f make chan id parsing more flezible, seems to follow the spec still correctly.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@295 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-26 14:54:11 +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
Michael Jerris dbc918f44b fix service message processing.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@287 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 15:20:15 +00:00
Michael Jerris 936459a5c0 fix dms
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@286 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 15:14:46 +00:00
Michael Jerris b9634b84a0 tweak dms service message handling.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@285 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 14:22:05 +00:00
Michael Jerris b041edc605 hack in DMS service message support
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@284 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 04:28:28 +00:00
Michael Jerris 3f3d940155 dms uses proto disc other than 8
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@282 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-21 03:56:28 +00:00
Anthony Minessale cae2014e76 pretty damn close to being operational
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@266 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-16 15:52:49 +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
Michael Jerris 9a94699be8 add prototype.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@258 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-14 04:52:21 +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
Anthony Minessale bd517afa82 tweak the state stuff
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@253 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-14 01:54:51 +00:00
Michael Jerris ecdc267112 fix CRV parser right this time
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@250 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-13 02:46:39 +00:00
Michael Jerris a97e199a31 handle the crv flag
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@249 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-13 01:52:19 +00:00
Anthony Minessale e7a9f6a724 revert previous incorrect commit
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@248 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-13 01:39:29 +00:00
Michael Jerris 63cdfc06e5 off by one.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@247 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-06-13 00:01:40 +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 99b102efc4 fix setting of current codeset.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@181 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 16:47:22 +00:00
Michael Jerris d06d911671 Don't mess with the message before we send it up to level 4.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@180 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 16:38:04 +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 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