Commit Graph

706 Commits

Author SHA1 Message Date
Moises Silva 2ffef4c358 fix typo-bug in interrupt type 2010-04-13 10:21:51 -04:00
unknown 48ec0c2831 Merge branch 'master' of git.freeswitch.org:freeswitch 2010-04-08 13:12:52 -04:00
Moises Silva 61c563afcb revert openzap temporary workaround for Windows compilation 2010-04-08 12:58:56 -04:00
Moises Silva 089e7f65da fix loop 2010-04-08 10:59:41 -04:00
Anthony Minessale efe0bdede7 tweak on last commit
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1071 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-19 19:00:02 +00:00
Anthony Minessale 28561b8867 change zt echo can to default to off and do not engage it when there is no preference and fix regression from OPENZAP-76
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1070 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-19 18:49:29 +00:00
Moises Silva df91a7c8bd return success after setting gains
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1069 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-18 14:13:05 +00:00
Moises Silva d875a8ae78 fix windows compilation
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1066 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-16 14:12:42 +00:00
Moises Silva 1caf72ed86 log as error socket open failure
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1064 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-15 13:57:04 +00:00
Moises Silva fa61207e4c fix segfault in the cpu monitor code
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1063 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-12 23:09:15 +00:00
Moises Silva b07a41cec0 added configuration of gains in openzap.conf and display through CLI
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1062 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-12 22:47:50 +00:00
Moises Silva db6194be56 added the ability to set the audio gain in openzap channels via software
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1061 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-12 21:52:41 +00:00
David Yat Sin abace923c4 Included zap_cpu_monitor files
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1060 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-12 21:22:42 +00:00
David Yat Sin bcb7f36a16 Added CPU Monitor.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1059 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-12 20:08:30 +00:00
Moises Silva 6c8caec2e4 temporarily remove some libsangoma APIs from ozmod_wanpipe until the Windows driver release is fixed
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1056 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-11 16:58:36 +00:00
David Yat Sin d6fcb65606 NC:
Added a sanity check on call start.
In case of know sangoma_isupd boost errors

Added Loop command to enable channel looping
on CCR tests in ss7.

Added hwec enable disable commands that are
available in CLI



git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1053 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-05 23:05:59 +00:00
Moises Silva d32f7f67a3 more alarms
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1051 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-05 21:59:00 +00:00
Moises Silva 18d3477131 send signaling alarm notification from the IO modules
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1049 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-05 16:30:02 +00:00
Moises Silva 46175f6f11 set analog channel suspended when in alarm
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1048 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-02 15:43:02 +00:00
David Yat Sin c34e5320d3 Changed zap_channel_set_caller_data
Set default NPI to e164 and default TON to national


git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1042 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-26 22:54:59 +00:00
David Yat Sin a825c1bbf5 Support for SIGBOOST Version 103
Allows passthrough for TON and NPI on outgoing calls via sigboost


git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1041 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-26 20:57:59 +00:00
Moises Silva dd2a805fa5 set SFLAG_SENT_FINAL_MSG when going down in loop mode
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1039 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-19 22:43:29 +00:00
Moises Silva 8d980e65f6 added new commands to enable/disable hardware loop and some boost code to handle ss7 loops
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1038 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-19 21:18:13 +00:00
David Yat Sin ba1f719c3e Fixed flush buffer command so that its backward compatible
with 3.4 release



git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1037 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-18 19:13:54 +00:00
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