Commit Graph

366 Commits

Author SHA1 Message Date
Marc Olivier Chouinard
dabab9f25a FS-10293: Fix regression from FS-9638 causing 1 way audio on FreeTDM Calls 2017-05-06 19:50:17 -04:00
Marc Olivier Chouinard
119dd7e8e8 FS-10108: mod_freetdm - Configurable FreeTDM Configuration file locations 2017-03-08 16:13:38 -05:00
Michael Jerris
15d250ed7c FS-9136: update other modules to match api change 2016-06-03 18:21:08 -05:00
Moises Silva
f5894db211 OPENZAP-238: [freetdm] Several core and gsm improvements
* Add error handing in mod_freetdm for ftdm trace failures

* Allow freetdm signaling modules to specify a destroy function

* Added conditional forwarding to the freetdm gsm module
  Just specify the conditional-forwarding-number gsm parameter in freetdm.conf.xml

* Added new 'gsm call' freetdm command for raw GSM calls which can be
  used to enable/disabling network features (e.g call *93) without
  having to resort to use a full originate that requires routing the
  call somewhere when answered

* Miscelaneous cleanup of piggy coding style left over by one of the
  previous authors -_-
2015-11-13 02:05:53 -05:00
Michael Jerris
164c6111a1 FS-7966: remove some older versions of msvc build system as these will no longer work soon, please use 2015 instead 2015-08-31 10:19:10 -05:00
Michael Jerris
5f33fb35c5 rename debug trace 2015-07-06 17:28:13 -04:00
Moises Silva
01a9e443ea freetdm: Declare __FTDM_FUNC__ macro and use it instead of __FUNCTION__ to deal with platform differences
OPENZAP-237 #resolve
2015-07-03 12:42:33 -04:00
Michael Jerris
2cc0348422 FS-7635: remove msvc 2005 2008 and 2010 non working build systems. There are now multiple more recent (3 different ones) and some free versions of the compiler that can be used. 2015-06-10 16:33:14 -04:00
Anthony Minessale
7c294f242f FS-7504: allow <modname>.<codecname> support so multiple modules can exist for the same codec 2015-05-28 12:47:13 -05:00
Moises Silva
eb30491688 Merge remote-tracking branch 'moystash/em-suspend-support'
Conflicts:
	libs/freetdm/src/include/private/ftdm_core.h
2014-11-09 03:50:07 -05:00
Moises Silva
b80cdd45d5 freetdm: Added release guard time configuration
Currently only enabled in the analog e&m module but any
signaling module can easily take advantage of it with a small
modification to the signaling module to set span->sig_release_guard_time_ms
2014-07-23 00:41:08 -04:00
Moises Silva
a65ba24298 mod_freetdm: Added 'ftdm cas' command to read/write raw CAS bits 2014-07-22 23:30:45 -04:00
Moises Silva
e742522597 mod_freetdm: Fix several leaks on module shutdown 2014-07-13 00:35:48 -04:00
Moises Silva
b8a32ed0f3 freetdm: Fixes for GSM module 2014-05-10 02:57:17 -04:00
Brian West
367f4f399b FS-6500: use correct type in ftdm callback 2014-05-02 11:19:52 -05:00
Brian West
ca88a0451d FS-6500: handle conversion from switch to ftdm cause type which almost match each other 2014-05-02 11:19:52 -05:00
Brian West
cbcf54b65d FS-6500: fix return value type for outgoing_channel function 2014-05-02 11:19:52 -05:00
Anthony Minessale
7151d6acea FS-6402 part 2 2014-04-02 03:21:37 +05:00
Anthony Minessale
5c0cff70b3 FS-6402 --resolve 2014-04-02 01:20:19 +05:00
Moises Silva
774784fbee mod_freetdm: Handle read errors gracefully when the device is dead already 2013-11-08 02:21:42 -05:00
Anthony Minessale
460b8014b9 add channel to logline 2013-10-31 11:21:34 -05:00
Moises Silva
21b129e940 Allow setting/getting signaling status from E&M channels 2013-10-06 19:08:45 -04:00
Moises Silva
d8a9da2044 mod_freetdm: E&M Analog fixes
* Rename option ringback-during-collect to immediate-ringback
* Allow regular ringback tone with immediate-ringback, not just a wav file
* Do not request full frame of data, just packet_len which is what we receive per IO interval
* Ignore user data when playing ringback tone
2013-08-21 18:21:02 -04:00
Moises Silva
f9007fb2b6 freetdm: Added E & M logic for routing success and fail regex parameters 2013-06-26 00:16:11 -04:00
Moises Silva
626dd2551a mod_freetdm: Expose new ringback E&M parameters in the XML config 2013-06-25 23:41:59 -04:00
Nathan Neulinger
32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Moises Silva
5f876497bc freetdm: - Added ftdm_usage command to check if a channel has calls (ie, is busy)
- Refactored ftdm CLI management to allow standalone APIs to be registered
         - Minor logging changes here and there
