Commit Graph

569 Commits

Author SHA1 Message Date
Anthony Minessale
a422a4f672 bail on bad args
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@588 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-07 00:00:15 +00:00
Michael Jerris
d90030872c fix
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@587 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 20:02:55 +00:00
Michael Jerris
8cdc323ca5 add patch OPENZAP-15 with minor mods
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@586 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 19:21:27 +00:00
Michael Jerris
1ded021796 add patch OPENZAP-26 with minor mods
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@585 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 19:13:32 +00:00
Michael Jerris
e4797e4de6 allow span name in dial string instead of span number openzap/<span_name>/A|<num>
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@584 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 15:57:11 +00:00
Michael Jerris
d0ef88c299 initialize to no isdn logging if param not set in config
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@583 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 15:53:23 +00:00
Anthony Minessale
bbca5aba49 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@582 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-04 19:00:13 +00:00
Anthony Minessale
cd8e473df1 OPENZAP-24 audio problem on alaw wanpipe
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@581 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 22:19:40 +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
Anthony Minessale
f5f9de357b clean up log
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@579 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:15:45 +00:00
Anthony Minessale
ded0b0e605 OPENZAP-25 Setting screening and presentation indicator for outgoing calls
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@578 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:14:46 +00:00
Anthony Minessale
a120d4bd7a move dtmf gen to read
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@577 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:03:21 +00:00
Anthony Minessale
06368f6119 write cng frames during sleep
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@576 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 18:15:04 +00:00
Anthony Minessale
4041363310 tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@575 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-01 21:51:10 +00:00
Anthony Minessale
88f09d5973 doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@574 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-29 17:55:22 +00:00
Anthony Minessale
26b368810e fix unclean reset from i/o error and add new span wide option to disable callerid detect
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@573 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-29 15:51:00 +00:00
Michael Jerris
bff3651b2d (OPENZAP-21) E&M shouldn't have delay after sending wink
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@572 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-27 18:46:22 +00:00
Michael Jerris
21d796b63e add dtmf based hangup (OPENZAP-3)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@571 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 20:04:22 +00:00
Michael Jerris
c7cbbc6f4e OPENZAP-19 add handler for connect ack
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@570 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 18:28:28 +00:00
Anthony Minessale
36abcdd03d fix analog fxs state machine issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@569 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 17:29:48 +00:00
Anthony Minessale
e403a7952f update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@568 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 17:09:10 +00:00
Anthony Minessale
3c2e49bd71 doh blame normB
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@567 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 16:59:13 +00:00
Anthony Minessale
8811a8d02e change hash to use flags per entry for free on keys and values
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@566 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 16:39:46 +00:00
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