Commit Graph

257 Commits

Author SHA1 Message Date
Anthony Minessale 4991751970 sometimes compiler warnings are annoying 2012-04-20 09:53:51 -05:00
Anthony Minessale c6aaa281f1 FS-4135 --resolve 2012-04-20 08:56:14 -05:00
Anthony Minessale 5f76f3b912 FS-4135 --resolve hint, add a leading '=' to disable passing a-leg codecs <param name="outbound-codec-prefs" value="=6839{outbound_codec_prefs}"/> 2012-04-19 19:36:48 -05:00
Ken Rice c5554eb939 Copyright date update. 2012-04-18 11:52:02 -05:00
Anthony Minessale 859a332602 FS-4045 try this patch 2012-03-27 15:23:12 -05:00
Travis Cross b186944049 FS-4004 --resolve
Thanks to Kyle A. King for pointing this out and to William King for
collaboration.
2012-03-14 20:33:17 +00:00
Anthony Minessale d36f593204 fire failed sms events 2012-02-21 10:00:19 -06:00
Anthony Minessale fa3fa30a98 fix build 2011-10-07 11:20:36 -05:00
Anthony Minessale 78a9a6488a some chat fixes 2011-10-07 08:24:19 -05:00
Anthony Minessale 4feb26d3e8 allow chatplan apps to have null args 2011-09-24 09:53:34 -05:00
Anthony Minessale 7333d46d5b add new chatplan concept and mod_sms. Apps for chat messages: copy new base freeswitch.xml and chatplan dir if you are upgrading on existing config base 2011-09-21 14:31:18 -05:00
Anthony Minessale 9125a96c6d convert chat interface to use events instead of a bunch of args 2011-09-13 16:51:30 -05:00
Anthony Minessale 6dd1264d08 add support for global nameseace in chat interface to bind to unhandled messages 2011-09-02 14:41:25 -05:00
Anthony Minessale 47f997a050 back off locking contention so you can query for other interfaces while a module is loading that locks the interfaces hash 2011-08-16 13:26:43 -05:00
Anthony Minessale d2f76ca482 tweaks to codec buffer size detection 2011-07-14 00:14:10 -05:00
Anthony Minessale 73279f01bf FS-3166 --resolve 2011-04-22 16:43:29 -05:00
Brian West 1604f08e33 rebind sighandlers 2011-04-08 13:46:02 -05:00
Anthony Minessale 913ec9861e FS-3176 forget the last patch I forgot there is no way to know the right codec using it the file string way, you will just have to manually specify en.PCMA as before but now it should work 2011-03-31 15:01:58 -05:00
Anthony Minessale 3a2e1d0337 FS-3176 --comment-only try this patch, native is a special case so use the extension native e.g. en.native 2011-03-30 10:55:40 -05:00
Anthony Minessale 8806ba8c2f missed a spot 2011-03-29 20:39:21 -05:00
Anthony Minessale d5ef86d778 introduce new say_string method of doing say and use it in mod_say_en as an example. try: eval ${say_string en.gsm en current_date_time pronounced ${strepoch()}} from the cli with this patch. We can do more to centralize the say things and go back and apply it to other langs, using this method you can set the desired file ext as well which I think is a bounty.... 2011-03-29 19:55:35 -05:00
Mathieu Rene 24bcd10582 don't hold loadable_modules.mutex while a module shutdown function is run, so that we do not prevent new channels from being created. 2011-01-24 17:55:18 -05:00
Brian West 3734f4cd44 bump copyright date and fix some email and typos from diego. 2011-01-05 10:09:04 -06:00
Jeff Lenk 67fa716bfd fix critical property for module load 2010-11-19 13:15:56 -06:00
Anthony Minessale dfa78985b4 Change codec behaviour
channel_variable: sdp_m_per_ptime
Adds a new m= line for each distinct ptime in codec list.

When this variable is not set:
	When mixing codecs with various ptime in a codec list, they will now be allowed to co-exist in the sdp but it will send no ptime attr.
		This means the ptime preferences on the offer will be ignored when mixing codecs with various ptimes.
	When receiving a codec list with no ptime attr, the ptime will be chosen from local preference instead of assuming 20ms
		This means if offer contains PCMU with not ptime and FS has PCMU@40i

Dynamic payloads will now start at 98 and increment per additional dynamic codec per call.
	So now you can add CELT@32000h,CELT@48000h and each one will be auto-assigned a dynamic paylaod type.
