Commit Graph

693 Commits

Author SHA1 Message Date
Anthony Minessale 54c7bbecef _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 25726f7a9b 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 cafe6e82ad 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 cc55c2b691 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 3f89fae214 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 f584d301c0 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 2cef898260 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 2c5d8695eb 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 dda1f71279 ...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 88899d2a29 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 9cb2273f8a 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 d5b33bf982 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 406f778846 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 8a5faab8a7 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 0454c7c917 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 391201452a 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 9f892711a5 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 5c3d77cff3 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 b7f3b79a43 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 851bfa7dad 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 d95fb86db5 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 dd8d70b0a8 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 537ec1931c 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 737ce8d437 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 f258a0f975 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 2dcc9f11c8 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 095094ab9d 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 4a39698133 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 f7ed3201a8 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 6ecd461c22 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 3e9589d426 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 49926997e1 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 feda211d90 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 37ec6300f7 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 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
Mathieu Rene 39f3539d63 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 77e180f2e2 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 6e210cbed6 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 60fe2998d5 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 e15a98a9ac 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 0f896928b3 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 34c005b3de 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 94a99e9906 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 60b5da016b 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 499ccc1925 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 fb0777c503 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 9fd7b44c8e 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 5d51fdbf5a 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 29da776fd0 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 dad062dcda 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