Commit Graph

683 Commits

Author SHA1 Message Date
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