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
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
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
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
David Yat Sin
c9db28c25f
Merge branch 'master' of git.sangoma.com:smg_freeswitch
2010-11-09 16:54:24 -05:00
David Yat Sin
a0b164c132
freetdm: ISDN - Fix for not waking up the line on power-saving lines
2010-11-09 16:34:34 -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
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
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
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
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
Stefan Knoblich
b7d9265562
ftmod_libpri: First attempt at getting AOC Facility messages going (and minor cleanups)
...
Requires libpri-1.4.12_beta1 or newer!
Completely untested, AOC-S/D/E ChargingRequest operations are sent to NT (DTAG BRI PTMP),
but rejected with "Unrecognized Operation".
NOTE: FreeTDM core needs support for this to be useful!
Only AOC-E events are decoded and sent to the log.
To enable:
Set (or add) <param name="opts" value="aoc"> in your
libpri_spans span config.
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2010-11-08 00:43:09 +01:00
Moises Silva
55975c7f3c
openzap: fix mismatch in enum types
2010-11-07 16:57:11 -05:00
Jeff Lenk
c57d5452a4
FS-2826 more fixes for sounds
2010-11-07 14:35:29 -06:00
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
Arnaldo Pereira
21418b083d
Merge branch 'master' of git.sangoma.com:smg_freeswitch
2010-11-06 12:50:22 -02:00
Arnaldo Pereira
b912935c6c
freetdm: fixed ftmod_r2 on windows and removed the wrong ftmod_r2 project from freetdm msvc file
2010-11-06 12:48:22 -02:00
Konrad Hammel
fdd9944ed5
freetdm: ss7 - added support for hex characters in calling/called numbers
...
freetdm: ss7 - added support for no-EC present indicatiation in ACM when 64k unrestricted TMR
2010-11-05 14:24:12 -04:00
Arnaldo Pereira
5a8695d942
freetdm: added missing EX_DECLARE_DATA
2010-11-04 19:15:39 -02:00
Arnaldo M Pereira
2e3163e2bf
freetdm: made ftmod_r2 windows compatible and created ftmod_r2.2008.vcproj
2010-11-04 18:26:05 -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
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
Anthony Minessale
df52cc0952
fix registration overlap timeout snafu
2010-11-02 17:58:24 -05:00
Arnaldo Pereira
2a1efb288f
freetdm: added missing sleep to ftmod_r2, which is now running fine
2010-11-02 13:40:27 -02:00
Arnaldo Pereira
039e4297ac
Merge branch 'master' into ftmod_r2
2010-11-01 23:11:42 -02:00