Commit Graph

912 Commits

Author SHA1 Message Date
Moises Silva 7841b7635b fixed copy-paste error in ozmod_wanpipe
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@749 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-23 14:46:11 +00:00
Moises Silva dbc7996969 fixed small compilation issue when using the libsangoma included in the feature frozen wanpipe driver
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@748 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-22 17:30:57 +00:00
Moises Silva 3a238fcfde updated ozmod_wanpipe to use new libsangoma API
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@747 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-17 18:41:30 +00:00
Anthony Minessale 215864ca9b patch
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@746 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-16 17:50:24 +00:00
Michael Jerris b9856d40dc fix windows export for data objects
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@745 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-09 21:17:30 +00:00
Michael Jerris 97f0558886 build: follow --sysconfdir configure arg (OPENZAP-58)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@744 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-09 15:23:51 +00:00
Anthony Minessale 1b622b585a of corse its zero based that makes a ton of sense
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@742 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-08 21:26:30 +00:00
Michael Collins e4ed6a4fa3 Add Doxygen comments. Thanks Francois.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@741 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-08 20:01:29 +00:00
Anthony Minessale 281177c924 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@740 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-05 20:47:53 +00:00
Mathieu Rene 8502f240e6 OPENZAP-76
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@739 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-04 23:08:11 +00:00
Anthony Minessale aa5e4207ce add @gx notation to dialed number for bri boost
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@738 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-04 22:31:04 +00:00
Stefan Knoblich 5954416c96 [ozmod_libpri] Fix array out of bounds error and clean up some enums in lpwrap_pri.h
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@737 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-04 17:20:53 +00:00
Mathieu Rene 385fa17732 OPENZAP-74 thx Raul see you at ClueCon
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@736 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-04 16:18:22 +00:00
Anthony Minessale 8036f3839c extend timeout tolerance on openzap read to fix race in digium/zaptel/dahdi/whatever its called
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@735 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-05-26 21:47:48 +00:00
Michael Jerris 9624461049 fix typo
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@734 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-05-15 21:24:58 +00:00
Michael Jerris dd27345bff add wanpipe and pika to windows build (OPENZAP-65)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@733 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-05-15 19:08:19 +00:00
Brian West bfc8ba629c OPENZAP-66, thanks Moc
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@732 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-05-15 18:26:22 +00:00
Anthony Minessale e92f3a75e6 fix build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@722 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-23 01:46:37 +00:00
Anthony Minessale c536c5e718 del patch
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@720 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-22 21:23:24 +00:00
Anthony Minessale 793792d4f8 wanpipe commit we've all been waiting for, HW dtmf, ALARMS, proper bounce of PRIs (testers needed)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@719 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-22 21:22:42 +00:00
Anthony Minessale a378191ff6 _patches
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@718 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-21 23:06:05 +00:00
Anthony Minessale db385f5175 avoyding dedwock
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@717 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-14 19:37:42 +00:00
Anthony Minessale 3e4a7c03ab move codec destroy to destroy method like the other channels
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@716 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-14 19:03:03 +00:00
Anthony Minessale 60ebf58116 increse fail count to 300
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@715 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-13 19:11:27 +00:00
Mathieu Rene 1cc7635cd0 ozmod_libpri: str2switch() Also accept 4ess for att4ess
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@714 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-10 21:14:01 +00:00
Mathieu Rene c0f359bb4f ozmod_libpri: str2switch() Also accept 5ess for lucent5e
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@713 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-10 21:13:16 +00:00
Mathieu Rene 01ba49d81c right...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@712 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-10 20:27:50 +00:00
Mathieu Rene 3487435ba9 Add 'omit_redirecting_number' option to libpri (opts param)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@711 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-10 19:50:36 +00:00
Stefan Knoblich c00f23e632 ...and do not forget ozmod_analog (-avoid-version for ozmod_*)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@710 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-09 15:54:57 +00:00
Stefan Knoblich 41a1d71996 Add -avoid-version libtool option for modules (we only need an .so file...)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@709 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-09 15:34:55 +00:00
Stefan Knoblich 688a975079 clean up
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@708 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-08 22:19:11 +00:00
Stefan Knoblich 59fa196533 Add ZAP_TON_* (taken from Q931.h, drop Q921.h and Q931.h include from openzap.h and fixup all users of the old Q931_TON_ enum values)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@707 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-08 21:58:51 +00:00
Stefan Knoblich 060872082b Add openzap.pc pkg-config file
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@706 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-08 21:44:33 +00:00
Stefan Knoblich 80d9fcf1bc Clean up the top-level Makefile.am
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@705 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-04-08 21:35:29 +00:00
Stefan Knoblich fe485675cd Remove duplicate debug level and a few stray tabs
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@704 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-31 22:20:39 +00:00
Stefan Knoblich f27c8cc079 Quick fix to get hex output of D-Channel traffic in ozmod_libpri. Remove the comment chars in front of the #define IODEBUG to enable it (compile time tested only)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@703 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-31 22:11:40 +00:00
Stefan Knoblich 03dbc587fd Port mrene's changes to ozmod_isdn:
Add "opts" parameter to span definition in pri_spans (removing suggest-channel parameter)
    Possible options are:

    suggest_channel - No idea what this one actually does...
    disable_tones   - Disable tone generating thread in NT (net) mode
    omit_display    - Disable sending caller name in call setup message (Display IE)



