Commit Graph

877 Commits

Author SHA1 Message Date
Brian West 8fc9022afe FSBUILD-199
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@845 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-10-15 03:47:33 +00:00
Anthony Minessale 337f06c103 add mutex to pre_buffer
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@844 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-10-13 16:53:36 +00:00
Mathieu Rene 65124ad555 ozmod_analog_em: allow longer dialstrings
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@843 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-10-06 17:39:51 +00:00
Moises Silva 8ba94325b2 dont be fool and use default layer 1 in ozmod_libpri
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@842 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-29 22:29:35 +00:00
Anthony Minessale 6084d2b269 fix build
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@841 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-24 16:44:02 +00:00
Moises Silva af346dbe42 oops, sorry bout that
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@840 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-22 16:21:32 +00:00
Moises Silva e2c42c0a9f enable rbs events just for cas and em channels
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@839 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-22 15:50:50 +00:00
Moises Silva 5942943592 add more info to unhandled types errors
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@838 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-22 15:45:41 +00:00
David Yat Sin 6159709876 Support for parsing smg_events with additional parameters
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@837 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-21 20:50:14 +00:00
Anthony Minessale 0779d8874f fix null buffer in pre_buffer
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@836 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-19 17:46:11 +00:00
Anthony Minessale 041e45eb78 dog
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@835 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-15 14:33:28 +00:00
Anthony Minessale 8291ec982e fix timer in dtmf generator
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@834 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-14 22:13:43 +00:00
Brian West f68d83dda0 fix vim format line
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@833 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-14 22:06:20 +00:00
Moises Silva 6c9f101075 improve error handling in tech_init
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@832 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-14 21:19:07 +00:00
Anthony Minessale 098991a58e add openzap_pre_buffer_size=<ms> to prebuffer audio and cut out residual dtmf tones
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@831 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-14 14:26:31 +00:00
Anthony Minessale cd26200c6d revert
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@830 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-09 19:32:20 +00:00
Moises Silva 378a339a40 display type of socket created
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@829 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-08 16:14:57 +00:00
Stefan Knoblich 49ff63b75d Extend session not found message with UUID
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@828 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-06 14:43:58 +00:00
Stefan Knoblich fa222d0dd0 Print error message if session for a channel could not be found
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@827 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-06 14:07:06 +00:00
Moises Silva 77961a72a5 enable RBS events when CAS signaling is configured
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@826 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-06 05:28:26 +00:00
David Yat Sin 0fcad9c945 fix for trunkgroup not specified on outgoing calls
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@825 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-04 20:28:12 +00:00
Brian West fd17b6ba5d up
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@824 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-02 19:03:04 +00:00
Anthony Minessale e3022ee6b6 rename
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@823 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-02 19:02:37 +00:00
Anthony Minessale 72926d21c9 rename
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@822 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-02 18:59:31 +00:00
Anthony Minessale 70bcd8c129 rename
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@821 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-02 18:59:12 +00:00
Anthony Minessale 83e8b141b0 rename
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@820 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-02 18:58:36 +00:00
Brian West 6a29e94eb3 change name part 2
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@819 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-02 17:28:56 +00:00
Anthony Minessale b6974bd69d changing name part 1
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@818 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-02 17:18:55 +00:00
Anthony Minessale 191b8ba2d7 possible fix for WANPIPE-5
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@817 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-01 19:13:47 +00:00
Anthony Minessale d0a7af4e6a possible fix for WANPIPE-5
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@816 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-01 19:11:23 +00:00
Mathieu Rene 8ef19daa1a mod_openzap: fix missing rwunlock
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@815 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-09-01 00:49:10 +00:00
Moises Silva 003f52d3cf dont use smg_prid_nfas if old libsangoma is used
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@814 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-27 16:34:36 +00:00
Moises Silva ead30e960e intialize r2chan and make the compiler happy
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@813 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-27 16:34:03 +00:00
David Yat Sin cba78f885a fix to support NFAS with sangoma_prid
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@812 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-26 20:45:51 +00:00
Stefan Knoblich d3d36fe7d4 Reverse final libpcap check so it does not mess up flags if something goes wrong
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@811 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-25 20:59:59 +00:00
Stefan Knoblich 5d28446fbc Add REDIRECTING_NUMBER ie support to Q.931 and national dialect (others follow)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@810 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-19 23:46:05 +00:00
Moises Silva ba16417660 remove error logging in ozmod_r2
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@809 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-19 22:57:52 +00:00
Moises Silva 68c889ceb7 added initial OpenR2 support
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@808 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-19 21:47:56 +00:00
Moises Silva 1dda64ab71 added some comments to clarify zap_ss7_events_run stuff
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@807 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-19 17:59:39 +00:00
Moises Silva 2ed8ceceb1 fixed dtmf boost issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@806 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-19 17:38:27 +00:00
Moises Silva e3a62ffecf small fix to avoid annoying veto warning when trying to move state from PROGRESS_MEDIA to PROGRESS
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@794 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-15 19:15:49 +00:00
Brian West d15539a8aa support more than 16 T1/E1's
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@793 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-12 20:39:52 +00:00
Brian West 37079aabb3 hrm hard coded values eh?
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@792 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-08-12 20:32:00 +00:00
Brian West 6af827a72d adding oz dump as xml
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@788 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-31 19:16:47 +00:00
Anthony Minessale b5b1fa667d add error check condition for invalid channel selection
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@787 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-31 15:45:38 +00:00
Anthony Minessale 016d4cd452 reset error counter on success
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@786 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-30 01:27:28 +00:00
Anthony Minessale 31ca630edc update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@785 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-27 23:48:52 +00:00
Anthony Minessale 0b34fdfc48 add unit test
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@784 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-27 23:19:41 +00:00
Anthony Minessale 60e0a026b5 tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@783 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-27 23:18:47 +00:00
Anthony Minessale 193bb790a2 select on write for openzap to avoid overrun on the td, channel
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@782 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-24 16:01:33 +00:00
Anthony Minessale cc138af513 add patch
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@781 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-23 21:38:42 +00:00
Michael Jerris 1d0b361237 wanpipe for windows (OPENZAP-78). This should work with the next beta driver release from sangoma on windows
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@780 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-23 16:48:23 +00:00
Anthony Minessale b1b47a492a enable rbs mode on analog over t1/e1
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@779 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-23 16:26:47 +00:00
Anthony Minessale 40f5e07db6 add patch
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@778 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-20 15:13:14 +00:00
Brian West 79e8060d9b move to info. (OPENZAP-85)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@777 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-20 14:27:59 +00:00
Mathieu Rene 40ddd20bed Make callerid privacy work, thx Moc
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@775 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-17 14:07:55 +00:00
Moises Silva 07bbcb6adb removing tv member from sigboost structures
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@772 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-13 16:29:47 +00:00
Michael Jerris e17c30bdc6 avoiding segfault
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@765 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-10 18:45:07 +00:00
Anthony Minessale f5bce01142 changed from nenad
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@761 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-09 19:35:48 +00:00
Anthony Minessale 79cfacd1d4 get boost up to date
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@759 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-07 18:43:42 +00:00
Stefan Knoblich 92a6bc5dd4 - WARNING - Add STATUS ENQUIRY message handling to ozmod_isdn, this is a bad hack because the current OpenZAP isdn stack is not stateful (the experimental rewritten version is...) and so we have to try to map OpenZAP channel states to ISDN states, which is not possible in all cases. This patch (as long as it sends the right answer) prevents sudden disconnects of (active) calls, caused by not responding to a STATUS ENQUIRY message from the other side. - WARNING -
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@754 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-03 09:24:52 +00:00
Stefan Knoblich 93c96452fc Fix Q931Uie_UserUser() (broken length handling, IEs always only specify the length of attached data, excluding id and length field!) and allow User-User IE in incoming SETUP, ALERTING, CONNECT, DISCONNECT, RELEASE and RELEASE COMPLETE
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@753 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-07-03 09:15:47 +00:00
Anthony Minessale 4c7ca1c801 tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@752 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-30 18:48:37 +00:00
Stefan Knoblich 7c6ffbf131 Fix encoding of Call State IE, Q.931 (05/98) 4.5.7: bit 8 of octet 3 is part of the coding standard
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@751 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-30 09:42:10 +00:00
Anthony Minessale d1bdfae6fb make the in_use count be a function instead of a constant to fix race
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@750 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-06-24 16:18:41 +00:00
Moises Silva d6d3b67ef4 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 12b62015e0 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 f5c58f6968 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 2e8e526937 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 a9a154dc8b 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 112fd16be9 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 3288f821e1 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 c8a998d73e 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 9a1c1d21c9 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 5a4a76a2ca 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 246cad4ed5 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 1bfb99db66 [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 34a4427fba 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 cb362b4d55 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 574ac56a70 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 48b7fc8f1d 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 2a0211f416 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 e1a70efaa7 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 e2c2245a30 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 bb53daeae2 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 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
Anthony Minessale b18d9875ed 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 decaf14be3 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 f931915e8a [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 da81f09ada 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 05d80e3930 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 2550fc4f43 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 8e2c4ebc19 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 c588a513db 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 20049ab859 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 38b7aa6caa 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 f0354992d2 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 3e55a4767b 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 2d183463cf 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 a1f6e0ddfa 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 456386aac0 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