25 Commits

Author SHA1 Message Date
Moises Silva
38968d15fe freetdm: fake signaling status notifications in ftmod_analog 2010-12-20 16:15:41 -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
37cdd5b934 freetdm: more analog changes to attempt to make the state transitions more similar
to other signaling modules
2010-12-07 18:31:32 -05:00
Moises Silva
e0048ed24e freetdm: OPENZAP-120 - Allow FXO to bridge calls without digits 2010-12-02 16:44:34 -05:00
David Yat Sin
b814dc17ce freetdm: ISDN Changes to better match SIP-to-TDM states 2010-11-24 20:04:43 -05:00
Moises Silva
a9a31041d4 freetdm: added wait_dialtone_timeout parameter for ftmod_analog
if this parameter is set to 0 ftmod_analog will not wait
	 for dial tone before dialing out the requested number.
	 Anything bigger than 0 is the units in milliseconds to
	 wait for dialtone before aborting the call.
2010-11-20 18:18:37 -05:00
Arnaldo Pereira
f825d1b0ad merged threaded ftmod_r2.c with non-threaded version from moy and added support for receiving the events to wait for, on ftdm_span_poll_event(), which keeps its default behavior: POLLPRI if NULL is passed 2010-09-23 17:51:45 -03:00
Moises Silva
f822180fb4 freetdm: fix fxs dialtone - should be stopped on first digit 2010-08-09 10:11:17 -04:00
Moises Silva
29679dc194 freetdm/openzap: log when callwaiting feature is enabled 2010-06-11 16:14:26 -04:00
Moises Silva
6f882cbbc1 freetdm: remove unused sigevent 2010-06-07 23:44:52 -04:00
Moises Silva
b1fd88d706 freetdm: check for hw dtmf before enabling 2010-06-03 18:33:52 -04:00
Moises Silva
22d7d8cc14 freetdm: we need a channel iterator *sigh* 2010-05-25 13:35:30 -04:00
Moises Silva
7256232af2 freetdm: add call waiting disable/enable feature 2010-05-25 12:54:46 -04:00
Moises Silva
9d45690006 freetdm: add pvt data to freetdm channels
fix fxs features
2010-05-20 11:44:16 -04:00
Moises Silva
f1132a2b71 freetdm: fix handlers for FTDM_SIGEVENT_COLLECTED_DIGIT 2010-05-17 19:03:32 -04:00
Moises Silva
9c8be17f3d freetdm: wait for analog thread to be done before shutdown
add more debug logging
         fix signaling status return code in ftdm_io
2010-05-17 11:23:33 -04:00
Moises Silva
73a80ba939 start API cleanup by moving private headers and data structures into private/ include directory 2010-04-28 18:17:49 -04:00
David Yat Sin
318866b7f9 freetdm: Added signalling status report
Fix for ftmod_libpri not reporting proper physical and protocol alarms on init
2010-04-27 14:32:36 -04:00
Moises Silva
617020ea0c process alarms in the core
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1055 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-10 21:47:28 +00:00
Moises Silva
66bc2e43c8 merged 1039:1053 openzap/trunk
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1054 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-03-10 20:06:31 +00:00
Moises Silva
0d392527dc merged 956:1023 (partial merge - anything non-boost related)
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1026 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-09 22:01:15 +00:00
Moises Silva
926f140754 replace use of ani in favor of dnis in caller_data structure for the destiny number in outgoing calls
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1017 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-02-01 21:40:01 +00:00
Moises Silva
a8ddece1b6 more freetdm changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@974 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:35:11 +00:00
Moises Silva
a5bd5142da more freetdm renaming changes
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@973 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 20:08:43 +00:00
Moises Silva
900f1ed2ef Linux renaming from openzap to freetdm
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@967 a93c3328-9c30-0410-af19-c9cd2b2d52af
2010-01-15 19:22:49 +00:00