Commit Graph

1698 Commits

Author SHA1 Message Date
Moises Silva 9bb344783d freetdm: remove collision event string 2011-01-19 16:25:33 -05:00
Moises Silva 7d13655b74 Merge branch 'master' of git.sangoma.com:smg_freeswitch 2011-01-19 15:53:28 -05:00
Moises Silva 0fdc272b25 freetdm: open wanpipe devices as non-exclusive if possible 2011-01-19 15:53:01 -05:00
David Yat Sin 7fb1abf758 Merge branch 'master' of git://git.freeswitch.org/freeswitch 2011-01-19 14:48:59 -05:00
David Yat Sin 6fd468043b freetdm: fix for closing d-channel when channel is already closed by freetdm core 2011-01-19 14:46:28 -05:00
David Yat Sin bc2d331feb Merge branch 'master' of git://git.freeswitch.org/freeswitch 2011-01-19 14:21:29 -05:00
David Yat Sin 5ffc6b437d Merge branch 'master' of git.freeswitch.org:freeswitch 2011-01-19 14:18:35 -05:00
David Yat Sin 1fcffcfbc3 added documentation 2011-01-19 14:18:23 -05:00
Moises Silva 54c0d6f7c4 freetdm: workaround for Visual C++ 9.0 failing to compile ftdm feature macros 2011-01-19 11:38:27 -05:00
Moises Silva 9c8ce46b90 Merge branch 'netborder' 2011-01-18 16:20:33 -05:00
Moises Silva 163dd05660 freetdm: add ftdm_call_utils.h to the installed headers 2011-01-18 16:10:14 -05:00
David Yat Sin c64f4753b3 freetdm: added missing cause enums from Q.850 2011-01-18 14:36:30 -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 9a545bd0c9 freetdm: doh 2011-01-18 13:21:31 -05:00
Moises Silva 51985ca69a freetdm: fix FTDM_IS_DCHAN macro 2011-01-18 13:15:04 -05:00
Moises Silva 44ac5d8b99 Merge branch 'master' of git.sangoma.com:smg_freeswitch 2011-01-18 13:14:25 -05:00
Moises Silva 07fa8a4a72 freetdm: fix windows ftmod_wanpipe bug on link connect/disconnect 2011-01-18 13:13:30 -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 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 99cab144b5 Merge branch 'master' of git.sangoma.com:smg_freeswitch 2011-01-17 19:15:34 -05:00
Moises Silva f3082c7d75 freetdm: enable ec only upon SIGEVENT_PROGRESS_MEDIA 2011-01-17 19:15:02 -05:00
Moises Silva 6fc0bb0886 Merge remote branch 'fsorig/master' 2011-01-17 18:21:56 -05:00
David Yat Sin 585cb68ad4 freetdm: support parameters: outbound-bc-user-layer1 and outbound-bc-transfer-cap 2011-01-17 17:21:24 -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 a020724030 freetdm: add deprecate warning to get last error stuff that nobody sets anyways 2011-01-17 12:44:52 -05:00
Moises Silva a41974e580 Merge remote branch 'fsorig/master' 2011-01-14 18:46:09 -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 ecfa33e9e4 Merge branch 'master' of git.freeswitch.org:freeswitch 2011-01-14 16:10:25 -05:00
David Yat Sin 7311029685 freetdm - adjusted loggign on channel_call_indicate 2011-01-14 16:10:13 -05:00
David Yat Sin 4ee4c67003 Removed unused SIGEVENT 2011-01-14 12:52:37 -05:00
David Yat Sin 33bb9b834d freetdm - ISDN Allowed state change from RING to PROGRESS_MEDIA 2011-01-14 10:48:09 -05:00
Stefan Knoblich dff01c07f1 [ftmod_libpri] Use FTDM_SPAN_USE_PROCEED_STATE and rework state handling.
- Use the newly introduced FTDM_SPAN_USE_PROCEED_STATE flag and FTDM_CHANNEL_STATE_PROCEED.

- Update ftmod_libpri's state machine table (taken from ftmod_sangoma_isdn).

- Move pri_destroycall() to HANGUP_COMPLETE state.

- Try to get a little bit closer to the ISDN states by using pri_acknowledge() in RINGING,
  pri_progress() in PROGRESS and pri_proceeding() in PROCEED state.

- Go to PROGRESS_MEDIA in on_progress() only if there is inband indication available, go to
  PROGRESS if not.

- Go to RINGING state in on_ringing() and remove PROGRESS_MEDIA check.

NOTE: One libpri error message and a VETO (PROGRESS -> RINGING) warning to investigate,
      but changes seem to work fine nonetheless.

Tested-by: SparFux (#freeswitch / #freeswitch-de  @ irc.freenode.net)
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
2011-01-13 23:28:00 +01:00
David Yat Sin bba8aefca0 freetdm: ISDN-Fix for d-channel indexing, causing improper configuration on non-consecutive logical spans 2011-01-13 16:28:31 -05:00
David Yat Sin 03ae958ce4 freetdm; TON/NPI defaults to unknown for Euroisdn 2011-01-13 15:13:56 -05:00
Moises Silva 771caca78d freetdm: update glare.txt doc 2011-01-12 14:36:03 -05:00
Moises Silva 3594419622 Merge branch 'master' into moy.r2glare 2011-01-12 13:37:05 -05:00
Moises Silva 946f47f189 freetdm: fix wp config message 2011-01-12 13:16:45 -05:00
Moises Silva 8a26a6f6d2 freetdm: ftmod_r2 - map glare cause 2011-01-12 10:53:38 -05:00
David Yat Sin 45340d8017 freetdm: added fix for hangup cause sometimes set to 0 during glare 2011-01-11 16:20: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 85e107a56e freetdm: set channel name before caller profile
otherwise the channel name is not set in 'show channels'
2011-01-11 14:53:14 -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
Brian West e42c423c92 add tab completion stuffs 2011-01-10 14:44:54 -06:00
David Yat Sin 22ba5b3560 freetdm : Progress indicator not sent by default on outgoing calls 2011-01-10 12:03:49 -05:00