Anthony Minessale
7ec09b0e56
FS-4378 --resolve 0 is success, thats the missing bit, this will work
2012-07-19 11:09:30 -05:00
Ken Rice
fa991a4731
Fix the API
2012-07-19 10:17:26 -05:00
Steve Underwood
d5fda5ea76
Made mod_spandsp default to enabling T.85 compression
2012-07-19 23:23:05 +08:00
Christopher Rienzo
1dbb05b690
more spacing fixes to mod_spandsp.
2012-07-19 13:32:42 +00:00
Anthony Minessale
ec412c07d2
typo
2012-07-18 23:02:32 -05:00
Anthony Minessale
f4715781dc
FS-4382 reverse this so you have to enable instead of disable, this patch has been causing srtp issues because the change in ssrc
2012-07-18 22:01:41 -05:00
Anthony Minessale
5867d0424d
FS-4079 please try this
2012-07-18 21:48:53 -05:00
Anthony Minessale
da18061744
FS-4444
2012-07-18 21:48:53 -05:00
Christopher Rienzo
338c173752
parse uuid and descriptor name in start_tone_detect API
2012-07-19 00:29:26 +00:00
Christopher Rienzo
0ac014da6e
use SWITCH_CHANNEL_SESSION_LOG in mod_spandsp call progress detector
2012-07-19 00:17:26 +00:00
Christopher Rienzo
913b39830f
replace spaces with tabs in mod_spandsp
2012-07-19 00:03:47 +00:00
Christopher Rienzo
797bdf3edc
Added debug-level param for spandsp tone detector
2012-07-18 20:41:07 +00:00
Anthony Minessale
d3f1eeea61
FS-4378 actually fire the event
2012-07-18 12:37:12 -05:00
Anthony Minessale
d63323977f
turn on send_silence_when_idle whenever we engage srtp
2012-07-18 12:19:47 -05:00
Jeff Lenk
ef3050f3a9
FS-4442 try this
2012-07-17 22:40:13 -05:00
Anthony Minessale
6a85ad31d2
fix regression in spandsp_tone_detect caused by some recent core changes (part 2)
2012-07-17 17:32:46 -05:00
Anthony Minessale
70c6e65e60
fix regression in spandsp_tone_detect caused by some revent core changes
2012-07-17 17:19:28 -05:00
Anthony Minessale
223244d491
FS-4435 looks ok at a glance, at least this code is isolated to the small few who actually use it so i will put it in for testing
2012-07-17 17:01:10 -05:00
Anthony Minessale
19b7e30eea
crypto tweak for dingaling
2012-07-17 14:02:36 -05:00
Anthony Minessale
f69573002c
set hard domain first
2012-07-17 13:54:39 -05:00
Anthony Minessale
b27aad913e
typo
2012-07-17 10:32:31 -05:00
Christopher Rienzo
ac3e6ba140
Forgot to allow https on http_tryget
2012-07-17 14:29:36 +00:00
Anthony Minessale
8ad5d8a6b0
FS-4317 this might help, this fixes a regression cause by another recently altered code path and it sounds similar but I never got the new logs from you so this is a guess
2012-07-16 18:47:45 -05:00
Anthony Minessale
c359dc83e3
doh
2012-07-16 17:16:10 -05:00
Anthony Minessale
cbca8b3480
FS-4428 --resolve
2012-07-16 13:53:19 -05:00
Anthony Minessale
e81d31ce43
FS-4429 --resolve you guys should come to cluecon we would like to help you get bvtapi working really well
2012-07-16 13:39:23 -05:00
Anthony Minessale
06046e3437
FS-4427 try this revision however i think its a problem with the remote client not properly preserving the headers of the srtp packets.....
2012-07-16 12:51:13 -05:00
Anthony Minessale
68d9a83e8e
enable srtp for dingaling
2012-07-16 12:44:04 -05:00
Jeff Lenk
a57669c30d
FS-4407 --resolve
2012-07-15 13:38:30 -05:00
Seven Du
5a0d9514db
set marker and ts, some endpoints depending on the marker bit to render correct video
2012-07-15 18:48:51 +08:00
Seven Du
748c15221b
enforce floor
2012-07-15 15:29:16 +08:00
Brian West
b2f0e90795
fix set user call to include domain
2012-07-15 00:05:36 -05:00
Seven Du
f55f15c888
accept binary in api and bgapi
2012-07-15 12:44:26 +08:00
Seven Du
253e74d69b
add video_bridge flag to xml members
2012-07-15 12:37:54 +08:00
Seven Du
8d6b64e0ca
add flags to conference xml_list and show also on conference list
2012-07-15 11:22:18 +08:00
Stefan Knoblich
fa03e4e0ca
mod_http_cache: Remove DOS line-endings in http_put().
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-15 00:43:00 +02:00
Stefan Knoblich
addcddc1ae
mod_http_cache: Fix last remaining C99-style for loop.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-15 00:37:35 +02:00
Brian West
b256cf5695
fix auth_only voicemail usage
2012-07-14 14:05:34 -05:00
Brian West
860b53183d
tweak
2012-07-14 10:24:35 -05:00
Stefan Knoblich
445b74b765
mod_http_cache: Do not use C99-style for loops to fix non-debug builds.
...
Debug builds add -std=c99 (or -xc99 for suncc) to CFLAGS
(AX_CFLAGS_WARN_ALL_ANSI configure macro).
Non-debug builds do not invoke AX_CFLAGS_WARN_ALL_ANSI checks and
therefore won't have C99 support enabled, which breaks the build of
mod_http_cache due to "for (int i... )"-style C99 loops.
NOTE: AC_PROG_CC_C99 would make a lot of sense here and MSVC (2005)
accepts "for (int ...)" constructs too.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-14 12:43:36 +02:00
Anthony Minessale
1f39ecd13f
FS-3840 --resolve
2012-07-13 18:02:36 -05:00
Anthony Minessale
b6e962de1d
typo
2012-07-13 18:02:09 -05:00
Anthony Minessale
aebb15fe86
FS-4421 --resolve
2012-07-13 17:20:59 -05:00
Anthony Minessale
4a801c8626
only decode rtp packets in srtp mode
2012-07-13 14:58:20 -05:00
William King
0afd7318bd
adding write support to mod_vlc
2012-07-13 09:26:02 -07:00
Anthony Minessale
ba6c404eb9
FS-4422
2012-07-12 18:10:20 -05:00
Anthony Minessale
643a18b583
FS-4418 --resolve
2012-07-12 17:54:02 -05:00
Anthony Minessale
18a16e6931
FS-4335 test this patch, and also remember you must resubmit the logs after each new test
2012-07-12 17:45:43 -05:00
Anthony Minessale
0dfb4db8b4
how does the older compiler catch things the new one doesnt
2012-07-12 14:34:56 -05:00
Anthony Minessale
46fee25dad
add fsctl sql start/stop for standby controls
2012-07-12 14:30:44 -05:00
Anthony Minessale
cc48015709
conf tweaks
2012-07-12 14:30:44 -05:00
Anthony Minessale
f5fe8bc5f6
close fd on fsv_record
2012-07-12 14:03:19 -05:00
Stefan Knoblich
d141de28ea
freeswitch: Add -base cmdline option.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 19:52:00 +02:00
Anthony Minessale
d5d6b29893
add outcall-templ
2012-07-12 10:42:46 -05:00
Stefan Knoblich
435f28cefb
FreeSWITCH: Fix copy&paste error in -storage cmdline option handling.
...
"htdocs_dir" -> "storage_dir"
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 10:03:14 +02:00
Jeff Lenk
fc5490f1dc
FS-4415 --resolve
2012-07-11 22:31:36 -05:00
Stefan Knoblich
95c20425a8
FreeSWITCH: Use SWITCH_TIME_T_FMT to fix format string error in send_heartbeat().
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 03:25:12 +02:00
Stefan Knoblich
a0bd63d32d
mod_conference: Fix format string errors.
...
Use switch_event_add_header_string() where needed and add a
dummy "%s" format string to switch_event_add_body() calls.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-12 01:44:18 +02:00
Daniel Swarbrick
a8efae998f
Add FreeSWITCH-Version string and Uptime-msec (uptime in *milliseconds*) to heartbeat events
2012-07-12 01:34:36 +02:00
Anthony Minessale
a06eb2db30
FS-4328 try this
2012-07-11 18:12:26 -05:00
Anthony Minessale
932fc2286f
update
2012-07-11 18:04:13 -05:00
Anthony Minessale
0c945168ca
update
2012-07-11 17:35:40 -05:00
Anthony Minessale
4e0f40d7c6
update
2012-07-11 17:25:45 -05:00
Anthony Minessale
63147207b6
update
2012-07-11 17:09:42 -05:00
Anthony Minessale
75b36c9545
tweaks
2012-07-11 16:48:56 -05:00
Anthony Minessale
9cad51b74b
flip not
2012-07-11 16:03:56 -05:00
Anthony Minessale
abbe8d5a0d
tweak
2012-07-11 15:50:43 -05:00
Anthony Minessale
1e7d214ae6
compiler errs from last commit
2012-07-11 15:35:49 -05:00
Anthony Minessale
088437cab1
add some rtcp stuff for sangoma
2012-07-11 15:23:12 -05:00
Anthony Minessale
2aebe2456f
first pass on some new stuff
2012-07-11 15:15:50 -05:00
Jeff Lenk
91236c9ad3
fix build related issues on windows - trivial
2012-07-11 07:52:20 -05:00
Stefan Knoblich
07e9467d35
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>
2012-07-11 11:08:24 +02:00
Stefan Knoblich
aeb4b31063
freeswitch: Show user/group name in error message if change_user_group() fails.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 11:08:24 +02:00
Stefan Knoblich
edfbbb127c
freeswitch: Create struct rlimit rlp where it is needed (move down into block scope).
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 11:08:24 +02:00
Stefan Knoblich
93a429fc11
freeswitch: Whitespace clean up in switch.c.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 11:08:24 +02:00
Stefan Knoblich
b494d46f45
freeswitch: Clean up daemonize().
...
Whitespace and indentation clean up.
Use EXIT_SUCESS/_FAILURE.
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 11:08:24 +02:00
Stefan Knoblich
f9d0e249a1
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>
2012-07-11 11:08:23 +02:00
Stefan Knoblich
659ea9f117
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>
2012-07-11 11:08:23 +02:00
Stefan Knoblich
d6a395b642
freeswitch: Use switch_strlen_zero() to check for empty strings.
...
Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-07-11 11:08:23 +02:00
Anthony Minessale
ba428a1559
FS-4406 please test asap and report back
2012-07-10 23:04:16 -05:00
Anthony Minessale
293516be59
FS-4370 --resolve
2012-07-10 22:44:11 -05:00
Anthony Minessale
6904ae6f3b
FS-4404 regression from b9b4db7d40
2012-07-10 13:28:38 -05:00
Stefan Knoblich
111ef49f1f
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>
2012-07-10 14:30:01 +02:00
Anthony Minessale
e79e6146c5
FS-4378 add sofia::error custom event
2012-07-09 10:56:04 -05:00
Anthony Minessale
b9b4db7d40
FS-4404 --resolve
2012-07-09 10:37:15 -05:00
Anthony Minessale
16cb32cd5c
come to cluecon will ya
2012-07-06 17:54:21 -05:00
Anthony Minessale
c6fc4a2774
add Current-Energy to conference events
2012-07-06 17:20:44 -05:00
Anthony Minessale
6cf9ea181d
FS-4364 --resolve
2012-07-06 16:16:51 -05:00
Anthony Minessale
9ca929218f
FS-4382 --resolve
2012-07-06 11:12:14 -05:00
Anthony Minessale
da8885cc51
FS-4397 --resolve
2012-07-06 10:55:53 -05:00
Anthony Minessale
6ea4c42c95
have sql thread manually subscribe to each event it cares about instead of every event and filtering it
2012-07-05 16:42:49 -05:00
Anthony Minessale
bf20f52452
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
2012-07-05 12:34:09 -05:00
Anthony Minessale
ef23fbaf12
FS-4374 moving the memory to the heap, this should take care of the problem for sure
2012-07-05 12:04:30 -05:00
Anthony Minessale
694c8c0fa1
FS-4335 please update and try this
2012-07-05 11:42:07 -05:00
Darren Schreiber
5bc2745472
Avoid segfault and race condition when socket is destroyed while listener is in use.
2012-07-05 01:47:07 -07:00
Jeff Lenk
939a26764f
FS-4387 --resolve
2012-07-04 23:06:32 -05:00
Anthony Minessale
b1ae97466d
add enable-use-system-time param to switch.conf.xml use at your own risk, someone with windows could verify it works ok
2012-07-03 17:15:14 -05:00
Anthony Minessale
02f4aa8590
change default
2012-07-03 13:53:29 -05:00
Anthony Minessale
e941a61ff7
add v18_mode var
2012-07-03 13:35:08 -05:00
Anthony Minessale
59bd4b0f14
fix regression with proxy_packet flag
2012-07-03 13:17:38 -05:00
Anthony Minessale
c5ba5acbd5
move stacksize thing into the core deeper to avoid build issues
2012-07-03 11:35:41 -05:00
Anthony Minessale
2b17e82dd4
FS-4380 --resolve
2012-07-03 11:06:12 -05:00
Anthony Minessale
15fda06646
FS-4381 --resolve
2012-07-03 09:23:25 -05:00
Anthony Minessale
f3a49366a1
FS-4331 please test and post a new log if necessary
2012-07-03 08:05:41 -05:00
Jeff Lenk
305aa77a15
FS-2216 --resolve clang
2012-07-03 09:01:27 -05:00
Anthony Minessale
3708c96257
add uuid to event socket apps
2012-07-02 15:12:55 -05:00
Anthony Minessale
3951a187a0
FS-4331 please test this patch and regenerate logs if necessary
2012-07-02 14:03:05 -05:00
Michael Jerris
02c2b532e7
add vm::maintenance event for mwi change
2012-07-02 16:22:36 -04:00
Anthony Minessale
87eeaac629
wrong commit
2012-07-02 13:02:18 -05:00
Anthony Minessale
412efaaf87
let campon_hold_music take precedence over the normal hold_music variable
2012-07-02 12:54:01 -05:00
Jeff Lenk
78addbfe44
trivial fix windows build
2012-07-02 14:42:06 -05:00
Anthony Minessale
d32a72bcc1
show current process stack size from status command where supported
2012-07-02 11:49:42 -05:00
Anthony Minessale
4654bda84a
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
2012-07-02 11:20:05 -05:00
Anthony Minessale
e06bf26e65
add tdd data also as a header for even lazier parsers
2012-07-02 11:05:56 -05:00
Anthony Minessale
158f96651f
add trailing newlines for lazy parsers
2012-07-02 11:04:10 -05:00
Anthony Minessale
104bab6b92
tdd fix
2012-07-02 12:33:13 -05:00
Anthony Minessale
784fcf08ad
FS-4373 --resolve
2012-07-02 09:51:08 -05:00
Michael Jerris
195949f25f
don't seg on no valid_terminators
2012-07-02 11:55:49 -04:00
Anthony Minessale
5f09b40381
add sip_recovery_break_rfc variable to set globally or per channel to not reverse the from and 2 on uas re-invites
2012-06-29 14:41:06 -05:00
Brian West
13068f1783
allow silence for moh type on campon
2012-06-29 16:14:46 -05:00
Anthony Minessale
7ec8fb43d4
add initial-event-threads to switch.conf.xml
2012-06-29 11:39:49 -05:00
Anthony Minessale
dca6e2bb8e
FS-4359 --resolve
2012-06-28 12:12:44 -05:00
Anthony Minessale
848f05fb41
FS-3659 this fixes sub issue, this should have been a new jira ticket
2012-06-28 14:02:02 -05:00
Anthony Minessale
ed6e7b9fc0
if valid_terminators string starts with = it implies one of them must be typed
2012-06-28 13:17:57 -05:00
Anthony Minessale
1330ad9cf4
FS-4363 try this
2012-06-28 10:21:08 -05:00
Anthony Minessale
8850c1d5e5
moot leak in logger since it only happens on shutdown 1/10 times but hey, lets fix it
2012-06-28 10:10:30 -05:00
Travis Cross
7978bd8921
Don't truncate 5-digit port numbers
...
The adj_port buffer was only 5 bytes wide, so we were truncating any
port numbers >= 10000 that were written to this variable as snprintf
ensures the last byte is null.
FS-4354 --resolve
2012-06-27 20:17:08 +00:00
Michael Jerris
e9a66618ff
FS-4353: missing free from last commit
2012-06-27 15:53:15 -04:00
Anthony Minessale
ed0ab36e2d
FS-4353 redirect case
2012-06-27 12:25:03 -05:00
Anthony Minessale
b0f53cd625
FS-4353 --resolve this may also fix FS-4079
2012-06-27 09:33:01 -05:00
Anthony Minessale
60bb3595fd
FS-4313 --resolve
2012-06-26 11:34:24 -05:00
Anthony Minessale
e7f05b49ad
FS-4349 try this, it should be a minimal wait since this will poll the socket for 20ms only when there are no events at all and no log data at all
2012-06-26 09:59:00 -05:00
Brian West
7dc9a9cacc
FS-3085 --resolve
2012-06-25 15:31:58 -05:00
Anthony Minessale
690cae5de1
FS-4350 --resolve
2012-06-25 11:00:48 -05:00
Jeff Lenk
a97ec71902
fix warnings on windows code verification
2012-06-25 10:06:41 -05:00
Anthony Minessale
7086a92f9b
FS-4318 try this, success is 0 so that original patch was wrong
2012-06-24 15:05:59 -05:00
Travis Cross
ee8c9e869b
Fix clang warnings in mod_lua
2012-06-24 09:13:21 +00:00
Travis Cross
f1183ef970
Fix use of switch_event_add_body
...
On some compilers this fixes the build.
gcc reports:
error: format not a string literal and no format arguments
clang reports:
error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
2012-06-24 07:38:08 +00:00
Travis Cross
453b42e301
Remove extraneous parenthesis
...
This causes a warning that breaks the build with clang.
2012-06-24 07:36:14 +00:00
Anthony Minessale
86df8b338e
more v18 changes
2012-06-23 19:33:26 -05:00
Anthony Minessale
1465ba90e6
tweaks
2012-06-23 19:00:53 -05:00
Anthony Minessale
93a8445f1c
change name
2012-06-23 18:53:29 -05:00
Anthony Minessale
0f6647d278
add some inital v18 interface points
2012-06-23 18:48:26 -05:00
Travis Cross
ad53499b42
Always set the ZRTP SAS verified flag on our side
...
When we're terminating ZRTP to an IVR or to a leg which is not
ZRTP-capable, there's no way for us to make an intelligent decision
about whether this flag should be set. For a client to consider the
SAS as verified, however, both sides need to set this flag. By always
setting this flag on our side, we leave the decision completely in the
hands of the client where we hope there is a careful human.
Signed-off-by: Travis Cross <tc@traviscross.com>
2012-06-23 22:34:06 +00:00
Anthony Minessale
ecb84bd126
FS-4336 --resolve
2012-06-23 14:55:11 -05:00
Jeff Lenk
2171e5830d
vs2010 reswig
2012-06-23 16:58:44 -05:00
Anthony Minessale
398c84b671
swigall
2012-06-23 16:40:42 -05:00
Anthony Minessale
a5021fa384
FS-4337 --resolve this actually uncovered a bug cos it was supposed to be rtcp_bytes not bytes
2012-06-23 14:03:06 -05:00
Anthony Minessale
cfe435c667
fix typo
2012-06-23 06:18:09 -05:00
Anthony Minessale
76fae0cec0
add video support to lib/mod.dingaling this needs testing, google voice won't work with video calls so disable video codecs if you use that
2012-06-22 18:15:06 -05:00