Commit Graph

16992 Commits

Author SHA1 Message Date
Stefan Knoblich 428d05349a ftmod_libpri: Write fatal error message during span configuration to console (and to span error log).
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-07 19:55:00 +01:00
Stefan Knoblich 81515b7bd8 ftmod_libpri: Improve "ftdm libpri debug" usage information.
"all" and "none" can only be used alone,
other flags are additive.

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-07 17:22:22 +01:00
Stefan Knoblich 78eff1d821 freetdm: convert ftmod_libpri (+ libpri_spans) to use new ftdm_configure_span_signaling() interface.
This fixes several issues with parameter handling (e.g. default alaw/ulaw selection being totally useless).

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-07 17:00:54 +01:00
Stefan Knoblich dc2a28c27c Merge branch 'master' of ssh://git.freeswitch.org/freeswitch 2010-11-07 15:51:53 +01:00
Stefan Knoblich 6e217401d9 ftmod_libpri: Rework debug flag handling, make BRI/BRI PTMP default to alaw too (does not work yet)
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-07 15:48:39 +01:00
Moises Silva 46a9fa3910 freetdm: add debugging msgs for zt wait errors 2010-11-06 17:14:31 -04:00
Jeff Lenk b0e622987a windows fix for last openssl commit 2010-11-06 13:22:20 -05:00
Stefan Knoblich 583c96af5b Merge branch 'master' of ssh://git.freeswitch.org/freeswitch 2010-11-06 18:28:53 +01:00
Stefan Knoblich b9391cffc2 ftmod_libpri: Fix reversed PTP/PTMP mode parameter 2010-11-06 18:28:37 +01:00
Jeff Lenk 1627f6a541 windows openssl fix spaces is build path 2010-11-06 12:24:30 -05:00
Stefan Knoblich 6ca919be61 ftmod_libpri: BRI Support requires libpri-1.4.12_beta1 or newer, add message to configure check 2010-11-06 18:12:27 +01:00
Stefan Knoblich 30fb69bbab ftmod_libpri: temporary segfault fix if libpri does not have BRI support 2010-11-06 17:58:41 +01:00
Stefan Knoblich 3d5ccf055d ftmod_libpri: Initial support for BRI and various cleanups + double locking fix
Fixes:
- Fix double locking in check_state(): remove ftdm_mutex_(un)lock calls.

New:
- Add lpwrap_init_bri() to initialize libpri in BRI mode
- Use trunk type to determine PRI/BRI and PTP/PTMP mode (no additional configuration required).
- Improve libpri detection code in configure.ac, check whether libpri is usable
  and if BRI support is available (needs more work)

Cleanups:
- Whitespace and indentation cleanups
- Rename str2* functions to parse_*
- Simplify libpri_configure_span() option parsing and bail out on error
- Add "ftdm libpri help" command that displays usage information
- Coding style cleanups and other (minor) changes

Known issues:
- BRI PTMP TE Q.921 link does not go beyond TEI ASSIGNED state,
  SABME requests are ignored by NT (EuroISDN DTAG, DAHDI-2.3.0.1, vzaphfc)

Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-06 16:08:07 +01:00
Stefan Knoblich 6787710b00 FreeTDM: Update .gitignore, add files shipped with libtool (build/{libtool,lt*}.m4) and compiled test binaries 2010-11-06 16:06:42 +01:00
Jeff Lenk 77e7f58986 VS2010 Swig 2010-11-05 21:15:03 -05:00
Michael Jerris 40ac860aaa fix missing name and potential segfault in gateway status 2010-11-05 20:24:31 -04:00
Anthony Minessale e0c37c1f6e allow process_import to specify a prefix 2010-11-05 18:20:09 -05:00
Anthony Minessale f69f4a7747 refactor 2010-11-05 15:24:11 -05:00
Anthony Minessale 8315b954fd tweak 2010-11-05 12:26:40 -05:00
Jeff Lenk 957262fac1 windows installer fix to last commit 2010-11-05 10:36:13 -05:00
Jeff Lenk 145d64b623 windows wix installer - add more options for fs_cli 2010-11-05 10:12:25 -05:00
Jeff Lenk 7217b9dc7c add fs_cli to windows wix install 2010-11-04 17:59:53 -05:00
Anthony Minessale 7dafe4e2c7 fail calls with uninitialized frame 2010-11-04 15:40:00 -05:00
Anthony Minessale dcdd381195 fire DTMF event when converting dtmf to inband with start_dtmf_generate 2010-11-04 15:30:02 -05:00
Anthony Minessale d205755ae0 typo 2010-11-04 14:38:43 -05:00
Geovani Ricardo Wiedenhoft 56f58c2983 - flash-to-digits: Defines the digits to be sent when the FLASH is detected on FXS
channels;
- Updated documentation.
2010-11-04 10:04:19 -02:00
Michael Jerris 20c2740c64 set minimum initital sip t1 timer to 1000ms to work around race condition on retry timer firing before all the things that are supposed to be handled by the timer are set. The base resolution on this timer is 500ms, so doubling up makes sure we always hit the initial retry timer on the next run, where everything should be set. The side effect was, 1/2 the time on a request that did not get immediate response, the timer would be fired and cleared, but the action (sending retry) was never done, and a new timer was not set, causing the request to just sit zombied and never retry. A better solution would be to find and correct the race condition so the timer is never set to early and we never hit this condition. 2010-11-03 13:58:12 -04:00
Anthony Minessale 2043d5a671 fix display of timeout 2010-11-03 12:22:01 -05:00
Anthony Minessale e5b891eed1 add separate reg timeout from retry sec 2010-11-03 10:58:32 -05:00
Michael Jerris fc4d290cb7 add support for NDLB-force-rport=safe param that does force-rport behavior only on endpoints we know are safe to do so on. This is a dirty hack to try to work with certain endpoints behind sonicwall which does not use the same port when it does nat, when the devices do not support rport, while not breaking devices that acutally use different ports that force-rport will break 2010-11-03 11:53:39 -04:00
Giovanni Maruzzelli 4706d3946d skypopen: performance improvements in skypopen_protocol.c and alsa/dummy.c . Added pcm*c to alsa/. Let's hope the larger period in dummy.c does not make problems on ubuntu 2010-11-02 22:52:51 -05:00
Anthony Minessale df52cc0952 fix registration overlap timeout snafu 2010-11-02 17:58:24 -05:00
Anthony Minessale 97d80d924a same as last one in another place 2010-11-02 11:50:04 -05:00
Giovanni Maruzzelli f3ae4d10d7 skypopen: callflow display reshuffle 2010-11-02 02:19:18 -05:00
Giovanni Maruzzelli 04f9b8c6f4 skypopen: very nice formatted debug output (ok, I go get a life) 2010-11-01 19:12:03 -05:00
Anthony Minessale 35676e7e04 parse static route in sip uri in notify by event 2010-11-01 18:47:09 -05:00
Anthony Minessale 78f05aef77 disable status bar in .screenrc 2010-11-01 18:47:09 -05:00
Giovanni Maruzzelli cda952083f skypopen: nice formatted debug output (I feel so stupid when I use one full hour for things like this, but I like it ;) ) 2010-11-01 18:48:28 -05:00
Giovanni Maruzzelli 5f91e46914 skypopen: modifying Makefile.am and skypopen.h to report in revision tag of debug lines the last commit of both mod_skypopen.c and skypopen_protocol.c (so you can have your own commits in the same dir) 2010-11-01 16:41:23 -05:00
Giovanni Maruzzelli faa1636905 skypopen: modifying Makefile.am to report on last commit in skypopen directory 2010-11-01 16:14:16 -05:00
Stefan Knoblich 454c238e58 Merge branch 'master' of ssh://git.freeswitch.org/freeswitch 2010-11-01 20:39:47 +01:00
Anthony Minessale 7ac78ac21a FS-2811 2010-11-01 10:25:47 -05:00
Anthony Minessale 1970ec1d81 FS-2810 2010-11-01 10:03:10 -05:00
Stefan Knoblich cc1e83397b FreeTDM: Buildsystem cleanup
- Use tabs instead of spaces for indentation

