84 Commits

Author SHA1 Message Date
Moises Silva
665b12b1f5 Merge remote branch 'fsorig/master' 2010-12-21 15:23:23 -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
Jeff Lenk
a1a710482b freetdm windows build tweaks 2010-12-20 12:15:41 -06: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
David Yat Sin
56515c3a64 Minor change to allow skip states 2010-12-14 16:04:25 -05:00
David Yat Sin
905fdcc248 freetdm: Support for channel restarts 2010-12-14 11:23:47 -05:00
David Yat Sin
86c484c134 freetdm: added support for skip states, used by sangoma_isdn module 2010-12-09 18:01:31 -05:00
David Yat Sin
fced79a493 fix not handling disconnect when in RINGING state 2010-12-09 17:15:07 -05:00
David Yat Sin
3c747978f4 freetdm: support for call variables 2010-12-09 13:20:05 -05:00
David Yat Sin
a40f92674f Fix for compile error 2010-12-07 11:42:36 -05:00
David Yat Sin
96e4a6b7d6 Merge branch 'master' of git.sangoma.com:smg_freeswitch 2010-12-07 11:34:43 -05:00
David Yat Sin
b4cb165115 freetdm:Changes to transmit facilityStr in PROGRESS and ALERT messages 2010-12-07 11:33:51 -05:00
Moises Silva
5522982936 Merge remote branch 'fsorig/master' 2010-12-06 15:10:53 -05:00
David Yat Sin
74f34db2d5 freetdm: ISDN - Added support to push raw facility IE from CONNECT messages 2010-12-03 14:22:01 -05:00
David Yat Sin
2673bb77a0 freetdm: ISDN - Cause value only evaluated on switchtype=5ESS 2010-12-02 14:26:11 -05:00
David Yat Sin
90b0718d5e freetdm: fix for TON/NPI not set to default if not available from core 2010-12-02 12:21:38 -05:00
Jeff Lenk
540d486fd0 VS2010 Freetdm fix misc build settings 2010-12-01 18:42:28 -06:00
David Yat Sin
71e8ed8180 freetdm: ISDN - Fix for not being able to open d-channel when span is in alarm 2010-12-01 17:03:42 -05:00
David Yat Sin
35ba58e649 freetdm - ISDN:Fix for windows compilation issues 2010-11-30 17:48:55 -05:00
David Yat Sin
a27bdf3f5b freetdm:Changed freetdm variables 2010-11-30 12:57:43 -05:00
David Yat Sin
302d5bb18f Changes for ftdm variables 2010-11-30 12:30:31 -05:00
Moises Silva
2a00d3ea13 Merge remote branch 'fsorig/master'
Conflicts:
	conf/dialplan/default.xml
2010-11-30 12:19:42 -05:00
Jeff Lenk
7630d47e0e VS2010 Initial version for freetdm 2010-11-29 21:55:34 -06:00
Moises Silva
7a7a387f55 freetdm: improve IO stats (cherry picked from R2 branch) 2010-11-26 15:49:18 -05:00
David Yat Sin
546a2961cb Added channel-restart-on-link-up option 2010-11-26 12:59:36 -05:00
David Yat Sin
5c747b699c Fix for receiving/transmitting facility IE 2010-11-25 18:55:27 -05:00
David Yat Sin
2973776b64 changed set_facility_ie 2010-11-25 18:55:27 -05:00
David Yat Sin
b8fb8acca1 freetdm: ISDN allow change state from PROCEED to UP 2010-11-25 18:55:27 -05:00
David Yat Sin
7433a1e578 Fix for caller ID not received properly on BRI 2010-11-25 13:16:44 -05:00
David Yat Sin
b814dc17ce freetdm: ISDN Changes to better match SIP-to-TDM states 2010-11-24 20:04:43 -05:00
David Yat Sin
9f183fa4b1 freetdm: ISDN - Added pendingsignals to list of interrupts in span poll thread 2010-11-23 17:41:40 -05:00
David Yat Sin
53c41c0463 freetdm: ISDN - Fix for main loop going to sleep without processing events from IO module 2010-11-20 10:25:02 -05:00
David Yat Sin
5c128405b8 Fix for windows compile errors introduced during previous merge 2010-11-19 14:41:26 -05:00
David Yat Sin
553255c631 Fixed some windows compile warnings from merge 2010-11-19 14:33:57 -05:00
David Yat Sin
995c250518 Merged from master branch 2010-11-19 13:58:08 -05:00
David Yat Sin
65be57d212 Fixed for windows compilation issues 2010-11-16 12:41:56 -05:00
David Yat Sin
a2add13963 freetdm:Changes for shared IO 2010-11-15 19:16:09 -05:00
David Yat Sin
caacb24500 freetdm: Changes for FTDM IO commands 2010-11-15 14:13:01 -05:00
Moises Silva
f3e55a26ef Merge remote branch 'fsorig/master'
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_out.c
2010-11-15 14:00:49 -05:00
David Yat Sin
a09bce346e Fix for compilation errors due to some functions defined as extern 2010-11-15 11:46:47 -05:00
David Yat Sin
d0b6117325 FIX for windows IO 2010-11-11 18:43:53 -05:00
David Yat Sin
93aa30076b Fixed conflicts 2010-11-10 19:23:48 -05:00
David Yat Sin
086c397cdc Merge branch 'master' into netborder
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.c
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn.h
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_cntrl.c
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_support.c
	libs/freetdm/src/include/private/ftdm_core.h
2010-11-10 19:22:27 -05:00
David Yat Sin
6cbf8a0167 freetdm: ISDN - Changes to used ftdm IO for d-channel 2010-11-10 19:03:15 -05:00
David Yat Sin
6be15e958e freetdm:Fix for RDNIS not set 2010-11-10 10:38:05 -05:00
David Yat Sin
d7a136cd1a freetdm:Fix for RDNIS not set 2010-11-10 10:32:50 -05:00
Moises Silva
d872408922 freetdm: do not declare some sangoma ISDN functions as inline
as that does not work on gcc (Debian 4.3.2-1.1) 4.3.2
         and probably other compilers when the inlined function
         is not defined in the same compilation unit
2010-11-09 19:29:19 -05:00
David Yat Sin
a0b164c132 freetdm: ISDN - Fix for not waking up the line on power-saving lines 2010-11-09 16:34:34 -05:00
David Yat Sin
adc26e6316 Fixed compile error 2010-11-08 12:30:12 -05:00