2013-03-08 15:15:07 -05:00
Anthony Minessale
ff5b702886 FS-4971 please try this 2013-01-17 09:03:40 -06:00
Moises Silva
27a8ec93de freetdm: Added Analog E&M outbound call answer supervision
You must add answer-supervision=yes in your freetdm.conf.xml
         Also added dial-timeout parameter which was previously hard-coded
2012-12-18 22:55:14 -05:00
Michael Jerris
306c2fa205 don't skip sending cid number if there is a + in it 2012-11-05 15:12:38 -05:00
Moises Silva
fff6e50a9b freetdm: Fix E&M answer procedure for DAHDI 2012-09-19 20:03:09 -04:00
Stefan Knoblich
e561709f5a mod_freetdm: Use new SWITCH_DEFAULT_CLID_NUMBER constant
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-17 21:32:18 +02:00
Brian West
fdf7623f90 freetdm_outbound_npi is actually useful. 2012-09-17 10:14:32 -05:00
David Yat Sin
83d7f4282c Fix for compilation errors 2012-09-13 00:00:26 -04:00
Stefan Knoblich
210e501782 mod_freetdm: Remove duplicate assignment.
curr is getting set in the for() statement (again). Use that, remove
the other line setting it.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-13 01:02:31 +02:00
Stefan Knoblich
42c76fa81b mod_freetdm: Coding style and whitespace clean up.
No functional changes.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-13 01:01:19 +02:00
Stefan Knoblich
b9a45c75f4 mod_freetdm: Remove duplicate code block in channel_on_hangup(), after merge.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-13 00:58:49 +02:00
David Yat Sin
4340c4d74c Merged latest FreeTDM code from Sangoma's repo
Merge remote branch 'smgfs/master'

Conflicts:
	build/modules.conf.in
	configure.in
	libs/esl/fs_cli.c
	libs/freetdm/mod_freetdm/mod_freetdm.c
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.h
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_cfg.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_logger.c
	libs/freetdm/src/ftmod/ftmod_sangoma_ss7/ftmod_sangoma_ss7_support.c
	src/include/switch_types.h
	src/mod/applications/mod_commands/mod_commands.c
	src/mod/applications/mod_spandsp/mod_spandsp.c
	src/mod/endpoints/mod_opal/mod_opal.cpp
	src/mod/endpoints/mod_opal/mod_opal.h
	src/mod/endpoints/mod_sofia/mod_sofia.h
	src/mod/endpoints/mod_sofia/rtp.c
	src/switch.c
	src/switch_core.c
	src/switch_rtp.c
2012-09-12 11:05:39 -04:00
David Yat Sin
848db87c26 Merge branch 'releases.3.5' into nsg-4.3 2012-09-11 14:56:22 -04:00
David Yat Sin
fcbfc69466 mod_media_gateway now specifies physical channel when opening TDM terminations 2012-09-11 14:45:57 -04:00
Stefan Knoblich
143c599066 mod_freetdm: Add missing break in on_clear_channel_signal() FTDM_SIGEVENT_UP case statement.
FTDM_SIGEVENT_UP was falling through to FTDM_SIGEVENT_PROGRESS_MEDIA, which
does (almost) the same, so no harm, but still fix it.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-11 18:13:33 +02:00
Stefan Knoblich
adfb2ca385 mod_freetdm: Whitespace, indentation and coding-style clean up.
No functional changes.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-11 18:13:33 +02:00
David Yat Sin
f49ee5ebf9 FreeTDM: Added function to listen for mg-tdm-dtmfremoval command to disable/enable DTMF removal per channel 2012-09-06 16:53:58 -04:00
David Yat Sin
3a57b0bed6 Merge remote branch 'fsorig/master' into nfas
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_cntrl.c
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_hndl.c
2012-09-03 22:34:13 -04:00
Kapil Gupta
917609df1b removing "raw_ftdm_chan_open" API as we have M2UA sig type 2012-08-23 10:59:21 -04:00
kapil
106e17f7a2 Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3 2012-08-16 16:43:00 -04:00
kapil
583bd7a811 Added debugging to confirm echo_cancel event works 2012-08-16 16:42:17 -04:00
Nenad Corbic
a24706aed6 Changed EC ENABLE/DISABLE failure from ERROR to WARNING.
As some installations have no ec. I will have to test
without ec and confirm that we handle that case gracefully.
2012-08-16 02:06:10 -04:00
Mathieu Rene
e07d588d10 turn on echo cancellation and turn it off in mg_notify 2012-08-16 01:29:43 -04:00
Mathieu Rene
a7d51f5f4f turn on echo cancellation and turn it off in mg_notify 2012-08-16 01:28:32 -04:00