]>
git.ipfire.org Git - thirdparty/freeswitch.git/log
Stefan Knoblich [Wed, 11 Jul 2012 18:24:35 +0000 (20:24 +0200)]
FreeTDM: Improve error checking and logging in load_config(), add FTDM_SPAN_IS_DIGITAL() helper.
Output the current trunk_type in "add X-channel vs. trunk_type" error messages and
check this for B-/D-channels too.
ISDN (= digital) spans need to have a trunk_type set before adding channels,
bail out early with an error message (actually two) if this is not the case.
(Adding channels should really be moved out of the parsing loop, to catch
certain types of errors easier.)
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Michael S Collins [Wed, 11 Jul 2012 18:10:33 +0000 (11:10 -0700)]
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
Michael S Collins [Wed, 11 Jul 2012 18:10:24 +0000 (11:10 -0700)]
Add dump_events.pl script
Stefan Knoblich [Wed, 11 Jul 2012 17:15:35 +0000 (19:15 +0200)]
FreeTDM: Add trunk mode (NET/CPE) to span configuration in freetdm.conf and use it in ftmod_misdn and ftmod_libpri.
Some I/O implementations (e.g. mISDN) need this information to correctly
set up the port configuration. In FreeTDM, the mode of a span has been.
up until now, a part of the signalling module configuration ("node" or "mode"
for libpri and isdn spans), which is parsed _after_ the I/O part of a span
has been initialized. This limitation currently prevents us from using mISDN
in NT mode.
To work around this problem (without adding a lot of new tunk_type values like "E1_NET" etc.),
add a new "trunk_mode" parameter to the span categories in freetdm.conf, which by default
is "CPE" for all trunk types, except "FXS" (which defaults to "NET").
ftmod_misdn uses trunk_type + trunk_mode to correctly choose the d-channel protocol
for a port.
ftmod_libpri uses trunk_mode as a hint for the default "mode" setting.
(NOTE: It will print a warning if trunk_mode and signalling mode do not match.)
All other modules currently ignore the value of trunk_mode.
Example freetdm.conf snippet for a mISDN span in NET/NT mode
(using a HFC-S USB dongle):
[span misdn MBRI_1]
trunk_type => BRI_PTMP
trunk_mode => NET
b-channel => HFC-S_USB.1:1-2
d-channel => HFC-S_USB.1:3
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Wed, 11 Jul 2012 15:21:49 +0000 (17:21 +0200)]
FreeTDM: Move custom backtrace code into ftdm_backtrace_walk() and helper functions.
Portability fix for uClibc and other (linux) environments that lack execinfo.h.
ftdm_backtrace_walk() and related return FTDM_NOTIMPL and print a message
if backtraces are not available in the current environment.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Jeff Lenk [Wed, 11 Jul 2012 12:52:20 +0000 (07:52 -0500)]
fix build related issues on windows - trivial
Stefan Knoblich [Tue, 10 Jul 2012 22:50:46 +0000 (00:50 +0200)]
freeswitch: Add more cmdline options to control file locations.
Setting the base_dir variable didn't work so this will have to be
enough for now.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Tue, 10 Jul 2012 22:16:21 +0000 (00:16 +0200)]
freeswitch: Show user/group name in error message if change_user_group() fails.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Tue, 10 Jul 2012 22:14:01 +0000 (00:14 +0200)]
freeswitch: Create struct rlimit rlp where it is needed (move down into block scope).
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Tue, 10 Jul 2012 22:12:57 +0000 (00:12 +0200)]
freeswitch: Whitespace clean up in switch.c.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Tue, 10 Jul 2012 22:11:59 +0000 (00:11 +0200)]
freeswitch: Clean up daemonize().
Whitespace and indentation clean up.
Use EXIT_SUCESS/_FAILURE.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Tue, 10 Jul 2012 21:32:42 +0000 (23:32 +0200)]
freeswitch: Rework option handling in main() and other clean ups.
Use a chain of "else if" statements, drop known_opt completely.
Added bonus: We stop trying to parse option arguments as (possible) options.
Arguments of -u/-g and path options (-conf) now check whether their argument
starts with a dash ('-') and error out in case it does (= next option, not a valid argument).
Use PATH_MAX for everything that stores files / directories.
Use switch_bool_t and SWITCH_TRUE/_FALSE for boolean variables.
Use EXIT_SUCCESS/_FAILURE for exit() calls.
Get rid of excessive indenting (especially in the win32 parts of main()).
NOTE: Win32 parts untested.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Tue, 10 Jul 2012 13:08:59 +0000 (15:08 +0200)]
freeswitch: Move usage description out of main() and improve cmdline option handling.
Move empty cmdline option string check and "-help/-h/-?" handling to top of loop.
Emit a proper error message for unknown options. (Just displaying the
usage description, but not telling the user which option was wrong, is bad mojo).
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Stefan Knoblich [Tue, 10 Jul 2012 12:47:38 +0000 (14:47 +0200)]
freeswitch: Use switch_strlen_zero() to check for empty strings.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Anthony Minessale [Wed, 11 Jul 2012 04:04:16 +0000 (23:04 -0500)]
FS-4406 please test asap and report back
Anthony Minessale [Wed, 11 Jul 2012 03:44:11 +0000 (22:44 -0500)]
FS-4370 --resolve
Anthony Minessale [Tue, 10 Jul 2012 18:32:35 +0000 (13:32 -0500)]
add wait handler to forking code in ivrd
Anthony Minessale [Tue, 10 Jul 2012 18:28:38 +0000 (13:28 -0500)]
Anthony Minessale [Tue, 10 Jul 2012 17:05:26 +0000 (12:05 -0500)]
come to ClueCon its in one month
Michael S Collins [Tue, 10 Jul 2012 16:28:26 +0000 (09:28 -0700)]
Minor update to Spanish phrase files
Stefan Knoblich [Tue, 10 Jul 2012 12:30:01 +0000 (14:30 +0200)]
mod_sofia: Use switch_add_event_header_string() for string values.
Errors fixed:
sofia.c: In function 'sofia_handle_sip_i_refer':
sofia.c:7323:5: error: format not a string literal and no format arguments
sofia.c:7324:5: error: format not a string literal and no format arguments
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Anthony Minessale [Fri, 2 Sep 2011 21:59:59 +0000 (16:59 -0500)]
don't parse signals in the set_running_state function to avoid livelock situation
Anthony Minessale [Mon, 9 Jul 2012 15:56:04 +0000 (10:56 -0500)]
FS-4378 add sofia::error custom event
Anthony Minessale [Mon, 9 Jul 2012 15:37:15 +0000 (10:37 -0500)]
FS-4404 --resolve
Jeff Lenk [Sun, 8 Jul 2012 14:10:28 +0000 (09:10 -0500)]
FS-4219 --resolve
Anthony Minessale [Fri, 6 Jul 2012 22:54:17 +0000 (17:54 -0500)]
come to cluecon will ya
Anthony Minessale [Fri, 6 Jul 2012 22:53:44 +0000 (17:53 -0500)]
come to cluecon will ya
Moises Silva [Fri, 6 Jul 2012 22:43:03 +0000 (18:43 -0400)]
freetdm: Try to be more foolproof when creating an iterator for an empty span
to avoid triggering asserts later
Anthony Minessale [Fri, 6 Jul 2012 22:20:38 +0000 (17:20 -0500)]
add Current-Energy to conference events
Anthony Minessale [Fri, 6 Jul 2012 21:16:51 +0000 (16:16 -0500)]
FS-4364 --resolve
David Yat Sin [Fri, 6 Jul 2012 19:23:37 +0000 (15:23 -0400)]
Freetdm: Fix for 64-bit check on Ubuntu
David Yat Sin [Fri, 6 Jul 2012 16:04:52 +0000 (12:04 -0400)]
chlog:Support for send-connect-ack parameter
Anthony Minessale [Fri, 6 Jul 2012 16:12:14 +0000 (11:12 -0500)]
FS-4382 --resolve
Anthony Minessale [Fri, 6 Jul 2012 15:55:53 +0000 (10:55 -0500)]
FS-4397 --resolve
Stefan Knoblich [Wed, 27 Jun 2012 09:23:15 +0000 (11:23 +0200)]
ftmod_libpri: Add doxygen documentation for new MSN/DDI filter functions.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
Anthony Minessale [Thu, 5 Jul 2012 21:42:49 +0000 (16:42 -0500)]
have sql thread manually subscribe to each event it cares about instead of every event and filtering it
Anthony Minessale [Thu, 5 Jul 2012 19:45:11 +0000 (14:45 -0500)]
doh
Anthony Minessale [Thu, 5 Jul 2012 19:29:48 +0000 (14:29 -0500)]
add space
Anthony Minessale [Thu, 5 Jul 2012 19:27:32 +0000 (14:27 -0500)]
come to cluecon
Anthony Minessale [Thu, 5 Jul 2012 17:34:09 +0000 (12:34 -0500)]
add execute_on_post_originate and api_on_post_originate to run on chosen newly originated channels vs execute_on_originate which runs on all candidates
Anthony Minessale [Thu, 5 Jul 2012 17:04:30 +0000 (12:04 -0500)]
FS-4374 moving the memory to the heap, this should take care of the problem for sure
Anthony Minessale [Thu, 5 Jul 2012 16:42:07 +0000 (11:42 -0500)]
FS-4335 please update and try this
Mathieu Rene [Thu, 5 Jul 2012 13:32:06 +0000 (09:32 -0400)]
Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3
Darren Schreiber [Thu, 5 Jul 2012 08:47:07 +0000 (01:47 -0700)]
Avoid segfault and race condition when socket is destroyed while listener is in use.
kapil [Thu, 5 Jul 2012 05:09:36 +0000 (10:39 +0530)]
adding code for sending termination service change and respective CLI
command
Jeff Lenk [Thu, 5 Jul 2012 04:06:32 +0000 (23:06 -0500)]
FS-4387 --resolve
David Yat Sin [Wed, 4 Jul 2012 21:52:37 +0000 (17:52 -0400)]
Merge branch 'releases.3.4' of ssh://git.sangoma.com/smg_freeswitch into releases.3.4
Michael S Collins [Wed, 4 Jul 2012 19:09:32 +0000 (12:09 -0700)]
Add phrase macro with funny prompts and sample dp x9386 (9FUN)
Mathieu Rene [Wed, 4 Jul 2012 18:46:30 +0000 (14:46 -0400)]
Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3
kapil [Wed, 4 Jul 2012 16:27:19 +0000 (21:57 +0530)]
Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
kapil [Wed, 4 Jul 2012 16:22:44 +0000 (21:52 +0530)]
Audit code commit
Steve Underwood [Wed, 4 Jul 2012 15:57:30 +0000 (23:57 +0800)]
More tweaks for spandsp.
Steve Underwood [Wed, 4 Jul 2012 14:51:46 +0000 (22:51 +0800)]
A lot of tweaks to clean up some inconsistencies in spandsp. They should
have no functional effect.
Mathieu Rene [Wed, 4 Jul 2012 14:51:42 +0000 (10:51 -0400)]
Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3
James Zhang [Wed, 4 Jul 2012 14:09:19 +0000 (10:09 -0400)]
ss7: fix on last fix, make enough memory for bad encode cases
James Zhang [Wed, 4 Jul 2012 14:00:23 +0000 (10:00 -0400)]
ss7: fix a wired crash on remind ticket 4972
- change dynamic memory allocation/deallocation to char array
Anthony Minessale [Tue, 3 Jul 2012 22:15:14 +0000 (17:15 -0500)]
add enable-use-system-time param to switch.conf.xml use at your own risk, someone with windows could verify it works ok
David Yat Sin [Tue, 3 Jul 2012 20:35:31 +0000 (16:35 -0400)]
Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
David Yat Sin [Tue, 3 Jul 2012 20:35:06 +0000 (16:35 -0400)]
Added freeradius-client
David Yat Sin [Tue, 3 Jul 2012 20:04:43 +0000 (16:04 -0400)]
Added mod_rad_auth
Anthony Minessale [Tue, 3 Jul 2012 18:53:29 +0000 (13:53 -0500)]
change default
Anthony Minessale [Tue, 3 Jul 2012 18:35:08 +0000 (13:35 -0500)]
add v18_mode var
James Zhang [Tue, 3 Jul 2012 18:29:50 +0000 (14:29 -0400)]
sip: add receiver report to rtcp
- only one to one rtcp is supported for currently
- jitter stats and loss stats are not real
Anthony Minessale [Tue, 3 Jul 2012 18:17:38 +0000 (13:17 -0500)]
fix regression with proxy_packet flag
Anthony Minessale [Tue, 3 Jul 2012 16:35:41 +0000 (11:35 -0500)]
move stacksize thing into the core deeper to avoid build issues
Mathieu Rene [Tue, 3 Jul 2012 16:28:13 +0000 (12:28 -0400)]
fix conflict
David Yat Sin [Tue, 3 Jul 2012 16:07:05 +0000 (12:07 -0400)]
Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
David Yat Sin [Tue, 3 Jul 2012 16:06:47 +0000 (12:06 -0400)]
added mod_rad_cdr
Anthony Minessale [Tue, 3 Jul 2012 16:06:12 +0000 (11:06 -0500)]
FS-4380 --resolve
David Yat Sin [Tue, 3 Jul 2012 15:49:35 +0000 (11:49 -0400)]
Merge branch 'nsg-4.3' of git.sangoma.com:smg_freeswitch into nsg-4.3
David Yat Sin [Tue, 3 Jul 2012 15:48:37 +0000 (11:48 -0400)]
fixing modify mid issue
David Yat Sin [Tue, 3 Jul 2012 15:19:17 +0000 (11:19 -0400)]
Removed mod_media_gateway temporarily, will put back at end
David Yat Sin [Tue, 3 Jul 2012 14:50:41 +0000 (10:50 -0400)]
Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
David Yat Sin [Tue, 3 Jul 2012 14:50:04 +0000 (10:50 -0400)]
Added mod_media_gateway
Anthony Minessale [Tue, 3 Jul 2012 14:23:25 +0000 (09:23 -0500)]
FS-4381 --resolve
Anthony Minessale [Tue, 3 Jul 2012 13:05:41 +0000 (08:05 -0500)]
FS-4331 please test and post a new log if necessary
Jeff Lenk [Tue, 3 Jul 2012 14:01:27 +0000 (09:01 -0500)]
FS-2216 --resolve clang
Brian West [Wed, 4 Jul 2012 01:04:19 +0000 (20:04 -0500)]
update cnam.cgi
Anthony Minessale [Mon, 2 Jul 2012 19:55:45 +0000 (14:55 -0500)]
add uuid to event socket apps
Michael Jerris [Mon, 2 Jul 2012 21:46:02 +0000 (17:46 -0400)]
add to make sure config dir is there for AC_CONFIG_AUX_DIR
Michael Jerris [Mon, 2 Jul 2012 21:41:10 +0000 (17:41 -0400)]
use var for automake
Anthony Minessale [Mon, 2 Jul 2012 19:02:57 +0000 (14:02 -0500)]
FS-4331 please test this patch and regenerate logs if necessary
Michael Jerris [Mon, 2 Jul 2012 20:20:10 +0000 (16:20 -0400)]
add vm::maintenance event for mwi change
Anthony Minessale [Mon, 2 Jul 2012 18:02:18 +0000 (13:02 -0500)]
wrong commit
Anthony Minessale [Mon, 2 Jul 2012 17:53:52 +0000 (12:53 -0500)]
let campon_hold_music take precedence over the normal hold_music variable
Jeff Lenk [Mon, 2 Jul 2012 19:42:06 +0000 (14:42 -0500)]
trivial fix windows build
Anthony Minessale [Mon, 2 Jul 2012 19:24:14 +0000 (14:24 -0500)]
FS-4376 --resolve update and repeat 'make spandsp-reconf'
Brian West [Mon, 2 Jul 2012 19:30:39 +0000 (14:30 -0500)]
FS-4375 --resolve
Michael S Collins [Mon, 2 Jul 2012 19:00:20 +0000 (12:00 -0700)]
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
Michael S Collins [Mon, 2 Jul 2012 19:00:02 +0000 (12:00 -0700)]
Update phrase_en.xml in preparation for new recordings.
Michael S Collins [Mon, 2 Jul 2012 17:09:53 +0000 (10:09 -0700)]
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
Anthony Minessale [Mon, 2 Jul 2012 16:49:42 +0000 (11:49 -0500)]
show current process stack size from status command where supported
Michael S Collins [Mon, 2 Jul 2012 16:45:05 +0000 (09:45 -0700)]
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
Anthony Minessale [Mon, 2 Jul 2012 16:20:05 +0000 (11:20 -0500)]
FS-4374 try this: it will set the stack size for the whole app to 240 if its too big or too small, if there are system limits, fs may have to be run as root and drop privs to be allowed to change this setting
Anthony Minessale [Mon, 2 Jul 2012 16:05:56 +0000 (11:05 -0500)]
add tdd data also as a header for even lazier parsers
Anthony Minessale [Mon, 2 Jul 2012 16:04:10 +0000 (11:04 -0500)]
add trailing newlines for lazy parsers
Anthony Minessale [Mon, 2 Jul 2012 17:33:13 +0000 (12:33 -0500)]
tdd fix
Michael Jerris [Mon, 2 Jul 2012 15:55:49 +0000 (11:55 -0400)]
don't seg on no valid_terminators
Anthony Minessale [Mon, 2 Jul 2012 14:50:58 +0000 (09:50 -0500)]
FS-4373 --resolve
Jeff Lenk [Mon, 2 Jul 2012 14:04:15 +0000 (09:04 -0500)]
build fix for recent spandsp commit - windows