Commit Graph

816 Commits (b1d895dba94ebc9b6e5b2249c046b09ce8587c77)

Author SHA1 Message Date
Luigi Rizzo 08b10da53b Simplify the implementation and the API for stringfields;
18 years ago
Tilghman Lesher 97fe45ab93 Janitor: use ast_free to pair calls of ast_malloc and ast_calloc
18 years ago
Russell Bryant 3978cb6f1c Merged revisions 87686 via svnmerge from
18 years ago
Jason Parker ebe4050128 Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
18 years ago
Jason Parker b0f3e6097e Convert NEW_CLI to AST_CLI.
18 years ago
Jason Parker 65761cbd7a More changes to NEW_CLI.
18 years ago
Jason Parker ed690fc348 Switch dundi to new tos config format.
18 years ago
Russell Bryant d78463be1e Corydon posted this janitor project to the bug tracker and mvanbaak provided
18 years ago
Russell Bryant 9f64905d4e Merged revisions 83432 via svnmerge from
18 years ago
Russell Bryant 86e640bf77 Merged revisions 83175 via svnmerge from
18 years ago
Russell Bryant ded76a8988 convert various places that access the channel lock directly to use the channel lock wrappers
18 years ago
Russell Bryant 9388173f85 Make the MALLOC_DEBUG output for free() useful again. After changing calls to
18 years ago
Jason Parker 6a90ea5cf4 After some discussions, we decided that the return values here were a bit messy.
18 years ago
Tilghman Lesher c121ed6bec Change the IAXPeers command to have manager-style output, instead of CLI-style output (closes issue #8254)
18 years ago
Russell Bryant 9bda1c5a94 Merged revisions 81448 via svnmerge from
18 years ago
Joshua Colp 3213f6dc2d Merged revisions 81439 via svnmerge from
18 years ago
Russell Bryant 51af103a79 Merged revisions 81433 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
Tilghman Lesher 6bdc66e9b0 Changed one too many variable settings in issue #9315 (closes issue #10592)
18 years ago
Russell Bryant 225d9166ec Merged revisions 81291 via svnmerge from
18 years ago
Russell Bryant d3687bdb93 Merged revisions 80932 via svnmerge from
18 years ago
Russell Bryant 7c41c3a5bc Merged revisions 80895 via svnmerge from
18 years ago
Russell Bryant 700b5d8442 Merged revisions 80849 via svnmerge from
18 years ago
Russell Bryant 488cd9a7a6 Merged revisions 80499 via svnmerge from
18 years ago
Russell Bryant f6f9c14723 allow peers and users to go into a hash table
18 years ago
Russell Bryant f04ed4641b Unsubscribe from MWI events in the peer destructor
18 years ago
Russell Bryant 50d7fc81aa Merged revisions 80362 via svnmerge from
18 years ago
Joshua Colp 477e7dcbc7 (closes issue #10495)
18 years ago
Tilghman Lesher 749b67bd1d We weren't properly encapsulating the mtime ignores of config files (closes issue #10488)
18 years ago
Russell Bryant c67f7fd3da Make use of ast_sched_replace() in some places in chan_iax2
18 years ago
Russell Bryant 0b44b92cf5 Merged revisions 79756 via svnmerge from
18 years ago
Tilghman Lesher 56b9568164 Don't reload a configuration file if nothing has changed.
18 years ago
Dwayne M. Hubbard 6186647ac3 added counter for iax2 show registry CLI output, closes issue 10461, thanks junky
18 years ago
Russell Bryant 4b584bbdf7 Merged revisions 79470 via svnmerge from
18 years ago
Russell Bryant 4e038cdc7c Merged revisions 79436 via svnmerge from
18 years ago
Russell Bryant e05da8e948 Merged revisions 79301 via svnmerge from
18 years ago
Russell Bryant 16373a4e5f Merged revisions 79276 via svnmerge from
18 years ago
Russell Bryant 982a3ac424 Merged revisions 79274 via svnmerge from
18 years ago
Russell Bryant 0dd52f7196 Merged revisions 79272 via svnmerge from
18 years ago
Russell Bryant a2847deb73 Merged revisions 79214 via svnmerge from
18 years ago
Joshua Colp d5eda8709c Merged revisions 79174 via svnmerge from
18 years ago
Russell Bryant 9d1acad76b Fix a problem that I had introduced into MWI handling. I had ignored
18 years ago
Joshua Colp f2fc44d07e Correct spelling. s/threaads/threads/
18 years ago
Russell Bryant d9407da71d Merged revisions 78242 via svnmerge from
18 years ago
Russell Bryant 661fa0b374 Merged revisions 78063 via svnmerge from
19 years ago
Russell Bryant bcabfbb89a Merged revisions 78028 via svnmerge from
19 years ago
Russell Bryant 7b3dcbb842 Merged revisions 77949 via svnmerge from
19 years ago
Russell Bryant 85ba8d515a Merged revisions 77943 via svnmerge from
19 years ago
Russell Bryant 12ed8e8d07 Fix an issue that Simon pointed out to me on IRC. There were cases in the
19 years ago
Russell Bryant 171791dd8b Merged revisions 77939 via svnmerge from
19 years ago
Russell Bryant 1990a00ca4 Merged revisions 77887 via svnmerge from
19 years ago
Joshua Colp d9aee5e353 Merged revisions 77869 via svnmerge from
19 years ago
Russell Bryant 3ca4126887 Change another unnecessary use of the increment operator to explicitly set the var to 1
19 years ago
Russell Bryant 3b49339387 Explicitly set a variable to 1 instead of using the increment operator.
19 years ago
Russell Bryant a27203a5bc Merged revisions 77794 via svnmerge from
19 years ago
Russell Bryant f8483a0d04 Do a massive conversion for using the ast_verb() macro
19 years ago
Luigi Rizzo 546c742106 silence a warning in ast-devmode on a potentially uninitialized var.
19 years ago
Tilghman Lesher 1c17bc177d Merged revisions 76803 via svnmerge from
19 years ago
Russell Bryant 3c10aab644 Merged revisions 76485 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 7b09e738f0 Merged revisions 75928 via svnmerge from
19 years ago
Russell Bryant 5272289355 I thought I noticed a memory leak earlier when I saw that the contents of this
19 years ago
Tilghman Lesher 9c99cba373 Change IAX variables to use datastores (closes issue #9315)
19 years ago
Russell Bryant 4681316959 Merged revisions 75759 via svnmerge from
19 years ago
Russell Bryant 707ca59923 convert some lines indented with spaces to tabs
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
Russell Bryant b5ff588044 Merged revisions 75445 via svnmerge from
19 years ago
Russell Bryant 681e45f0b2 Merged revisions 75441 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
Russell Bryant 08b1a342e5 Merged revisions 74767 via svnmerge from
19 years ago
Russell Bryant 04de82d61c Merged revisions 73555 via svnmerge from
19 years ago
Russell Bryant d339ac7156 Merged revisions 73551 via svnmerge from
19 years ago
Joshua Colp fab0bded8c Yet another Solaris tweak...
19 years ago
Russell Bryant 8fd5e05635 Merged revisions 71003 via svnmerge from
19 years ago
Russell Bryant 992c8ec757 Merged revisions 70883 via svnmerge from
19 years ago
Russell Bryant 82151ac23f Merged revisions 70866 via svnmerge from
19 years ago
Kevin P. Fleming 5fdba27ea2 Merged revisions 69392 via svnmerge from
19 years ago
Russell Bryant 055d82cbce Add a massive set of changes for converting to use the ast_debug() macro.
19 years ago
Joshua Colp 6a35e6cfb6 Merged revisions 69221 via svnmerge from
19 years ago
Russell Bryant 65880d7680 Merged revisions 69069 via svnmerge from
19 years ago
Joshua Colp 0b75ad2db9 Merged revisions 69014 via svnmerge from
19 years ago
Joshua Colp 74cda06deb Merged revisions 69012 via svnmerge from
19 years ago
Kevin P. Fleming a08922bb71 Merged revisions 68450 via svnmerge from
19 years ago
Kevin P. Fleming 2c9173986a Merged revisions 68313 via svnmerge from
19 years ago
Dwayne M. Hubbard 611c9ed353 added CLI 'iax2 unregister <peername>' for issue 9812, thanks eliel
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 7d35df9d98 Make another small tweak ... mantis/svn testing
19 years ago
Joshua Colp 72cd0474f6 Merged revisions 67304 via svnmerge from
19 years ago
Russell Bryant 05169b004d Doxygenify the comments for new members of the iax2_thread struct
19 years ago
Kevin P. Fleming a236af6137 Merged revisions 67270 via svnmerge from
19 years ago
Russell Bryant 71544542a0 Merged revisions 67158 via svnmerge from
19 years ago
Russell Bryant 6857957000 Merged revisions 67119 via svnmerge from
19 years ago
Russell Bryant c7fec92508 Remove a leftover unlock and lock of the iax2 pvt struct lock that was left
19 years ago
Russell Bryant d6f2b914e8 Merged revisions 67020 via svnmerge from
19 years ago
Russell Bryant c9cf12b675 Remove 80 bytes in the iax2_registry struct that weren't being used
19 years ago
Kevin P. Fleming 4573b36af1 use the OpenSSL AES implementation if it's available (unless configured not to)
19 years ago
Russell Bryant 4b3a3fb14c Add a new API call for creating detached threads. Then, go replace all of the
19 years ago
Kevin P. Fleming 48895d885d Merged revisions 65685 via svnmerge from
19 years ago
Kevin P. Fleming 04da47df24 Merged revisions 65679-65680 via svnmerge from
19 years ago
Kevin P. Fleming 61a53d859e Merged revisions 65677 via svnmerge from
19 years ago
Jason Parker 2768946cf5 Merged revisions 63830 via svnmerge from
19 years ago
Joshua Colp 28f4727e75 Lock iax2 pvt structure when passing off to the AMI function, and make sure it exists. (issue #9674 reported by arabe)
19 years ago
Olle Johansson 1b15d8852d Add the new ChannelUpdate event to inform manager clients about the PVT ID and some other channel driver data that
19 years ago
Tilghman Lesher 121561076e Merged revisions 62692 via svnmerge from
19 years ago
Russell Bryant b419fc1134 Add support for setting the CoS for VLAN traffic (802.1p) in Linux. The
19 years ago
Russell Bryant b6b1bf3213 Merge changes from team/russell/events
19 years ago
Joshua Colp 14d8979b2f Merged revisions 62038 via svnmerge from
19 years ago
Russell Bryant dc7514a746 Merged revisions 61870 via svnmerge from
19 years ago
Russell Bryant 891a005706 Merged revisions 61863 via svnmerge from
19 years ago
Russell Bryant b94378b5e6 Merge changes from team/russell/iax2_osp
19 years ago
Steve Murphy ecaf781933 Merged revisions 60989 via svnmerge from
19 years ago
Olle Johansson 4aef0155d6 use "ChannelType" in events to indicate which channel driver that generates the event. This replaces
19 years ago
Russell Bryant 592870b6ce This hashing code is still causing some random crashes on my system, and
19 years ago
Russell Bryant 5d4e6a480a Fix an issue with hashing iax2 pvt structures that caused random crashes on
19 years ago
Russell Bryant 5a1c6826ce Merged revisions 59341 via svnmerge from
19 years ago
Russell Bryant b5adacebf1 Merged revisions 59259 via svnmerge from
19 years ago
Joshua Colp 4787adb4e9 Merged revisions 58923 via svnmerge from
19 years ago
Russell Bryant 5dc7f1d898 Merged revisions 58705 via svnmerge from
19 years ago
Russell Bryant f86aee41f7 Merged revisions 58243 via svnmerge from
19 years ago
Joshua Colp 2adf4fa4e0 Merged revisions 57914 via svnmerge from
19 years ago
Russell Bryant c617945b5c Merged revisions 56847 via svnmerge from
19 years ago
Russell Bryant 82179d1202 Merged revisions 56785 via svnmerge from
19 years ago
Russell Bryant 5873c9c90f There is no need to look in the iaxs array for the pvt struct when we already
19 years ago
Russell Bryant b85a5ffbe3 Make the hashing function calculate something that makes more sense.
19 years ago
Russell Bryant 9fb1404279 Merge team/russell/iax2_performance.
19 years ago
Russell Bryant 70ce880338 Merged revisions 56407 via svnmerge from
19 years ago
Doug Bailey c6dd460655 Merged revisions 55397 via svnmerge from
19 years ago
Joshua Colp bd41ac0ae8 Merged revisions 53358 via svnmerge from
19 years ago
Russell Bryant b233892198 Merged revisions 53046 via svnmerge from
19 years ago
Russell Bryant 116952bba1 Merged revisions 52763 via svnmerge from
19 years ago
Joshua Colp 8e755c25ca Merged revisions 52370 via svnmerge from
19 years ago
Joshua Colp ee3ab150f6 Merged revisions 51788 via svnmerge from
19 years ago
Joshua Colp 34df128519 Add SRV Lookup support on outbound calls to chan_iax2. It's listed in the RFC so we might want to support it and please don't hurt me Marko ... (issue #7812 reported by drorlb)
19 years ago
Russell Bryant dcca8f345f Merged revisions 51311 via svnmerge from
19 years ago
Luigi Rizzo a52fa7e5ad sizeof() is compatible with format %d so don't be too
19 years ago
Luigi Rizzo dc31eaa025 include "asterisk/zapata.h" instead of looking
19 years ago
Joshua Colp 31224a6b52 Merged revisions 51172 via svnmerge from
19 years ago
Tilghman Lesher 3d91c0a0c0 IAX2 remote variables - Bug 7619
19 years ago
Joshua Colp 033d849bda Drop trunkrealloc option and just have the maximum size be a configurable option. This is per Kevin's comments on -dev and my own thoughts after I put the previous option in.
19 years ago
Joshua Colp c4b4615dcd Merge in trunkrealloc option for chan_iax2. (issue #8267 reported by marcodmb, branch by anthonyl)
19 years ago
Russell Bryant 444acad95b Covert some spaces to tabs, and put a list of defines in an enum.
19 years ago
Joshua Colp 585e0e3e09 Merged revisions 49890 via svnmerge from
19 years ago
Kevin P. Fleming cd73a483f1 const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here
19 years ago
Kevin P. Fleming 87b9abc892 Merged revisions 49676 via svnmerge from
19 years ago
Kevin P. Fleming a8dc50812f Merged revisions 49636 via svnmerge from
19 years ago
Kevin P. Fleming 6efd946f68 Merged revisions 49600 via svnmerge from
19 years ago
Kevin P. Fleming 55cc7f9a03 Merged revisions 49581 via svnmerge from
19 years ago
Joshua Colp 5a140436f3 Merged revisions 49568 via svnmerge from
19 years ago
Kevin P. Fleming d6d713c84f Merged revisions 49465 via svnmerge from
19 years ago
Joshua Colp 1825b70a4c Merged revisions 49259 via svnmerge from
19 years ago