Commit Graph

23474 Commits

Author SHA1 Message Date
Steve Underwood 12b5bde226 Merge branch 'master' of git.freeswitch.org:freeswitch 2012-09-04 08:59:43 +08:00
Steve Underwood 7c6f6e306c Added a free space function to the T.31 modem in spandsp, so the app doesn't
need to probe around inside the modem.
2012-09-04 08:58:43 +08:00
Stefan Knoblich f012b7abf8 ftmod_libpri: Major rework of runtime thread, lpwrap event loop, restart b-channel handling and some new features.
Add per b-channel private data (ftdm_libpri_b_data_t), move the q.931 libpri
call pointer into it and use channel->call_data to make it accessible.

Use ftdm_channel_wait() instead of select() to wait for I/O events on
the D-Channel and rewrite the timeout handling, adding support for custom
timers that can be added to the b-channel private data and started/stopped
with lpwrap_timer_start()/_stop().

The (sorted) list of active lpwrap timers is protected by the timer_mutex,
which is initialized in the now unified lpwrap_init_pri() (see below) and
destroyed in the new lpwrap_destroy_pri() function.

Unify lpwrap_init_pri() and lpwrap_init_bri(). Use the span type to select
BRI/PRI and Point-to-Point vs. Multipoint settings.

Use the new custom lpwrap timer API to implement T302 (aka overlap receiving
digit timeout). The default T302 timeout is 3000 miliseconds and can be set
via the "digit_timeout" or "t302" span configuration parameter
(0 = disable timer, valid range = 3000 ... 30000 miliseconds).

The lpwrap_pri_init() changes made it neccessarry to rewrite the span runtime
thread event loop. The d-channel initialization and libpri event handler
registration have been moved out of the event loop. The b-channel restart
handling in the event loop has been left as-is, pending a further clean up in
the future.

Rename on_info() to on_information() and add a new on_keypad_digit() event
handler to convert incoming KEYPAD DIGIT messages to channel DTMF events
(only useful on BRI PTMP NT-mode).

The channel restart handling has been improved to distinguish between locally
triggered and restarts caused by the remote end (= incoming RESTART messages).
Restarts on the D-Channel now use pri_restart(), causing a Q.921 reset on
the span.