git-svn-id: http://svn.openzap.org/svn/openzap/trunk@702 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-19 23:06:04 +00:00
Mathieu Rene a6672fc558 With libpri, to avoid sending DISPLAY IE, set the opts param to omit_display
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@701 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-19 20:15:39 +00:00
Michael Collins 79da28cdd7 Remove oz bounce from oz syntax string
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@700 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-18 18:09:01 +00:00
Stefan Knoblich c30aac4629 Merge "interval == 0" workaround from personal rework branch, still need to investigate why wanpipe does not provide this information (and if 20ms is a good default value)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@699 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-16 21:04:22 +00:00
Anthony Minessale d0b8ab1502 change logic to declinatio mortuus obfirmo
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@698 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-13 18:52:35 +00:00
Anthony Minessale 8b55cdd249 try to recover from alarm better
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@697 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-12 17:22:03 +00:00
Mathieu Rene 0c83182d36 Add channel variables
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@696 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-12 15:27:29 +00:00
Anthony Minessale c4e9f43eaf add oz span <span name or id> start|stop and ozmod libpri <span name> kill to simulate loss of d channel (NEEDS TESTING)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@694 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-11 02:04:18 +00:00
Anthony Minessale 2dbf542377 fix unclean shutdown
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@693 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-10 20:56:38 +00:00
Michael Jerris 1a7fc3bf61 src/ozmod/ozmod_isdn/ozmod_isdn.c:1460: warning: missing braces around initializer
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@692 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-10 20:09:50 +00:00
Michael Jerris 645e7e77e3 src/ozmod/ozmod_isdn/ozmod_isdn.c:1460: warning: missing braces around initializer
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@691 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-10 20:07:22 +00:00
Michael Jerris 1a87e3b3c0 cleanup msvc build and fix msvc build warnings
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@689 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-10 17:42:49 +00:00
Michael Jerris 6c1e0688c3 add macros for api visibility to openzap
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@688 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-10 15:49:27 +00:00
Anthony Minessale 36d330d39f remove log line
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@687 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-09 23:35:01 +00:00
Michael Jerris 0a3d9653dd build: add signaling mods to windows build (OPENZAP-55)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@686 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-09 20:20:00 +00:00
Michael Jerris af8c1bc336 build: add signaling mods to windows build (OPENZAP-55)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@685 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-09 20:02:33 +00:00
Anthony Minessale 28d431aefd performance tuning
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@684 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-07 02:20:40 +00:00
Michael Jerris 845235dee9 add decl
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@683 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-06 22:15:53 +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
Mathieu Rene 7cde4042ba OPENZAP-54
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@680 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-04 21:31:08 +00:00
Mathieu Rene d0fa5d2f02 Remove unused variable
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@679 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-03 03:15:54 +00:00
Anthony Minessale 60a793c03c add ton support
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@678 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-02 22:05:11 +00:00
Mathieu Rene 5b6a3b74cf doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@677 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-01 23:44:28 +00:00
Mathieu Rene f5c913452a openzap/0/a will pick the first available channel, on the first available span (same rules apply for a and A)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@676 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-01 23:38:33 +00:00
Mathieu Rene c7c8742e15 Support more node type values and spam the console if an invalid one is used
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@675 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-03-01 23:10:17 +00:00
Helmut Kuper d7bb5450ae Enhanced zap_channel_done in zap_io.c to set channel->state to ZAP_CHANNEL_STATE_DOWN.
Befor that the function only sets init_state to DOWN, which is quite bad when there are
hanging channels with state <> DOWN and ozmod_isdn.c make it decisions on that.


