Commit Graph

854 Commits (5460e72015591cdaf0a8a2f8707497a22f0058eb)

Author SHA1 Message Date
Tilghman Lesher 059a7aa862 Cleanup of res_agi, ensuring thread safety (closes issue #10288)
19 years ago
Tilghman Lesher 67bd05d9d1 Merged revisions 77783 via svnmerge from
19 years ago
Joshua Colp 9d2d0e3896 Merged revisions 77778 via svnmerge from
19 years ago
Tilghman Lesher ce3de6a530 Merged revisions 77571 via svnmerge from
19 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
19 years ago
Joshua Colp 3e9886598d You need to put static in front of a static RWLIST declaration to make it really static... and don't call AST_RWLIST_HEAD_DESTROY on a statically declared list.
19 years ago
Tilghman Lesher db9d7764e0 Enhance AGI with several fixes:
19 years ago
Joshua Colp 84f325abb2 Clean up res_crypto module. It now uses an rwlist to keep the keys and it should also be thread safe now.
19 years ago
Tilghman Lesher a1fdc1c769 Missed one conversion to comma delimiter (thanks, Juggie) and add documentation on the
19 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
19 years ago
Joshua Colp 2c2af928fe Merged revisions 76067 via svnmerge from
19 years ago
Steve Murphy 0e969271ae After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
19 years ago
Russell Bryant a971b4bfc4 (closes issue #10210, reported and patched by juggie)
19 years ago
Tilghman Lesher 81bc1d7af5 Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second
19 years ago
Steve Murphy 5ac24b25d3 This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.
19 years ago
Russell Bryant 7743bed9f6 Merged revisions 75401 via svnmerge from
19 years ago
Steve Murphy 8a7732f067 via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
19 years ago
Joshua Colp 96a646734f It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.
19 years ago
Russell Bryant fcd3f8dbea Merged revisions 75067 via svnmerge from
19 years ago
Joshua Colp 7bc762c319 Merged revisions 74815 via svnmerge from
19 years ago
Joshua Colp 48f166e87b Code cleanup of res_agi
19 years ago
Joshua Colp 21e30f9d7d Code cleanup of res_smdi
19 years ago
Russell Bryant 4f84931f12 Merged revisions 74657 via svnmerge from
19 years ago
Joshua Colp 7e015109a2 Use the linkedlists.h AST_LIST_NEXT macro for modifying the list of results.
19 years ago
Joshua Colp f8e605fe25 Allow the native formats of a channel to influence the audio that is going to the engine. The best format will try to be chosen with an ultimate fallback to signed linear if possible.
19 years ago
Joshua Colp b314d6ee08 Can't forget to remember what format is in use for writing.
19 years ago
Joshua Colp 406c3df40e Change the speech API to allow passing the format through to the engine.
19 years ago
Russell Bryant e9290d5178 Merged revisions 74323 via svnmerge from
19 years ago
Russell Bryant 760649be75 Merged revisions 74314 via svnmerge from
19 years ago
Jason Parker 76e2e39f77 Fix building that was broken by recent monitor.h changes. Thanks Russell for pointing this out (and pointing out what I probably did to prevent gcc from fixing it - don't ctrl-C builds)
19 years ago
Jason Parker ef94957540 (closes issue #7596)
19 years ago
Russell Bryant 7f10fccec1 Merged revisions 74162 via svnmerge from
19 years ago
Joshua Colp f80af1ff80 Use linkedlist macros for parking.
19 years ago
Russell Bryant cf6ee48b5b ast_exists_extension() does not return an ast_device_state, so change this
19 years ago
Russell Bryant 53756e6716 Merged revisions 73696 via svnmerge from
19 years ago
Russell Bryant 6643934403 Merged revisions 73512 via svnmerge from
19 years ago
Jason Parker 685c48b19c Correct an issue where the wrong type was being used to start sasl.
19 years ago
Russell Bryant d2a85e5f64 After some discussion on the asterisk-dev list, we determined that this approach
19 years ago
Russell Bryant 8d99a2004b Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
19 years ago
Joshua Colp 0f36e1ef75 Fix building under Solaris.
19 years ago
Russell Bryant 93229b0fed Add a CLI command to export the AGI command docs
19 years ago
Russell Bryant 625dbb6f89 Add a note that the AGI commands array is not handled in a thread-safe way
19 years ago
Tilghman Lesher a952147446 Remove the ill-advised ast_restrdupa API call and related structures
19 years ago
Jason Parker b1d53e8fc3 Fix building with -Wdeclaration-after-statement
19 years ago
Luigi Rizzo ad42dfe1dd move variable declarations to the beginning of a block.
19 years ago
Jason Parker e3cf86f4b3 Simplify some code in res_jabber relating to SASL support.
19 years ago
Tilghman Lesher 82e2033519 Merged revisions 71657 via svnmerge from
19 years ago
Joshua Colp 9b23b9b3b2 Minor header inclusion tweak for new usage of stat()
19 years ago
Tilghman Lesher 2e4b41841d Merged revisions 71291 via svnmerge from
19 years ago
Steve Murphy d17beedd5a Merged revisions 71230 via svnmerge from
19 years ago
Joshua Colp c00428b0b0 Use stat to determine whether the file exists or not. (issue #10038 reported by Mike Anikienko)
19 years ago
Jason Parker 68ac7f7633 Merged revisions 71068 via svnmerge from
19 years ago
Tilghman Lesher a1bc823136 Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
19 years ago
Joshua Colp fd9057423a Expand AGISTATUS variable to include NOTFOUND which is set when the AGI file could not be found. (issue #9285 reported by srdjan)
19 years ago
Joshua Colp c6755754d1 Merged revisions 69847 via svnmerge from
19 years ago
Russell Bryant 43658278ff Merged revisions 69702 via svnmerge from
19 years ago
Russell Bryant b179e2155f Convert uses of strdup() to ast_strdup()
19 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
19 years ago
Jason Parker f25db8cc78 Continuation of issue 9968 (revision 69081). This should be the last one.
19 years ago
Russell Bryant f379df9773 Simplify some logic and convert spaces to tabs
19 years ago
Russell Bryant 5d350e0f81 The variable used for the return value must be declared as static. I broke
19 years ago
Russell Bryant 3b9a36109f Add support for retrieving the number of channels that are currently bridged
19 years ago
Russell Bryant 68492b239c Add an option for ControlPlayback to be able to start at an offset from
19 years ago
Jason Parker 77012734eb Fix incorrect logic for param count.
19 years ago
Russell Bryant 1d57ccb6f7 Fix a bunch of doxygen errors and document more things
19 years ago
Russell Bryant 1cd610ddbe Doxygenify a lot of the functions in res_jabber
19 years ago
Russell Bryant bc0702ba23 Minor formatting change ... testing mantis stuff to see if we're done
19 years ago
Olle Johansson 9af51baee7 Merged revisions 68030 via svnmerge from
19 years ago
Olle Johansson ddb10bf8c7 Merged revisions 68028 via svnmerge from
19 years ago
Olle Johansson 18a9f4d805 Merged revisions 68027 via svnmerge from
19 years ago
Olle Johansson bce7e353d6 Merged revisions 67993 via svnmerge from
19 years ago
Olle Johansson 6fc3a29660 Simplification of res_jabber code (done at Inria, Paris with Philippe)
19 years ago
Russell Bryant 9c78e261d6 Merged revisions 67872 via svnmerge from
19 years ago
Tilghman Lesher 9d05ff8ed5 Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
19 years ago
Russell Bryant 65e8178c2b Constify the return values of ast_parking_ext() and ast_pickup_ext()
19 years ago
Russell Bryant baf596a954 Another tiny formatting change for testing ...
19 years ago
Russell Bryant 6ddcfff1c7 Change "show parkedcalls" to "parkedcalls show" and mark the previous command
19 years ago
Joshua Colp 3f463b7668 Merged revisions 67597 via svnmerge from
19 years ago
Joshua Colp 6e6d4be830 Merged revisions 67064 via svnmerge from
19 years ago
Tilghman Lesher 4538cec96a Merged revisions 67021 via svnmerge from
19 years ago
Jason Parker 545de7746c Documentation fixes for res_config_sqlite.
19 years ago
Russell Bryant ce4051a803 Merged revisions 66775 via svnmerge from
19 years ago
Russell Bryant 8d0124aba3 Add support for configuring named groups of custom call features in
19 years ago
Russell Bryant cc35dc8999 Revert changes that snuck in with revision 66724.
19 years ago
Russell Bryant 8ea9dcc221 Fix a crash on reload by using calloc() instead of malloc() to ensure that
19 years ago
Olle Johansson 0b2db74e5a Issue #9842 - Doxygen updates by snuffy. Thanks!
19 years ago
Tilghman Lesher 1236ed3214 Issue 9477 - Improve menuselect labels
19 years ago
Kevin P. Fleming c74518e3ff Merged revisions 66157 via svnmerge from
19 years ago
Olle Johansson 9b95428cce Issue #8409 and accidentally a fix to chan_sip that wasn't supposed to be there
19 years ago
Joshua Colp 998261f602 Fix compiling of res_musiconhold under dev mode.
19 years ago
Russell Bryant 90d6885701 Add a new feature for Music on Hold. If you set the "digit" option for a
19 years ago
Joshua Colp 5b4de10a12 Don't overwrite a pointer to the first channel... that is bad. (issue #9770 reported by tfbu)
19 years ago
Joshua Colp cc3c91edc2 Merged revisions 65250 via svnmerge from
19 years ago
Joshua Colp b10fd38770 Music on hold and crypto no longer need their symbols globally exported. They register the function pointers upon loading with their respective stubs.
19 years ago
Joshua Colp 42c63dd2ed Add the adsistub file to the Asterisk makefile, fix a stub definition, and no longer make the symbols from res_adsi global since they don't need to be.
19 years ago
Olle Johansson bdd2b74ced Issue #5930 - Remove dependencies on res_adsi.so - clwade
19 years ago
Russell Bryant 16a9f0844f Merged revisions 64426 via svnmerge from
19 years ago
Russell Bryant 17ab54e52a Merged revisions 64353 via svnmerge from
19 years ago
Russell Bryant 0664aa2a73 Add gender support for AGI SAY NUMBER.
19 years ago
Joshua Colp 4765d4145e Merged revisions 63872 via svnmerge from
19 years ago