Commit Graph

17108 Commits

Author SHA1 Message Date
David Yat Sin 553255c631 Fixed some windows compile warnings from merge 2010-11-19 14:33:57 -05:00
David Yat Sin 15d02eb930 Merge branch 'netborder' of git.sangoma.com:smg_freeswitch into netborder 2010-11-19 14:18:44 -05:00
David Yat Sin 995c250518 Merged from master branch 2010-11-19 13:58:08 -05:00
Konrad Hammel 5e562ed55f freetdm: ss7 - bug fix for caller-id presentation...line value was not passed through stack properly 2010-11-17 16:41:38 -05:00
Arnaldo Pereira fee2f1b701 freetdm: removed empty stats from ftmod_r2 and fixed strsep() definition warning. 2010-11-17 14:36:31 -02:00
David Yat Sin c5070aaf52 Fixed cyginstall.sh script 2010-11-16 14:56:19 -05:00
David Yat Sin 65be57d212 Fixed for windows compilation issues 2010-11-16 12:41:56 -05:00
Konrad Hammel 525f399812 freetdm: ss7 - updated ftmod_sangoma_ss7 to support changes to FreeTDM api 2010-11-16 11:07:41 -05:00
David Yat Sin a2add13963 freetdm:Changes for shared IO 2010-11-15 19:16:09 -05:00
Arnaldo Pereira b1e773e787 freetdm: fixed ftmod_r2 r2conf function pointers 2010-11-15 21:10:39 -02:00
Moises Silva 9fa6fb5e02 freetdm: remove unused patches directory 2010-11-15 15:48:59 -05:00
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