git-svn-id: http://svn.openzap.org/svn/openzap/trunk@674 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-26 08:31:04 +00:00
Helmut Kuper 6b5e1c48a9 Added timestamp for Q931ToPcap
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@673 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-25 09:49:54 +00:00
Mathieu Rene 22a817b1b2 Offer media channels on inbound calls
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@672 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-24 23:48:37 +00:00
Mathieu Rene f021750336 doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@671 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-24 21:41:16 +00:00
Mathieu Rene 6e19d9add7 Fix span index issues
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@670 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-24 21:27:35 +00:00
Mathieu Rene 1086c7c73c Switch hangup cause to NORMAL_CIRCUIT_CONGESTION when no channels are available so it transates into 'no circuit/channel available [Q.850]'
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@669 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-24 20:50:10 +00:00
Michael Jerris 3c735dcdb6 tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@668 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-24 16:37:25 +00:00
Helmut Kuper 324ec34ce9 Setting InUse channel flag in function "zap_channel_open_chan" of zap_io.c
Without this, inbound calls never were marked as InUse.


git-svn-id: http://svn.openzap.org/svn/openzap/trunk@667 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-24 08:26:52 +00:00
Michael Jerris 908ed38915 OPENZAP-53/OPENZAP-52
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@666 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-24 05:05:25 +00:00
Anthony Minessale 282934f8a5 fix bounds check
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@665 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-21 00:44:52 +00:00
Anthony Minessale 9eacbc411a name first then number if it's blank
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@663 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-11 22:47:44 +00:00
Stefan Knoblich 2505bfd29f [ozmod_isdn] Backport fix from rework branch: use channel flag rather than CRVFlag to properly release channels in ZAP_CHANNEL_STATE_DOWN transition
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@662 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-11 16:04:30 +00:00
Anthony Minessale a846877a47 clean up tone_detect
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@661 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-11 00:17:17 +00:00
Anthony Minessale 9b02e62903 fix hangup issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@660 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-10 23:44:51 +00:00
Michael Jerris d424569f34 fix build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@659 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-10 20:31:47 +00:00
Anthony Minessale 2e24552fa5 fix sangoma caller-id issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@658 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-10 16:43:16 +00:00
Anthony Minessale acce4cccd0 fix hangup issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@657 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-10 16:41:03 +00:00
Anthony Minessale 71d62fd995 add api interface to oz and use it in ozmod_libpri
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@656 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-09 19:13:02 +00:00
Michael Jerris 02f037f050 whoops
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@655 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-09 17:17:47 +00:00
Anthony Minessale b20d103bca comment verbose message
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@654 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-07 23:17:03 +00:00
Anthony Minessale 0f8ba38ca2 add ozmod_libpri and framework for per module api commands like FS has, mikej probably needs to fix vasprintf.....
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@653 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-07 23:14:25 +00:00
Michael Jerris 316bf74434 build tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@652 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-06 19:09:42 +00:00
Michael Jerris eed38bc791 fix gcc 4.3.2 rpm build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@651 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-06 19:01:31 +00:00
Michael Jerris 1578712f5d add libpri mod configure stuff
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@650 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-05 20:44:13 +00:00
Michael Jerris 99020477b5 more automake
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@649 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-05 18:21:51 +00:00
Stefan Knoblich b6e03b6b6a Fix installation of openzap modules
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@648 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-05 15:54:16 +00:00
Michael Jerris 6e7331069a fix build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@647 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-05 03:25:57 +00:00
Michael Jerris 0e583b43fd don't dump non-existant channels (OPENZAP-47)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@646 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-05 02:37:04 +00:00
Michael Jerris 59342977f6 don't dump non-existant channels (OPENZAP-47)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@645 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-04 23:11:41 +00:00
Anthony Minessale 99c4419ae9 allow commented categories
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@644 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-04 21:34:02 +00:00
Michael Jerris 0d8dbb1b6d fix build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@643 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-04 16:34:38 +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
Michael Jerris cb40089f37 fix test programs build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@641 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-03 19:48:04 +00:00
Michael Jerris f8a3e20f29 working libpcap detection
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@640 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-03 17:00:13 +00:00
Michael Jerris 2e4c38f171 add libpcap detection
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@639 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-03 16:41:48 +00:00
Michael Jerris cea5e321ef cleanup
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@638 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-03 06:16:53 +00:00
Michael Jerris f36e39bc77 more automake build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@637 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-03 06:06:43 +00:00
Michael Jerris f954fa9001 automake build of libopenzap and install
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@636 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-03 05:41:40 +00:00
Michael Jerris 02e0f005e1 remove redundant defines
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@635 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-03 05:01:04 +00:00
Michael Jerris d8f4cfa40a convert to automake (still not really using automake in a useful way)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@634 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-03 04:51:53 +00:00
Michael Jerris f618a79201 initial bits of libpcap detection
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@633 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-02 22:31:03 +00:00
Helmut Kuper 2ac127566c Makefile.in: Added libpcap to LIBS
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@632 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-02-02 16:47:44 +00:00
Helmut Kuper 5da3ac8de6 Q931ToPcap: Changed predefined ethernet frames in writeQ931... function from local to global variables.
This should speed things up a bit.


