Commit Graph

128 Commits

Author SHA1 Message Date
root c0f988b292 freetdm: changing call reference to generic header; removing location area code 2011-10-06 19:08:25 -04:00
Moises Silva 46f097c1b9 freetdm: ftmod_wanpipe - tx idle frames needs to be bigger 2011-08-07 01:33:26 -04:00
Moises Silva 3b2203b71b freetdm: default iostats to yes and allow configuration thru freetdm.conf 2011-08-03 20:30:39 -04:00
Moises Silva 68b887c760 freetdm: allow IO statistics access to users
added ftdm iostats command
2011-07-30 17:40:32 -04:00
David Yat Sin 818e7541fb freetdm: Increased maximum number of channels per group to 2048 2011-07-07 11:24:58 -04:00
David Yat Sin f0da8f4757 chlog: freetdm: Increased Maximum number of spans to 128 (requires libsng_isdn 7.7.2 or later) 2011-07-05 18:24:50 -04:00
David Yat Sin bd7672242c Support for AT&T *8 Transfer (VRU only) 2011-06-03 17:18:30 -04:00
Moises Silva fccbba53c3 added FTDM_SILENCE_VALUE macro 2011-05-18 19:00:42 -04:00
Moises Silva 0b59756edd Merge remote-tracking branch 'smgfs/master'
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c
2011-05-17 19:57:49 -04:00
David Yat Sin ea428669d3 chlog: freetdm - SS7: Support for Transparent IAM 2011-05-17 17:27:05 -04:00
David Yat Sin 05fa93f831 chlog: freetdm: ss7 - Support for Calling Party's Category 2011-05-10 11:38:23 -04:00
David Yat Sin 403dd0c5b0 freetdm: ISDN - Fix for segfault when setting outbound-called-npi=e164 2011-05-09 18:04:07 -04:00
Moises Silva 135bac5b6d freetdm: change a-law and u-law for alaw and ulaw as valid strings for bearer layer 1 2011-03-29 17:08:02 -04:00
Moises Silva 3a0d5b6297 freetdm: remove unused prototype for ftdm_call_clear_data 2011-02-28 12:42:43 -05:00
Moises Silva d1b3c595cf Merge branch 'netborder' of git.sangoma.com:smg_freeswitch into netborder
Conflicts:
	libs/freetdm/mod_freetdm/mod_freetdm.c
	libs/freetdm/src/ftdm_state.c
2011-02-28 10:55:40 -05:00
Moises Silva cd6eee31a2 freetdm: remove ftdm_channel_init API 2011-02-28 10:52:30 -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 49ac70defd freetdm: User variables now stored in ftdm_usrmsg_t 2011-02-25 09:58:15 -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 cabd05d116 chlog: freetdm: channel/call variables moved to sigmsg 2011-02-18 13:01:57 -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 e1c17cffe0 freetdm: use the problem freetdm define to set wp alarms 2011-01-27 16:36:45 -05:00
Moises Silva 9bb344783d freetdm: remove collision event string 2011-01-19 16:25:33 -05:00
David Yat Sin c64f4753b3 freetdm: added missing cause enums from Q.850 2011-01-18 14:36:30 -05:00
Moises Silva 51985ca69a freetdm: fix FTDM_IS_DCHAN macro 2011-01-18 13:15:04 -05:00
Moises Silva 0a38d7761e freetdm: set explicit numbers for channel commands to aid debugging 2011-01-18 12:44:41 -05:00
Moises Silva a020724030 freetdm: add deprecate warning to get last error stuff that nobody sets anyways 2011-01-17 12:44:52 -05:00
Moises Silva f06298f163 Merge branch 'master' of git.sangoma.com:smg_freeswitch 2011-01-14 18:45:03 -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 4ee4c67003 Removed unused SIGEVENT 2011-01-14 12:52:37 -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
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
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 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 4268bf84b0 freetdm: more core state refactoring, still untested 2010-12-24 15:58:04 -05:00
Moises Silva 568013bc60 freetdm: initial changes to make FreeTDM APIs non-blocking 2010-12-23 15:39:20 -05:00
Moises Silva 54359f1b78 freetdm: fix call id generation 2010-12-21 19:04:41 -05:00
Moises Silva cdfa8bf7ae freetdm: Added new OOB event FTDM_OOB_POLARITY_REVERSE
Added new channel command FTDM_COMMAND_SET_POLARITY
         ftmod_wanpipe - Added support to enqueue polarity events on FXO lines
	 ftmod_wanpipe - Added support to set polarity on FXS lines
	 ftmod_analog - Added support to answer and hangup FXO lines on polarity reverse
	 ftmod_analog - Added support to reverse polarity in the FXS line on answer and hangup
	 mod_freetdm - Added parameters answer-on-polarity, hangup-on-polarity and polarity-delay
                       to enable those analog features
2010-12-21 15:11:22 -05:00
Moises Silva b5b2f6134d freetdm: multiple fixes for the core and analog
* Replace ftdm_channel_flag_t with defines. We reached the 32bit limit where does not seem reliable
          to keep using enum.
	* Flags member for ftdm_channel_t is now uint64_t
	* Added FTDM_CHANNEL_CALL_STARTED flag to indicate when the API user knows about a call
	* Refactored raw_data member for ftdm_sigmsg_t. If raw_data needs to be freed it must be requested explicitly
          through the autofree member
	* Added collected member to ftdm_sigmsg_t for FTDM_SIGEVENT_COLLECTED data instead of using raw_data
	* Created define FTDM_DIGITS_LIMIT for DNIS/ANI digits limit
	* Fix some stat checks and outdated code in ftmod_analog
	* Refactored ftdm_channel_get_history_str API to return the time offsets and time since last state change
	* Do not send FTDM_SIGEVENT_STOP and FTDM_SIGEVENT_RELEASED on calls that were never reported to the user
2010-12-20 14:06:54 -05:00
Moises Silva dd4bad220c freetdm: ftmod_libpri - update to use proper structure member for signaling status change notifications 2010-12-19 12:55:55 -05:00
Moises Silva aa69927b8f freetdm: OPENZAP-124 - Add round robin hunting direction (Patched by Ric) 2010-12-17 20:04:30 -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 0f91359f3a Merge branch 'master' into netborder 2010-12-16 21:33:22 -02:00
Moises Silva 0f937ca134 freetdm: Add documentation on sig status 2010-12-16 18:29:45 -05:00
David Yat Sin 48a1ae3896 freetdm: added trace type to raw traces 2010-12-16 15:57:46 -05:00
David Yat Sin 53346e4948 Freetdm: exposed channel availability rate to user 2010-12-15 16:42:47 -05:00
David Yat Sin dd345b913b freetdm: Support for RAW traces 2010-12-15 16:29:03 -05:00
David Yat Sin 102640ad7b freetdm: support for SIGEVENT_RING 2010-12-15 11:45:50 -05:00