Commit Graph

696 Commits

Author SHA1 Message Date
Anthony Minessale
a3922ed7c8 add name to spans
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@565 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 15:36:34 +00:00
Michael Jerris
7c004d59ff only get real q850 cause codes
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@564 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-24 21:26:44 +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
Michael Jerris
35fbef4373 (OPENZAP-17) make # not a special char in config files now.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@562 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-23 15:58:44 +00:00
Michael Jerris
3479ce917e (OPENZAP-7) inital checkin of E&M support from John Wehle
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@561 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-17 02:21:28 +00:00
Michael Jerris
b46ce732b2 libtool the openzap modules
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@560 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-17 01:22:24 +00:00
Stefan Knoblich
7b99c4f95d Improve logging for setups with more than one span
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@559 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-16 18:22:00 +00:00
Michael Jerris
967ff7d06f (OPENZAP-6) misplaced assert
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@558 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-16 17:28:15 +00:00
Anthony Minessale
75943674cb blah
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@557 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-14 23:31:23 +00:00
Anthony Minessale
77278ca92e protect the innocent
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@556 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-12 18:39:30 +00:00
Anthony Minessale
7d86ac5714 push progress event up to mod_openzap on analog ring
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@555 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-11 17:55:27 +00:00
Michael Jerris
b645cacc11 fix off by one index
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@554 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-10 19:43:55 +00:00
Anthony Minessale
97958e56e0 fix OPENZAP-14
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@553 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-10 19:27:17 +00:00
Anthony Minessale
3c4453955d change core of openzap to use dynamic allocation of spans and channels to reduce memory usage
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@552 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-10 15:25:02 +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
Anthony Minessale
b23ecdd82e tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@549 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-09 19:17:38 +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
Anthony Minessale
38f509239e fix config parser and build on some systems
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@547 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-08 23:01:44 +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
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