Commit Graph

841 Commits (acb51ca5c28a9f67c3a338e7b88f1c6a5bfe1321)

Author SHA1 Message Date
Joshua Colp 3b35471691 Merged revisions 81369 via svnmerge from
18 years ago
Steve Murphy b5cd67adc3 This code was in team/murf/bug8684-trunk; it should fix bug 8684 in trunk. I didn't add it to 1.4 yet, because it's not entirely clear to me if this is a bug fix or an enhancement. A lot of files were affected by small changes like ast_variable_new getting an added arg, for the file name the var was defined in; ast_category_new gets added args of filename and lineno; ast_category and ast_variable structures now record file and lineno for each entry; a list of all #include and #execs in a config file (or any of its inclusions are now kept in the ast_config struct; at save time, each entry is put back into its proper file of origin, in order. #include and #exec directives are folded in properly. Headers indicating that the file was generated, are generated also for each included file. Some changes to main/manager.c to take care of file renaming, via the UpdateConfig command. Multiple inclusions of the same file are handled by exploding these into multiple include files, uniquely named. There's probably more, but I can't remember it right now.
18 years ago
Joshua Colp bc5950c4ce (closes issue #10579)
18 years ago
Russell Bryant e23538696e Merged revisions 81042 via svnmerge from
18 years ago
Steve Murphy 83e28341b5 an unreported crash I debugged, looked like it was backing up way too far after hitting the syntax error. An inspection of the code revealed that error tokens in lists were not rearranged when the rules were rearranged as part of a code neatening-up process. By moving the error tokens to where they should be, I also reduced the number of shift/reduce conflicts to 3 instead of 8. This introduces subtle differences in error messages, so the regressions had to be updated.
18 years ago
Russell Bryant 2290819e6d Merged revisions 80573 via svnmerge from
18 years ago
Russell Bryant c50975fd06 Fix a typo in the Asterisk MIB and fix astNumChanBridged so it acts as a counter again
18 years ago
Russell Bryant 84643967e1 Merged revisions 80469 via svnmerge from
18 years ago
Russell Bryant 44f70278a8 Merged revisions 80360 via svnmerge from
18 years ago
Steve Murphy 35ade91df6 As per 10472, mvanbaak thought the generated code would look better this way.
18 years ago
Jason Parker 1f9e0ce434 Fix Dial arguments in res_features.
18 years ago
Tilghman Lesher c78ddffb04 store and destroy implementations for sqlite (closes issue #10446) and odbc (closes issue #10447)
18 years ago
Tilghman Lesher 646234bd10 store and destroy implementations for realtime pgsql (closes issue #10372)
18 years ago
Russell Bryant 74200abe10 Merged revisions 79778 via svnmerge from
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Philippe Sultan bade686730 Merged revisions 79665 via svnmerge from
18 years ago
Jason Parker f38a688605 Modify the names of functions/variables in res_musiconhold to be useful.
18 years ago
Steve Murphy 9836efb5fb This commit closes bug 7605, and half-closes 7638. The AEL code has been redistributed/repartitioned to allow code re-use both inside and outside of Asterisk. This commit introduces the utils/conf2ael program, and an external config-file reader, for both normal config files, and for extensions.conf (context, exten, prio); It provides an API for programs outside of asterisk to use to play with the dialplan and config files.
18 years ago
Joshua Colp 9ebe338bc6 Merged revisions 79397 via svnmerge from
18 years ago
Joshua Colp 94b1dda1fa Merged revisions 79334 via svnmerge from
18 years ago
Tilghman Lesher c41121cdbb Only use the sanitysql if it's not zero-len
18 years ago
Joshua Colp 3dac92ecbf Merged revisions 79207 via svnmerge from
18 years ago
Tilghman Lesher 89588a043f Merged revisions 79142 via svnmerge from
18 years ago
Russell Bryant e113d36aa4 Merge a set of device state improvements from team/russell/events.
18 years ago
Russell Bryant 668a334f85 Add another big set of doxygen documentation improvements from snuffy.
18 years ago
Russell Bryant d8965ddabe Merged revisions 78488 via svnmerge from
18 years ago
Tilghman Lesher 72cc1dcfea Merged revisions 78437 via svnmerge from
18 years ago
Tilghman Lesher f78ff66a4d Merged revisions 78415 via svnmerge from
18 years ago
Russell Bryant c40a9e2818 Remove some test code from trunk as it doesn't need to be here. I'm just
18 years ago
Joshua Colp 9ef1b0a974 Extend the ast_senddigit and ast_dtmf_stream API calls to allow the duration of the DTMF digit(s) to be specified and make the SendDTMF application have the capability to use it.
18 years ago
Russell Bryant 4e0947c5f1 Convert code that checks the _softhangup member of ast_channel directory to use
18 years ago
Tilghman Lesher a19b2fe6e3 Twould help if we actually defined ->mod before comparing against it (reported and fixed by Juggie via IRC).
18 years ago
Joshua Colp 1d07328918 Merged revisions 77831 via svnmerge from
18 years ago
Tilghman Lesher 20bbd09de3 Mostly cleanup of documentation to substitute the pipe with the comma, but a few other formatting cleanups, too.
18 years ago
Russell Bryant 048bb3d9e3 Fix the return value of ast_agi_fdprintf() to include the result from ast_carefulwrite()
18 years ago
Russell Bryant 38bb9400de Improve ast_agi_fdprintf() by using the ast_str() API.
18 years ago
Russell Bryant 935982d15b Merged revisions 77788 via svnmerge from
18 years ago
Tilghman Lesher 059a7aa862 Cleanup of res_agi, ensuring thread safety (closes issue #10288)
18 years ago
Tilghman Lesher 67bd05d9d1 Merged revisions 77783 via svnmerge from
18 years ago
Joshua Colp 9d2d0e3896 Merged revisions 77778 via svnmerge from
18 years ago
Tilghman Lesher ce3de6a530 Merged revisions 77571 via svnmerge from
18 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
18 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.
18 years ago
Tilghman Lesher db9d7764e0 Enhance AGI with several fixes:
18 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.
18 years ago
Tilghman Lesher a1fdc1c769 Missed one conversion to comma delimiter (thanks, Juggie) and add documentation on the
18 years ago
Russell Bryant eaebbdab61 (closes issue #10271)
18 years ago
Joshua Colp 2c2af928fe Merged revisions 76067 via svnmerge from
18 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.
18 years ago
Russell Bryant a971b4bfc4 (closes issue #10210, reported and patched by juggie)
18 years ago