]> git.ipfire.org Git - thirdparty/freeswitch.git/log
thirdparty/freeswitch.git
13 years agoMore explicit and defensive code so if the init fails we know we handling this pointe...
William King [Sat, 25 May 2013 02:49:20 +0000 (19:49 -0700)] 
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.

13 years agoAnother location where mod_rtmp would leak memory.
William King [Sat, 25 May 2013 02:45:24 +0000 (19:45 -0700)] 
Another location where mod_rtmp would leak memory.

13 years agoFix improper handling of a double linked list that could have caused a memory leak.
William King [Sat, 25 May 2013 02:42:02 +0000 (19:42 -0700)] 
Fix improper handling of a double linked list that could have caused a memory leak.

13 years agoAppears to have been a copy paste error because this doesn't do what the api claims...
William King [Sat, 25 May 2013 02:35:43 +0000 (19:35 -0700)] 
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.

13 years agoFixing a memory leak. name needs to be freed since it's being strdup'd lower.
William King [Sat, 25 May 2013 02:30:57 +0000 (19:30 -0700)] 
Fixing a memory leak. name needs to be freed since it's being strdup'd lower.

13 years agobump
Anthony Minessale [Fri, 24 May 2013 19:25:07 +0000 (14:25 -0500)] 
bump

13 years agobump v1.5.1
Anthony Minessale [Fri, 24 May 2013 19:18:07 +0000 (14:18 -0500)] 
bump

13 years agoFS-5470 --resolve
Anthony Minessale [Fri, 24 May 2013 14:37:25 +0000 (09:37 -0500)] 
FS-5470 --resolve

13 years agoFS-5466 --resolve
Anthony Minessale [Fri, 24 May 2013 14:14:13 +0000 (09:14 -0500)] 
FS-5466 --resolve

13 years agoFS-5453 --resolve
Anthony Minessale [Fri, 24 May 2013 13:13:41 +0000 (08:13 -0500)] 
FS-5453 --resolve

13 years agoFS-5042 changed event body creation
Mariusz Czułada [Fri, 24 May 2013 10:18:00 +0000 (12:18 +0200)] 
FS-5042 changed event body creation

13 years agoFS-4871: reduce logging a bit
Raymond Chandler [Fri, 24 May 2013 00:51:25 +0000 (20:51 -0400)] 
FS-4871: reduce logging a bit

13 years agoFS-5453 --resolve this is a different issue, we just have to hangup the loopback...
Anthony Minessale [Thu, 23 May 2013 14:59:00 +0000 (09:59 -0500)] 
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

13 years agoswig
Anthony Minessale [Thu, 23 May 2013 14:53:50 +0000 (09:53 -0500)] 
swig

13 years agoFS-5042 --resolve
Anthony Minessale [Thu, 23 May 2013 13:07:10 +0000 (08:07 -0500)] 
FS-5042 --resolve

13 years agoFS-5453 --resolve
Anthony Minessale [Thu, 23 May 2013 13:00:03 +0000 (08:00 -0500)] 
FS-5453 --resolve

13 years agoFS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault
Nathan Neulinger [Thu, 23 May 2013 13:13:44 +0000 (08:13 -0500)] 
FS-5431: --resolve fix socket creation loop for mod_skinny to avoid segfault

13 years agoMore phrases
Michael S Collins [Thu, 23 May 2013 00:39:07 +0000 (17:39 -0700)] 
More phrases

13 years agoesl: Don't abort the esl_listen() loop(s) if accept() returns with errno == EINTR
Stefan Knoblich [Thu, 23 May 2013 00:07:55 +0000 (02:07 +0200)] 
esl: Don't abort the esl_listen() loop(s) if accept() returns with errno == EINTR

ivrd doesn't use sigaction + SA_RESTART for SIGCHILD. An exiting
child process will interrupt accept() in the parent to handle
the signal, which makes accept() return -1 (errno = EINTR) after
the sighandler function returns.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
13 years agoivrd: fflush() stdout before entering esl_listen()
Stefan Knoblich [Thu, 23 May 2013 00:05:25 +0000 (02:05 +0200)] 
ivrd: fflush() stdout before entering esl_listen()

