732 Commits

Author SHA1 Message Date
Anthony Minessale
34f45f3c67 OPENZAP-99
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1036 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-18 18:55:03 +00:00
David Yat Sin
5aa34213df Increased timeout in sangoma_boost_channel_request to match PRI specs
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1035 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-18 18:42:36 +00:00
Moises Silva
fa836e6e08 dont use r2data in ozmod_r2 since zap_span_send_signal is now being used
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1031 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-14 16:59:39 +00:00
David Yat Sin
10f673cadd Pending channel state changes are processed before each new boost messages to fix race conditions
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1027 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-10 23:00:17 +00:00
Anthony Minessale
05da6d928a added valid state from TERMINATING to HANGUP for outbound calls
fixed state changes when remote side hangs up


git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1023 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-04 19:21:22 +00:00
Moises Silva
3bcd1c1f2d try disabling ring trip events in fxs channels to avoid issue with calls being hung up incorrectly on answer
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1021 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-03 01:30:06 +00:00
Anthony Minessale
000b7e78b2 move sig callback pointer to the span so it can be called from a function
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1015 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-01 18:16:13 +00:00
Michael Jerris
7f746a7064 update to new boost api SIGBOOST_VERSION 101. Fixes multiple race condition issues with thread waiting for chan and better handling of call rejects. This requires sangoma_prid v1.48 or later
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1001 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-23 05:27:01 +00:00
Michael Jerris
cec179037f make veto logs not spew warnings for normal state veto conditions
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1000 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-23 04:52:16 +00:00
Michael Jerris
a9953ac8e1 fix last commit typos and return hangup cause on failure in funky pri boost early media fail scenario
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@994 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-21 05:35:53 +00:00
Michael Jerris
72e37bd888 fix stuck zchans on pri boost on call failure between proceeding and media being active (this needs to be completely reworked and is a hack fix)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@993 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-21 04:54:05 +00:00
David Yat Sin
ec7319135d Increased timeout to wait for second BOOST progress message on outgoing calls
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@992 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-20 16:23:57 +00:00
Moises Silva
abdb9b1f3f added support to read from the configuration file ring_on_ms and ring_off_msg
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@990 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-19 19:45:52 +00:00
David Yat Sin
b11682a956 Fix for CALL_STOPPED_ACK sent too early in case where both sides of the link hang-up simultaneously
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@956 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-12 22:39:20 +00:00
Michael Jerris
cf57d7bb0b fix build breakage from r951
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@953 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-09 17:29:52 +00:00
David Yat Sin
258e160057 Fix for calls not cleared on call abort
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@951 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-08 21:02:50 +00:00
Stefan Knoblich
29627360b5 Final workaround for the ozmod_isdn libpcap build failure on solaris.
Define __EXTENSIONS__ before including openzap.h to get the required
u_int/u_short typedefs that would be disabled otherwise, due to either
_XOPEN_SOURCE or _POSIX_C_SOURCE being set.



git-svn-id: http://svn.openzap.org/svn/openzap/trunk@949 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-07 16:00:28 +00:00
Stefan Knoblich
85938b212e Add possible fix for ozmod_isdn (+ pcap) compile error on solaris.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@946 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-05 23:54:53 +00:00
Stefan Knoblich
698667a0fb ZT_SIG_HARDHDLC needs ZT_SIG_CLEAR bit set too, fixes OPENZAP-96
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@941 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-16 21:50:46 +00:00
David Yat Sin
c569627f68 Fix for zchan not getting unlocked
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@940 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-14 21:49:49 +00:00
David Yat Sin
143ba2785f Fixed race condition on hangup
Fixed crash on incoming CALL PROGRESS if cannot find zchan


git-svn-id: http://svn.openzap.org/svn/openzap/trunk@938 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-14 17:02:40 +00:00
David Yat Sin
b94dfc5c6a Fix for early media on incoming calls
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@937 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-10 23:37:44 +00:00
David Yat Sin
86832cb68c Fix for openzap sending CALL_STOPPED_ACK before clearing local channel
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@926 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-03 19:06:27 +00:00
Moises Silva
fb72b04010 allow HARDHDLC option for dahdi
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@925 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-03 18:13:34 +00:00
Jeff Lenk
991dd25513 add windows x64 build support
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@923 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-02 21:00:29 +00:00
David Yat Sin
7145817da4 Support for early media
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@909 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-27 16:53:16 +00:00
Brian West
87b19eacb6 wrong week to quit sniffing glue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@900 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-24 23:02:16 +00:00
Anthony Minessale
d27a7e1b7a clear dtmf buffer on channel close
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@898 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-23 19:19:12 +00:00
Moises Silva
3bbcd5369a fix windows compiler warning-error: unsigned vs signed comparison
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@855 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-11 20:19:39 +00:00
Anthony Minessale
43644d049a 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
786963c0ae 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
c5966d058b 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
d55588fe0c 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
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
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
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
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
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