138 Commits

Author SHA1 Message Date
Michael Jerris
5eafd8d749 build tweaks
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@563 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-23 16:00:26 +00:00
Stefan Knoblich
11e185ee8e Fix CallingNum IE decoding to allow zero-length "numbers"
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@551 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-09 21:10:18 +00:00
Stefan Knoblich
b715312d8f Extend 5ESS Setup message parser to handle Display IE in codeset 7
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@550 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-09 20:19:03 +00:00
Michael Jerris
d995bca407 fix leading space on calling number
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@548 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-09 18:10:04 +00:00
Stefan Knoblich
00b24ab8d0 Add Facility IE handling on incoming SETUP messages to national too
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@546 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-08 21:34:08 +00:00
Stefan Knoblich
8e25e1ef36 [Q.931] Save TEI from incoming SETUP message in call struct + make the TEI available in all incoming messages
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@538 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 20:28:50 +00:00
Stefan Knoblich
416f8e58b2 [Q.931] Codingstyle cleanup
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@537 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 20:23:26 +00:00
Stefan Knoblich
b2623fb871 Codingstyle cleanup
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@535 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 19:40:40 +00:00
Stefan Knoblich
16e3f8b852 Re-add Display IE
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@529 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-04 20:30:16 +00:00
Stefan Knoblich
7da014da8b [Q.921] Init buffers with zeroes
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@526 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-01 17:32:30 +00:00
Stefan Knoblich
dd1bc3d454 [Q.921] Null terminate string buffer
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@525 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-01 17:25:40 +00:00
Anthony Minessale
345c7e741a merge patches from stkn openzap-facility-Umes.patch openzap-53ess-facility.patch openzap-5ess-facility-Umes.patch to fix some 5ess dialect issues when talking to an actual lucent 5ess
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@519 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 18:24:54 +00:00
Anthony Minessale
d165e41e9c patch from Michael Collins, 5ess does not use display IE
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@518 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 18:20:07 +00:00
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