Fixes repeatedly printing the 'Starting forking listener' message,
if stdout has been redirected into a logfile (for example).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
13 years agoAdd new to-be-recorded phrases highlighting weekly conf call (to add to new demo...
Michael S Collins [Wed, 22 May 2013 20:17:04 +0000 (13:17 -0700)] 
Add new to-be-recorded phrases highlighting weekly conf call (to add to new demo IVR)

13 years agoFS-5440: don't assert on bad input rtmp data
William King [Wed, 22 May 2013 19:38:15 +0000 (12:38 -0700)] 
FS-5440: don't assert on bad input rtmp data

13 years agoFS-5402 --resolve the problem is ent originate has many channels and many causes...
Anthony Minessale [Wed, 22 May 2013 16:01:39 +0000 (11:01 -0500)] 
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

13 years agoFS-5360 change defaults
Anthony Minessale [Wed, 22 May 2013 15:20:29 +0000 (10:20 -0500)] 
FS-5360 change defaults

13 years agoMerge branch 'master' of ssh://git.freeswitch.org:222/freeswitch
Chris Rienzo [Wed, 22 May 2013 17:22:19 +0000 (13:22 -0400)] 
Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch

13 years agomod_http_cache: fix example config
Chris Rienzo [Wed, 22 May 2013 17:22:03 +0000 (13:22 -0400)] 
mod_http_cache: fix example config

13 years agoFS-5455 try this
Anthony Minessale [Wed, 22 May 2013 13:11:24 +0000 (08:11 -0500)] 
FS-5455 try this

13 years agowindows fix trivial compiler warning
Jeff Lenk [Wed, 22 May 2013 15:38:04 +0000 (10:38 -0500)] 
windows fix trivial compiler warning

13 years agoFS-5429: --resolve add minimal idivert support for skinny
Nathan Neulinger [Wed, 22 May 2013 14:58:28 +0000 (09:58 -0500)] 
FS-5429: --resolve add minimal idivert support for skinny

13 years agoFS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired...
Nathan Neulinger [Wed, 22 May 2013 14:27:09 +0000 (09:27 -0500)] 
FS-5379: --resolve fix skinny phone codec agreement issues due to incorrect hardwired ptime, update field names for future coding to be more descriptive

13 years agoFS-5225: --resolve add ability to dial by pressing line button
Nathan Neulinger [Wed, 22 May 2013 14:17:41 +0000 (09:17 -0500)] 
FS-5225: --resolve add ability to dial by pressing line button

13 years agoFS-5267: --resolve avoid null deref if sessions missing
Nathan Neulinger [Wed, 22 May 2013 14:12:46 +0000 (09:12 -0500)] 
FS-5267: --resolve avoid null deref if sessions missing

13 years agomod_http_cache: a couple more unit test cases
Chris Rienzo [Wed, 22 May 2013 12:47:49 +0000 (08:47 -0400)] 
mod_http_cache: a couple more unit test cases

13 years agomod_http_cache: remove unnecessary memset() now that switch_b64_encode() is fixed
Chris Rienzo [Wed, 22 May 2013 12:22:04 +0000 (08:22 -0400)] 
mod_http_cache: remove unnecessary memset() now that switch_b64_encode() is fixed

13 years agomod_http_cache: fix unit test now that switch_b64_encode is fixed
Chris Rienzo [Wed, 22 May 2013 12:19:36 +0000 (08:19 -0400)] 
mod_http_cache: fix unit test now that switch_b64_encode is fixed

13 years agoFS-5436 --resolve
Anthony Minessale [Wed, 22 May 2013 00:39:02 +0000 (19:39 -0500)] 
FS-5436 --resolve

13 years agoFS-5402 revert wait till tomorrow
Anthony Minessale [Tue, 21 May 2013 18:29:05 +0000 (13:29 -0500)] 
FS-5402 revert wait till tomorrow

13 years agoFS-5402
Anthony Minessale [Tue, 21 May 2013 18:22:17 +0000 (13:22 -0500)] 
FS-5402

13 years agoFS-5453 --resolve
Anthony Minessale [Tue, 21 May 2013 17:01:57 +0000 (12:01 -0500)] 
FS-5453 --resolve

13 years agoFS-5457
Anthony Minessale [Tue, 21 May 2013 15:21:45 +0000 (10:21 -0500)] 
FS-5457

13 years agoFS-5376 --resolve
Anthony Minessale [Tue, 21 May 2013 15:04:35 +0000 (10:04 -0500)] 
FS-5376 --resolve

13 years agoFS-5242
Anthony Minessale [Tue, 21 May 2013 15:03:22 +0000 (10:03 -0500)] 
FS-5242

13 years agoFS-5211 --resolve
Anthony Minessale [Tue, 21 May 2013 14:29:50 +0000 (09:29 -0500)] 
FS-5211 --resolve

13 years agoftmod_libpri: Fix possible NULL-ptr dereference crash in on_restart(_ack)()
Stefan Knoblich [Tue, 21 May 2013 15:42:24 +0000 (17:42 +0200)] 
ftmod_libpri: Fix possible NULL-ptr dereference crash in on_restart(_ack)()

Catch single channel RESTART/RESTART ACK events for non-B-channels,
that would lead to a NULL pointer dereference, because those do not have
per-channel private data (chan->call_data = chan_priv == NULL).

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
13 years agomod_http_cache: forgot to add write to http_cache:// format
Chris Rienzo [Tue, 21 May 2013 13:27:39 +0000 (09:27 -0400)] 
mod_http_cache: forgot to add write to http_cache:// format

13 years agoAdd mod_say_pl to debian build
Travis Cross [Tue, 21 May 2013 02:33:56 +0000 (02:33 +0000)] 
Add mod_say_pl to debian build

13 years agoSpelling fix
Travis Cross [Tue, 21 May 2013 02:00:43 +0000 (02:00 +0000)] 
Spelling fix

13 years agoFS-5360
Anthony Minessale [Mon, 20 May 2013 17:22:58 +0000 (12:22 -0500)] 
FS-5360

13 years agogetting read_impl too soon here
Anthony Minessale [Mon, 20 May 2013 16:22:37 +0000 (11:22 -0500)] 
getting read_impl too soon here

13 years agoFS-5444 --resolve
Anthony Minessale [Mon, 20 May 2013 13:20:33 +0000 (08:20 -0500)] 
FS-5444 --resolve

13 years agomod_http_cache: added write file format
Chris Rienzo [Mon, 20 May 2013 15:18:40 +0000 (11:18 -0400)] 
mod_http_cache: added write file format

13 years agomod_http_cache: added native Amazon S3 support
Chris Rienzo [Mon, 20 May 2013 13:31:28 +0000 (09:31 -0400)] 
mod_http_cache: added native Amazon S3 support

13 years agoFixed a weakness in error UDPTL lost packet recovery. Hopefully this addresses
Steve Underwood [Mon, 20 May 2013 03:30:11 +0000 (11:30 +0800)] 
Fixed a weakness in error UDPTL lost packet recovery. Hopefully this addresses
FS5202.

13 years agoAdd mod_xml_radius to the modules list, though disabled by default.
William King [Sun, 19 May 2013 03:49:51 +0000 (20:49 -0700)] 
Add mod_xml_radius to the modules list, though disabled by default.

13 years agoTheoretical memory leak where if attr_init failed, then check would have still been...
William King [Sun, 19 May 2013 03:42:03 +0000 (20:42 -0700)] 
Theoretical memory leak where if attr_init failed, then check would have still been malloc'd but not used.

13 years agoMinor code cleanup. calling va_start without calling va_end doesn't leak does it...
William King [Sun, 19 May 2013 03:15:14 +0000 (20:15 -0700)] 
Minor code cleanup. calling va_start without calling va_end doesn't leak does it? Either way, it's fixed now.

13 years agofull_contact must be freed by sofia. There isn't a chance of this having blown anythi...
William King [Sun, 19 May 2013 02:13:18 +0000 (19:13 -0700)] 
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.

13 years agoWas causing a very small leak on naptr lookups. Upon review just happened to be a...
William King [Sun, 19 May 2013 00:50:50 +0000 (17:50 -0700)] 
Was causing a very small leak on naptr lookups. Upon review just happened to be a typo missing a bang.

13 years agoMy bad. some how a make didn't catch this issue after a cleanup refactor. In this...
William King [Sun, 19 May 2013 00:46:13 +0000 (17:46 -0700)] 
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.

13 years agoCoverity reported an Uninitialized pointer read. Upon further digging it appears...
William King [Sun, 19 May 2013 00:34:16 +0000 (17:34 -0700)] 
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.

13 years agoEdge case for when you are subscribing to presence on a valet parking lot. In which...
William King [Sun, 19 May 2013 00:06:54 +0000 (17:06 -0700)] 
Edge case for when you are subscribing to presence on a valet parking lot. In which case there would be a small leak.

13 years agoPossible leak if someone were to try and add extra headers to a channel that had...
William King [Sun, 19 May 2013 00:00:41 +0000 (17:00 -0700)] 
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.

13 years agoAlice meet rabit hole. There is a leak here on every invite that comes back from...
William King [Sat, 18 May 2013 23:34:46 +0000 (16:34 -0700)] 
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.

13 years agoIf the mod_sofia global presense hash is null, then make sure to free the matches...
William King [Sat, 18 May 2013 23:05:40 +0000 (16:05 -0700)] 
If the mod_sofia global presense hash is null, then make sure to free the matches variable before going to done.

13 years agoFS-5443: --resolve leaked because the JS api's copy and return new malloc'd pointers.
William King [Sat, 18 May 2013 22:47:01 +0000 (15:47 -0700)] 
FS-5443: --resolve leaked because the JS api's copy and return new malloc'd pointers.

13 years agoWhen message events were added, the debug field name was overlooked. This would have...
William King [Sat, 18 May 2013 22:10:44 +0000 (15:10 -0700)] 
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.

13 years agoMinor typo. User is being passed into this fuction as a long pointer, not a long.
William King [Sat, 18 May 2013 21:29:59 +0000 (14:29 -0700)] 
Minor typo. User is being passed into this fuction as a long pointer, not a long.

13 years agoread() does not NULL terminate statbuf, but strstr expects statbuf to be null terminated.
William King [Sat, 18 May 2013 21:26:40 +0000 (14:26 -0700)] 
read() does not NULL terminate statbuf, but strstr expects statbuf to be null terminated.

13 years agoThis was writing a null one space to the right, outside of the malloc'd buffer. On...
William King [Sat, 18 May 2013 20:38:24 +0000 (13:38 -0700)] 
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.

13 years agoFS-5434 --resolve
Jeff Lenk [Sat, 18 May 2013 02:38:32 +0000 (21:38 -0500)] 
FS-5434 --resolve

13 years agoremove flag
Anthony Minessale [Fri, 17 May 2013 21:13:19 +0000 (16:13 -0500)] 
remove flag

13 years agofix silence_stream size bug
Anthony Minessale [Fri, 17 May 2013 21:11:04 +0000 (16:11 -0500)] 
fix silence_stream size bug

13 years agomedia/srtp refactoring pass
Anthony Minessale [Fri, 17 May 2013 20:39:21 +0000 (15:39 -0500)] 
media/srtp refactoring pass

13 years agoFS-5441: --resolve
William King [Fri, 17 May 2013 19:39:17 +0000 (12:39 -0700)] 
FS-5441: --resolve

13 years agohow...?
William King [Tue, 14 May 2013 23:47:13 +0000 (16:47 -0700)] 
how...?

13 years agoSince there isn't neutral ground, on the rtmp state callback we actually have to...
William King [Mon, 13 May 2013 22:10:03 +0000 (15:10 -0700)] 
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.

13 years agoSeems the session wasn't coming to the hangup in a locked state.
William King [Mon, 13 May 2013 15:28:09 +0000 (08:28 -0700)] 
Seems the session wasn't coming to the hangup in a locked state.

13 years agoSeems having a read lock still prevents a write lock to be taken, even if the thread...
William King [Mon, 13 May 2013 03:23:57 +0000 (20:23 -0700)] 
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.

13 years agoInclude the write lock since we're changing the tech_pvt
William King [Sun, 12 May 2013 21:29:14 +0000 (14:29 -0700)] 
Include the write lock since we're changing the tech_pvt

13 years agoSome tweaks to the image translate code
Steve Underwood [Wed, 15 May 2013 18:28:20 +0000 (02:28 +0800)] 
Some tweaks to the image translate code

13 years agoFS-5430 --resolve
Anthony Minessale [Wed, 15 May 2013 14:27:18 +0000 (09:27 -0500)] 
FS-5430 --resolve

13 years agotrivial fix compiler warning
Jeff Lenk [Wed, 15 May 2013 16:51:55 +0000 (11:51 -0500)] 
trivial fix compiler warning

13 years agoFS-5418 --resolve
Anthony Minessale [Wed, 15 May 2013 13:08:41 +0000 (08:08 -0500)] 
FS-5418 --resolve

13 years agoFS-5208 --resolve
Anthony Minessale [Wed, 15 May 2013 12:36:56 +0000 (07:36 -0500)] 
FS-5208 --resolve

13 years agofix some minor regression in media code
Anthony Minessale [Tue, 14 May 2013 17:55:02 +0000 (12:55 -0500)] 
fix some minor regression in media code

13 years agoFS-5011 try to fill gaps
Anthony Minessale [Tue, 14 May 2013 16:22:48 +0000 (11:22 -0500)] 
FS-5011 try to fill gaps

13 years agoFixed a silly in the FAX image resolution settings
Steve Underwood [Tue, 14 May 2013 17:49:58 +0000 (01:49 +0800)] 
Fixed a silly in the FAX image resolution settings

13 years agoFS-5325 force rebuild
Anthony Minessale [Tue, 14 May 2013 12:44:34 +0000 (07:44 -0500)] 
FS-5325 force rebuild

13 years agoFS-5416 --resolve just missing the part that registers it
Anthony Minessale [Tue, 14 May 2013 12:38:00 +0000 (07:38 -0500)] 
FS-5416 --resolve just missing the part that registers it

13 years agofix stun lookup returning 1 for port
Anthony Minessale [Mon, 13 May 2013 21:17:19 +0000 (16:17 -0500)] 
fix stun lookup returning 1 for port

13 years agoFS-5407 --resolve
Anthony Minessale [Mon, 13 May 2013 19:21:08 +0000 (14:21 -0500)] 
FS-5407 --resolve

13 years agoFS-5410 --resolve
Anthony Minessale [Mon, 13 May 2013 18:15:33 +0000 (13:15 -0500)] 
FS-5410 --resolve

13 years agoFS-5406 --resolve
Anthony Minessale [Sun, 12 May 2013 13:06:31 +0000 (08:06 -0500)] 
FS-5406 --resolve

13 years agoFS-5325 windows compile
Jeff Lenk [Fri, 10 May 2013 22:31:01 +0000 (17:31 -0500)] 
FS-5325 windows compile

13 years agoRequire OpenSSL
Ken Rice [Fri, 10 May 2013 21:01:40 +0000 (16:01 -0500)] 
Require OpenSSL

13 years agoadd context
Raymond Chandler [Fri, 10 May 2013 20:31:06 +0000 (16:31 -0400)] 
add context

13 years agoFS-5325
Anthony Minessale [Fri, 10 May 2013 17:55:26 +0000 (12:55 -0500)] 
FS-5325

13 years agoFS-5085 the last change helped weed out the real bug which is this commit
Anthony Minessale [Fri, 10 May 2013 15:45:07 +0000 (10:45 -0500)] 
FS-5085 the last change helped weed out the real bug which is this commit

13 years agospandsp windows fix syntax for gettimeofday
Jeff Lenk [Fri, 10 May 2013 17:46:03 +0000 (12:46 -0500)] 
spandsp windows fix syntax for gettimeofday

13 years agoFS-5403 --resolve
Anthony Minessale [Fri, 10 May 2013 14:59:02 +0000 (09:59 -0500)] 
FS-5403 --resolve