- Proper m4 quoting of parameters

- Fix broken AC_ARG_* handling:
  --without-foo/--disable-foo set withval="no"/enableval="no"
  and the third parameter of the AC_ARG_* macros is always
  "user provided an --with*-foo/--*able-foo option" _NOT_ "yes",
  while the fourth parameter is "user didn't provide this option"
  (= the default if neither --with-foo/--enable-foo nor --without-foo/--disable-foo
     has been set)

- Drop FTDM_CFLAGS in MY_CFLAGS (what was that used for anyway?)

- Drop MYLIB

- Drop SOLINK (unused)

- Rename MY_CFLAGS to FTDM_CFLAGS

- Rename all AM_CONDITION variables to HAVE_* for (optional) dependencies
  and WANT_* for features

- Reorder mod_LTLIBRARIES lines

- Move some things in configure.ac around to group them

- Add -shared to modules LDFLAGS (we don't need "ftmod_foo.a" static modules, do we?)

- Import ax_compiler_vendor.m4, drop the macro definition from configure.ac

- Add AUTOMAKE_OPTS to Makefile.am and define FreeTDM as a foreign (= non-GNU) project

- Add ACLOCAL_FLAGS to Makefile.am and set AC_CONFIG_MACRO_DIR in configure.ac
  custom m4 macros are kept in the build subdirectory

- Enable silent rules for automake-1.11 and newer (use make V=1 to get verbose output)

- configure option --with-modinstdir requires a value now and quits with an error message
  if called without one (e.g. "./configure --without-modinstdir" or "./configure --with-modinstdir")

- Add configuration summary screen and category headers for modules in configure output
2010-11-01 02:13:27 +01:00
Stefan Knoblich 3428bd3d43 ftmod_isdn: FreeTDM port, first steps
- Requires non-public development version of libisdn(!)
- Based on older patches from http://oss.axsentis.de/gitweb/?p=ftmod_isdn.git;a=summary
- Rework of ftmod_isdn related buildsystem parts (Makefile.am, configure.in and libpcap.m4)
2010-11-01 00:47:43 +01:00
cypromis 1d2b5e304c FS-2808, thx Diego Viola 2010-10-31 23:22:53 +01:00
Jeff Lenk 1b0ec75568 fix stuck channel with voicemail and loopback 2010-10-30 22:29:26 -05:00
Moises Silva 3e33540a81 mod_sangoma_codec: add G723.1 2010-10-29 23:01:49 -04:00
Marc Olivier Chouinard 81a038690a mod_callcenter: Make callcenter_config agent get return the value of the item requested. Also added queue param max-wait-time-with-no-agent-time-reached: If the max-wai-time-with-no-agent is already reached for the queue, then new caller can wait for x ammount of second before it kicked out of the queue rather than get rejected automaticly. 2010-10-29 22:41:14 -04:00
Moises Silva e86af7d730 mod_sangoma_codec: only register one codec interface for iLBC 2010-10-29 21:55:01 -04:00