Commit Graph

658 Commits

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