Stefan Knoblich [Wed, 9 Jan 2013 23:29:08 +0000 (00:29 +0100)]
mod_event_zmq: Use sed to patch configure.in to use AC_CONFIG_HEADERS
AM_CONFIG_HEADER is deprecated in automake 1.13.1 (and temporarily not available in 1.13),
the replacement is available in autoconf-2.59 (and maybe before).
NOTE: Remove sed hackery when upstream has released a fixed version
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Wed, 9 Jan 2013 23:12:08 +0000 (00:12 +0100)]
mod_soundtouch: Use sed to patch configure.ac to use AC_CONFIG_HEADERS
AM_CONFIG_HEADER is deprecated in automake 1.13.1 (and temporarily not available in 1.13),
the replacement is available in autoconf-2.59 (and maybe before).
NOTE: Remove sed hackery when upstream has released a fixed version (> 1.7.0)
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Mon, 7 Jan 2013 17:04:00 +0000 (18:04 +0100)]
ftmod_misdn: Fix brown paperbag logic bug in handle_b_channel_event()
Yeah, right, discard the incoming audio data when the b-channel is active...
Reverse the check, so ftdm_read() on an active mISDN b-channel will
be able to read audio data from the RX socketpair and not kill
the call from repeatedly timing out in poll().
Fixes:
[WARNING] mod_freetdm.c:775 Too many timeouts while waiting I/O in channel FreeTDM/1:1/XX device 1:1!
[ERR] mod_freetdm.c:820 clearing IO in channel FreeTDM/1:1/XX device 1:1!
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Mon, 7 Jan 2013 12:24:01 +0000 (13:24 +0100)]
ftmod_misdn: Retry recvfrom() in case of EAGAIN
epoll_wait() on the B-channel socket may indicate pending messages, but
recvfrom() returns EAGAIN. Retry a few more times (up to 5 retries)
to get the pending message.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Sun, 6 Jan 2013 12:47:06 +0000 (13:47 +0100)]
ftmod_misdn: Fix %lx vs.__u64 format string error
Fixes:
src/ftmod/ftmod_misdn/ftmod_misdn.c:924:3: error: format '%lx' expects
argument of type 'long unsigned int', but argument 13 has type '__u64'
[-Werror=format]
Signed-off-by: Stefan Knoblich <stkn@openisdn.net> Reported-by: hyper_ch #freetdm @ irc.freenode.net
Travis Cross [Thu, 3 Jan 2013 17:38:28 +0000 (17:38 +0000)]
Fix mod_mongo build when no CFLAGS/CXXFLAGS are set in environment
os.environ['CFLAGS'] raises a KeyError if no CFLAGS variable is set in
the environment. So instead we use os.environ.get('CFLAGS','') which
will return the empty string in the event no CFLAGS variable is set.
The previous problematic pattern originated from the suggested code
here for importing the build environment in SCons:
Steve Underwood [Tue, 1 Jan 2013 15:07:55 +0000 (23:07 +0800)]
T.31 now has basically functional T.38 mode - needs more testing, though
Various modules which lacked routines to get at the sub-structures now
have them.
The tests have been tweaked so they only access internals where essential.
Moises Silva [Thu, 20 Dec 2012 17:11:11 +0000 (12:11 -0500)]
freetdm: ftmod_analog_em: If the destination number DTMF was already generated, do not generate it again
This bug was cause when answer-supervision is used because now we do not move from DIALING to UP
as soon as the line is ringing, but instead we wait for the CAS bit change
Moises Silva [Wed, 19 Dec 2012 03:50:49 +0000 (22:50 -0500)]
freetdm: Added Analog E&M outbound call answer supervision
You must add answer-supervision=yes in your freetdm.conf.xml
Also added dial-timeout parameter which was previously hard-coded
Travis Cross [Tue, 18 Dec 2012 17:42:47 +0000 (17:42 +0000)]
Use /var/lib/freeswitch as home directory on Debian
Previously we were using /var/run/freeswitch.
Julian pointed out that someone may actually want to keep information
around in the home directory. For Gemeinschaft they need to keep the
.odbc.ini file here.