Commit Graph
100 Commits
Author SHA1 Message Date
Andrew Thompson 7dc92c47e1 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2011-08-24 14:44:32 -04:00
Andrew Thompson af3be7b21d Silence a silly warning about ignored return values 2011-08-24 14:44:12 -04:00
Andrew Thompson 7b656871f3 Fix unused var 2011-08-20 23:03:17 -04:00
Andrew Thompson 618ea0f2c8 FS-3488 --resolve 2011-08-20 19:45:36 -04:00
Andrew Thompson 8ae9ab5d15 FS-3034 2011-05-11 13:55:22 -04:00
Andrew Thompson 10d696ebac Added conference UUID to xml_list 2011-02-02 00:01:38 -05:00
Andrew Thompson 9fe440b2fe mod_erlang_event Add proper locking for the list of XML bindings 2011-01-21 21:53:03 -05:00
Andrew Thompson 8d6d52e015 mod_conference Add energy level to conference_add_event_member_data
This is useful when you want to find the energy a member joined with
without having to pull the XML list
2011-01-21 21:50:02 -05:00
Andrew Thompson 4eccdfef58 mod_erlang_event: Don't urlencode events (and destroy an event after use) 2011-01-21 21:47:46 -05:00
Andrew Thompson 300348916e Log error when there's no IVR menus configured when you call 'ivr' DP app 2011-01-09 14:42:42 -05:00
Andrew Thompson 4f9dd5e164 mod_conference: Add XML output for conference run time, recording status and member mute-detect. Also add events for recording start and stop.
This work was funded by Xpander Communications.
2010-12-20 23:57:45 -05:00
Andrew Thompson 6941c6eb71 FS-2775 Rewrite XML fetch conditional wait to be more sane (Reported by James Aimonetti) 2010-11-15 12:39:54 -05:00
Andrew Thompson 6a83988674 Merge branch 'master' of git.freeswitch.org:freeswitch 2010-10-23 02:06:52 -04:00
Andrew Thompson 564940c274 Add FreeTDM to modules.conf.xml 2010-10-23 02:06:09 -04:00
Andrew Thompson f8d8a395cc Merge branch 'master' of git.freeswitch.org:freeswitch 2010-10-18 03:19:16 -04:00
Andrew Thompson 1ffff099c1 Avoid checking the lengh of a null string. 2010-10-18 03:18:35 -04:00
Andrew Thompson dc40a7789c Arrays are 0 indexed in C, duh 2010-10-17 16:19:38 -04:00
Andrew Thompson 4680cbb2dd mod_erlang_event: Update config file with new option and add some comments 2010-10-15 23:41:35 -04:00
Andrew Thompson 094ffe37cc mod_erlang_event: Support for reading erlang cookie from a file
mod_erlang_event will now try to read $HOME/.erlang.cookie if no cookie
is specified in the config file. You can specify an arbitary cookie file
via the 'cookie-file' parameter in the config file. The cookie file MUST
be readable by the user freeswitch is running as (either the owner or
root) and the file MUST NOT be readable/writeable/executable by any
other user (eg 0400 permissions). Thanks to James Aimonetti for the idea
and the original patch.
2010-10-15 23:40:57 -04:00
Andrew Thompson 08d6b4339c Fix hostname guessing to work when some stupid DNS server resolves 0.0.0.0
Also, fix names containing a @ to work right
2010-08-29 10:59:10 -04:00
Andrew Thompson 2e8ece4fba Patch (with changes) from Micah Warren to add 'setevent' which is a mostly-atomic nixevent ALL + a event subscription 2010-08-27 21:16:55 -04:00
Andrew Thompson 37c224670e Unify gateway printing between 'sofia xmlstatus gateway' and 'sofia xmlstatus gateway <gatewayname>' 2010-08-26 18:35:22 -04:00
Andrew Thompson 79ced283b3 Some more tweaks 2010-08-22 20:58:52 -04:00
Andrew Thompson 3798c39177 Remove some code we don't use 2010-08-22 20:58:48 -04:00
Andrew Thompson 6fc68a4aa9 Use a different mutex for tracking threadcount 2010-08-22 20:58:47 -04:00
Andrew Thompson 121e57a1db Switch from mutex to a rwlock to increase throughput 2010-08-22 20:58:44 -04:00
Andrew Thompson 5ef61c961f Null out the spawn reply after we're done with it to avoid seg 2010-08-22 20:58:41 -04:00
Andrew Thompson c0d51b83f4 Improve some logging to include UUIDs 2010-08-22 20:58:38 -04:00
Andrew Thompson 9ad509c29a mod_erlang_event: generate long node names the same as erlang does
Also, allow you to override the node name inference by passing a
nodename with an @ in it, eg. freeswitch@freeswitch.com
2010-08-17 02:32:37 -04:00
Andrew Thompson 6397f898fd Switch from a busy-wait loop to crazy conditional timedwait stuff for speed 2010-08-06 01:32:28 -04:00
Andrew Thompson b60d6b3376 Remove deprecated new_pid API (its been there long enough) 2010-08-05 16:07:14 -04:00
Andrew Thompson f281ac390a Bump the 'spawn process' timeout, fix some logging 2010-08-05 13:38:42 -04:00
Andrew Thompson 79bf833d72 Revert last commit, nixevent ALL is what I wanted, not noevent 2010-08-04 12:38:31 -04:00
Andrew Thompson d3be2a2d93 Don't purge the event queue on session_noevents right now 2010-08-04 12:30:41 -04:00
Andrew Thompson aa16f939b7 Add some wrapper functions for the new session event filter stuff 2010-08-04 11:28:53 -04:00
Andrew Thompson 0ec9ffe649 Tony said I should use a rwlock for this, so now I do 2010-08-04 10:45:25 -04:00
Andrew Thompson 810ce12791 Merge branch 'master' of git.freeswitch.org:freeswitch 2010-08-03 18:06:02 -04:00
Andrew Thompson 698fa0455b Add 3 new commands; session_event, session_noevents, session_nixevent 2010-08-03 18:05:19 -04:00
Andrew Thompson 64a28ee974 Switching to using a hash instead of a linked list for outbound sessions 2010-08-03 18:02:18 -04:00
Andrew Thompson 4441d64c37 Merge branch 'master' of git.freeswitch.org:freeswitch 2010-07-17 14:50:32 -04:00
Andrew Thompson 9d44ed0409 Make XML fetch reply ACKs distinguishable, update freeswitch.erl 2010-07-17 14:02:57 -04:00
Andrew Thompson 6030f435c0 Merge branch 'master' of git://git.freeswitch.org/freeswitch 2010-07-12 13:08:55 -04:00
Andrew Thompson 251d1f0689 Add commented out load directive for mod_erlang_event to modules.conf.xml 2010-07-12 13:08:14 -04:00
Andrew Thompson 2adde7d86d mod_conference: Add energy, volume_in and volume_out to xml_list 2010-06-25 19:29:33 -04:00
Andrew Thompson b45a11770a Fix portaudio modules on FreeBSD (-I include order issue) 2010-04-02 01:00:08 -04:00
Andrew Thompson 3786722149 Tweak some mutexes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16903 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-04 20:17:32 +00:00
Andrew Thompson dc5c383d20 Track time taken for XML fetch responses/timeouts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16704 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-19 18:51:57 +00:00
Andrew Thompson 6107493160 Replace busy wait for XML fetch with thread cond stuff (Original patch contributed by Michael Fig / MarkeTel Systems)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16697 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-18 21:55:46 +00:00
Andrew Thompson 02a915c166 FSCORE-542
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16565 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-03 19:55:36 +00:00
Andrew Thompson 77ac925dc5 Don't exit the entire listener for a single session failure (reported by Timur Irmatov)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16516 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-26 15:44:46 +00:00
Andrew Thompson 335eb6dac2 Allow uuid_audio to set read/write levels without clearing the other one
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16069 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 23:49:38 +00:00
Andrew Thompson c2cde58f38 Move erlang module's default config file to be with all the others
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15881 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 22:10:12 +00:00
Andrew Thompson 15363cdb2f Tracking API change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 17:43:10 +00:00
Andrew Thompson b003a84c21 Add memorial day to holiday dialplan example
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15723 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-30 19:10:22 +00:00
Andrew Thompson f6e24c3c95 mod_portaudio: make the ringfile configurable via new API command 'pa ringfile'
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15633 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-23 22:15:26 +00:00
Andrew Thompson f3ec5531ef git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15411 d0543943-73ff-0310-b7d9-9358b9ac24b2 2009-11-10 18:11:30 +00:00
Andrew Thompson f9df2e6bd8 How'd that happen?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15200 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-22 20:55:12 +00:00
Andrew Thompson e47f8215e9 mod_erlang_event: optionally allow compatability with nodes running older OTP releases (R7 through current)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-21 20:57:46 +00:00
Andrew Thompson 9d99fe8e89 Add a log message when the invite has no SDP and 3pcc isn't enabled to aid troubleshooting
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15140 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-12 19:09:34 +00:00
Andrew Thompson 671694fb17 Deprecate new_pid message in favor of get_pid which has an extra element, the call's UUID
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-15 19:54:23 +00:00
Andrew Thompson abc3acdf44 Add support for simply sending an arbitrary message to an arbitrary registered process at a node
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-15 19:23:47 +00:00
Andrew Thompson b28dafb6cf set the hostname core variable in switch_core_init too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14726 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-01 20:55:09 +00:00
Andrew Thompson fc208bb0b9 Use our own memory pool instead of the sessions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14652 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-27 21:41:47 +00:00
Andrew Thompson 1eace1218a Add support for log node userdata, improve some log messages and command output
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14646 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-26 20:50:05 +00:00
Andrew Thompson eb08813dd4 Add per-call logging support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-18 16:58:26 +00:00
Andrew Thompson b4fbb35865 Winsock blows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-18 05:33:42 +00:00
Andrew Thompson 0d859b0f49 Delete subclass reservations on unload
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14429 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 23:18:38 +00:00
Andrew Thompson 467653216a Don't make channels stuck
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14428 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 23:16:32 +00:00
Andrew Thompson 14b0e7d568 Cleanup after outbound sessions that exit before the call hangs up
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14427 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-29 23:13:02 +00:00
Andrew Thompson bf77c75f43 Don't assume valid uuids are exactly 36 characters long
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14393 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-27 23:37:45 +00:00
Andrew Thompson 53b0ae45f2 Sync up freeswitch.erl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14362 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-25 18:53:34 +00:00
Andrew Thompson b44830ecf2 Add support for sending CUSTOM events with a subclass
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-25 18:25:13 +00:00
Andrew Thompson c58b819f38 Clear out the pre shared key on a config reload properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 18:44:43 +00:00
Andrew Thompson 7a09952c31 Add a little api command to show multicast peer status
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 17:23:31 +00:00
Andrew Thompson ceb7803179 Don't multicast the new multicast peerup/peerdown events
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 16:37:17 +00:00
Andrew Thompson 9d6d8a1c5f Add -DHAVE_OPENSSL to openssl_CFLAGS if in fact we do have openssl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13924 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 21:23:44 +00:00
Andrew Thompson 273b81491f Add a commented out pre-shared key to the sample event_multicast.conf.xml file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13903 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 03:26:27 +00:00
Andrew Thompson dbe85eb87f bzero -> memset (so mike won't yell at me)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13902 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 01:02:19 +00:00
Andrew Thompson 11ca616ea5 Add initial support for multicast peer up/down state tracking
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13901 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 00:59:03 +00:00
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
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 219a2ecc4b Use sofia's openssl configure checks in the toplevel configure script (OKed by MikeJ)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 16:11:53 +00:00
Andrew Thompson a232c1e5f5 Add ttl parameter to sample config
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 04:21:28 +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 8b6143fb38 int32_t -> uint8_t
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 03:44:47 +00:00
Andrew Thompson d195845e5c Wrap apr_mcast_hops as switch_mcast_hops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 03:36: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