151 Commits

Author SHA1 Message Date
Moises Silva
ac7c608620 windows renaming to freetdm changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@977 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 21:43:41 +00:00
Moises Silva
900f1ed2ef Linux renaming from openzap to freetdm
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@967 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:22:49 +00:00
David Yat Sin
6f1cafa983 Merged r910:r938 from trunk
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@939 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-14 17:47:41 +00:00
Moises Silva
a2b4369cc2 replace all malloc calls to zap_malloc
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@862 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-15 02:14:50 +00:00
Stefan Knoblich
2e87d9d315 Add REDIRECTING_NUMBER ie support to Q.931 and national dialect (others follow)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@810 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-19 23:46:05 +00:00
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
ea72f97b96 build: get base of windows build for openzap going again (OPENZAP-55)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@682 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-06 18:17:15 +00:00
Michael Jerris
e92c5f8c40 fix endless loop
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@642 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-03 20:58:30 +00:00
Stefan Knoblich
cb64fb902d Disable the non-working timer stuff for now
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@610 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-14 20:47:29 +00:00
Stefan Knoblich
98d63a74fe Fix OpenZAP-34
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@609 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-14 20:31:08 +00:00
Stefan Knoblich
b3dab16f13 Fix OPENZAP-32 (and possibly others), thanks to Lukasz Kutkowski for spotting this...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@607 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-03 20:55:26 +00:00
Anthony Minessale
5b2982a442 OPENZAP-22 add configuration settable debug levels for isdn trunks
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@580 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:57:57 +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
Stefan Knoblich
3e7e87f799 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
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
2178f9b87d 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
82318fc434 [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
66eace59c4 [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
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
83144a4093 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
010987ebfc [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
31edae1ab5 [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
092200f022 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
ec4e39ef98 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
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
Michael Jerris
34c111830f 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
af1bcca8e4 [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
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
b212c8cdf2 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
522baa05a7 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
a0ab351bcf 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
e97f258474 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
f8b58eae7c 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
d06ede0e44 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
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
Anthony Minessale
32d5cd1ab6 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
7235194cc4 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
46ef513af8 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
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
3f2097c49b 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
e000d71425 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
8e8f641f3c 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
8d234ad209 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
e0ddee14a3 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
d2c6e56add 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
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
e89f94f087 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