Commit Graph

816 Commits (b1d895dba94ebc9b6e5b2249c046b09ce8587c77)

Author SHA1 Message Date
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
Olle Johansson f83b845f08 - Implement error handling in ast_append_ha
19 years ago
Joshua Colp 7eb0f10f34 count is no longer used in the iaxq structure really so let's just make this a statically declared linked list.
19 years ago
Joshua Colp ae649fef27 Merged revisions 49063 via svnmerge from
19 years ago
Russell Bryant 539514d793 Merged revisions 48944 via svnmerge from
19 years ago
Steve Murphy 7b338004bf a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode
19 years ago
Steve Murphy 9327720c37 As per bug 7978, this version introduces the jittertargetextra option in config files
19 years ago
Joshua Colp 381d49c9af Clean up find_idle_thread function and use atomic operations for dynamic thread count.
19 years ago
Joshua Colp c17181aae3 Merged revisions 48564 via svnmerge from
19 years ago
Joshua Colp 6bdd1a3388 Merged revisions 48504 via svnmerge from
19 years ago
Joshua Colp 12565be69e Merged revisions 48502 via svnmerge from
19 years ago
Joshua Colp 315f8bb1b2 Merged revisions 48478 via svnmerge from
19 years ago
Russell Bryant a9415d4b8e convert the thread IO state and type to use enums.
19 years ago
Russell Bryant 86ad1435c1 Merged revisions 48363 via svnmerge from
19 years ago
Russell Bryant 62c5be4fda chan_iax2 has an extremely large function, socket_process(), to handle incoming
19 years ago
Russell Bryant 6592c25a69 - Fix a few spelling mistakes
19 years ago
Russell Bryant a44e55a3f3 Constify a bunch of the usage strings for CLI commands.
19 years ago
Russell Bryant b761fb83cd Instead of creating an unused instance of an unnamed enum, give it a name.
19 years ago
Joshua Colp a77935b674 Merged revisions 48158 via svnmerge from
19 years ago
Russell Bryant c16c606cff Add a comment to note near some code that performs a very expensive operation
19 years ago
Russell Bryant 462407a3a6 The use of an ifdef to check for FreeBSD is useless here because the two
19 years ago
Russell Bryant e19fc06e2c Merged revisions 47497 via svnmerge from
19 years ago
Tilghman Lesher 691363656f Merged revisions 47436 via svnmerge from
19 years ago
Steve Murphy 908f176cf3 A fair number of changes for the sake of bug 7506
19 years ago
Tilghman Lesher 10875731ec Merged revisions 47051 via svnmerge from
19 years ago
Joshua Colp 9f78577f5e Merged revisions 46775 via svnmerge from
19 years ago
Luigi Rizzo bf3afe5641 remove old/useless usecount handling
19 years ago
Joshua Colp e3807ed8cc Merged revisions 46474 via svnmerge from
19 years ago
Kevin P. Fleming 6ab133b9d2 restore bugfix that was reverted by trunk_mtu patch
19 years ago
Kevin P. Fleming 749029de38 Merged revisions 46200 via svnmerge from
19 years ago
Olle Johansson c30f1d12c5 Ok, second attempt...
19 years ago
Olle Johansson 25b8f577b8 On the other hand, don't use 1.4 patches for trunk... Sorry.
19 years ago
Olle Johansson 13ea5fc0d0 Add ability to adapt the IAX trunk packets to the MTU size, to avoid bad audio
19 years ago
Kevin P. Fleming 88efcea05e Merged revisions 46154 via svnmerge from
19 years ago
Joshua Colp f41b2acc50 Merged revisions 46130 via svnmerge from
19 years ago
Kevin P. Fleming 696f9ed677 Merged revisions 45408 via svnmerge from
19 years ago
Kevin P. Fleming 2194e57499 Merged revisions 45049 via svnmerge from
19 years ago
Joshua Colp 7b3665596f Merged revisions 44759 via svnmerge from
19 years ago
Kevin P. Fleming 3c876af5cf Merged revisions 44378 via svnmerge from
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Mark Spencer 847fe77eb9 Don't use channel when you don't mean a channel
19 years ago
Joshua Colp 6c0391c42a One must remember to unlock their list... thanks to Qwell for letting me into his box
19 years ago
Joshua Colp 29d27bfe0d Merged revisions 43933 via svnmerge from
19 years ago
Joshua Colp 773e105d91 Merged revisions 43915 via svnmerge from
19 years ago
Joshua Colp dad32d9d71 I *think* this is the last list in chan_iax2
19 years ago
Joshua Colp a5770f4e72 Merged revisions 43783 via svnmerge from
19 years ago
Joshua Colp 481265e347 Clean up code and convert last two things (firmware/dialplan cache) to linked list macros.
19 years ago
Russell Bryant c8b90b75c9 Merged revisions 43553 via svnmerge from
19 years ago
Joshua Colp 323527b4f3 Oh look more changes, but these are my own! (Clean up module load functions)
19 years ago
Tilghman Lesher 6ae8741518 Lots more removal of deprecated things
19 years ago
Tilghman Lesher 70af28270d Constify the result of a config retrieval function, to avoid mutilation (issue 7983).
19 years ago
Kevin P. Fleming fcb999c01c merge qwell's CLI verbification work
19 years ago
Kevin P. Fleming c2c4f86c72 merge markster's usersconf branch with some slight changes
19 years ago
Tilghman Lesher 72265ea79d Merged revisions 43019 via svnmerge from
19 years ago
Joshua Colp e77c51f5c6 Merged revisions 42086 via svnmerge from
19 years ago
Matt O'Gorman 05a695af72 everything that loads a config that needs a config file to run
19 years ago
Joshua Colp c6977b9983 Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
19 years ago
Joshua Colp 04bd8c54e8 Limit challenges to 9 digits in length
19 years ago
Russell Bryant f7e7161607 Merge team/russell/frame_caching
19 years ago
Russell Bryant 9aabe41de3 don't seg fault when using dbsecret
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
20 years ago
Steve Murphy 3042d0e046 This commit folds in changes to both stringfields (some enhancements to the ...field_set() macro, to optimize setting strings to empty, resetting strings to shorter contents, etc.) and to chan_iax2.c, to use stringfields in the user, peer, and pvt structs. Has been running stably on iaxtel, but while iaxtel has a large registration volume, it doesn't seem to have a high call volume. So far, it seems to reduce heap usage by over half. YMMV\! Please report any IAX bugs that might involve stringfields\!
20 years ago
Russell Bryant 663adb2b0e Merged revisions 38903-38904 via svnmerge from
20 years ago
Joshua Colp f41f7f8c93 It is better to hold a lock then not hold a lock when you are supposed to.
20 years ago
Joshua Colp b64b636f7e Minor optimization but use a linkedlists.h macro that pops the head off the list instead of getting the first entry and then removing it.
20 years ago
Russell Bryant 2842015aca Merged revisions 38328 via svnmerge from
20 years ago
Russell Bryant d897bd41c2 use ast_atomic_fetchadd_int in chan_zap, sip, and iax2 for usecount handling
20 years ago
Russell Bryant ca9ba719b6 Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
20 years ago
Kevin P. Fleming 6d0742fc16 merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)
20 years ago
Kevin P. Fleming 5aad4439e9 Merged revisions 37949 via svnmerge from
20 years ago
North Antara 5df4228851 There was an issue with ADSI and iax2, where on an iaxy with a normal phone connected,
20 years ago
Kevin P. Fleming ea1d0c4b33 G726-32 changes:
20 years ago
Joshua Colp 5d9419304c Merged revisions 37439 via svnmerge from
20 years ago
Kevin P. Fleming 5b639e6135 Merged revisions 37419 via svnmerge from
20 years ago
Joshua Colp ba092c1244 And now the trunk version! Add an option for IAX2 users that allows you to set how many outstanding AUTHREQs chan_iax2 will wait for replies on.
20 years ago
Joshua Colp 022957ce03 Remove BRIDGE_OPTIMIZATION since it is deprecated or obsolete (take your pick)
20 years ago
Russell Bryant 23a4d0be28 eliminate some pointer signedness warnings
20 years ago
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
20 years ago
Russell Bryant 73e8e2ab1f Blocked revisions 36725 via svnmerge
20 years ago
Kevin P. Fleming e61d3d91f3 The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)
20 years ago
Russell Bryant 5e282fef07 reduce indentation
20 years ago
Russell Bryant 5941d4d819 - move the increase of the use count to be after the possible failures
20 years ago
Joshua Colp 5ff818f995 Fix timing issue (race) with poke/pong for very close peers that can cause a peer to be declared unreachable (issue #7396 reported by stevedavies)
20 years ago
Russell Bryant 035a8b4278 Merged revisions 34627 via svnmerge from
20 years ago
Joshua Colp 9ebb7c35a2 Merged revisions 34400 via svnmerge from
20 years ago
Kevin P. Fleming 11dac47877 Merged revisions 34159-34160 via svnmerge from
20 years ago
Joshua Colp ce311227ac Change a bit of logic in peer expiry back to the way it used to be
20 years ago
Joshua Colp 6723184a62 Merged revisions 33297 via svnmerge from
20 years ago
Joshua Colp 5349ae6f46 Wait until we have the lock before getting the pvt structure pointer (issue #7313 reported by arkadia)
20 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
20 years ago
Russell Bryant 66dca5e378 Merged revisions 32818 via svnmerge from
20 years ago
Russell Bryant 39bcaa0773 add an updated patch that adds dnsmgr support for outgoing iax2 registrations
20 years ago
Kevin P. Fleming 22b45aa4d3 Merged revisions 32566 via svnmerge from
20 years ago
Kevin P. Fleming 8a95a1ddc1 Merged revisions 32373 via svnmerge from
20 years ago
Russell Bryant b0260c1039 revert the changes to allow chan_iax2 to use dnsmgr for registrations.
20 years ago
Joshua Colp 2a71835d41 Convert chan_iax2 to use dnsmgr in order to deal with hostnames that can change their resolved IP (aka dynamic dns setups) (issue #6305 reported and fixed by ivanfm)
20 years ago
Olle Johansson 404f8db694 Do not use ':' as a separator between arguments (kept around for 1.4 for backwards compatibility)
20 years ago
Russell Bryant bb7dd96cfe Add support for using a jitterbuffer for RTP on bridged calls. This includes
20 years ago
Kevin P. Fleming 4790dd5d9e when we receive an IAX2 registration request with both a plaintext secret and an MD5 challenge, prefer the MD5 challenge for authentation (reported on asterisk-dev)
20 years ago
Joshua Colp 79161454a3 Few more expire_registry changes
20 years ago