Commit Graph

644 Commits (fab0bded8cf69bb0c8db732e8e31fa4e59f8fbb4)

Author SHA1 Message Date
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
Russell Bryant 730f75cc78 only display a debug message if option_debug is in use
20 years ago
Joshua Colp e0612c9835 Safely traverse the thread lists and wait until each thread is done before moving on to the next.
20 years ago
Joshua Colp 336fd1a2de Only get the low 16 bits if we actually have a message count
20 years ago
Russell Bryant 7370cb3221 Merged revisions 29849 via svnmerge from
20 years ago
Kevin P. Fleming df6767fa52 Merged revisions 28896 via svnmerge from
20 years ago
Tilghman Lesher d0c36296d2 As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.
20 years ago
Joshua Colp 5769ed6ea2 Fix receiving message count information from a remote IAX2 peer. (issue #7163 reported by and fixed by akohlsmith)
20 years ago
Joshua Colp a6480b61b0 Merged revisions 27973 via svnmerge from
20 years ago
Kevin P. Fleming 5fb4e7019f and chan_iax2 gets smaller... remove the old jitterbuffer
20 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
20 years ago
Kevin P. Fleming fdcfd6469b ensure that control frames with payload can be sent to channel drivers via ->indicate()
20 years ago
Mark Spencer 66ed134473 Allow media to go directly between IAX endpoints while signalling still
20 years ago
Kevin P. Fleming c22eb692a1 minor cleanups and removal of duplicate prototypes
20 years ago
Joshua Colp b82b277790 Update chan_iax2 to use linkedlists.h for users and peers. Modify the way get_from_jb and expire_registry works to get rid of certain crash scenarios. Finally - change the way expire_registry works when realtime autoclear is enabled to be a bit more efficient.
20 years ago
Kevin P. Fleming 51382b3712 Merged revisions 23705 via svnmerge from
20 years ago
Kevin P. Fleming 574e14cbea Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
20 years ago
Luigi Rizzo 52ac09f78f simplify logic in iax2_bridge()
20 years ago
Joshua Colp 5c05128777 Move a bit more stuff over to the datadir (issue #6967 reported by tzafrir patch by north)
20 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
20 years ago
Joshua Colp d7f01e051b No need to do this in here any longer since the linkedlists macro is fixed
20 years ago
Joshua Colp afcefc4a68 Convert chan_iax2 to use linked lists for multithreading, and add dynamic threads. These are used when all pool threads are in use, and will stick around until load dies down. The theory is that during high load you'll have more threads available, and during low load you'll only have the normal pool threads sticking around.
20 years ago
Kevin P. Fleming f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
20 years ago
Tilghman Lesher 756c7cbb12 Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
20 years ago
Matthew Fredrickson a868675e2f chan_iax2 cleanups and optimizations (#6858)
20 years ago
Matt O'Gorman b9e7287ce6 adds manager event when an iax2 peer loses registration.
20 years ago
Russell Bryant e536a9c6df move a NULL check to before the first time the pointer is dereferenced (issue #6832)
20 years ago
Russell Bryant a13ab2f377 - code formatting tweaks
20 years ago
Russell Bryant 813c445686 Merged revisions 16744 via svnmerge from
20 years ago
Joshua Colp 5880a7f513 Do not leave a thread in limbo if an error occurs, or if testing packet loss.
20 years ago
Luigi Rizzo 6c232811c0 as discussed with Mark a few weeks ago, the 'newstack' argument
20 years ago
Joshua Colp 0c134c5cba Fix IAX2 multithreaded scheduling (issue #6840)
20 years ago
Russell Bryant 1caeee1c61 oops! :)
20 years ago
Russell Bryant 6601f4deba conversion from malloc to ast_malloc
20 years ago
Luigi Rizzo 096bf1511f another batch of cli simplifications
20 years ago
Russell Bryant 3de0204481 Merged revisions 15703 via svnmerge from
20 years ago
Russell Bryant 1ddae90e53 only display a debug message if iaxdebug is enabled as well (issue #6673)
20 years ago
Russell Bryant 78f7235d04 store f->callno in a local var (issue #6818)
20 years ago
Kevin P. Fleming 0b5f2a5d3f use proper file name
20 years ago
Kevin P. Fleming 278b8e8fc7 improve IP TOS support for SIP and IAX2 (issue #6355, code from jcollie plus modifications)
20 years ago
Matt O'Gorman a5ece3388a Janitor work converting !ast_strlen_zero(a)?a:b
20 years ago
Mark Spencer 9164eac21a Add micro-http server and abstract manager interface, make snmp not die
20 years ago
Kevin P. Fleming c26786fd81 compute scheduler thread timeout properly
20 years ago
Kevin P. Fleming 39464dfe09 commit file's work to convert iax2 multithreading to use pthread conditions instead of signals (with some modifications)
20 years ago
Olle Johansson 3cb5768016 Don't overwrite ANI if it's already sent with IES (imported from 1.2 branch)
20 years ago
Russell Bryant 9df72acbe9 deprecate the mailboxdetail option and always use its behavior, instead (issue #6665)
20 years ago
Russell Bryant 48c85e83bd fix build without SCHED_MULTITHREADED defined (issue #6719)
20 years ago
Mark Spencer 0752f8e41e Make sure we clear our sched value before we actually schedule the
20 years ago
Mark Spencer 2639b0a397 Handle disappearing calls for registers
20 years ago
Russell Bryant 6cff0b11f0 Merged revisions 11410 via svnmerge from
20 years ago
Russell Bryant f3b1b80b93 fix some build issues on FreeBSD (issue #6614)
20 years ago
Mark Spencer ce263dfb94 Oops
20 years ago
Mark Spencer 6e9d6fdd0f Fix for GCC 3.2.2
20 years ago
Mark Spencer a26b7f3400 Make sure we clear up schedule numbers before we process schedule
20 years ago
Mark Spencer 8913eac229 Keep track of the function we're in the middle of doing
20 years ago
Mark Spencer 16109b9d2c Make IAX2 multithreaded
20 years ago
Kevin P. Fleming 302c943001 add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser
20 years ago
Mark Spencer 72465ade16 Remove several uses of freed memory
20 years ago
Matt O'Gorman d442f57537 add 'blindtransfer' variable to chan iax2 like chan_sip and res_features bug note 6407
20 years ago
Kevin P. Fleming 4662d58b01 add API function for parsing strings to time_t (issue #6320, with mods)
20 years ago
Kevin P. Fleming 96bf384e7d major dialplan functions update
20 years ago
Russell Bryant 452f87a465 Merged revisions 9609 via svnmerge from
20 years ago
Mark Spencer c74856b173 Make IAX2 not try to authenticate when registration info is not changing
20 years ago
Russell Bryant 14906b3cfc Merged revisions 9246 via svnmerge from
20 years ago
Kevin P. Fleming a16ae226b6 use string fields for some stuff in ast_channel
20 years ago
Russell Bryant a228af1dd9 remove some more local declarations of null frames
20 years ago
Matthew Fredrickson 0296f45bff Add rdnis rx/tx support to chan_iax2 (#6348)
20 years ago
Kevin P. Fleming c767a66da5 don't queue a congestion frame on a channel that will be immediately hung up anyway
20 years ago
Russell Bryant 4414f45393 on this pass, only remove duplicate log messages
20 years ago
Russell Bryant 9fa6eb5e07 revert my pass through the tree to remove checks of the result of ast_strdupa
20 years ago
Russell Bryant 847260bb77 remove some useless checks of the result of ast_strdupa
20 years ago
Matt O'Gorman bc133ed475 Merged revisions 8320 via svnmerge from
20 years ago
Olle Johansson 0fd8b4cb3b Doxygen updates
20 years ago