Large patch, i'd have loved to split this into smaller pieces and actually
test some of the bits more toroughly (restart handling), but some people
are f*cking annoying, so here it is.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-03 20:35:48 +02:00
Steve Underwood f3cd4f41a0 Tweak 2012-09-03 14:39:44 +08:00
Steve Underwood 1790a8a97a Changed tiff-4.0.2 to demand autoconf 2.63 or later (which is common) rather
than 2.64 (which is currently a lot less common). This change seems to have
no negative effect, but allows builds to succeed on things like Centos.
2012-09-03 13:10:52 +08:00
Jeff Lenk e4e044e310 FS-4566 --resolve Show fs_cli banner in color(windows) 2012-09-02 21:57:20 -05:00
Steve Underwood 4d56c4c5f2 tiffconf.h is generated by a build, so it shouldn't have been put in the repo. 2012-09-03 07:52:08 +08:00
Steve Underwood cbb28e2ae0 Start introducing some meaningful TIFF/FX stuff 2012-09-02 22:10:04 +08:00
Steve Underwood 01646651ab Handle the TIFF/FX better now we have tiff-4.0.2 in the repo. 2012-09-02 21:45:08 +08:00
Steve Underwood b989f8d3eb The tiff-4.0.2 distribution's configure.ac seems to have two lines missing
AC_PROG_LIBTOOL
m4_include(m4/acinclude.m4)
Adding these and taking out all the Makefile.in files from the tiff-4.0.2
directory seems to sort out the build issues.
2012-09-02 14:38:13 +08:00
Steve Underwood 4ad110aa5b None of the tiff-4.0.2 Makefile.in files were added before, and it built OK for
me. That's not happening for everyone, so let's add them all, just like the
tiff-4.0.2 distribution package.
2012-09-02 12:55:09 +08:00
Jeff Lenk 3f64fe91cb windows fix for libtiff on last commit 2012-09-01 15:52:19 -05:00
Anthony Minessale a5e9f65e31 FS-4582 --resolve 2012-09-01 11:46:45 -05:00
Steve Underwood 92fea4a896 Those damn tiff-3.8.2 entries seem to be everywhere 2012-09-01 23:37:46 +08:00
Steve Underwood 495fd99d5d Patched the new libtiff-4.0.2 code to support TIFF/FX tags and the extra
compression and colour profile codes that go with them.
2012-09-01 21:50:47 +08:00
Steve Underwood d1ceeeb7f2 Added missing .update file for tiff-4.0.2
Hopefully made the last of the tiff-3.8.2 -> tiff-4.0.2 changes in the build files
2012-09-01 21:32:34 +08:00
Steve Underwood 1603dc70e2 This should have moved us from tiff-3.8.2 to tiff-4.0.2 . The windows builds
will need rechecking.
2012-09-01 18:45:56 +08:00
Steve Underwood a2b5af5669 Added tiff-4.0.2 as the first step in moving from libtiff 3.8.2 to libtiff 4.0.2 2012-09-01 17:59:43 +08:00
Anthony Minessale bfee2f5382 pull this code 2012-08-31 17:38:06 -05:00
Michael Jerris 200ca61731 FS-4581: --resolve use specific column names in telecast web_callback 2012-08-31 17:11:08 -04:00
Raymond Chandler f05089b965 Merge branch 'master' of fs-git:freeswitch 2012-08-31 16:41:57 -04:00
Raymond Chandler 6ed3218f8a FS-4558: add uuid 2012-08-31 16:35:13 -04:00
Anthony Minessale 6e39233840 queue in-dialog message to the session 2012-08-31 15:28:02 -05:00
Anthony Minessale 984b27c68d add sip_wait_for_aleg_ack var 2012-08-31 14:49:21 -05:00
Kapil 4569bbec22 redmine task# 5692 fix, changing log level for link error cases 2012-08-31 11:54:24 -04:00
Anthony Minessale a8ce9ac29f tweak 2012-08-30 17:17:15 -05:00
Anthony Minessale 7d2e742feb tweak 2012-08-30 16:52:34 -05:00
Anthony Minessale 35f0e2ff3a add uuid_early_ok 2012-08-30 16:51:06 -05:00
Anthony Minessale 722919668d add channel events to message when its in-dialog 2012-08-30 16:38:31 -05:00
Anthony Minessale f43e8246f9 FS-4578 try this on dev branch HEAD 2012-08-30 16:15:03 -05:00
Anthony Minessale fea44bb2c5 add ignore_early_media=consume for hmmhesays 2012-08-30 15:14:38 -05:00
Anthony Minessale 6d2b3256c3 another efficiency pass on sofia and refactoring of 3c685bff25 to be more efficient 2012-08-30 15:26:13 -05:00
Anthony Minessale e67bb432d1 reduce log level of debug data 2012-08-30 13:18:01 -05:00
Anthony Minessale 8ed7bcd88f FS-4576 --resolve 2012-08-29 20:35:05 -05:00
Anthony Minessale c7d7bf23d3 only skip cdr on challenge calls not cancel 2012-08-29 18:35:52 -05:00
Anthony Minessale 65f2961923 add uuid_answer and uuid_pre_answer 2012-08-29 18:14:24 -05:00
Anthony Minessale 4fb38a93a4 add fire-message-events profile param 2012-08-29 15:38:01 -05:00
Anthony Minessale fb9b69f469 add fire-message-events profile param 2012-08-29 15:34:17 -05:00
Kapil Gupta 5f02dd8b36 adding mg term license validation code 2012-08-29 16:19:46 -04:00
Anthony Minessale 5c00f6638c clean up mutex app code 2012-08-29 14:42:18 -05:00
Anthony Minessale d1b0b1168a some minor regressions from the last commit 2012-08-29 14:42:00 -05:00
Anthony Minessale 82a9346486 swigall 2012-08-29 11:57:14 -05:00
Anthony Minessale c1d2624ce5 FS-4570 --resolve 2012-08-29 11:50:55 -05:00
Anthony Minessale ada8b78393 FS-4573 --resolve 2012-08-29 11:46:36 -05:00
Anthony Minessale 3c685bff25 fix double sessions on auth challenged calls 2012-08-29 10:38:37 -05:00
Anthony Minessale edad5d3348 finish up mutex app 2012-08-29 01:01:14 -05:00
Anthony Minessale b9dd32ac8f evil typo to cause regression in new core recover engine 2012-08-29 01:00:58 -05:00
Anthony Minessale 5a3a1e3b44 update last 2012-08-28 22:23:50 -05:00
Steve Underwood 9a862b6667 More cleanups of the FAX modems 2012-08-29 10:10:13 +08:00
Anthony Minessale 212953bcb4 check-in of mutex app 2012-08-28 21:11:43 -05:00