Moises Silva
7b9184e94f
Fix compiler warning/error in ftmod_r2.c
2016-08-18 19:10:48 -04:00
Davide Colombo
5e5bc23f47
OPENZAP-241: set always STATE_HANGUP_COMPLETE
2016-03-10 14:46:05 +01:00
Moises Silva
8a81c3f59e
OPENZAP-238: [freetdm] Fix gsm caller id and dnis information
...
Also fix small leak caused by the span being destroyed before the gsm loop ran
2015-11-13 02:58:06 -05:00
Moises Silva
c8a9c07059
OPENZAP-238: [freetdm] Fix gsm signaling status reporting
2015-11-13 02:57:39 -05:00
Moises Silva
c3e40b29be
OPENZAP-238: [freetdm] Fix stop sequence to properly shutdown the gsm span using libwat
...
Misc code style fixes as well:
* Use static functions everywhere, no need to pollute the global namespace
* Rework some function names and variables to use lower case
2015-11-13 02:45:24 -05:00
Moises Silva
b1de2ccd95
OPENZAP-238: [freetdm] Add new GSM parameter startup-command
...
The new parameter startup-command for gsm spans allows
executing raw AT commands on span startup
2015-11-13 02:05:53 -05:00
Moises Silva
7b4838035a
OPENZAP-238: [freetdm] Enable GSM immediate forwarding logic
...
Use the new parameter immediate-forwarding-numbers to configure
immediate forwarding logic that emulates hunt groups
The parameter syntax is:
[<span-name>:]<number>
Multiple elements can be specified separated by commas
If the <span-name> is specified, the span will be checked for
availability, if available, its number will be selected for
forwarding, otherwise next number will be checked
Forwarding is enabled as soon as a channel is answered and its
disabled when the channel is hung up
2015-11-13 02:05:53 -05:00
Moises Silva
54005bfead
OPENZAP-238: [freetdm] Confirm release on hangup of raw GSM call
2015-11-13 02:05:53 -05:00
Moises Silva
0267ab566d
OPENZAP-238: [freetdm] Fix state transition on hangup after a raw call is placed
2015-11-13 02:05:53 -05:00
Moises Silva
160576f86b
OPENZAP-238: [freetdm] Fix gsm forwarding initialization
2015-11-13 02:05:53 -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
Moises Silva
ce5c99d45c
OPENZAP-240 #resolve [GSM module uses incorrect length when parsing AT responses]
...
Use the buffer length returned by the driver instead of trying to use strlen()
2015-11-08 22:12:41 -06: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
andywang1988
f767fe5ed6
Fixed Bug/FS-7754
2015-07-07 15:10:13 +08:00
Moises Silva
e8cbfe9631
freetdm: Fix some GSM compilation errors and do a bit of code cleanup
2015-07-03 12:42:34 -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
Moises Silva
e401b1469f
freetdm: Fix gsm hangup race
2015-06-24 01:52:08 -04:00
Moises Silva
2d03e1afd0
freetdm: Fix gsm call id management
2015-06-24 00:50:37 -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
Matteo Brancaleoni
0127e9bf47
FS-7620 Correctly set calling number presentation and screening fields.
2015-06-08 17:54:30 +02:00
Moises Silva
98de925e46
Merge pull request #171 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-7209-improve-ani-ton-and-type-when-not to master
...
* commit '3cd62df96f78a0ea3255c4fced2e2f32f97c0a42':
If ANI ton is not interpreted correctly by libpri, fallback to calling ton/type.
2015-01-28 10:35:09 -06:00
Moises Silva
c9ebd0fcdf
Merge pull request #165 in FS/freeswitch from ~MBRANCA/freeswitch:bugfix/FS-7197-libpri-spans-fails-to-stop-when-unloading to master
...
* commit 'e062f5e3c8355a6b5cb0d12ddb99300e95b38193':
If the span has been already fully stopped and ftdm is not running, return success from the span stop function.
2015-01-28 10:33:47 -06:00
Matteo Brancaleoni
3cd62df96f
If ANI ton is not interpreted correctly by libpri,
...
fallback to calling ton/type.
2015-01-28 11:13:37 +01:00
Matteo Brancaleoni
e062f5e3c8
If the span has been already fully stopped and ftdm is not running,
...
return success from the span stop function.
2015-01-28 09:35:19 +01:00
Matteo Brancaleoni
8307e7842d
Set ANI plan and ANI type for ftmod_libpri.
2015-01-27 15:56:00 +01:00
Michael Jerris
0cf770a836
FS-6996: #resolve fix define change as of glibc 2.20 for _BSD_SOURCE -> _DEFAULT_SOURCE
2014-11-17 09:27:22 -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
2f1b12fdc0
OPENZAP-232 #resolve
...
Patched-By: Florian Richter
Check for digits received on sangoma isdn stack to avoid delaying
moving to the ring state if all digits are received at once in
overlap dialing mode
2014-11-09 03:33:43 -05:00
Matteo Brancaleoni
7ec7c920d1
OPENZAP-220 fix blocked into read and add cause for a correct hangup
2014-10-07 14:34:39 +02: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
09198ee357
freetdm: Raise some buffer limits
2014-07-22 23:44:17 -04:00
Moises Silva
61101e325f
freetdm: ftmod_analog_em: Added support for suspending channels that are offhook
2014-07-22 23:30:53 -04:00
Moises Silva
ae9e740d7f
freetdm: ftdm_gsm: Remove some old debug code
2014-07-13 03:06:28 -04:00
Moises Silva
4bc1b731cb
freetdm: ftdmod_gsm: Allow hwdtmf parameter to accept detect or generate
...
You can now enable the hardware dtmf detection and/or generation
2014-07-13 02:46:28 -04:00
Moises Silva
ff935bb1d9
Revert "freetdm: ftmod_wanpipe: Do not attempt to initialize hwdtmf in GSM ports during shutdown"
...
This reverts commit b29a41bb1bf104113596c2f28a6cf255a1119c64.
This commit is no longer needed now that proper infrastructure has been
added to allow signaling modules to generate and detect DTMF
The feature macros should only be used for I/O module features
and not for signaling module features
2014-07-13 02:21:06 -04:00
Moises Silva
64489c54ee
freetdm: Added support for DTMF generation to be performed in the signaling modules (currently only used by the gsm signaling driver)
2014-07-13 02:16:58 -04:00
Moises Silva
e742522597
mod_freetdm: Fix several leaks on module shutdown
2014-07-13 00:35:48 -04:00
Moises Silva
b29a41bb1b
freetdm: ftmod_wanpipe: Do not attempt to initialize hwdtmf in GSM ports during shutdown
2014-07-13 00:35:48 -04:00
Moises Silva
0b6f10a6a8
freetdm: ftmod_gsm: Added support for hardware DTMF
2014-07-11 00:52:32 -04:00
Moises Silva
2b93912ef2
freetdm: Fix raw GSM AT command execution not returning the proper token count
2014-05-11 03:22:27 -04:00
Moises Silva
a82e7a7dd1
freetdm: Added gsm debug configuration parameter
2014-05-11 02:55:07 -04:00
Moises Silva
b8a32ed0f3
freetdm: Fixes for GSM module
2014-05-10 02:57:17 -04:00
Michael Jerris
d6fe10979d
remove opezap from tree, it has been replaced by freetdm
2014-05-06 11:05:54 -04:00
Moises Silva
64c678f17a
freetdm: ftdm_gsm: Fix a few compilation warnings
2014-05-01 20:28:23 -04:00
Moises Silva
99c022b1dd
FS-6500: freetdm: Add more enum compliance by defining proper enum values for FTDM_END and FTDM_ANY special state values
2014-05-01 20:24:03 -04:00
Brian West
6e8729a159
OPENZAP-222 --resolve
2014-04-18 15:18:41 -05:00
Moises Silva
c62db1a600
freetdm: ftmod_wanpipe: Remove chatty debug msg, not really useful anyways
2013-11-27 09:51:33 -05:00
Moises Silva
8469e83835
freetdm: ftmod_analog_em: Remove constant CAS debug log
2013-11-08 19:12:44 -05:00
Moises Silva
7542c5877c
freetdm: E&M: Set the line offhook when suspended
2013-11-08 02:22:36 -05:00
Moises Silva
3b0e8d9e2d
freetdm: ftmod_zt: Refactor event processing to store OOB events that arrive during read/write operations
2013-11-08 02:22:05 -05:00