22127 Commits

Author SHA1 Message Date
Jeff Lenk
e977d15844 FS-4343 --resolve add mod_directory, mod_callcenter, mod_skypopen 2012-09-10 08:54:53 -05:00
Anthony Minessale
36cee285b0 FS-4602 --resolve 2012-09-08 16:12:35 -05:00
Steve Underwood
d26293e591 Some tweaks to spandsp 2012-09-09 01:08:15 +08:00
Jeff Lenk
6de760992f FS-4591 2012-09-07 18:28:06 -05:00
Anthony Minessale
c2893801cb add timestamps for on and off hold times to put in xml cdrs 2012-09-07 18:17:57 -05:00
Anthony Minessale
e2544415ad add chan vars to tell sip to break the rfc and expect the codec payload the other side replies with rather than the one it offered which is the correct behaviour 2012-09-07 16:50:50 -05:00
Anthony Minessale
bfc46567c1 add uuid_media_reneg api command to tell a channel to send a re-invite with optional list of new codecs 2012-09-07 15:33:09 -05:00
Anthony Minessale
cd8814844a FS-4408 fix crash caused by missing or invalid call-id in sip invite 2012-09-07 15:08:10 -05:00
Michael S Collins
a7c791d2de Update phrase_en.xml (to be recorded) 2012-09-06 15:43:01 -07:00
Stefan Knoblich
17329d04ad ftmod_libpri: Print warning message in lpwrap_stop_timer(), if timer is not on the active list
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-07 00:04:40 +02:00
Stefan Knoblich
a035182582 ftmod_libpri: Append new lpwrap timers in correct order.
List is sorted in ascending order of expiration time,
fix the if clause in lpwrap_start_timer().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-07 00:02:32 +02:00
Anthony Minessale
cbefc9dae1 fix logic in dmachine parser for overlap bindings so they work regardless of the order they are bound 2012-09-06 11:54:03 -05:00
Steve Underwood
2051237c74 Merge branch 'master' of git.freeswitch.org:freeswitch 2012-09-07 00:42:44 +08:00
Steve Underwood
cc73cb6544 Some tweaks to spandsp tests. Make spandsp write TIFF files more like the
TIFF/FX spec says, even though no software seems to care.
2012-09-07 00:41:41 +08:00
Anthony Minessale
d528ceee19 regression from a9d72bc35d0e021f8db1ea480b1ddb0744d73bac 2012-09-06 11:32:50 -05:00
Anthony Minessale
4cb0e2e5bd protect against case with null sofia_private in callback 2012-09-06 10:59:39 -05:00
Anthony Minessale
77de3905ee one more try 2012-09-05 13:48:52 -05:00
Anthony Minessale
d45db89833 second try at sip_wait_for_aleg_ack 2012-09-05 13:11:32 -05:00
Anthony Minessale
352b1903da FS-4593 please test this and post logs if necessary 2012-09-05 12:47:47 -05:00
Anthony Minessale
8650116d20 move verbos zrtp debug messages to log level DEBUG1 fsctl debug_level 1 to see them 2012-09-05 11:36:11 -05:00
Michael S Collins
8622f5cc33 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-09-05 09:28:59 -07:00
Anthony Minessale
3dc829afa1 remove .la files on modwipe 2012-09-05 11:29:39 -05:00
Michael S Collins
f79668d57a Update phrase_en.xml for sounds ver 1.0.21 2012-09-05 09:28:43 -07:00
Anthony Minessale
709e4fb28a add make version target 2012-09-05 11:20:17 -05:00
Anthony Minessale
8ec031e7c9 let callers delete themselves on reload 2012-09-05 11:12:06 -05:00
Jeff Lenk
528d10319f fix naming issue in last mod_managed change - trivial 2012-09-04 23:32:59 -05:00
Anthony Minessale
a9d72bc35d fix small broadcast bug 2012-09-04 19:08:06 -05:00
Stefan Knoblich
4ffcb7c9ef ftmod_libpri: Improve RESTART handling, add PTP NT idle channel restart and T316.
Do not try to send RESTART on BRI PTMP spans, libpri will just print
an error and do nothing, causing the channels to be stuck in RESTART
forever.

