Commit Graph

844 Commits

Author SHA1 Message Date
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
Anthony Minessale 82f46fd7f3 adding span name, number and chan to trap event
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1052 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-05 23:01:23 +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 737597eba6 boostrap
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1050 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-05 20:14:44 +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
Michael Jerris 58274f0386 cleanup caller id handling on originate to bridge
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1047 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-02 00:15:52 +00:00
Michael Jerris 46470d5030 cleanup caller id handling on originate to bridge
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1046 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-01 23:23:51 +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
David Yat Sin 91c53552b6 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1018 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-01 23:26:34 +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
Anthony Minessale f1140c352d suppliment to last commit
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1014 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-01 15:36:32 +00:00
Anthony Minessale 3cfd874ebe try this
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1011 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-29 22:15:05 +00:00
Brian West af2b34f1e1 sanitize number on outbound caller_profile we do this in mod_Sofia too
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1003 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-25 17:24:52 +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 2b3dd0473c silence incorrect error log
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@999 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-23 04:50:32 +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
Michael Jerris 07d412879f add russian tones
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@931 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-08 16:23:49 +00:00
Michael Jerris b6a10aa3f9 add sg tones
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@930 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-08 16:20:49 +00:00
Michael Jerris 32d3035346 a little hack to libpcap detection (OPENZAP-86)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@929 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-07 15:18:33 +00:00
Moises Silva c722e89b6c added missing tonemap parameter to configure ISDN stack
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@927 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-12-04 04:53:04 +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