Commit Graph

912 Commits

Author SHA1 Message Date
Moises Silva e909bac500 fix assertion
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@883 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-18 19:23:40 +00:00
David Yat Sin 0b75f2de27 Fix for zap_global_config not called
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@882 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-18 17:13:33 +00:00
David Yat Sin 77e5eb21bf Added testsangomaboost
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@881 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 23:13:38 +00:00
Moises Silva 5a2bb60b40 added extern C crap
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@880 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 20:49:41 +00:00
Moises Silva c1ee86a046 simplify openzap signaling configuration API
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@879 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 18:47:23 +00:00
Moises Silva 00c5bf0033 renamed a boost interface macro
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@878 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 18:12:07 +00:00
David Yat Sin 29f6db19af added
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@877 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 18:06:57 +00:00
Moises Silva fadd0826c7 oops
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@876 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-17 16:44:29 +00:00
Moises Silva b9270aea0e fix ifndef
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@875 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 22:36:11 +00:00
Moises Silva 7f7fac27af renamed sangoma_boost_sigmod.h to sangoma_boost_interface.h
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@874 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 22:27:41 +00:00
Moises Silva c495be57fb add helper macro to name boost interface
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@873 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 22:22:02 +00:00
Moises Silva 453fe5f72f split initialization from configuration
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@872 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 21:15:54 +00:00
Moises Silva c6cf9e61cd added hardware link notification
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@871 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 21:09:21 +00:00
Moises Silva c557472f25 added ZAP_COMMAND_GET_LINK_STATUS for sangoma boards
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@870 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 18:42:35 +00:00
Moises Silva d7b1202a1a added get sig status API support
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@869 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 18:06:48 +00:00
Moises Silva 3fee1f6eb1 added ZAP_COMMNAD_SET_LINK_STATUS for wanpipe boards
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@868 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 16:51:58 +00:00
Moises Silva c332cceb0d added zap_global_add_io_interface
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@867 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 16:27:59 +00:00
Moises Silva e0d41a722c added Windows zap conditions code
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@866 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 15:52:52 +00:00
Moises Silva 9750bbed52 added API and hooks to override the queue implementation
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@865 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 15:21:08 +00:00
Moises Silva 34307d8e52 replaced a ton of free or strdup calls for zap_safe_free and zap_strdup
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@864 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-16 14:52:02 +00:00
Moises Silva f3d2328564 replaced calloc calls for zap_calloc
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@863 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-15 03:35:01 +00:00
Moises Silva a2b4369cc2 replace all malloc calls to zap_malloc
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@862 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-15 02:14:50 +00:00
Moises Silva c3a1f65be9 added memory handlers
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@861 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-15 01:46:43 +00:00
Moises Silva e7a5ecacb1 finished zap queue and zap conditions implementation for Linux
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@860 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-14 02:04:38 +00:00
Moises Silva c46160b4ff added zap_queue.c
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@859 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-13 21:28:09 +00:00
Moises Silva 19a706877b added openzap queue stuff, still missing implementation
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@858 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-13 20:48:06 +00:00
Moises Silva 890cba5ba1 refactoring to use function call based boost instead of sockets
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@857 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-13 00:41:50 +00:00
Moises Silva 66adb741e7 added sangoma boost sigmod interface
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@856 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-12 19:47:04 +00:00
Michael Jerris 087f820187 whoops
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@853 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-11 18:51:03 +00:00
Michael Jerris 4b64c098ec only build boost module if you have sctp
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@852 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-10 23:28:49 +00:00
Anthony Minessale c1323ecf10 exit thread if too many errors occur to prevent endless loop
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@850 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-09 18:31:48 +00:00
Anthony Minessale c4b491a7b1 more tones
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@849 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-06 20:04:59 +00:00
Anthony Minessale acb36c4b9e clear tone_count on subsequent calls
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@848 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-02 18:58:55 +00:00
Anthony Minessale c6bd8b0f9f change switch_strlen_zero to zstr
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@847 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-10-23 16:03:57 +00:00
Anthony Minessale 97eb395008 use SWITCH_MESSAGE_INDICATE_UUID_CHANGE to change tokens in openzap when a uuid of FS changes OPENZAP-88
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@846 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-10-22 14:55:15 +00:00
Brian West e5a8e8d963 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 f4a61117e6 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 64b76671ee 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 fc0487aced 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 bddc498b7b 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 10b2bbcf98 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 37743744a9 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 fa924f76a0 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 d128277a08 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 1459cd24c3 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 3dc0f2569a 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 3b69191453 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 e2004e2d34 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 b6590855ff 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 080436b856 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 20266e8c1f 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 1490096bd3 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 686f2e2bc5 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 1e7c524748 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 bcd0c286a1 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 07cd03daac 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 fec13f56a5 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 a80a7ea495 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 435dadc3f5 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 2c1ecd07bc 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 08f74c0bca 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 822b851b23 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 aeff9e7e94 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 b41ce2921e 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 36d9fff0d1 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 2b0109c0c8 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 178259508b 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 62615f1990 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 10c93bc239 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 765ab30282 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 2e87d9d315 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 920682ac54 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 f7cd254439 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 b429cb1111 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 3777e8c507 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 14108c5724 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 a9b4b1a82f 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 00e453b222 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 c1879960aa 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 f3370d2cb8 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 0f215da2b1 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 98cdec8d6f 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 0b6fdf0e0b 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 5c0671b1fd 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 aacd2d68c0 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 e0ea30c5da 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 109cc6a19f 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 f7e05b0b4e 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 cc3f3cb16e 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 c165b8d1ea 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 ce9aa8bec3 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 d81971970d 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 3148bc5eae 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 9983a15bc3 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 6a34d570aa 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 dbe8b148f4 - 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 56f9cfccd3 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 e4b834b7a2 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 b46cbfd686 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 a6f5392dd6 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 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