Add T316 (RESTART ACK timeout), which is not implemented by libpri.
The default timeout is 30 seconds (Q.931 recommends 2 minutes, but
that is a little long and libpri layer 2 is being stupid) and the
restart attempt limit to 3 (instead of 2).

Periodically send RESTART on idle b-channels in PTP NT mode.
Default interval is 15 minutes, feature can be disabled by setting
"idle_restart_interval" to 0 in the span configuration.

Allow timeout / interval values to have an additional time unit
suffix for convenience reasons, the default (no unit specified)
is milliseconds, valid units include:

	w (week), d (day), h (hour), m (minute), s (second)

Only full integers are accepted, no fractional numbers, valid examples:

	2w   = two weeks
	37m  = 37 minutes
	1h   = 1 hour

Combinations of multiple numbers and units (e.g. "1w5d") are not supported.

New span configuration parameters:

	idle_restart_interval		(milliseconds / time unit suffix /
					 0 = disabled)

	t316 / restart_timeout		(milliseconds / time unit suffix)
	t316_limit / restart_attempts	(number of max. attempts)

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-05 00:42:32 +02:00
Stefan Knoblich
1a47eb933b ftmod_libpri: Reset timer parameters in lpwrap_run_expired() before invoking the callback.
Allowing us to restart the timer from the callback with lpwrap_start_timer().

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-05 00:42:32 +02:00
Anthony Minessale
de0f311f2d FS-4591 --resolve 2012-09-04 15:07:09 -05:00
Anthony Minessale
76dd6db3a2 swigall 2012-09-04 13:08:41 -05:00
Anthony Minessale
b01976942c also allow early_ok flag on caller_channel 2012-09-04 12:38:29 -05:00
Anthony Minessale
455b22480c FS-3971 --resolve 2012-09-04 12:30:23 -05:00
Anthony Minessale
ff3631b474 sigh 2012-09-04 11:13:52 -05:00
Anthony Minessale
07684b2dcb forgot one 2012-09-04 11:13:52 -05:00
Anthony Minessale
945d1141c5 set channel vars with result of group dial 2012-09-04 11:25:04 -05:00
Anthony Minessale
52f98724c0 make tiff work on older automistake 2012-09-04 11:01:36 -05:00
Anthony Minessale
fbdc05d030 fix build (need make spandsp-reconf) 2012-09-04 11:03:53 -05:00
Travis Cross
7b23b41508 Remove suggestion to use git-buildpackage 2012-09-04 14:57:29 +00:00
Travis Cross
38ae10ab03 Expand an unbound variable in docs 2012-09-04 14:56:01 +00:00
Travis Cross
2ad1f28295 Expand docs on debian packaging process 2012-09-04 14:53:34 +00:00
Steve Underwood
ce82b7b927 Merge branch 'master' of git.freeswitch.org:freeswitch 2012-09-04 12:12:11 +08:00
Steve Underwood
0eb7d60da9 Some cleanups of the FAX code, so it accesses some of the FAX engine's
internal data through the proper mechanisms, instead of directly poking
around inside.
2012-09-04 12:10:16 +08:00
Jeff Lenk
8c9ddd95ed tiff add missing file required by makefile.am 2012-09-03 22:39:25 -05:00
David Yat Sin
e64e551612 Removed 2012-09-03 23:30:49 -04:00
David Yat Sin
3a57b0bed6 Merge remote branch 'fsorig/master' into nfas
Conflicts:
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_cntrl.c
	libs/freetdm/src/ftmod/ftmod_sangoma_isdn/ftmod_sangoma_isdn_stack_hndl.c
2012-09-03 22:34:13 -04:00
David Yat Sin
b0f6e0384d freetdm - ISDN:Fix for invalidating logical span id = 0 for nfas 2012-09-03 22:26:03 -04:00
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