Commit Graph

823 Commits

Author SHA1 Message Date
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
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
Michael Jerris 6c21ccb973 follow --sysconfdir when installing openzap.conf.xml
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@916 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-30 12:17:14 +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
Michael Jerris 3e7e7b6879 --srcdir fix (FSBUILD-211)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@905 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-25 20:19:36 +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
Michael Jerris a365b7e238 allow --libdir
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@895 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-23 16:22:53 +00:00
Anthony Minessale 44eb096e76 refactor enterprise_originate
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@888 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-20 02:17:21 +00:00
Michael Collins e832b9be2a Fix SIT segment frequency in tones.conf
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@884 a93c3328-9c30-0410-af19-c9cd2b2d52af
2009-11-19 01:18:59 +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
Michael Jerris 1e5fefeab8 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 c0c39fcd5b 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 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 60b912399e 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 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