Commit Graph

526 Commits

Author SHA1 Message Date
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 f5d6cecb48 Fix building of ozmod_ss7_boost on FreeBSD(7)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@545 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-07 21:41:23 +00:00
Stefan Knoblich a8d9742c8e NT mode improvements:
Add channel hunting in case the TE side specifies "any" channel in the Channel ID IE
  of an incoming SETUP message (or if there is no Channel ID IE at all).

  Support overlap dial in NT mode, (needed for BRI phones), triggered by a missing
  Called Party IE in the SETUP message.

  Tones... picking up a phone and not hearing a dialtone is no fun...
  Dialtone (works) and Ring (untested) are implemented, tones are generated by
  a secondary thread (only started for spans in NT mode). I tried to do the tone
  generating in the main thread first, but it is easier to handle like this.
  The loop uses the first channel that needs tones as a timing reference and the
  tone buffer is reused if multiple succeeding channels share the same state to
  save some cpu cycles (yes, not perfect... alternative is to allocate a buffer for
  every indication and precalculate the values... => 16KB for each indication).

  Coming up next: Q.931 Timers



git-svn-id: http://svn.openzap.org/svn/openzap/trunk@544 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-07 17:39:36 +00:00
Michael Jerris d09e16f245 don't use shell, that is a gmakeism, instead detect from configure
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@543 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-07 00:08:01 +00:00
Michael Jerris 16c61e57a4 don't overflow int type
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@542 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 23:11:45 +00:00
Michael Jerris 7841265d04 add configure.gnu to force pic
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@541 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 22:12:33 +00:00
Michael Jerris b7b5e9daf6 use libtool for compile too
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@540 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 22:10:15 +00:00
Stefan Knoblich 081cc2e75b Change zap_buffer_read_loop() to always try to read the full amount of bytes we wanted to get; add zap_buffer_seek() to skip n bytes from the beginning of the buffer (zap_buffer_toss works relative to the current position only)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@539 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 20:41:50 +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 00215f7349 [ozmod_isdn] Remove sending complete IE
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@536 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 20:14:07 +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
Michael Jerris ba95f425f7 add some libtool usage in openzap build. This will require re-bootstrap and configure
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@534 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 05:46:14 +00:00
Michael Jerris 9b5b73c628 revert patch from OPENZAP-12
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@533 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 04:15:49 +00:00
Michael Jerris c880efb4c6 (OPENZAP-10) detect required libs using configure to fix freebsd build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@532 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-05 20:27:55 +00:00
Michael Jerris cd8a4e5139 (OPENZAP-12) fix param passing in ZIO_SIG_CONFIGURE_FUNCTION on some platforms
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@531 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-05 19:12:20 +00:00
Michael Jerris 4317cbe2e8 (OPENZAP-11) use all the cflags from configure so we can build ss7 boost on freebsd and fix other code issues noted by more warnings from those cflags
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@530 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-05 03:53:32 +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
Michael Jerris 29132c7207 turn down the logs for now
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@528 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-04 04:58:00 +00:00
Michael Jerris 032368da12 tweak for cross compile
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@527 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-03 18:46:56 +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 07c3d64266 auto-load modules on demand
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@524 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 21:29:58 +00:00
Anthony Minessale f655ef5220 auto-load modules on demand
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@523 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 21:26:59 +00:00
Anthony Minessale 2070e9d05b doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@522 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 20:41:17 +00:00
Anthony Minessale c18c881bd4 only install if the file is NOT there
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@521 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 18:50:42 +00:00
Anthony Minessale c7106ffa5d better dep tracking
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@520 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 18:37:45 +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
Anthony Minessale bc1ccab19c dyna won't you blow your horn
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@517 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-29 15:58:59 +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
Anthony Minessale 8c4245dd54 add zap_dso abstraction
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@515 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-27 17:57:44 +00:00
Michael Jerris b5a23ffa69 add start of zap_dso abstraction
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@514 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-27 17:51:05 +00:00
Anthony Minessale d36e174cda update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@513 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-22 17:56:09 +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
Anthony Minessale 9e4558ab13 merge in some boost changes
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@511 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-18 20:45:05 +00:00
Anthony Minessale 65b7c28ba0 reinit properly
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@510 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-14 20:09:49 +00:00
Anthony Minessale 91b042092c tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@509 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-08-11 16:09:39 +00:00
Anthony Minessale 4bf8d37006 tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@508 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-30 22:37:55 +00:00
Anthony Minessale 96ddc322d8 update boost
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@507 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-30 22:15:28 +00:00
Anthony Minessale 15fe36a6d7 add disable_ec app
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@506 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-30 15:05:07 +00:00
Michael Jerris 8587eb9308 send call progress not proceeding.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@505 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-24 20:03:37 +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 d15813f1f7 fix bsd build (OPENZAP-1)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@499 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-08 02:22:48 +00:00
Anthony Minessale 1cdd22c2b4 fix causes causing trouble (do make current)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@498 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-07-03 22:51:18 +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 114a0a8afb fix missed name change in debug line
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@495 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-06-05 14:09:53 +00:00