Commit Graph

17072 Commits

Author SHA1 Message Date
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
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
Anthony Minessale 588a5cee03 update 2010-11-10 18:09:04 -06: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
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
Stefan Knoblich b1cf0d9a15 ftmod_libpri: Check if a span really has a D-Channel.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-10 00:47:16 +01:00
Moises Silva 31cc2502f7 mod_sangoma_codec: register AMR 2010-11-09 17:58:27 -05:00
Moises Silva 28f5d287d4 fix previous merge side-effect in build files 2010-11-09 14:11:02 -05:00
Moises Silva 4eef152250 Merge remote branch 'smgfs/master' 2010-11-09 13:40:46 -05:00
Moises Silva 8d66f38212 Merge branch 'master' of git://git.freeswitch.org/freeswitch
Conflicts:
	conf/autoload_configs/modules.conf.xml
	libs/freetdm/src/ftdm_sched.c
	libs/freetdm/src/ftmod/ftmod_libpri/ftmod_libpri.c
2010-11-09 12:59:48 -05:00
Anthony Minessale 7bd0a5a63d FS-2833 2010-11-09 11:53:01 -06:00
Anthony Minessale 794db40e52 refactor STFU a bit 2010-11-09 11:49:07 -06:00
Moises Silva 633599021a freetdm: minor changes to ftmod_r2 2010-11-09 12:22:53 -05:00
Anthony Minessale dd4fb5bee5 add default_lag to fifo 2010-11-09 10:30:06 -06:00
Anthony Minessale 3885eea765 add outbound_ring_timeout param to mod_fifo 2010-11-09 09:46:03 -06:00
Stefan Knoblich ff7a617098 ftmod_libpri: Bail out with an error message if libpri is too old and selected trunk type is BRI or BRI_PTMP
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-09 15:51:30 +01:00
David Yat Sin 648eb58fc1 Merge branch 'master' of git.freeswitch.org:freeswitch 2010-11-08 16:13:25 -05:00
David Yat Sin b36869498f freetdm: Fix for ftmod_wanpipe failing to compile because some structures are not
compatible with std=c99
2010-11-08 16:11:06 -05:00
Anthony Minessale 49b6237ed2 avoid hypothetical problem with flushing queue with delayed events 2010-11-08 15:05:02 -06:00
Stefan Knoblich f53ce50a4c Merge branch 'master' of ssh://git.freeswitch.org/freeswitch 2010-11-08 20:57:47 +01:00
Stefan Knoblich 0a8c1a04c4 ftmod_libpri: Minor cleanups.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-08 20:57:21 +01:00
David Yat Sin adc26e6316 Fixed compile error 2010-11-08 12:30:12 -05:00
David Yat Sin 25c56f6dc9 freetdm: Merged arnaldo.sng_isdn branch (changes for win32 port) 2010-11-08 12:18:08 -05:00
Anthony Minessale 5875905285 FS-2827 2010-11-08 10:14:46 -06:00
Anthony Minessale 10119e9e88 FS-2824 2010-11-08 10:13:35 -06:00
Jeff Lenk 4bbd9a4c0f FS-2825 add additional info when fail 2010-11-08 08:05:23 -06:00
Stefan Knoblich 0a0e79e1fe ftmod_libpri: clarify why we enable facility conditionally
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-08 00:57:50 +01:00
Stefan Knoblich 9e40c23cdb Merge branch 'master' of ssh://git.freeswitch.org/freeswitch 2010-11-08 00:54:58 +01:00