git-svn-id: http://svn.openzap.org/svn/openzap/trunk@631 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-31 10:23:23 +00:00
Michael Jerris e2658cb9d9 build tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@630 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-30 22:27:23 +00:00
Helmut Kuper 25d82076ee Deleted some unneeded includes
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@629 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-30 11:44:03 +00:00
Helmut Kuper eb24f46932 Q931ToPcap patch
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@628 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-30 11:37:11 +00:00
Michael Jerris e29ec54993 fix crazy build issue with broken gcc optimizer on bleeding edge ubuntu
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@627 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-29 18:56:16 +00:00
Michael Jerris d5f2bf456d fix strange openzap build issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@626 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-13 22:45:09 +00:00
Raymond Chandler 442754e7d1 OPENZAP-42
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@625 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-13 17:26:36 +00:00
Anthony Minessale 80c5d2b727 add type of num var for pri
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@624 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-12 18:05:22 +00:00
Anthony Minessale c909649b85 add type of num var for pri
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@623 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-12 17:50:26 +00:00
Anthony Minessale bdc9c28d9c add type of num var for pri
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@622 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-12 17:46:30 +00:00
Anthony Minessale 0fa7d1b68e make error more clear about missing trunk_type param in openzap.conf (and auto tolerate the err) and fix printf metas
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@621 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-09 22:11:04 +00:00
Michael Collins 8d3b22aee5 Add stub for oz bounce command
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@620 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-06 01:07:09 +00:00
Michael Collins 249d0676bc Update Doxygen.conf for the new OpenZAP dir stucture; allow static and local members to be built in docs
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@619 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-02 18:45:21 +00:00
Anthony Minessale 5d12ff0200 fix filehandle leak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@617 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-20 05:23:56 +00:00
Michael Jerris ff4858ec6b OPENZAP-37 (fail if invalid dialect is defined.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@616 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-15 20:20:09 +00:00
Anthony Minessale dd658a138c fix compiler warning
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@615 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-12 15:10:22 +00:00
Anthony Minessale 07a8ebe5e0 add wink command patch (still needs more code)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@614 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-03 16:02:17 +00:00
Anthony Minessale b3a8afd996 allow state change from progress_media to terminating in isdn
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@613 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-01 21:01:07 +00:00
Michael Jerris 751cbfb6d1 OPENZAP-30 add support for flash hook as part of the dial string using 'F'
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@612 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-20 23:46:15 +00:00
Anthony Minessale b83ab7a8d3 close OPENZAP-31
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@611 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-19 17:34:32 +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
Michael Jerris 4d736eb351 (OPENZAP-33) format not a string literal and no format arguments
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@606 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-03 20:46:43 +00:00
Anthony Minessale c528de01af set init state sooner on outbound calls
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@605 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-31 14:30:45 +00:00
Anthony Minessale 885d726da8 redo some stuff
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@604 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-30 22:40:57 +00:00
Anthony Minessale 338c9ebd60 just make this version of teletone bsd too
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@603 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-30 16:08:45 +00:00
Anthony Minessale 97d9169d85 move copyright headers to the top
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@602 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-30 15:58:58 +00:00
Anthony Minessale 9637d01954 fix log
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@601 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 20:52:45 +00:00
Anthony Minessale 3906f66859 change log message
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@600 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 20:44:37 +00:00
Anthony Minessale 06f51244b6 change log message
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@599 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 20:41:52 +00:00
Anthony Minessale 8f8d75cc2b add name to oz list
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@598 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 19:53:56 +00:00
Anthony Minessale 4072689a67 doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@597 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 19:40:45 +00:00
Anthony Minessale 843a36f74d change to reflect new code
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@596 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-20 18:10:37 +00:00
Anthony Minessale 4277fe8eed fix FSCORE-206
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@595 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-17 23:00:47 +00:00
Stefan Knoblich 71e7531655 oops
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@594 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-13 05:44:15 +00:00
Stefan Knoblich 4c4047d5cf Add NT-mode overlap dial timeout and fix CID in overlap
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@593 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-12 22:07:45 +00:00
Michael Jerris 18baa59c02 OPENZAP-27 add inital CAS support to wanpipe and zt
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@592 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-10 16:02:09 +00:00
Michael Jerris e5124abc4b attempt to fix solaris openzap build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@591 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-09 19:24:39 +00:00
Anthony Minessale 145b961815 allow blank dest for calling fxs
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@590 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-09 01:18:40 +00:00
Anthony Minessale 564329faee OPENZAP-28 pass opts from mod_openzap to ozmod_isdn
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@589 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-07 15:27:51 +00:00
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
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
Anthony Minessale cf76457d4b surely the wrong week to quit sniffing glue and don't call me shirley
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@494 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-06-03 21:10:30 +00:00
Anthony Minessale b51ea4b1dc sigh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@493 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-06-03 19:31:07 +00:00
Anthony Minessale 3989919d66 double doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@492 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-06-03 17:00:02 +00:00
Anthony Minessale 23aaa233ec doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@491 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-06-03 16:59:41 +00:00
Anthony Minessale 72f39201a1 messed up state rule
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@490 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-29 19:58:35 +00:00
Stefan Knoblich cb01ace9c9 better fix for missing __FUNCTION__
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@489 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-27 15:59:56 +00:00
Stefan Knoblich ba43d4da36 __FUNCTION__ is a gcc extension...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@488 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-27 08:49:37 +00:00
Michael Jerris 714535c190 fix for solaris openzap from stkn
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@486 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-26 23:53:19 +00:00
Anthony Minessale 3eb33ba8de doh
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@485 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-26 18:58:28 +00:00
Michael Jerris c0d5af7804 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@484 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-26 01:51:11 +00:00
Anthony Minessale 0fed9a582c update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@483 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-23 21:50:07 +00:00
Michael Jerris b015d7b8d3 add strict state parsing and configurable suggest mode
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@482 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 18:58:14 +00:00
Anthony Minessale 219812a90f sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@481 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 16:49:22 +00:00
Michael Jerris c1d46e371c fix bounds check issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@480 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 16:48:19 +00:00