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
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
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
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
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
fd39c5b44a
renaming CONFIG_ERROR macro to LOAD_ERROR
2012-08-15 16:11:13 -04:00
Kapil Gupta
4f8e843610
adding code to check return type of "ftdm_start_span" API
2012-08-15 14:26:09 -04:00
Stefan Knoblich
036063d2a9
mod_freetdm: Fix typo.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-08-10 17:16:05 +02:00
David Yat Sin
6906c00342
Merge branch 'releases.3.4' into releases.3.5
...
Conflicts:
src/include/switch_channel.h
src/switch_channel.c
2012-07-31 14:18:36 -04:00
root
2dc5b322dd
Added event system for TDM termination alarms
2012-07-27 21:31:24 -04:00
Mathieu Rene
898a183a0e
missing crtp init in mod_freetdm.c -- start implementing media modify
2012-07-25 18:57:32 -04:00
David Yat Sin
8b0fbe605c
Merge branch 'releases.3.5' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
...
Conflicts:
.gitignore
conf/insideout/autoload_configs/modules.conf.xml
conf/vanilla/autoload_configs/modules.conf.xml
src/mod/endpoints/mod_sofia/mod_sofia.h
src/switch_rtp.c
2012-07-25 11:15:18 -04:00
Stefan Knoblich
61cfafe6c2
FreeTDM: Move custom backtrace code into ftdm_backtrace_walk() and helper functions.
...
Portability fix for uClibc and other (linux) environments that lack execinfo.h.
ftdm_backtrace_walk() and related return FTDM_NOTIMPL and print a message
if backtraces are not available in the current environment.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 17:25:58 +02:00
James Zhang
80f72823b3
ss7: add ss7_iam_nature_connection_hex to support Nature of Connection
...
Indicator in IAM message.
- ss7_iam_nature_connection_hex is the channel variable to carry
HEX value from/to IAM message
- X-FreeTDM-IAM-NATURE-CONN-HEX is the x-header string to carry
HEX value from/to sip invite message
- This IE is 8 bit hex, which turns into 2 chars
- Only Satellite indicator, Continuity check indicator, and Echo
control device indicator are supported. Spare value are not taken.
Spare value is always set to all zero.
- example:
To set 00010101 (bit H-A), set X-FreeTDM-IAM-NATURE-CONN-HEX string
value to 15 in the sip invite message to NSG.
When NSG send out sip invite, if the incoming IAM message comes with
Nature of Connection IE, NSG will put X-FreeTDM-IAM-NATURE-CONN-HEX
in the invite x-header. For example, if the IE value is 00001010 in
the IAM, NSG will send X-FreeTDM-IAM-NATURE-CONN-HEX with value string
of "0A".
- Two characters are madatory. "0A" must be specified rather than "A". If
invalid format or characters are found, this x-header will be ommited.
- Valid characters include 0-9, A-F, and a-f
2012-06-27 12:31:35 -04:00
James Zhang
607da0f56c
ss7: adding ss7_iam_fwd_ind_hex as x-header and channel variables in hex format.
...
Read the forward call indicator IE and print it into channel variable
ss7_iam_fwd_ind_hex. If this variable exists, put it in the x-header.
This implementation takes bits of A, CB, D, E, F, HG, I from the hex
value. Bits of KJ, L, P-M are not taken and set to 0.
The hex value is H-A-P-I, H is the highest bit to A, and next is P-I.
I is the lowest bit in the whole field, and H is the highest bit in
the whole field. Refer to Q.763 chapter 3.23.
2012-06-22 17:05:15 -04:00
David Yat Sin
b44bcd5763
Added core spanflag CLI command
2012-06-20 16:28:00 -04:00
Mathieu Rene
1720e4f072
Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3
2012-06-20 12:31:07 -04:00
Mathieu Rene
166249b0b9
Check in TDM and RTP controllable channels (incomplete)
2012-06-20 12:30:08 -04:00
kapil
3b4c725b1c
fixing cli issues
2012-06-18 17:41:05 +05:30
David Yat Sin
055dc8bc4b
re-adjusted parameter names
2012-06-12 19:15:14 -04:00