773 Commits

Author SHA1 Message Date
Andrew Thompson
c872e09265 Unify outbound session cleanup code, possibly fixes MODEVENT-47
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13900 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-22 23:38:23 +00:00
Michael Jerris
786c7710f1 trivial build fix (FSBUILD-174)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-20 03:29:55 +00:00
Andrew Thompson
48885edcff Move mutex into the global struct, don't leak on config reload (thanks Math)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 19:35:02 +00:00
Andrew Thompson
886f2c5548 Make mod_event_multicast re-read its config on RELOADXML (partially)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13872 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 19:24:23 +00:00
Andrew Thompson
41daa117e9 Whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 17:51:18 +00:00
Andrew Thompson
1688e31e6a Switch to cipher-block-chaining, add a magic byte sequence to check for sucessful decryption and fix some null termination issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 17:47:09 +00:00
Andrew Thompson
ff3e7f3f0f Only complain about unexpected exits if the call isn't already hungup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 01:48:59 +00:00
Andrew Thompson
b63e09716a Taking a stab at MODEVENT-47
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-19 00:51:53 +00:00
Andrew Thompson
889c336411 Initial decryption support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13828 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-18 04:20:45 +00:00
Andrew Thompson
94daf904b3 Fix offset
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-18 04:19:42 +00:00
Andrew Thompson
f17991b722 Use OpenSSL to optionally use a pre-shared key to encrypt multicast packets (no decryption yet)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-18 02:19:13 +00:00
Andrew Thompson
0c1a558520 Whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 20:43:54 +00:00
Andrew Thompson
5ed15f5555 put OPENSSL_CFLAGS and LIBS in modmake.rules.in at MikeJ's suggestion
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 20:39:08 +00:00
Andrew Thompson
65f6e2a23b Switch mod_event_multicast over to using a Makefile.in
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 19:53:38 +00:00
Andrew Thompson
3c2d4f9912 Make ttl configurable for event_multicast
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 04:15:45 +00:00
Andrew Thompson
d03163bf5d Fix multicast replication of sofia registrations (OKed by anthm)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13786 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-16 18:46:28 +00:00
Andrew Thompson
a0c5978a84 Huh, I guess that was a socket not a file descriptor
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-11 23:48:08 +00:00
Andrew Thompson
b32ea95f68 Add sorta working win32 support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13764 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-11 22:29:37 +00:00
Andrew Thompson
42f6d3ff4a Use SWITCH_XML_SECTION_MAX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 21:17:42 +00:00
Mathieu Rene
4348c7bca2 FSCORE-379
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 06:39:08 +00:00
Andrew Thompson
696285a98f Blindly adding winsock support, I'll test it when I get to a windows machine
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13717 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 05:24:55 +00:00
Brian West
a1e5add731 don't print misleading info here either if nat_type isn't set even if the add is a no_op
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13705 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-08 23:28:51 +00:00
Mathieu Rene
b633d3298e add an external port output parameter to switch_nat_add_mapping and use it in sofia_glue_tech_choose_port
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-05 02:30:44 +00:00
Brian West
78c0c3b80e not not right
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 22:30:00 +00:00
Brian West
b28bd6b9d2 don't nat map where its loopback
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 19:42:53 +00:00
Brian West
d59ebd6450 adding nat-map option to mod_event_socket
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13567 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-03 14:25:35 +00:00
Anthony Minessale
303271f92a allow socket app to operate without pre_answer (please test)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13294 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-13 16:34:39 +00:00
Michael Jerris
4441606b17 cleanup msvc code analysis tagging and warnings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-11 22:28:02 +00:00
Mathieu Rene
06babac1e4 Properly use switch_xml_parse_str_dynamic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-08 04:05:39 +00:00
Andrew Thompson
ffe00a236b Use switch_xml_parse_str_dynamic so we don't leak (thanks Math)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13256 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-07 22:13:05 +00:00
Anthony Minessale
b25d511cd3 tweak log messages
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13220 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-02 00:58:51 +00:00
Anthony Minessale
0b66681f10 add resume command to event socket and socket_resume variable
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13212 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-30 22:45:46 +00:00
Mathieu Rene
7da470f67c Fix them all while we're at it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13092 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-21 01:02:45 +00:00
Stefan Knoblich
0412ae8e9c snprintf needs a format string too, and write has the warn_unused_result attribute set, so store the return value somewhere
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13090 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-21 00:44:33 +00:00
Andrew Thompson
d2bede71f5 Reply appropriately to net_adm:ping()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13066 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 23:02:41 +00:00
Andrew Thompson
c9c2f8d6df Whoops!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12906 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 17:52:38 +00:00
Andrew Thompson
3c84c89744 Remember kids, practice safe memory management!
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12888 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-02 16:11:15 +00:00
Andrew Thompson
aa2f34e98a Fixed registered process outbound mode (reported by rcpacheco)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-30 21:10:01 +00:00
Anthony Minessale
bce5187da1 rearrange hangup callflow to do more work in the session's own thread
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-25 20:07:40 +00:00
Anthony Minessale
dd19c3c2ec fix var events to not have stamp info
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 23:44:03 +00:00
Anthony Minessale
50faa8bcd9 fix typo
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12763 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 22:22:05 +00:00
Anthony Minessale
67984e765c change blocking: true to async: true you can start with blocking and go async but not the other way around
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 18:01:58 +00:00
Anthony Minessale
bed82b98a6 move connect command to always work on outbound socket not just the first time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-23 19:53:57 +00:00
Andrew Thompson
31aefe6ef8 Remove some unnecessary code that was holding locks on the session
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-17 19:51:49 +00:00
Andrew Thompson
f06de29ac3 Cleanups/fixes while tracking down stuck channels
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-17 02:35:06 +00:00
Andrew Thompson
eacbed6de9 Don't hold a pointer to the session, store the uuid instead and use switch_core_session_locate/switch_core_session_rwunlock
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-17 00:05:17 +00:00
Andrew Thompson
3eba7e3602 Send a "call_hangup" to outbound/handlecall sessions when the relevant channel is hungup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 23:31:55 +00:00
Andrew Thompson
8928727293 Fix removing sessions from linked list; fix a deadlock added in previous commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12634 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 22:58:36 +00:00
Andrew Thompson
8d9f4cd156 Improved the 'erlang' console application; added the UUID to some debug messages
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-16 22:14:31 +00:00
Andrew Thompson
4adb99129e Whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-14 23:53:32 +00:00