Commit Graph

14944 Commits

Author SHA1 Message Date
Giovanni Maruzzelli 172df304cc gsmopen: on Linux, automatically find out and setup audio and data ports associated to dongle model, IMEI and IMSI 2013-07-03 10:02:09 +02:00
Steve Underwood 20531a097a Added a "nation" parameter to v18_init(), in preparation for automoding. 2013-07-03 02:39:09 +08:00
Jeff Lenk ba96b391d3 fix trivial compiler error 2013-07-02 12:41:15 -05:00
Anthony Minessale 134871872c fix codec negotiation issue with the same codec at multiple rates 2013-07-02 12:16:54 -05:00
Nathan Neulinger a0043b8ca2 partial rollback of ec67542628 to fix skinny breakage 2013-07-01 22:19:40 -05:00
Ken Rice c2c8fba14a --resolve FS-5566
When you use $12345 in regex substitutions, it isn't obvious
whenever you mean $1-concatenated-2345 or $12-concatenated-345
or any other variation.  In all other languages, in order to
solve this ambiguity, a braces {} are allowed to be used to
separate variable name (or a reference) from surrounding text,
like ${1}2345 or ${12}345.  Use the same for freeswitch too.

While at it, fix a buffer overflow as well: the index[] variable
which is used to copy the "variable" name is 10 chars long, but
it is used in the code without bounds checking, so a reference
which is >9 chars long ($1234567890) will overflow the buffer,
crashing freeswitch.

