Moises Silva
933cabb53d
freetdm: do not free sigmsg if was not queued
...
fix type casting
2011-02-25 17:53:02 -05:00
Moises Silva
244e7c7610
Merge remote branch 'origin/davidy.ftdm_variables3' into netborder.tmp
2011-02-25 17:17:29 -05:00
David Yat Sin
b2b50a1030
freetdm: Removed unnecessary parameter copy
...
Added ftdm_raw_data_t
2011-02-25 12:20:32 -05:00
David Yat Sin
4b613f426c
Merge branch 'davidy.ftdm_variables3' of git.sangoma.com:smg_freeswitch into davidy.ftdm_variables3
...
Conflicts:
libs/freetdm/src/ftdm_io.c
2011-02-25 10:06:20 -05:00
David Yat Sin
49ac70defd
freetdm: User variables now stored in ftdm_usrmsg_t
2011-02-25 09:58:15 -05:00
Moises Silva
327def8c21
freetdm: Do not move to dialing if signaling module already moved the state
2011-02-24 18:45:54 -05:00
Moises Silva
62d000ed20
freetdm: remove sanity state check in outgoing function
2011-02-24 13:14:23 -05:00
Moises Silva
f785d4b3ff
Merge remote branch 'fsorig/master'
...
Conflicts:
src/mod/endpoints/mod_sofia/sofia_glue.c
2011-02-18 22:50:00 -05:00
David Yat Sin
cabd05d116
chlog: freetdm: channel/call variables moved to sigmsg
2011-02-18 13:01:57 -05:00
Moises Silva
f734891d75
freetdm: only set ec call end when the HANGUP state is confirmed
2011-02-18 10:51:36 -05:00
Moises Silva
bb797286d0
freetdm: increase size of static buffer for DSO path
2011-02-17 09:22:53 -05:00
Moises Silva
c166f5f02c
freetdm: increase size of static buffer for DSO path
2011-02-17 09:17:41 -05:00
Moises Silva
f113c323fc
Merge branch 'master' of git.sangoma.com:smg_freeswitch
2011-02-14 17:32:55 -05:00
Moises Silva
c9ee4fab73
freetdm: remove deprecated channel variables code
2011-02-14 17:32:30 -05:00
Moises Silva
e281aca346
Merge branch 'netborder' of git.sangoma.com:smg_freeswitch into netborder
2011-02-14 15:33:19 -05:00
Moises Silva
86884e5256
Merge branch 'master' into netborder
2011-02-14 15:24:02 -05:00
Moises Silva
d8add09a35
freetdm: ftmod_r2 - Disable MF dump on call accepted
...
core - Do not start DTMF debugging until media is available
2011-02-14 15:05:39 -05:00
Moises Silva
2582d71689
freetdm: use packet_len as the base length in tone generation
2011-02-10 18:00:31 -05:00
David Yat Sin
c467886267
freetdm: Added sigmsg->call_priv member that contains caller_data.priv originally set by user
2011-02-10 14:00:57 -05:00
Moises Silva
eeac03ef50
freetdm: add code to troubleshoot crash on tone generation
2011-02-09 13:26:23 -05:00
Moises Silva
3830484155
freetdm: do not expect result_cb to be set to make the interface cleaner
2011-02-07 16:06:45 -06:00
Moises Silva
be370d45eb
test
2011-01-31 15:55:50 -05:00
Moises Silva
00bba5790b
freetdm: do not enable ec on SIGEVENT_START
2011-01-24 15:20:40 -05:00
Moises Silva
1db40e60e4
freetdm: improved logic to enable/disable EC on call start/stop
...
- MFC-R2 requires tone signaling that gets screwed sometimes
if the EC is enabled during call setup.
- EC is now enabled only when switching to a state requiring
media (UP and PROGRESS_MEDIA)
- The logic is aware of EC persist option in Wanpipe
- Improved logging in ftmod_wanpipe to print EC state on startup
2011-01-18 11:28:37 -05:00
Moises Silva
f3082c7d75
freetdm: enable ec only upon SIGEVENT_PROGRESS_MEDIA
2011-01-17 19:15:02 -05:00
Moises Silva
6734fe711b
freetdm: General fixes for alarm handling and added MFCR2 suspend support
...
- Clean up ftdm_channel_set_sig_status locking and sanity checks
- Set FTDM_CHANNEL_SUSPENDED when delivering FTDM_SIGEVENT_SIGSTATUS changed to SUSPENDED
- Clear FTDM_CHANNEL_SUSPENDED when delivering FTDM_SIGEVENT_SIGSTATUS changed to UP
- Update ftmod_r2 to honor local suspend requests when returning from alarm state
2011-01-17 15:42:36 -05:00
Moises Silva
a41974e580
Merge remote branch 'fsorig/master'
2011-01-14 18:46:09 -05:00
Moises Silva
04d5652819
freetdm: fix incorrect alarm reporting due to Wanpipe bug
...
proper alarm handling for R2 calls
2011-01-14 18:43:42 -05:00
David Yat Sin
7311029685
freetdm - adjusted loggign on channel_call_indicate
2011-01-14 16:10:13 -05:00
Moises Silva
3594419622
Merge branch 'master' into moy.r2glare
2011-01-12 13:37:05 -05:00
David Yat Sin
10109165b7
Merge branch 'master' of git://git.freeswitch.org/freeswitch
2011-01-11 15:42:54 -05:00
Moises Silva
f5c5fd9cc3
freetdm: fix Windows compilation
2011-01-11 14:39:58 -05:00
David Yat Sin
62941f69d8
Added FTDM_SPAN_NON_STOPPABLE flag for signalling modules that do not support individual start/stop
2011-01-10 17:46:18 -05:00
Moises Silva
f8cb296182
freetdm: remove unused code for glare
2011-01-10 17:38:16 -05:00
Moises Silva
baac734ec4
freetdm: more R2 glare improvements
2011-01-10 17:19:51 -05:00
Moises Silva
74a01d23bc
freetdm: Added FTDM_SIGEVENT_DIALING
...
Added hunting scheme to support new ftdm_call_place API
Make ftdm_channel_call_answer use ftdm_channel_call_indicate with FTDM_CHANNEL_INDICATE_ANSWER
Updated doxygen docs in freetdm.h
2011-01-10 16:49:58 -05:00
David Yat Sin
21f8605d68
freetdm: fix for enabling DTMF detection on d-channel
2011-01-10 16:42:47 -05:00
David Yat Sin
a95a4eeee8
Freetdm: Added check for channel_on_routing called more than once on incoming calls
2011-01-10 11:29:55 -05:00
Moises Silva
2cfd09c35c
freetdm: initial glare handling code
2011-01-07 16:00:06 -05:00
Moises Silva
545ba61226
freetdm: only ack indications when the channel is nonblocking
2011-01-07 14:15:24 -05:00
Moises Silva
ac736e4e45
Merge branch 'master' into netborder
2011-01-05 13:34:28 -05:00
Moises Silva
eb84fc772f
Merge branch 'master' into netborder
...
Conflicts:
libs/freetdm/src/ftdm_io.c
libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_trace.c
libs/freetdm/src/include/freetdm.h
2011-01-05 13:11:37 -05:00
Arnaldo Pereira
4b04032bd8
freetdm: ftmod_r2 - set the FTDM_CHANNEL_USER_HANGUP flag right before changing chan state to FTDM_CHANNEL_STATE_HANGUP
2011-01-05 15:27:20 -02:00
Moises Silva
47c1b6d96a
freetdm: add validation to ftdm_span_start and ftdm_span_stop
2011-01-04 14:23:25 -05:00
Moises Silva
1334d02ac0
Merge branch 'moy.nonblocking-api'
...
Conflicts:
libs/freetdm/src/ftmod/ftmod_r2/ftmod_r2.c
2011-01-04 12:32:30 -05:00
Moises Silva
4a6b4e86f1
freetdm: add non-locking answer function to handle answer indication
...
export ftdm_current_time_in_ms to users
update testr2 to test non-blocking API (no waiting on indications)
2011-01-04 09:30:49 -05:00
Moises Silva
6f5a0e9ff5
freetdm: typo
2010-12-31 15:06:49 -05:00
Moises Silva
fe0d8d1ec5
freetdm: - updated all signaling modules (except for ftmod_isdn and ftmod_sangoma_ss7) to adapt to new core state processing
...
- fixed bug in configure.ac to detect ftmod_pritap compilation
- ignore FTDM_SIGEVENT_RELEASED and FTDM_SIGEVENT_INDICATION_COMPLETED in mod_freetdm
- Destroy the state completed interrupt on channel destroy
- Fix analog polarity reversal bug when using 3-way calling or call-swap
2010-12-31 13:44:20 -05:00
Moises Silva
6fb1e5d9c1
freetdm: free the iterator when setting channels to non-block
2010-12-29 14:08:18 -05:00
Moises Silva
090864fa39
freetdm: completed most of the code for the new core state processing
...
use new core state processing functions in ftmod_r2
2010-12-29 13:38:43 -05:00