Moises Silva
ecf3294a88
added zap_assert_return macro and replaced old use of zap_assert
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@911 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-27 18:57:35 +00:00
David Yat Sin
2f09453095
Merged r 908:909 from trunk to support early media mode
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@910 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-27 16:59:12 +00:00
Moises Silva
c6e7eaac83
Fix windows build
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@908 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-26 16:01:55 +00:00
Moises Silva
2ea4c03e81
show signaling status on oz list
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@907 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 22:53:23 +00:00
Moises Silva
bc25bc771c
add BOOST_SPAN and BOOST_CHAN macros
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@906 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 20:58:31 +00:00
Moises Silva
bea687fb76
fix hunting of zchan on incoming calls and event reading bug
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@904 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 20:18:29 +00:00
Moises Silva
bd00467c76
set the span when sending a start request and sigmod is available
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@903 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 18:50:04 +00:00
Moises Silva
c70f0e226c
dont use member names on structure initialization, msvc does not like it
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@902 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 01:53:54 +00:00
Moises Silva
360638f0dc
dont send boost restart when working sigmod is present
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@901 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 01:42:35 +00:00
Moises Silva
e508938675
ignore boost messages with no span
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@896 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-23 16:40:41 +00:00
Moises Silva
10f8ab0806
beautify some code
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@893 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-21 04:45:22 +00:00
David Yat Sin
3245ec9997
Fixed zap_queues
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@892 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-20 22:57:24 +00:00
David Yat Sin
3268b4ae34
Fix for ON_LOAD returning zap_status_t
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@891 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-20 16:46:49 +00:00
Moises Silva
4de9a4c0d1
Resolved conflict
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@890 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-20 16:42:31 +00:00
David Yat Sin
ac06f30774
Fixed issue when mcon->mutex was not initialized
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@889 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-20 16:20:36 +00:00
Moises Silva
f1eadddd31
fix channel sig status enum to string converter
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@887 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-19 21:20:19 +00:00
Moises Silva
c9223883dc
call on_load and on_unload methods
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@886 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-19 20:10:34 +00:00
Moises Silva
f1f126b5d5
Added BOOST_ON_LOAD_FUNCTION and BOOST_ON_UNLOAD_FUNCTION
...
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@885 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-19 19:38:33 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Helmut Kuper
25d82076ee
Deleted some unneeded includes
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@629 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-30 11:44:03 +00:00
Helmut Kuper
eb24f46932
Q931ToPcap patch
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@628 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-30 11:37:11 +00:00
Michael Jerris
e29ec54993
fix crazy build issue with broken gcc optimizer on bleeding edge ubuntu
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@627 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-29 18:56:16 +00:00
Raymond Chandler
442754e7d1
OPENZAP-42
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@625 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-13 17:26:36 +00:00
Anthony Minessale
bdc9c28d9c
add type of num var for pri
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@622 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-12 17:46:30 +00:00
Anthony Minessale
0fa7d1b68e
make error more clear about missing trunk_type param in openzap.conf (and auto tolerate the err) and fix printf metas
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@621 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-01-09 22:11:04 +00:00
Anthony Minessale
5d12ff0200
fix filehandle leak
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@617 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-20 05:23:56 +00:00
Michael Jerris
ff4858ec6b
OPENZAP-37 (fail if invalid dialect is defined.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@616 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-15 20:20:09 +00:00
Anthony Minessale
dd658a138c
fix compiler warning
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@615 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-12 15:10:22 +00:00
Anthony Minessale
07a8ebe5e0
add wink command patch (still needs more code)
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@614 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-03 16:02:17 +00:00
Anthony Minessale
b3a8afd996
allow state change from progress_media to terminating in isdn
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@613 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-12-01 21:01:07 +00:00
Michael Jerris
751cbfb6d1
OPENZAP-30 add support for flash hook as part of the dial string using 'F'
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@612 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-20 23:46:15 +00:00
Anthony Minessale
b83ab7a8d3
close OPENZAP-31
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@611 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-19 17:34:32 +00:00
Stefan Knoblich
cb64fb902d
Disable the non-working timer stuff for now
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@610 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-14 20:47:29 +00:00
Stefan Knoblich
98d63a74fe
Fix OpenZAP-34
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@609 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-14 20:31:08 +00:00
Stefan Knoblich
b3dab16f13
Fix OPENZAP-32 (and possibly others), thanks to Lukasz Kutkowski for spotting this...
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@607 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-11-03 20:55:26 +00:00
Anthony Minessale
338c9ebd60
just make this version of teletone bsd too
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@603 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-30 16:08:45 +00:00
Anthony Minessale
97d9169d85
move copyright headers to the top
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@602 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-30 15:58:58 +00:00
Anthony Minessale
4072689a67
doh
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@597 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-24 19:40:45 +00:00
Stefan Knoblich
71e7531655
oops
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@594 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-13 05:44:15 +00:00
Stefan Knoblich
4c4047d5cf
Add NT-mode overlap dial timeout and fix CID in overlap
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@593 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-12 22:07:45 +00:00
Michael Jerris
18baa59c02
OPENZAP-27 add inital CAS support to wanpipe and zt
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@592 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-10 16:02:09 +00:00
Michael Jerris
e5124abc4b
attempt to fix solaris openzap build
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@591 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-09 19:24:39 +00:00
Anthony Minessale
564329faee
OPENZAP-28 pass opts from mod_openzap to ozmod_isdn
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@589 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-07 15:27:51 +00:00
Anthony Minessale
a422a4f672
bail on bad args
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@588 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-07 00:00:15 +00:00
Michael Jerris
8cdc323ca5
add patch OPENZAP-15 with minor mods
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@586 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 19:21:27 +00:00
Michael Jerris
1ded021796
add patch OPENZAP-26 with minor mods
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@585 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 19:13:32 +00:00
Michael Jerris
d0ef88c299
initialize to no isdn logging if param not set in config
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@583 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-06 15:53:23 +00:00
Anthony Minessale
bbca5aba49
update
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@582 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-04 19:00:13 +00:00
Anthony Minessale
cd8e473df1
OPENZAP-24 audio problem on alaw wanpipe
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@581 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 22:19:40 +00:00
Anthony Minessale
5b2982a442
OPENZAP-22 add configuration settable debug levels for isdn trunks
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@580 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:57:57 +00:00
Anthony Minessale
f5f9de357b
clean up log
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@579 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:15:45 +00:00
Anthony Minessale
ded0b0e605
OPENZAP-25 Setting screening and presentation indicator for outgoing calls
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@578 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:14:46 +00:00
Anthony Minessale
a120d4bd7a
move dtmf gen to read
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@577 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-03 21:03:21 +00:00
Anthony Minessale
4041363310
tweak
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@575 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-10-01 21:51:10 +00:00
Anthony Minessale
88f09d5973
doh
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@574 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-29 17:55:22 +00:00
Anthony Minessale
26b368810e
fix unclean reset from i/o error and add new span wide option to disable callerid detect
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@573 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-29 15:51:00 +00:00
Michael Jerris
bff3651b2d
(OPENZAP-21) E&M shouldn't have delay after sending wink
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@572 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-27 18:46:22 +00:00
Michael Jerris
21d796b63e
add dtmf based hangup (OPENZAP-3)
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@571 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 20:04:22 +00:00
Michael Jerris
c7cbbc6f4e
OPENZAP-19 add handler for connect ack
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@570 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 18:28:28 +00:00
Anthony Minessale
36abcdd03d
fix analog fxs state machine issue
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@569 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 17:29:48 +00:00
Anthony Minessale
3c2e49bd71
doh blame normB
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@567 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 16:59:13 +00:00
Anthony Minessale
8811a8d02e
change hash to use flags per entry for free on keys and values
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@566 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 16:39:46 +00:00
Anthony Minessale
a3922ed7c8
add name to spans
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@565 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-26 15:36:34 +00:00
Michael Jerris
b36e1af380
build tweaks
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@563 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-23 16:00:26 +00:00
Michael Jerris
35fbef4373
(OPENZAP-17) make # not a special char in config files now.
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@562 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-23 15:58:44 +00:00
Michael Jerris
3479ce917e
(OPENZAP-7) inital checkin of E&M support from John Wehle
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@561 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-17 02:21:28 +00:00
Stefan Knoblich
7b99c4f95d
Improve logging for setups with more than one span
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@559 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-16 18:22:00 +00:00
Michael Jerris
967ff7d06f
(OPENZAP-6) misplaced assert
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@558 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-16 17:28:15 +00:00
Anthony Minessale
75943674cb
blah
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@557 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-14 23:31:23 +00:00
Anthony Minessale
77278ca92e
protect the innocent
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@556 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-12 18:39:30 +00:00
Anthony Minessale
7d86ac5714
push progress event up to mod_openzap on analog ring
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@555 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-11 17:55:27 +00:00
Michael Jerris
b645cacc11
fix off by one index
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@554 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-10 19:43:55 +00:00
Anthony Minessale
97958e56e0
fix OPENZAP-14
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@553 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-10 19:27:17 +00:00
Anthony Minessale
3c4453955d
change core of openzap to use dynamic allocation of spans and channels to reduce memory usage
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@552 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-10 15:25:02 +00:00
Stefan Knoblich
395f54b32f
Fix CallingNum IE decoding to allow zero-length "numbers"
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@551 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-09 21:10:18 +00:00
Stefan Knoblich
3e7e87f799
Extend 5ESS Setup message parser to handle Display IE in codeset 7
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@550 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-09 20:19:03 +00:00
Michael Jerris
efa6ec9c8f
fix leading space on calling number
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@548 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-09 18:10:04 +00:00
Anthony Minessale
38f509239e
fix config parser and build on some systems
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@547 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-08 23:01:44 +00:00
Stefan Knoblich
2178f9b87d
Add Facility IE handling on incoming SETUP messages to national too
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@546 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-08 21:34:08 +00:00
Stefan Knoblich
f5d6cecb48
Fix building of ozmod_ss7_boost on FreeBSD(7)
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@545 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-07 21:41:23 +00:00
Stefan Knoblich
a8d9742c8e
NT mode improvements:
...
Add channel hunting in case the TE side specifies "any" channel in the Channel ID IE
of an incoming SETUP message (or if there is no Channel ID IE at all).
Support overlap dial in NT mode, (needed for BRI phones), triggered by a missing
Called Party IE in the SETUP message.
Tones... picking up a phone and not hearing a dialtone is no fun...
Dialtone (works) and Ring (untested) are implemented, tones are generated by
a secondary thread (only started for spans in NT mode). I tried to do the tone
generating in the main thread first, but it is easier to handle like this.
The loop uses the first channel that needs tones as a timing reference and the
tone buffer is reused if multiple succeeding channels share the same state to
save some cpu cycles (yes, not perfect... alternative is to allocate a buffer for
every indication and precalculate the values... => 16KB for each indication).
Coming up next: Q.931 Timers
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@544 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-07 17:39:36 +00:00
Michael Jerris
16c61e57a4
don't overflow int type
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@542 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 23:11:45 +00:00
Stefan Knoblich
081cc2e75b
Change zap_buffer_read_loop() to always try to read the full amount of bytes we wanted to get; add zap_buffer_seek() to skip n bytes from the beginning of the buffer (zap_buffer_toss works relative to the current position only)
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@539 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 20:41:50 +00:00
Stefan Knoblich
82318fc434
[Q.931] Save TEI from incoming SETUP message in call struct + make the TEI available in all incoming messages
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@538 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 20:28:50 +00:00
Stefan Knoblich
66eace59c4
[Q.931] Codingstyle cleanup
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@537 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 20:23:26 +00:00
Stefan Knoblich
00215f7349
[ozmod_isdn] Remove sending complete IE
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@536 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 20:14:07 +00:00
Stefan Knoblich
6c4e94774f
Codingstyle cleanup
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@535 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 19:40:40 +00:00
Michael Jerris
ba95f425f7
add some libtool usage in openzap build. This will require re-bootstrap and configure
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@534 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 05:46:14 +00:00
Michael Jerris
9b5b73c628
revert patch from OPENZAP-12
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@533 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-06 04:15:49 +00:00
Michael Jerris
cd8a4e5139
(OPENZAP-12) fix param passing in ZIO_SIG_CONFIGURE_FUNCTION on some platforms
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@531 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-05 19:12:20 +00:00
Michael Jerris
4317cbe2e8
(OPENZAP-11) use all the cflags from configure so we can build ss7 boost on freebsd and fix other code issues noted by more warnings from those cflags
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@530 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-05 03:53:32 +00:00
Stefan Knoblich
83144a4093
Re-add Display IE
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@529 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-04 20:30:16 +00:00
Michael Jerris
29132c7207
turn down the logs for now
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@528 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-04 04:58:00 +00:00
Stefan Knoblich
010987ebfc
[Q.921] Init buffers with zeroes
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@526 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-01 17:32:30 +00:00
Stefan Knoblich
31edae1ab5
[Q.921] Null terminate string buffer
...
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@525 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-09-01 17:25:40 +00:00