Stefan Knoblich
391d498cbe
ftmod_r2: Fix format string errors.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 20:07:18 +02:00
Moises Silva
af31a8cb61
freetdm: OPENZAP-158 --resolve map operator calling party category in the openr2 module
2011-06-16 12:32:04 -04:00
Arnaldo Pereira
65a324b8ba
freetdm: ftmod_r2 - consider force_release and overwrite the disconnect cause,
...
on incoming calls, when it's set.
2011-05-05 12:22:18 -04:00
Arnaldo Pereira
e497784ade
freetdm: ftmod_r2 - take charge_calls parameter into consideration when accepting a call
2011-05-05 12:04:15 -04:00
Moises Silva
4b9355003e
Merge branch 'netborder'
2011-03-21 15:34:05 -04:00
Moises Silva
4c6789b364
freetdm: allow setting the sig status in alarmed channels (bugzilla 6441)
2011-03-21 15:16:38 -04:00
Moises Silva
7e5befc2ba
freetdm: use ftdm_channel_hangup_with_cause for CAS channels (ftmod_r2)
2011-03-01 12:16:27 -05:00
Moises Silva
244e7c7610
Merge remote branch 'origin/davidy.ftdm_variables3' into netborder.tmp
2011-02-25 17:17:29 -05:00
Moises Silva
f614a52fbb
freetdm: ftmod_r2 - Use unallocated number as reason to reject collect calls
...
Brazil, the only country using this do not really makes a difference
2011-02-25 12:45:01 -05:00
Moises Silva
f785fa11e4
freetdm: fix bugzilla 5600 - allow_collect_calls ftmod_r2 param not implemented
2011-02-24 21:02:51 -05:00
Moises Silva
269906c891
freetdm: Added support for hardware (native) R2 MF generation
2011-02-24 18:41:07 -05:00
David Yat Sin
7b1da2316b
freetdm: Updated signalling modules to not set channel state to DIALING on OUTGOING_CALL_FUNCTION
2011-02-18 13:21:05 -05:00
Moises Silva
7b30aec93d
freetdm: ftmod_r2 - check fclose return value when dumping IO
2011-02-15 16:34:52 -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
c81bf01fc9
freetdm: ftmod_r2 - set MF dump directory default to logdir
2011-02-14 14:44:38 -05:00
Moises Silva
1842798e95
freetdm: ftmod_r2 - check for io dump file errors on open
2011-01-27 17:02:04 -05:00
Moises Silva
137de40121
freetdm: ftmod_r2 - change warning to notice for hangup cause mapping
2011-01-18 14:09:42 -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
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
04d5652819
freetdm: fix incorrect alarm reporting due to Wanpipe bug
...
proper alarm handling for R2 calls
2011-01-14 18:43:42 -05:00
Moises Silva
8a26a6f6d2
freetdm: ftmod_r2 - map glare cause
2011-01-12 10:53:38 -05:00
Moises Silva
baac734ec4
freetdm: more R2 glare improvements
2011-01-10 17:19:51 -05:00
Moises Silva
2cfd09c35c
freetdm: initial glare handling code
2011-01-07 16:00:06 -05:00
Arnaldo Pereira
a390e046b7
freetdm: ftmod_r2 - now locking the channel on main loop start and finish
...
replaced calls to ftdm_mutex_lock() with ftdm_channel_lock()
2011-01-04 20:07:22 -02: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
39d58e0452
freetdm: - Update ftmod_sangoma_isdn to use core state advance
...
- Added locking documentation (docs/locking.txt)
- Updated core state advance to use state processor in span
rather than pushing the processor in the function arguments
2010-12-31 09:42:15 -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
Moises Silva
568013bc60
freetdm: initial changes to make FreeTDM APIs non-blocking
2010-12-23 15:39:20 -05:00
Arnaldo Pereira
fa5ec0e553
freetdm: core - changed behavior of ftdm_channel_close(). instead of returning if the channel isn't
...
opened, not it prints a warning and proceeds to close it.
ftmod_r2 - added handler for FTDM_CHANNEL_STATE_RESET state
2010-12-23 18:15:37 -02:00
Moises Silva
525b0978ca
freetdm: ftmod_r2 - use openr2 API extension to properly report incoming restricted ANI and restrict ANI on outgoing calls
2010-12-22 15:07:32 -05:00
Arnaldo Pereira
f5c36acfe2
freetdm: mod_freetdm - updated api commands help
...
ftmod_r2 - updated api help and removed references to threads per channel,
not used anymore
2010-12-21 13:31:21 -02:00
Moises Silva
87818abedd
Merge remote branch 'fsorig/master'
2010-12-17 20:31:15 -05:00
Moises Silva
a1a50c87ec
freetdm: OPENZAP-123 - Restrict ANI presentation in ftmod_r2 (Patched by ric)
2010-12-17 19:33:43 -05:00
Moises Silva
d349290f7b
freetdm: fix OPENZAP-125 (Add basic calling party category support into ftmod_r2) (Patched by ric)
2010-12-17 19:26:43 -05:00
Arnaldo Pereira
6b52208957
freetdm: core - moved validation of sigstatus from implementation to core, on sigstatus getters/setters
...
core - locking the channel on ftdm_channel_get_sig_status() and ftdm_channel_set_sig_status(),
but not on ftdm_span_get_sig_status() nor ftdm_span_set_sig_status()
ftmod_r2 - locking channels on ftdm_r2_get_span_sig_status() and ftdm_r2_set_span_sig_status()
2010-12-17 18:28:57 -02:00
Arnaldo Pereira
d3a24be0ba
freetdm: ftmod_r2 - updated ftdm_r2_set_channel_sig_status() to notify the user of signaling changes
...
just when specified on docs/sigstatus.txt.
also updated ftdm_r2_set_span_sig_status(), so that it uses the former to set channels
status, instead of doing it directly.
2010-12-17 15:50:11 -02:00
Arnaldo Pereira
a134136ee7
freetdm: ftmod_r2 - notify the core when we change the signaling status of a channel or span through the api
2010-12-16 19:44:32 -02:00
Arnaldo Pereira
43dd86fb96
freetdm: ftmod_r2 - small code clean
2010-12-16 18:47:40 -02:00
Arnaldo Pereira
6b66a0516b
freetdm: ftmod_r2 - fixed infinite loop on span stop
2010-12-16 18:19:50 -02:00
Arnaldo Pereira
37753892f1
Merge branch 'master' of git@git.sangoma.com:smg_freeswitch
2010-12-16 17:01:37 -02:00
Arnaldo Pereira
a082c9e913
freetdm: ftmod_r2 - implemented ftdm_r2_get_span_sig_status() and ftdm_r2_set_span_sig_status()
...
mod_freetdm - created sigstatus api command
2010-12-16 17:01:06 -02:00
David Yat Sin
ccbc2ed93c
Merge branch 'davidy.mapped_raw_traces'
2010-12-15 16:45:15 -05:00
David Yat Sin
dd345b913b
freetdm: Support for RAW traces
2010-12-15 16:29:03 -05:00
Arnaldo Pereira
72f99898d2
freetdm: ftmod_r2 - updated warning message
2010-12-15 18:48:49 -02:00
Arnaldo Pereira
20ba5da479
freetdm: ftmod_r2 - implemented set_channel_sig_status()
2010-12-15 18:08:55 -02:00
Arnaldo Pereira
dcdbeff9d8
freetdm: ftmod_wanpipe - now receiving ftdm macros for channel polling, instead of using POLLPRI, etc., directly
...
ftmod_r2 - also using ftdm macros for polling
2010-12-15 17:43:40 -02:00
Moises Silva
1c01144c20
freetdm: open all media dumps as binary. Fixes Windows corrupted cores.
2010-12-14 16:55:40 -05:00
Moises Silva
c6417fa2b3
freetdm: ftmod_r2 - disable MF dump for forward calls on call accepted
2010-12-14 16:50:10 -05:00
Moises Silva
a2faee2023
freetdm: ftdm_r2 - fix stats
2010-12-13 16:27:51 -05:00
Moises Silva
19c0026581
Merge remote branch 'fsorig/master'
2010-12-12 19:32:36 -05:00