And another overflow is in the way how size of the "substituted"
variable is handled.  First, in the outer loop, we compare the
wrong variable with the size of `substituted' buffer (amount of
bytes we took from the source instead of amount of bytes we
used in `substituted').  And second, when actual regex match
is being substitured, amount of room in `substituted' variable
is not checked at all.

Patch contributed by Michael Tokarev <mjt@tls.msk.ru>
2013-07-01 17:05:07 -05:00
Anthony Minessale 8bcff4ca4d fix input event checker pre-empting return value from dtmf checker when both are present 2013-07-01 14:31:43 -05:00
Anthony Minessale e1ed386bb9 FS-5565 --resolve 2013-07-01 12:16:47 -05:00
Anthony Minessale bbdd77ec35 fix race condition on device state destroy 2013-06-28 14:21:04 -05:00
Anthony Minessale dac93d7936 FS-5527 --resolve 2013-06-28 10:42:06 -05:00
Chris Rienzo 72aad68965 mod_rayo: dtmf #*A-D was broken 2013-06-28 11:16:06 -04:00
Brian West a8e0cbfcde punt without return 2013-06-28 09:48:49 -05:00
Anthony Minessale 2ea31f5d95 add preAnswer and ringReady too 2013-06-27 16:31:29 -05:00
Anthony Minessale 41c1c1cb75 add answer work tag to httapi 2013-06-27 16:25:59 -05:00
Anthony Minessale cd56d774a0 parse error response for code to only change roles on 487 2013-06-27 13:00:20 -05:00
Moises Silva 5324063f44 Added support for blind transfer notification of negative responses 2013-06-26 23:17:49 -04:00
Nathan Neulinger 5fefae03fd improve skinny behavior in HA deployment 2013-06-26 21:56:10 -05:00
Nathan Neulinger 375c102ae0 typo 2013-06-26 21:55:38 -05:00
Anthony Minessale 3879a85bfb set rtp params in skinny for rtp flush on bridge 2013-06-26 18:35:06 -05:00
Anthony Minessale 7eb86bba75 fix empty +flags{} pre-empting conference_member_flags variable 2013-06-26 16:04:38 -05:00
Brian West 384cf3381c use the correct repeat key to replay messages 2013-06-26 15:17:56 -05:00
Anthony Minessale c903934628 FS-5550 --resolve 2013-06-26 10:51:44 -05:00
Anthony Minessale bf5fa172e5 FS-5547 --resolve 2013-06-26 10:47:40 -05:00
Anthony Minessale 13dacdcde4 FS-5546 --resolve oddly that is the thing I was trying to fix in the first place 2013-06-26 09:17:15 -05:00
Anthony Minessale ecc4b52d4a fix typo with some flags related to jingle 2013-06-25 14:54:34 -05:00
Chris Rienzo 628b4048d9 mod_rayo: added missing modeline 2013-06-25 15:15:08 -04:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Chris Rienzo 13fdd77f7e mod_rayo: used wrong stack 2013-06-25 11:40:38 -04:00
Chris Rienzo f750bcbcc1 mod_rayo: fixes for <prompt> and reply loops 2013-06-25 11:30:10 -04:00
Chris Rienzo 7625001e49 mod_rayo: fix component JID 2013-06-25 08:08:56 -04:00
Chris Rienzo 899f68759a mod_rayo: fix cleanup of console complete functions 2013-06-25 07:54:59 -04:00
Chris Rienzo ad5ea44aeb mod_rayo: don't send item-not-found to replies 2013-06-25 07:42:34 -04:00
Chris Rienzo cac8536170 mod_http_cache: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo a29bab368d mod_ssml: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo 8bf40819df mod_rayo: valgrind fixes 2013-06-24 22:19:54 -04:00
Chris Rienzo e52f131460 mod_rayo: forgot to return error if unknown destination for stanza 2013-06-24 22:19:53 -04:00
Chris Rienzo c15c0924d1 mod_rayo: added message delivery threads 2013-06-24 22:19:53 -04:00
Chris Rienzo 0f0f278124 mod_rayo: reworked internal messaging- all messages sent by JID only 2013-06-24 22:19:53 -04:00
Chris Rienzo 911948c87a mod_rayo: remove reply from send function - everything is send only now 2013-06-24 22:19:53 -04:00
Anthony Minessale 1ed5e3e331 FS-5530 --resolve this will make it identical to the bridge behaviour even when the bridge in early media begins and now you will explicitly need continue_on_fail=true in this situation to not fail 2013-06-24 09:45:43 -05:00
Anthony Minessale 6b58aea501 FS-5539 --resolve 2013-06-24 09:15:01 -05:00
Nathan Neulinger f59690c02f skinny more logging improvements and some refactoring of protocol replies 2013-06-23 21:47:58 -05:00
Nathan Neulinger 9279113a26 skinny - add simple expansion of text strings by id in the logging msgs 2013-06-23 16:11:54 -05:00
Nathan Neulinger 86e4e580b1 logging 2013-06-23 15:18:10 -05:00
Nathan Neulinger 4b0bae5afd fix broken build due to running with warnings disabled, oops 2013-06-23 15:11:31 -05:00
Nathan Neulinger 4a267627f2 skinny logging 2013-06-23 14:58:25 -05:00
Jeff Lenk 0d4967b718 fix windows build 2013-06-23 14:34:26 -05:00
Nathan Neulinger e744bf0385 improvements to skinny logging, table based message text ids 2013-06-23 14:19:05 -05:00
Nathan Neulinger a38ea77fa3 misc constant name adjustments to match actual text on phones 2013-06-22 13:46:26 -05:00
Ben Langfeld 6faae5b178 mod_rayo: Punchblock now supports content-type on input matches
Fix applied to Punchblock here: cef5198e80
2013-06-22 14:27:28 -04:00
Jeff Lenk f8122e39c5 fix trivial compiler warning 2013-06-21 21:43:22 -05:00
Anthony Minessale 48e1415f64 fix return values from refactor so stun timeouts can trigger error properly 2013-06-21 12:42:37 -05:00
Nathan Neulinger 1b2341b6d8 FS-5532 - workaround to improve behavior, but not correct fix 2013-06-21 14:48:49 -05:00
Chris Rienzo 609b0b324d mod_rayo: fix crash when DTMF is received after input timeout 2013-06-21 09:42:54 -04:00
Giovanni Maruzzelli eb79128d8e skypopen: OSS driver has active timers only on active devices (eg: when it's actually used by a skypeclient) 2013-06-21 10:58:16 +02:00
Anthony Minessale 5a0f43d956 make sure sip-hold works on webrtc 2013-06-21 00:41:25 -05:00
Anthony Minessale 76177e6196 FS-5531 --resolve add another optional param to supply flags for either behaviour n for null and b for boolean 2013-06-20 22:53:43 -05:00
Anthony Minessale 1e9ab89bbb sniffing glue 2013-06-20 22:25:25 -05:00
Anthony Minessale 5cb4cd9d9c fill the opposite file to keep data in sync 2013-06-20 21:51:31 -05:00
Anthony Minessale 16bdee13fc add answer_delay variable to sleep N ms when answer is called from the channel thread 2013-06-20 21:29:31 -05:00
Anthony Minessale 48ea6b5217 FS-5530 2013-06-20 21:15:32 -05:00
Anthony Minessale 1617469019 FS-5530 --resolve 2013-06-20 21:10:23 -05:00
Anthony Minessale e1b6d4d1be FS-5530 --resolve 2013-06-20 20:58:55 -05:00
Anthony Minessale f35ea43b38 FS-5513 --resolve 2013-06-20 18:33:40 -05:00
Giovanni Maruzzelli 7e2ea11b67 gsmopen: cleaning 2013-06-21 00:41:07 +02:00
Giovanni Maruzzelli 4640a9c80c gsmopen: cleaning 2013-06-21 00:41:07 +02:00
Giovanni Maruzzelli 66f028b4ba gsmopen: cleaning 2013-06-21 00:41:07 +02:00
Giovanni Maruzzelli 0a364e1f3b gsmopen: cleaning 2013-06-21 00:41:07 +02:00
Giovanni Maruzzelli fa1d773a84 FS-4821 fixed core dump when received sms in UCS2 after having sent sms in UCS2 2013-06-21 00:41:07 +02:00
Anthony Minessale b0f964f23f swigall 2013-06-20 11:41:34 -05:00
Anthony Minessale 9cc21d28fc add novideo app 2013-06-20 13:10:21 -05:00
Anthony Minessale 702c9af3f9 add novideo app 2013-06-20 13:08:09 -05:00
Anthony Minessale e60f37f651 FS-5529 --resolve 2013-06-20 12:36:30 -05:00
Chris Rienzo dc604fd589 mod_ssml: XML decode <audio src=".. attribute since iksemel SAX parser doesn't 2013-06-20 09:25:45 -04:00
Giovanni Maruzzelli 12c96d9009 FS-5292 gsmopen: patch from garmt 2013-06-20 14:21:49 +02:00
Giovanni Maruzzelli 607ef575bc FS-5482 skypopen: check assignment on possibly NULL pointer, avoiding segfault 2013-06-20 10:17:52 +02:00
Jeff Lenk b4ba31dad6 more trivial compiler warnings for windows 2013-06-19 10:44:31 -05:00
Chris Rienzo a8751d15ce mod_rayo: allow variables to be passed in dialstring 2013-06-19 08:53:17 -04:00
Anthony Minessale bd2862080c FS-4969 --resolve 2013-06-18 21:19:24 -05:00
Anthony Minessale 4baf0276d6 FS-5513 --resolve 2013-06-18 21:16:56 -05:00
Jeff Lenk a7be251bd8 fix several more windows compiler warnings and mod_gsmopen 2013-06-18 22:44:11 -05:00
Anthony Minessale 9cf05e3595 only refuse loopback endoint not profiles named loopback 2013-06-18 16:19:08 -05:00
Jeff Lenk ec9eebbf99 fix trivial compiler error and vs2010 reswig 2013-06-18 16:55:03 -05:00
Brian West 750c06c1b8 fix reload of outbound_name change 2013-06-18 15:49:12 -05:00
Anthony Minessale 691acf2812 fix build on cent5 2013-06-18 14:38:57 -05:00
Nathan Neulinger 5d0753e330 FS-5510 --resolve - also add logging of hangup cause 2013-06-18 12:21:35 -05:00
Anthony Minessale a42b7de6d5 swigall 2013-06-18 09:13:50 -05:00
Nathan Neulinger f782c280d4 add skinny cmd to kill all current listeners 2013-06-18 09:41:56 -05:00
Nathan Neulinger 45d33b02e9 Add skinny device kill api command 2013-06-18 09:18:31 -05:00
Anthony Minessale 1b0375371a refactor 2013-06-18 06:24:17 -05:00
Anthony Minessale d642eb96f0 FS-5513 --resolve 2013-06-17 21:37:53 -05:00
Anthony Minessale 2fac3a8e83 refactor some of the video passthru code 2013-06-17 19:52:37 -05:00
Anthony Minessale 3ac4e77384 FS-5519 --resolve 2013-06-17 19:43:24 -05:00
Brian West 3634d4a0e7 remove debugging 2013-06-17 17:51:48 -05:00
Anthony Minessale db59af93e3 remove cid flip from pickup 2013-06-17 10:57:33 -05:00
Anthony Minessale c3de185b22 add deflect parsing support for mod_loopback and fix unloop bug 2013-06-17 10:45:00 -05:00
Anthony Minessale 2c9ee26fdd dont change device state from hangup to hangup 2013-06-17 10:44:22 -05:00
Jeff Lenk f858176f89 vs2010 reswig 2013-06-14 11:45:44 -05:00
Chris Rienzo 0311d4615a mod_rayo: some fixes for punchblock 2.0 compatibility 2013-06-13 15:28:53 -04:00
William King b73a8fe624 Fix missing return statement. 2013-06-13 10:08:16 -07:00
Chris Rienzo 2d4acdfa61 mod_rayo: updates for 0.2 of spec 2013-06-13 11:23:12 -04:00
William King 4219049789 New compiler warning(error). Unused assignment before the pointer is reassigned. 2013-06-12 21:39:27 -07:00
William King 3f2f393a7c If the addr pointer is NULL, better to check first before using it. 2013-06-12 21:24:06 -07:00
William King a710841123 This is probably what was intended. If the pointer 'path' is NULL, or if it is not NULL, then the first char should not be '\0' 2013-06-12 21:21:54 -07:00
William King 91c8c8a57b oops 2013-06-12 21:17:17 -07:00
William King 5026788c4a Fix minor typo so that the metadata album field can be set. 2013-06-12 17:17:57 -07:00
William King 97918f473b Since I can't seem to locate what this might be used for, or the more correct solution, I'm going to comment it out for now. If someone can find a better solution so that this functionality would actually work, please advise. 2013-06-12 17:11:36 -07:00
William King 5c60bd6b42 Make sure to cleanup event if there was a failure that caused it not to be fired. 2013-06-12 17:02:15 -07:00
William King a181ec629f On the off chance the if statement takes the false branch, let's not leak the memory. again. 2013-06-12 16:46:38 -07:00
William King 5e5af427ef On the off chance the if statement takes the false branch, let's not leak the memory 2013-06-12 16:41:24 -07:00
Chris Rienzo 98ae1c93fa mod_http_cache: fixed wrong string to sign when referencing AWS S3 object with subdirectory 2013-06-12 09:38:35 -04:00
Seven Du a3dfd0bf62 FS-5498 add ringing and early stats to event 2013-06-12 09:09:21 +08:00
Anthony Minessale d0749e9a26 FS-5500 --resolve 2013-06-11 11:38:18 -05:00
Anthony Minessale de802f2124 FS-5498 fix state change 2013-06-11 11:24:04 -05:00
Anthony Minessale 42c6a66e08 FS-5498 add profile-variables section to directory to specify profile variables to be set automatically 2013-06-11 09:38:58 -05:00
Anthony Minessale b74ad2a6bb FS-5503 --resolve indeed, thx 2013-06-11 09:31:16 -05:00
Anthony Minessale df1bba55ee FS-5498 2013-06-10 19:13:21 -05:00
Anthony Minessale 6731519bef FS-5498 2013-06-10 18:22:08 -05:00
Brian West a433b97375 Skip to next file when you hup the stream 2013-06-07 12:29:42 -05:00
Travis Cross 46f4709ee6 Whitespace cleanup to previous commit 2013-06-07 06:59:38 +00:00
William King e7fa70416d Previous commit was incorrect. This would correctly handle the memory loss case. 2013-06-06 23:54:07 -07:00
Anthony Minessale 01959606cd FS-5493 oops 2013-06-06 13:17:20 -05:00
Anthony Minessale 860ed3f9a6 add last callback run stamp to device records 2013-06-06 13:09:13 -05:00
Anthony Minessale 75fab9b0f2 FS-5493 --resolve 2013-06-06 12:59:18 -05:00
Chris Rienzo ee2f1d32a4 Added mod_rayo (XMPP 3PCC http://xmpp.org/extensions/xep-0327.html). Used by Adhearsion as its native call control protocol. Currently beta testing. 2013-06-06 16:03:00 -04:00
Chris Rienzo acacb342e8 Added mod_ssml (speech synthesis markup language) ssml:// and tts:// file formats. 2013-06-06 15:34:49 -04:00
Travis Cross 74dcbe8240 Add missing newline at end of file 2013-06-06 19:01:17 +00:00
Anthony Minessale 7b25322e46 don't need this change revert 2013-06-05 11:21:59 -05:00
Anthony Minessale 4240526ce3 add some device-state mechinism to FS to allow tracking of device-specific states where they may have more than one call from the same device 2013-06-05 11:20:11 -05:00
Seven Du 947c0542a9 update to mp4v2-2.0.0
It seems I cannot contact the original author
it seems has a bug which even cannot compile with mp4v2-trunk-479
This patch allow it to compile
2013-06-04 08:46:05 +08:00
Travis Cross 505815c902 Avoid crashing FS after delivering a VM
When vm-storage-dir was set to an absolute path, FS would abort after
delivering a VM because we were trying to free(3) memory sitting in
the middle of a memory pool.

FS-5329
2013-06-03 09:29:51 +00:00
Travis Cross bc25079fce Fix spelling in log message 2013-06-02 20:06:34 +00:00
Anthony Minessale 5835e0d541 FS-5488 --resolve 2013-05-31 14:46:15 -05:00
Nathan Neulinger e74bba08c2 FS-5449: apply correct quoting, got older version of patch accidentally 2013-05-31 16:31:27 -05:00
Nathan Neulinger ac0ed44b96 FS-5449: --resolve add a mod_commands function to use the shell escape function and update the existing function to use correct escaping
adds a pool based implementation of the switch_util_quote_shell_arg function and changes existing function to be a wrapper around the pool based one
2013-05-31 16:25:08 -05:00
Anthony Minessale 5eabe2bc4e FS-5488 --resolve 2013-05-31 13:14:37 -05:00
Brian West a55d70ed62 add kirk wireless servers to safe as they do not do rport 2013-05-31 11:54:05 -05:00
Brian West 507788f01c Swap this 2013-05-31 09:16:32 -05:00
Nathan Neulinger 803c02a3e8 Change to correct prompt on outgoing call, eliminate UNDEFINED! message 2013-05-30 12:49:59 -05:00
Nathan Neulinger fffe3d06aa Allow skinny speed dials to work when already off-hook 2013-05-30 12:15:20 -05:00
Jeff Lenk 24c13adfaf FS-5483 --resolve 2013-05-29 09:32:24 -05:00
Travis Cross a82878f786 Unsigned values are never less than zero 2013-05-29 03:02:07 +00:00
Travis Cross f07181e266 Avoid using psession uninitialized in mod_fsk 2013-05-29 02:59:05 +00:00
Steve Underwood 3519e0f4c3 More tweaks towards colour FAXing 2013-05-29 10:07:08 +08:00
Steve Underwood 3b595efc60 More tweaks towards colour FAXing 2013-05-29 09:53:56 +08:00
Mariusz Czułada d0af6ce81d FS-5157 patch accepted 2013-05-29 00:19:49 +02:00
Brian West ecd8aabf5d log auto adjust ip and port separate so it doesn't get clobbered on hold/update events 2013-05-28 16:25:39 -05:00
Anthony Minessale 9d8af739c8 FS-5480 --resolve 2013-05-28 08:17:44 -05:00
Travis Cross 3c8db7c715 Avoid using memory after we free it
Without setting errmsg to NULL here, we'll try to print this freed
value again below if another error doesn't intercede.
2013-05-28 05:28:19 +00:00
Travis Cross 5b1d1de1a7 Add common include paths for jni.h and jni_md.h 2013-05-27 16:19:24 +00:00
Travis Cross f3541e00f4 Fix variable type in mod_nibblebill 2013-05-27 07:58:33 +00:00
Travis Cross 25d488a801 Work around error in pocketsphinx-0.7
fsg_search.c:263:2: error: non-void function 'fsg_search_reinit' should return a value [-Wreturn-type]
2013-05-27 07:40:00 +00:00
Travis Cross 076a7706db Remove extraneous parentheses in mod_say_pl 2013-05-26 12:22:51 +00:00
Travis Cross c9b3909ac1 Add missing newline at end of mod_say_fa.c 2013-05-26 12:22:08 +00:00
Travis Cross 4ea2ae5d38 Remove extraneous parentheses
This resolves a clang warning:

  error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
2013-05-26 12:19:19 +00:00
Travis Cross 065043ce67 Remove unused variable in mod_rtmp
Unused variables break the build with recent versions of gcc and
clang.
2013-05-26 04:53:16 +00:00
Travis Cross 04c3b913aa Quote arguments to shell when sending email
Note that the function switch_util_quote_shell_arg is implemented
incorrectly for unix shells, so this is still not safe until that
function is fixed.

Reported-by: Nathan Neulinger <nneul@mst.edu>

FS-5450 --resolve
2013-05-26 01:27:16 +00:00
Travis Cross 8f10ff073a Fix memory leaks in mod_tts_commandline
We were using both switch_util_quote_shell_arg and
switch_string_replace without freeing the results even though both
functions malloc.
2013-05-26 01:03:08 +00:00
Travis Cross 3dd2376475 Leave room for switch_escape_string to add a terminating null
Thanks-to: Nathan Neulinger <nneul@mst.edu>

FS-5448 --resolve
2013-05-25 23:28:55 +00:00
Travis Cross ab641842f4 Fix comment spelling
Thanks-to: Mariusz Czułada <manieq.net@gmail.com>
2013-05-25 21:40:40 +00:00
Travis Cross c09a261d58 Fix memory corruption in mod_erlang_event
Thanks-to: Alexandre Snarskii <snar@snar.spb.ru>

FS-5465 --resolve
2013-05-25 21:20:41 +00:00
Travis Cross 012003b5ff Don't setup ZRTP without a session and channel
FS-5472 --resolve
2013-05-25 21:10:11 +00:00
William King db0d03532d Fix a possible deadlock scenario in the impossible scenario from the last patch. 2013-05-25 11:06:01 -07:00
William King 7be8184b2a Redundant code. The if/else block makes more sense than the equivalent in two separate if's. 2013-05-25 07:47:09 -07:00
William King 938699d0b6 Better to not pass tmp_socket to setsockopt if there was an error here creating the socket. 2013-05-25 07:37:28 -07:00
William King 7d531c0966 It's been missing a break there for ~4 years and instead using the 8k max_ms values(the ptime_div value is the same). 2013-05-25 07:15:49 -07:00
William King f04842d4c8 Cleaning up logically dead code. 2013-05-25 07:02:49 -07:00
William King acf9a72e3f This condition should NEVER be hit, but in case the started thread is unable to locate itself in the EVENT_DISOATCH_QUEUE_THREADS array, it's best to return null here and kill the unexpected event thread rather than segfault FS by writing outside of the bounds of the EVENT_DISPATCH_QUEUE_RUNNING array. 2013-05-25 06:51:37 -07:00
William King 5d939b9652 Small off by one error. If the array is of size 144, then an index of 144 inclusive is an error. 2013-05-25 06:41:03 -07:00
William King 12f2f674f9 Let's bit a bit safer when dereferencing pointers. 2013-05-24 20:24:04 -07:00
William King 480407e5f3 Removing logically dead code 2013-05-24 19:59:32 -07:00
William King 9ea90341f7 If there is a problem reading the dictionary file, don't leak memory... 2013-05-24 19:55:50 -07:00
William King 2e6d3a1f2a Removing unused code 2013-05-24 19:53:26 -07:00
William King b42ee84933 More explicit and defensive code so if the init fails we know we handling this pointer safely, because rc_config_init will free the pointer if there was a problem, but it will not set the pointer to NULL. 2013-05-24 19:49:33 -07:00
William King dc4209275d Another location where mod_rtmp would leak memory. 2013-05-24 19:45:38 -07:00
William King 194e1ae366 Fix improper handling of a double linked list that could have caused a memory leak. 2013-05-24 19:42:17 -07:00
William King e2d6bc3340 Appears to have been a copy paste error because this doesn't do what the api claims, and it also leaks the reference to the new node. 2013-05-24 19:35:56 -07:00
William King f3fd94b3e5 Fixing a memory leak. name needs to be freed since it's being strdup'd lower. 2013-05-24 19:31:26 -07:00
Anthony Minessale 4bf4b2c408 FS-5470 --resolve 2013-05-24 09:37:25 -05:00
Anthony Minessale f42fffb65f FS-5466 --resolve 2013-05-24 09:14:13 -05:00
Anthony Minessale 7f3c160793 FS-5453 --resolve 2013-05-24 08:13:41 -05:00
Mariusz Czułada 3866a6e15c FS-5042 changed event body creation 2013-05-24 12:18:00 +02:00
Raymond Chandler 610718fdff FS-4871: reduce logging a bit 2013-05-23 20:51:25 -04:00
Anthony Minessale e02992bc6c FS-5453 --resolve this is a different issue, we just have to hangup the loopback channel so the loopback and the sip don't both execute the extension 2013-05-23 09:59:00 -05:00
Anthony Minessale e169212319 swig 2013-05-23 09:53:50 -05:00
Anthony Minessale 606e197ac6 FS-5042 --resolve 2013-05-23 08:07:10 -05:00
Anthony Minessale 1b1bdf6816 FS-5453 --resolve 2013-05-23 08:00:03 -05:00
Nathan Neulinger 514fc941c0 FS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault 2013-05-23 08:13:44 -05:00
William King 15f43bac09 FS-5440: don't assert on bad input rtmp data 2013-05-22 12:38:23 -07:00
Anthony Minessale 6cdb46889c FS-5402 --resolve the problem is ent originate has many channels and many causes to parse so we need to check it against all the causes 2013-05-22 11:01:39 -05:00
Anthony Minessale 790e9b4d33 FS-5360 change defaults 2013-05-22 10:20:41 -05:00
Chris Rienzo 02cf105840 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2013-05-22 13:22:19 -04:00
Chris Rienzo 2c82e6afc6 mod_http_cache: fix example config 2013-05-22 13:22:03 -04:00
Anthony Minessale 699bd795f6 FS-5455 try this 2013-05-22 08:11:29 -05:00
Jeff Lenk 66a94a2c45 windows fix trivial compiler warning 2013-05-22 10:38:04 -05:00
Nathan Neulinger 23bd06881d FS-5429: --resolve add minimal idivert support for skinny 2013-05-22 09:58:28 -05:00
Nathan Neulinger 8afaf28a09 FS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired ptime, update field names for future coding to be more descriptive 2013-05-22 09:27:09 -05:00
Nathan Neulinger 337976e469 FS-5225: --resolve add ability to dial by pressing line button 2013-05-22 09:17:41 -05:00
Nathan Neulinger 0b05cf6843 FS-5267: --resolve avoid null deref if sessions missing 2013-05-22 09:12:46 -05:00
Chris Rienzo f7e725f4bf mod_http_cache: a couple more unit test cases 2013-05-22 08:47:49 -04:00
Chris Rienzo f5f65b65a9 mod_http_cache: remove unnecessary memset() now that switch_b64_encode() is fixed 2013-05-22 08:22:04 -04:00
Chris Rienzo 8be02b57ce mod_http_cache: fix unit test now that switch_b64_encode is fixed 2013-05-22 08:19:36 -04:00
Anthony Minessale 1a3b69a4a6 FS-5436 --resolve 2013-05-21 19:39:02 -05:00
Anthony Minessale 78c31eaa87 FS-5402 revert wait till tomorrow 2013-05-21 13:29:24 -05:00
Anthony Minessale 1239e32de2 FS-5402 2013-05-21 13:22:17 -05:00
Anthony Minessale 363b58dc54 FS-5453 --resolve 2013-05-21 12:01:57 -05:00
Anthony Minessale 7ec78e90e1 FS-5457 2013-05-21 10:21:45 -05:00
Anthony Minessale 104febbc1a FS-5376 --resolve 2013-05-21 10:04:35 -05:00
Anthony Minessale 8ac3178e45 FS-5242 2013-05-21 10:03:22 -05:00
Anthony Minessale 0cee5ac9df FS-5211 --resolve 2013-05-21 09:29:50 -05:00
Chris Rienzo 83d7b60d74 mod_http_cache: forgot to add write to http_cache:// format 2013-05-21 09:27:39 -04:00
Travis Cross d2f3a3114e Spelling fix 2013-05-21 02:00:43 +00:00
Anthony Minessale 3e6cdd6b57 FS-5360 2013-05-20 12:22:58 -05:00
Anthony Minessale 6c5de69b18 getting read_impl too soon here 2013-05-20 11:22:37 -05:00
Anthony Minessale 9cdd2be095 FS-5444 --resolve 2013-05-20 08:20:38 -05:00
Chris Rienzo a0170bbdb2 mod_http_cache: added write file format 2013-05-20 11:18:40 -04:00
Chris Rienzo 8c8b2176d2 mod_http_cache: added native Amazon S3 support 2013-05-20 09:31:28 -04:00
Steve Underwood fe000f18fd Fixed a weakness in error UDPTL lost packet recovery. Hopefully this addresses
FS5202.
2013-05-20 11:30:11 +08:00
William King e2ea6e58c8 Minor code cleanup. calling va_start without calling va_end doesn't leak does it? Either way, it's fixed now. 2013-05-18 20:15:55 -07:00
William King 9ace496fe3 full_contact must be freed by sofia. There isn't a chance of this having blown anything up, but Coverity is right that this should be initialized with NULL to be safe against future refactors. 2013-05-18 19:13:18 -07:00
William King ef1bf8e34a Was causing a very small leak on naptr lookups. Upon review just happened to be a typo missing a bang. 2013-05-18 17:50:50 -07:00
William King 508fb78e94 My bad. some how a make didn't catch this issue after a cleanup refactor. In this instance buf is being treated as an 8 byte number, not a pointer. 2013-05-18 17:46:13 -07:00
William King 291244c099 Coverity reported an Uninitialized pointer read. Upon further digging it appears that there is a code path where incoming packets can come in out of order, so this section of code tries to see if it can find the missed packets. As per FS-5202 there is a case where under heavy load the packet exists, and has most of the packet parsed, but still has a NULL pointer for the packet buffer. These two lines would at least help detect the edge case. 2013-05-18 17:34:16 -07:00
William King 45803e38e7 Edge case for when you are subscribing to presence on a valet parking lot. In which case there would be a small leak. 2013-05-18 17:06:54 -07:00
William King d27a95a50e Possible leak if someone were to try and add extra headers to a channel that had either an inbound info on that session or the session were to be deflected. I don't see a way that these extra headers could be added outside of a C module subscribing to the session states, but just to make sure I'm adding these so that just like other extra header locations it's cleaned up. 2013-05-18 17:00:41 -07:00
William King f718a0572f Alice meet rabit hole. There is a leak here on every invite that comes back from a status 180 when the other side is not FS, but you have presence enabled. Thanks to Coverity scan for location this condition. This 'might' not have been leaking if sofia was automatically freeing this when the sofia object was destroyed, but all other locations where sip_header_as_string where called they were all followed by a su_free, so I assume not. 2013-05-18 16:35:03 -07:00
William King f519ad195a If the mod_sofia global presense hash is null, then make sure to free the matches variable before going to done. 2013-05-18 16:05:40 -07:00
William King 09553f424a FS-5443: --resolve leaked because the JS api's copy and return new malloc'd pointers. 2013-05-18 15:47:01 -07:00
William King 7f3f4855a6 When message events were added, the debug field name was overlooked. This would have only been hit when debug level was above 'DEBUG1' and at that point it would have incorrectly chosen debug display names. 2013-05-18 15:10:44 -07:00
William King 4fcefab0d0 Minor typo. User is being passed into this fuction as a long pointer, not a long. 2013-05-18 14:29:59 -07:00
William King 047dc67098 read() does not NULL terminate statbuf, but strstr expects statbuf to be null terminated. 2013-05-18 14:26:40 -07:00
William King 3f06bbd04a This was writing a null one space to the right, outside of the malloc'd buffer. On further review this uses apr_vsnprintf which always returns null terminated. 2013-05-18 13:38:24 -07:00
Jeff Lenk de0fea316e FS-5434 --resolve 2013-05-17 21:38:32 -05:00
Anthony Minessale 2bafe135c0 remove flag 2013-05-17 16:13:19 -05:00
Anthony Minessale e03b6d0878 fix silence_stream size bug 2013-05-17 16:11:04 -05:00
Anthony Minessale ea881b191f media/srtp refactoring pass 2013-05-17 15:39:30 -05:00
William King 8d7aa3ff65 FS-5441: --resolve 2013-05-17 12:39:17 -07:00
William King 58e205ccdb how...? 2013-05-17 11:36:31 -07:00
William King cfeb6aaf54 Since there isn't neutral ground, on the rtmp state callback we actually have to force the write lock of the session, but we only need a try lock on removing the session from the rsession->session_hash. This removes a deadlock caused when we had to enforce with locks that the rsession couldn't be destroyed if the FS session was in the middle of a hangup. 2013-05-17 11:36:30 -07:00
William King f24d1cde3d Seems the session wasn't coming to the hangup in a locked state. 2013-05-17 11:36:30 -07:00
William King 36f198e883 Seems having a read lock still prevents a write lock to be taken, even if the thread that is trying to get the write lock currently has the read lock. 2013-05-17 11:36:29 -07:00
William King 9b0212ab59 Include the write lock since we're changing the tech_pvt 2013-05-17 11:36:29 -07:00
Anthony Minessale 97faaab42c FS-5430 --resolve 2013-05-15 09:27:18 -05:00
Jeff Lenk a4f3629773 trivial fix compiler warning 2013-05-15 11:51:55 -05:00
Anthony Minessale d50366f377 FS-5418 --resolve 2013-05-15 08:08:41 -05:00
Anthony Minessale d5ad021720 FS-5208 --resolve 2013-05-15 07:36:56 -05:00
Anthony Minessale 644720454f fix some minor regression in media code 2013-05-14 12:55:02 -05:00
Anthony Minessale 101b116daf FS-5011 try to fill gaps 2013-05-14 11:22:53 -05:00
Steve Underwood 11f8491170 Fixed a silly in the FAX image resolution settings 2013-05-15 01:49:58 +08:00
Anthony Minessale 81788f1192 FS-5416 --resolve just missing the part that registers it 2013-05-14 07:38:00 -05:00
Anthony Minessale 0aaba4588a fix stun lookup returning 1 for port 2013-05-13 16:17:19 -05:00
Anthony Minessale 97d47af882 FS-5407 --resolve 2013-05-13 14:21:08 -05:00
Anthony Minessale 1eae2a1941 FS-5410 --resolve 2013-05-13 13:15:33 -05:00
Anthony Minessale fd86c038c9 FS-5406 --resolve 2013-05-12 08:06:31 -05:00
Raymond Chandler bba4540fe5 add context 2013-05-10 16:31:12 -04:00
Anthony Minessale cb7a6bd34b FS-5085 the last change helped weed out the real bug which is this commit 2013-05-10 10:45:28 -05:00
Anthony Minessale bb6b02f2d6 FS-5403 --resolve 2013-05-10 09:59:02 -05:00
Steve Underwood d501c77566 Relax the image resolutions supported for FAX 2013-05-10 21:44:17 +08:00
Anthony Minessale 30c27efb62 move log message to avoid logging null 2013-05-09 14:34:39 -05:00
Anthony Minessale 16690e491d FS-5399 --resolve 2013-05-09 14:05:09 -05:00
Anthony Minessale f00bd136ac FS-5360 --resolve fields are exec-on-max-failures exec-on-max-timeouts pin, needs testing 2013-05-09 12:28:43 -05:00
Anthony Minessale 66ba282233 FS-5390 --resolve 2013-05-09 10:29:45 -05:00
Anthony Minessale ba97929a1a FS-5398 --resolve 2013-05-09 10:08:14 -05:00
Giovanni Maruzzelli 0330520eba test 2, please ignore 2013-05-09 17:00:54 +00:00
root 0fe65187cd test, please ignore 2013-05-09 16:59:39 +00:00
William King 9fa4bed8e3 FS-5395: False alarm on a reported valgrind memory leak. The io_private is alloc'd from a memory pool which valgrind sucks at tracking. No need to free this, because it'll get cleared when the memory pool on the rsession is destroyed. 2013-05-08 18:45:24 -07:00
William King b3117e8f88 FS-5395: --resolve Resolve another mod_rtmp crash where oh specific hangup scenarios there would be a free of variable that wasn't ever malloced 2013-05-08 16:54:05 -07:00
Anthony Minessale 0a68bee88e FS-5085 I discovered that the bowout is happening from both legs at once, we only need to check this condition on the A side of the loopback bridge 2013-05-08 13:17:07 -05:00
Brian West 7c0dc4c25d Undo previous change 2013-05-08 14:40:10 -05:00
Raymond Chandler 58a127fe65 FS-5327 --resolve 2013-05-08 13:52:48 -04:00
Raymond Chandler ef1d9836a7 Merge branch 'master' of fs-git:freeswitch 2013-05-08 12:53:40 -04:00
Raymond Chandler e88126c95a FS-5288 --resolve 2013-05-08 12:53:31 -04:00
Anthony Minessale 9aaaeb7215 FS-5371 --resolve typo 2013-05-08 09:18:52 -05:00
Jeff Lenk 0bf912e821 FS-5389 2013-05-08 11:36:13 -05:00
Jeff Lenk ab7ae9f7cc FS-5389 --resolve 2013-05-08 08:37:10 -05:00
William King 0d5888de2f Revert "fixed stuck mod_rtmp session when the call is killed from fs side, such as using uuid_kill"
This reverts commit d8edc031fa.

Conflicts:
	src/mod/endpoints/mod_rtmp/mod_rtmp.c
2013-05-07 16:04:54 -07:00
Anthony Minessale d83c627228 FS-5168 --resolve 2013-05-07 14:09:47 -05:00
Raymond Chandler a2fcb4191e FS-4871 --resolve 2013-05-07 15:07:04 -04:00
Anthony Minessale 01a748869d regression parsing rtp-timeout-sec from the profile 2013-05-07 08:50:02 -05:00
Anthony Minessale ff05e5f2c7 FS-5383 --resolve 2013-05-07 08:31:23 -05:00
Ken Rice 7952f7c547 fix mod_spandsp on systems with libjbig 2013-05-06 18:23:54 -05:00
Michael Jerris bea4bb0950 fix auto in will not use the last slot 2013-05-06 11:46:38 -04:00
Anthony Minessale 832bbf4f03 FS-5371 --resolve 2013-05-03 13:38:17 -05:00
Anthony Minessale 283e5f5f6a FS-5365 --resolve 2013-05-03 13:14:01 -05:00
Michael Jerris 2f767ec9f0 add bgsystem for background system calls 2013-05-03 16:22:34 -04:00
Anthony Minessale adb68d6bca FS-5085 adding this patch but still wondering what causes this issue 2013-05-03 12:30:35 -05:00
Anthony Minessale 21c5db871b dress up event fired after parsing a message 2013-05-03 11:42:36 -05:00
Anthony Minessale e95bbd1e1f FS-5368 --resolve 2013-05-03 11:03:17 -05:00
Anthony Minessale 44840fc97a fix regression in sofia profile param for t38-passthru 2013-05-02 22:36:39 -05:00
Anthony Minessale 33f08490ec refuse t38 passthru on unanswered channel 2013-05-02 22:29:02 -05:00
William King 7ce7cbda57 FS-4332: --resolve 2013-05-03 00:01:24 -05:00
William King 17781cba1c FS-5240: --resolve Please test 2013-05-02 23:57:50 -05:00
Anthony Minessale 784d5722fa FS-4875 auto setting ignore_early_media causes unwanted side effects for others, it will have to be supplied by the user 2013-05-02 21:21:51 -05:00
Anthony Minessale 4c81fdf3ee FS-5359 --resolve 2013-04-30 18:45:24 -05:00
Brian West 777ca3392a add channel data to this event 2013-04-30 14:43:47 -05:00
Brian West 30899013bc fix stop the correct way 2013-04-30 13:24:35 -05:00
Anthony Minessale 2ad0e71225 add uuid of orig picked channel too 2013-04-30 11:57:48 -05:00
Anthony Minessale 6923845033 add execute_on_pickup and api_on_pickup 2013-04-30 11:41:34 -05:00
Brian West 4ac76c7c57 fix stopping of streams 2013-04-30 12:32:45 -05:00
Anthony Minessale ff7cb252fa FS-5358 --resolve use allow-transcoding=true param in global settings or fifo_allow_transcoding=true channel var on per caller basis 2013-04-30 09:39:35 -05:00