Stefan Knoblich
56f9cfccd3
Fix Q931Uie_UserUser() (broken length handling, IEs always only specify the length of attached data, excluding id and length field!) and allow User-User IE in incoming SETUP, ALERTING, CONNECT, DISCONNECT, RELEASE and RELEASE COMPLETE
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@753 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-03 09:15:47 +00:00
Stefan Knoblich
b46cbfd686
Fix encoding of Call State IE, Q.931 (05/98) 4.5.7: bit 8 of octet 3 is part of the coding standard
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@751 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-30 09:42:10 +00:00
Michael Jerris
b36e1af380
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
395f54b32f
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
Michael Jerris
efa6ec9c8f
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
6c4e94774f
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
2973d68f37
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
ff19726bd0
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
Stefan Knoblich
a32cd745f7
[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
e0bdde6234
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
Michael Jerris
6a8f752cfe
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
f783a69fbb
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
f1652c8997
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
c1f9897ff5
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
0b76c79371
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
2f9a50556f
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
Anthony Minessale
aa53cf7997
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
c1dfe0c0ae
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
2ac9929c05
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
8474098118
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
0b24196b4b
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
306a9476ba
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
1919aa3e36
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
e5f0aba40b
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
b928b60c87
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
Michael Jerris
0d489b1a52
better implement Q931Uie_GenericDigits.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@172 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-29 02:42:32 +00:00
Michael Jerris
7c17b9c136
Start of support for codesets and shift operation in messages.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@170 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-28 22:48:13 +00:00
Michael Jerris
53f6f60ba8
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
479628543d
better compliance with Q.931 on a few ie pack/unpack functions. Revert to using the corrected functions for national dialect.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@154 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-26 01:02:43 +00:00
Michael Jerris
8a47dc9b4c
add initial National ISDN Dialect.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@132 a93c3328-9c30-0410-af19-c9cd2b2d52af
2007-05-24 04:12:15 +00:00
Anthony Minessale
37bc1f714a
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
2366b78c8a
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
Michael Jerris
5de359b32d
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
71f4590889
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
10b0f6998e
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
b67a52b142
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
Anthony Minessale
f969341e86
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
bf315e8b38
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
2201f355ee
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
283dd646f1
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
83db56f73a
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
86710f5d2f
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
caeb4d4308
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
3925468083
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