Commit Graph

148 Commits

Author SHA1 Message Date
Jeff Lenk 991dd25513 add windows x64 build support
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@923 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-02 21:00:29 +00:00
Stefan Knoblich 5d28446fbc 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 93c96452fc 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 7c6ffbf131 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 7d8ea02776 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 a950bcc30d 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 7ee2f82e81 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 479b109aca 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 b53c31d3f3 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 41184317d0 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 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