2010-10-13 19:28:20 -05:00
Mathieu Rene 89b1760159 Add fs_encode tool 2010-10-12 13:45:43 -04:00
Anthony Minessale f8c9ef5f9d fix codec regression from yesterday 2010-09-30 15:15:58 -05:00
Anthony Minessale 633f193dae add bitrate patch from moc with some extra stuff for late neg mode 2010-09-29 16:52:43 -05:00
Jeff Lenk 4ea1595481 tweak build warning 2010-09-21 11:22:16 -05:00
Anthony Minessale d093a4a4c6 make code more automagic to shut up the dude on the list 2010-09-21 10:09:55 -05:00
Anthony Minessale 6f2c455f92 add tone2wav 2010-09-14 11:48:43 -05:00
Marc Olivier Chouinard 1a75821df8 switch_loadable_module: Add attribute "path" to autoload_configs/modules.conf.xml <load> entry.
Useful for module made outside of fs source tree like mod_com_g729.  When you delete your lib bin mod folder after a clean install, you don't have to remember to recopy mod_com_g729 if located in mod_com folder.
2010-09-09 23:25:35 -04:00
Anthony Minessale 381233ae0b fix fs_cli tab complete regression 2010-09-08 10:30:39 -05:00
Anthony Minessale ca48184256 strip trailing and leading whitespace in api execute args and commands 2010-09-02 16:41:09 -05:00
Jeff Lenk a6e7bd534d fix build for windows 2010-09-02 11:11:51 -05:00
Brian West d68a12188c FSCORE-662 2010-09-02 10:39:52 -05:00
Rupa Schomaker 0e8a26f840 sync changes in branch rupa_limit 2010-06-19 07:49:34 -05:00
Michael Jerris 2a4d94cc03 core: add 'critical' param on modules.conf to abort on mod load failure from Moc 2010-04-26 05:08:22 -04:00
Anthony Minessale 95665f0096 JANITOR-4 2010-04-21 10:11:13 -05:00
Anthony Minessale 886e1ddb4d run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-06 03:38:24 +00:00
Mathieu Rene 5c86f214b9 don't restart runtime functions when shutting down
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16008 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-21 15:59:18 +00:00
Brian West ff196446a5 fix out opf bounds err
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 00:43:33 +00:00
Anthony Minessale b8daa2dc99 dont mix ptimes in the codec string lists, just discard conflicting ones
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-04 22:06:03 +00:00
Anthony Minessale df7637f687 change switch_strlen_zero to zstr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15211 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-23 16:03:42 +00:00
Anthony Minessale cb7e045c9b here you go
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-27 19:51:41 +00:00
Brian West 5f339a6c80 fix MODENDP-196
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12535 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-09 16:36:56 +00:00
Mathieu Rene 7abd9b3d5e Don't crash in the odd event you have no modules loaded
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-05 02:46:00 +00:00
Anthony Minessale f125872c73 FSCORE-297
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-20 01:10:59 +00:00
Anthony Minessale 29b2be9da3 FSCORE-298
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12046 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 13:59:13 +00:00
Brian West babb2f83f5 update copyright
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12004 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:37:37 +00:00
Brian West ae220d3341 update email
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-04 21:20:54 +00:00
Anthony Minessale ec3f6f4ec6 add chat interface EXTRAGUY-00
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-20 20:49:47 +00:00
Anthony Minessale e5b51e3712 tweak codec lookup func
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 16:40:38 +00:00
Anthony Minessale 2fefaaaccc clean up some ref counting for interfaces
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-19 19:22:20 +00:00
Michael Jerris d16cbd53e4 clean up error message handling in module loader process.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10412 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-15 00:32:58 +00:00
Anthony Minessale 2990ef8cd4 fix codec issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-13 23:07:03 +00:00
Brian West f5f2c56d1d SYSTEM_SHUTDOWN to MANAGER_REQUEST since its not really a shutdown in these scenarios
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10367 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 20:45:18 +00:00
Anthony Minessale 722b830652 look out below....(make current)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10363 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 19:28:05 +00:00
Anthony Minessale c62253405f add rwlocks to module parents
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10362 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 17:10:20 +00:00
Michael Jerris d3e7370885 (LBAPR-1) load mod_lua with global symbols space so that sub modules are able to link to it properly. Broken in svn r9605.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-08 11:21:54 +00:00
Michael Jerris b17ebda4df add our own module load code (LBAPR-1)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-06 17:29:50 +00:00
Anthony Minessale c217d45cf0 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10244 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-05 00:20:30 +00:00
Anthony Minessale 30c318b995 clean some old members and naming conventions in the codec structs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10084 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-20 17:48:42 +00:00
Michael Jerris 31d22fff54 fix autoload of modules.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9993 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-13 06:42:50 +00:00
Michael Jerris a75febf88f misplaced ( )
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9939 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-10 18:42:29 +00:00
Anthony Minessale c8b8672a3e still try to graceful shutdown in dire cirumstances
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9490 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-09 15:25:31 +00:00
Anthony Minessale cbef00ce1f tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-24 01:52:27 +00:00
Anthony Minessale 4dadffda00 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-22 19:00:56 +00:00
Anthony Minessale 7022893689 improve unload stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-22 17:57:15 +00:00
Stefan Knoblich f921389078 Use switch_event_add_header_string() instead of switch_event_add_header(... "%s", ..), core part
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-16 02:17:09 +00:00
Anthony Minessale 3d486a3445 add some more stuff to sho
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9134 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-22 17:19:26 +00:00
Anthony Minessale 654d584fb9 doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9125 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-21 17:33:46 +00:00
Brian West 7f511482d2 add module_exists api call
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8984 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-10 14:41:31 +00:00
Michael Jerris 64997c4d8e vim extendtab is bad
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8894 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-03 19:12:26 +00:00
Anthony Minessale 43b712b7b1 add some write locks to the core and a function to unregister event bindings
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-01 23:41:09 +00:00
Brian West 510f0d8a55 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-17 22:09:59 +00:00
Anthony Minessale 3c349c274e indent pass 1
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8686 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 04:30:03 +00:00
Anthony Minessale d9bdd7db0b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 05:09:50 +00:00
Anthony Minessale 307e9ef7d6 name change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8579 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 03:46:19 +00:00
Stefan Knoblich 088b842ced Add safety check for codec implementations with bytes_per_frames being larger than the recommended buffer size (Klocwork #1039)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-21 22:26:30 +00:00
Michael Jerris 41510454a8 don't pass null to switch_loadable_module_get_api_interface. Found by Klockwork (www.klocwork.com)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-16 16:15:37 +00:00
Anthony Minessale 0874db56f7 fix vid issue
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 00:02:37 +00:00
Anthony Minessale be1bbc63d2 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7974 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-27 22:46:47 +00:00
Anthony Minessale ecece5885f update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7972 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-27 20:36:03 +00:00
Anthony Minessale 93196c4942 change naming convention of internal mods
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7708 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-20 17:11:37 +00:00
Anthony Minessale 983a0ba3df move L16 and g711 into the core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-18 19:43:57 +00:00
Brian West b0ad7ab50c set tab mode properly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7500 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-03 22:14:57 +00:00
Brian West 84161010ab cleanup and consistency.. blah rain @ PHX fun
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7396 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 20:01:02 +00:00
Brian West 935cbcf937 more cleanup before I leave LAX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7394 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-27 17:42:51 +00:00
Stefan Knoblich 96164e0967 Spelling fixes #3
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7121 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-07 11:21:24 +00:00
Michael Jerris 6c25cb4136 don't strstr on null/blank strings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7027 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-30 00:22:51 +00:00
Michael Jerris ace9a25fa2 pass format string too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-14 18:00:58 +00:00
Michael Jerris 54ec86f6ce use switch_snprintf instead of snprintf becuase in insures null termination of strings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-12 21:53:32 +00:00
Michael Jerris e46266fb4f cleanup, null checks. etc.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6673 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 21:31:57 +00:00
Michael Jerris 55a194e54e use switch_assert macro
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-11 19:23:57 +00:00
Anthony Minessale 5098f7a174 fix file_path issues
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6546 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-12-06 20:03:27 +00:00
Michael Jerris 356a131182 silence some sun-cc build errors.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-16 05:47:00 +00:00
Anthony Minessale 6b1fa2191b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5992 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-19 15:31:02 +00:00
Brian West d1ff29dda5 temp tweak pending build system change
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 23:53:32 +00:00
Brian West 12d032b9cc add MAC OS X
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5859 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-12 22:56:15 +00:00