106 Commits

Author SHA1 Message Date
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
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
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 d8edc031faa41d4e570aad1e347a0ed6c0d6c1d8.

Conflicts:
	src/mod/endpoints/mod_rtmp/mod_rtmp.c
2013-05-07 16:04:54 -07: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
William King
66d1755b06 If the rsession is null, then don't try to unlock it, since that'll just result in a segfault. 2013-04-23 17:52:33 -07:00
William King
5c87754e42 fixed rtmp active calls count 2013-04-23 17:52:33 -07:00
William King
1dd86108fb added rsession check before comparing its state. commented out active sessions loop 2013-04-23 17:52:32 -07:00
William King
f7cb641d17 Updating the contributor tags 2013-04-23 17:52:32 -07:00
William King
6f89e2537e Moving all rtmp specific logging to use the rtmp uuid rather than the session uuid. 2013-04-23 17:52:32 -07:00
William King
fa6d465711 Another variable name standardization 2013-04-23 17:52:32 -07:00
William King
e379a596b2 Should resolve the last of the rsession -> session and session -> rsession on_destroy race condition issues
Conflicts:
	src/mod/endpoints/mod_rtmp/mod_rtmp.c
2013-04-23 17:52:32 -07:00
William King
fec463fdfe White space cleanup and variable naming standardization 2013-04-23 17:52:32 -07:00
William King
ad3a5a3572 Standardizing on rsession to reference rtmp_session_t
Conflicts:
	src/mod/endpoints/mod_rtmp/mod_rtmp.c
2013-04-23 17:52:32 -07:00
William King
7e1aad02b2 Resolve the segfault where the channel is destroyed while it is still receiving audio
Conflicts:
	src/mod/endpoints/mod_rtmp/rtmp.c
2013-04-23 17:52:32 -07:00
William King
a687274308 Cleaning up and standardizing variable name to rsession if the session referenced is an rtmp_session_t 2013-04-23 17:52:32 -07:00
William King
f81d17c1e2 added debugging to print ip and port of rtmp connection as well as tie the rtmp session and fs session together 2013-04-23 17:52:31 -07:00
William King
d8edc031fa fixed stuck mod_rtmp session when the call is killed from fs side, such as using uuid_kill 2013-04-23 17:52:31 -07:00
William King
37d2a34b04 Don't try to get the channel if the session is null. 2013-01-25 11:41:57 -08:00
William King
79069c66d1 FS-3882, FS-3546, FS-3712, FS-3970: --resolve Fixes the segfault in mod_rtmp where the channel was destroyed, but the endpoint still tried to send or receive data from the session. 2013-01-15 13:22:28 -08:00
Jeff Lenk
dc2c11f13f FS-4768 initial add of vs2012 build support 2012-12-29 14:57:15 -06:00
Anthony Minessale
06a3266360 FS-4655 its not a bug its a behaviour request, try this patch 2012-09-27 14:27:28 -05:00
Stefan Knoblich
416f026f8c FreeSWITCH: Add preprocessor constant for default callerid number
SWITCH_DEFAULT_CLID_NUMBER and replace all occurrences
in the FreeSWITCH codebase.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2012-09-17 21:32:18 +02:00
Anthony Minessale
f43e8246f9 FS-4578 try this on dev branch HEAD 2012-08-30 16:15:03 -05:00
Anthony Minessale
210acdd165 FS-4505 --resolve 2012-08-08 10:08:29 -05:00
Mathieu Rene
d67031a9c6 FS-4007 2012-06-20 15:42:57 -04:00
Anthony Minessale
8bb55ed4bf abstract out originate_signal_bond to a function to avoid confustion and regressions 2012-05-29 13:10:15 -05:00
Mathieu Rene
a5cd951c53 Update the outgoing channel handler so it passes the "var_event" event down towards rtmp_send_incoming_call since variables passed using originate are not yet in the session before the outgoing channel function returns. 2012-05-22 14:00:39 -04:00
Ken Rice
c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Ken Rice
cac6c262bb conf: add config files to module directories
The idea here is that the config files in the module directories will
serve as the canonical documentation of all module configuration
options.
2012-03-24 04:51:08 +00:00
Anthony Minessale
55faab9d7b fix reversed arguements in mod_rtmp caught by gcc 4.6.2 2012-02-22 18:30:01 -06:00
Anthony Minessale
77b8c0785c FS-3882 please try this patch 2012-02-08 12:11:15 -06:00
Marc Olivier Chouinard
db11e571b2 FS-3604 --resolve 2011-12-15 22:00:14 -05:00
Anthony Minessale
4b064aa96b different version of last commit 2011-12-10 07:40:46 -06:00
Anthony Minessale
5b141d2ef2 dont end on break events 2011-12-09 19:20:52 -06:00
Anthony Minessale
edcb1329da FS-3735 that is a resonable figure, if that works we can set it to this. can we close out this bounty then? 2011-12-07 14:04:30 -06:00
Anthony Minessale
f1d5120f63 FS-3735 2011-12-07 11:27:58 -06:00
Anthony Minessale
ebbd4bb374 FS-3681 --resolve -- contact consulting@freeswitch.org for a support contract and get priority attention for bugfixes 2011-11-09 08:55:35 -06:00
Joao Mesquita
624a292123 New feature: param disallow-multiple-registration on user directory logs out all other users on other sessions with the same user:domain pair. 2011-10-05 19:02:02 -03:00
Raymond Chandler
91b73d1ff8 add params so xml curl can know who's calling the directory request 2011-09-16 19:08:30 -04:00
Mathieu Rene
156776797a mod_rtmp: don't add data to the sendq if the connection's gone 2011-08-31 16:46:20 +02:00
Mathieu Rene
5b36aea097 Missed one in e8ae13a8 2011-08-15 17:31:15 +02:00
Anthony Minessale
4bb768311e flush buffer to avoid lag and enable plc 2011-06-21 11:43:37 -05:00
Anthony Minessale
a5452174d9 FS-3353 --resolve 2011-06-20 10:32:11 -05:00
Jeff Lenk
f8cda53998 FS-3355 --resolve mod_rtmp for windows 2011-06-20 10:03:56 -05:00
Anthony Minessale
e8ae13a837 fix type 2011-06-17 14:41:31 -05:00
Anthony Minessale
5081765575 remove superfluous hangup 2011-06-14 11:40:46 -05:00
Mathieu Rene
36f812d938 CNG frames need to have codec set too 2011-06-14 00:35:18 -04:00