Moises Silva
6cfce6f43d
freetdm: rename mod_data to io_data since is data meant for I/O modules only
...
fix ftmod_isdn usage of mod_data, it should be call_data pointer
2010-11-15 15:39:44 -05:00
David Yat Sin
caacb24500
freetdm: Changes for FTDM IO commands
2010-11-15 14:13:01 -05:00
Moises Silva
f3e55a26ef
Merge remote branch 'fsorig/master'
...
Conflicts:
libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_out.c
2010-11-15 14:00:49 -05:00
Jeff Lenk
97c65a004e
reswig
2010-11-15 12:22:09 -06:00
Brian West
db91f0e81f
FS-2842: ACL for IPv6 address and swigall to boot
2010-11-15 11:37:23 -06:00
Andrew Thompson
6941c6eb71
FS-2775 Rewrite XML fetch conditional wait to be more sane (Reported by James Aimonetti)
2010-11-15 12:39:54 -05:00
Anthony Minessale
04e57577b3
FS-2801
2010-11-15 11:22:34 -06:00
Brian West
0eb33e5761
FS-2844: Patch debian init.d script to set ulimit values
2010-11-15 11:13:04 -06:00
David Yat Sin
a09bce346e
Fix for compilation errors due to some functions defined as extern
2010-11-15 11:46:47 -05:00
Stefan Knoblich
ced7c9ae43
freetdm: Another round of parameter handling fixes (ftmod_{libpri,isdn,pritap})
...
ftmod_pritap: Abort before overflowing spanparameters array and initialize to all zero
ftmod_isdn: Fix overflow check, skip over parameters without name or value, initialize spanparameters array to all zero.
ftmod_libpri: Skip over parameters without name or value, initialize spanparameters array to all zero and drop "i < 10" hardcoded check.
This should fix:
2010-11-15 09:24:34.609515 [ERR] ftmod_libpri.c:1741 Unknown parameter '', aborting configuration
2010-11-15 09:24:34.609515 [ERR] mod_freetdm.c:3080 Error configuring FreeTDM span BRI_1
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Reported-by: Ingmar Schraub <is@eseco.de>
2010-11-15 12:33:58 +01:00
Stefan Knoblich
e98b4a6b8d
ftmod_libpri: Set RDNIS
...
Signed-off-by: lakshmanan ganapathy <lakindia89@gmail.com>
Reviewed-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-15 11:38:45 +01:00
Stefan Knoblich
c1517e99d1
ftmod_zt: B-Channels need to have audio mode disabled upon closing the channel.
...
Preparation for fixing channel handling for BRI PTMP (Point-To-MultiPoint) setups.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 23:38:16 +01:00
Stefan Knoblich
0286af421b
freeswitch: Update .gitignore file (libcodec2, esl binaries, mod_hash + mod_osp autogenerated files)
...
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 18:04:19 +01:00
Stefan Knoblich
96b0ef9ce9
ftmod_libpri: Use ftdm_array_len(), remove custom ARRAY_SIZE macro.
...
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 17:48:53 +01:00
Stefan Knoblich
e17201bbac
freetdm: Add ftdm_channel_get_state(), ftdm_channel_get_last_state() and ftdm_span_get_trunk_type_str().
...
Remove custom versions from ftmod_isdn and ftmod_libpri.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 17:48:09 +01:00
Stefan Knoblich
4f4aee4f07
Merge branch 'ftmod_isdn'
2010-11-14 16:47:43 +01:00
Stefan Knoblich
b0cca151e6
ftmod_isdn: Major cleanup: use accessor functions, coding-style, etc.
...
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 16:45:35 +01:00
Stefan Knoblich
47af9933c4
freetdm: convert ftmod_isdn to use (+ pri_spans) to use ftdm_configure_span_signaling() interface.
...
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-14 15:44:50 +01:00
Brian West
c12f81cd0f
Use the right variable
2010-11-12 13:50:12 -06:00
Anthony Minessale
b160942bc0
test
2010-11-12 12:03:40 -06:00
Stefan Knoblich
197e4b71d6
mod_freetdm: Really avoid overwriting the last element of spanparameters.
...
"if (ftdm_array_len(spanparameters) == paramindex)" is still off-by-one,
we want to stop at "ftdm_array_len(spanparameters) - 1", before we overwrite
the last (= terminating, NULL) element.
NOTE: i'd prefer an "argc, argv"-style interface here
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-12 11:42:26 +01:00
Marc Olivier Chouinard
025c82e76f
ivr_enterprise_originate: Fix export of variable from the originator channel to the called channels
2010-11-11 20:21:35 -05:00
David Yat Sin
d0b6117325
FIX for windows IO
2010-11-11 18:43:53 -05:00
Stefan Knoblich
eeaab3a02e
mod_freetdm: Avoid overflowing the spanparameters array of libpri spans, and make other span types use ftdm_array_len() too.
...
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-11 23:56:55 +01:00
Anthony Minessale
b2f8041790
fix file string when being used in ringback
2010-11-11 16:48:59 -06:00
Anthony Minessale
0100eff635
update
2010-11-11 15:37:58 -06:00
Stefan Knoblich
1e777c2ce9
ftmod_libpri: While we're at it, drop the cast too
...
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-11 22:21:18 +01:00
Stefan Knoblich
e0961aee3a
ftmod_libpri: Dereference facility event correctly, add debug message.
...
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-11 22:19:32 +01:00
Anthony Minessale
cd95138427
FS-2839
2010-11-11 12:32:29 -06:00
Anthony Minessale
3be3cd762a
add send_silence_when_idle and dmachine honoring to park loop
2010-11-11 10:54:04 -06:00
Anthony Minessale
f079f898cb
declinatio mortuus obfirmo!
2010-11-11 10:49:02 -06:00
root
70dca6dd4b
Makefile changes for x86_64 arch, thnx Steven Ayre and ptlib include path fix.
2010-11-11 10:56:10 +03:00
Moises Silva
8b68da37ae
mod_sangoma_codec: fix G722
2010-11-10 19:51:46 -05:00
David Yat Sin
93aa30076b
Fixed conflicts
2010-11-10 19:23:48 -05:00
David Yat Sin
086c397cdc
Merge branch 'master' into netborder
...
Conflicts:
libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.c
libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.h
libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_cntrl.c
libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c
libs/freetdm/src/include/private/ftdm_core.h
2010-11-10 19:22:27 -05:00
Anthony Minessale
588a5cee03
update
2010-11-10 18:09:04 -06:00
David Yat Sin
6cbf8a0167
freetdm: ISDN - Changes to used ftdm IO for d-channel
2010-11-10 19:03:15 -05:00
Stefan Knoblich
a2e16ce83c
ftmod_libpri: Minor cleanups in ftdm_libpri_configure_span().
...
Move some things around and remove 'paramindex' var (just use 'i' for that too).
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-11 00:16:25 +01:00
Stefan Knoblich
9ff4cfd569
ftmod_libpri: "ftdm libpri debug <span>" now prints the current debug flags
...
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-11 00:06:06 +01:00
Anthony Minessale
b278dd2379
add manual_rtp_bugs to profile and chan var and 3 new RTP bugs SEND_LINEAR_TIMESTAMPS|START_SEQ_AT_ZERO|NEVER_SEND_MARKER
...
RTP_BUG_SEND_LINEAR_TIMESTAMPS = (1 << 3),
Our friends at Sonus get real mad when the timestamps are not in perfect sequence even during periods of silence.
With this flag, we will only increment the timestamp when write packets even if they are eons apart.
RTP_BUG_START_SEQ_AT_ZERO = (1 << 4),
Our friends at Sonus also get real mad if the sequence number does not start at 0.
Typically, we set this to a random starting value for your saftey.
This is a security risk you take upon yourself when you enable this flag.
RTP_BUG_NEVER_SEND_MARKER = (1 << 5),
Our friends at Sonus are on a roll, They also get easily dumbfounded by marker bits.
This flag will never send any. Sheesh....
2010-11-10 16:58:36 -06:00
Moises Silva
ca8c23361b
mod_sangoma_codec: add G722
2010-11-10 17:29:08 -05:00
Stefan Knoblich
1074f006a0
ftmod_libpri: Clean up misnamed parameters and variables, remove unused.
...
- Add alias names for parameters:
"node" -> "mode"
"dp" -> "ton"
"switch" -> "dialect"
"l1" -> "layer1"
(Switching between ftmod_libpri and ftmod_isdn is easier now.)
- Removed unused members from struct ftdm_libpri_data
and rename misnamed ones
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-10 22:42:18 +01:00
Stefan Knoblich
3df1476a6d
ftmod_libpri: Major cleanup, enhance configuration checks
...
- Check D and B-channel availability (could be extended to check B-channel count)
- Drop usage of spri->private_info, use spri->span instead
- Use accessor functions where possible
- Rename ftdmchan to chan where possible
- Various other cleanups
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
Tested-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-10 21:32:32 +01:00
Paulo R. Panhoto
f331303404
mod_mp4 -- Supports playback of MP4 files.
...
* depends on libmp4v2 <http://code.google.com/p/mp4v2/ >
(originally compiled against v1.6.1)
* File format details:
- Files must be hinted (mpeg4ip can be used to create the hint
tracks).
- Video track encoding must be supported by FS (e.g. H.263)
- Audio track encoding must be PCMU/8000/Mono. The audio track
can be created with this tool:
<https://asteriskvideo.svn.sourceforge.net/svnroot/asteriskvideo/tools/pcm2mp4.cpp >
2010-11-10 16:27:43 -02:00
Anthony Minessale
42edb9cfe9
swig
2010-11-10 10:30:18 -06:00
David Yat Sin
6be15e958e
freetdm:Fix for RDNIS not set
2010-11-10 10:38:05 -05:00
David Yat Sin
d7a136cd1a
freetdm:Fix for RDNIS not set
2010-11-10 10:32:50 -05:00
Moises Silva
d872408922
freetdm: do not declare some sangoma ISDN functions as inline
...
as that does not work on gcc (Debian 4.3.2-1.1) 4.3.2
and probably other compilers when the inlined function
is not defined in the same compilation unit
2010-11-09 19:29:19 -05:00
Stefan Knoblich
180feff1f4
ftmod_libpri: Completely disable on_facility if AOC support is not available in libpri (= is too old).
...
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-10 01:28:30 +01:00
Stefan Knoblich
cc8d790cfd
Merge branch 'master' of ssh://git.freeswitch.org/freeswitch
2010-11-10 00:48:59 +01:00