Commit Graph

3446 Commits (d70fe791c2e951b5421f95373957474c20406d2f)

Author SHA1 Message Date
Nadi Sarrar 864c934f53 adding support for AOCD facility messages.
19 years ago
Russell Bryant 9f9a5f1984 move the calls to ast_jb_configure() to before the PBX thread is started on the
19 years ago
Russell Bryant fff5a55af6 print a more user friendly error message with the text representation of codecs
19 years ago
Russell Bryant 65373a1987 reduce duplicated code by using print_codec_to_cli in sip_show_user as it is
19 years ago
Christian Richter 7de6ec3337 removed libbnec dependencies.
19 years ago
Kevin P. Fleming aa3947e9fa complete the coding style changes for these frame structures
19 years ago
Nadi Sarrar 0b579cf152 moved the asn1 and facility portions of code to mISDNuser, so removing the files here.
19 years ago
Steve Murphy e648f4ddb4 Made "style" change requested by Kevin Fleming... used initializer in declaration,
19 years ago
Steve Murphy 14beac0408 On behalf of PCadach, " IMHO that was last deadlock in chan_h323..."
19 years ago
Joshua Colp eecf43413f Don't completely error out if a config file for chan_phone was not found. (issue #7710 reported by Mithraen)
19 years ago
Joshua Colp 4ebd436c85 Add support to see if a peer has someone on hold, and fix a small bug with getting the state name. This one goes out to you mog!
19 years ago
Nadi Sarrar 162e37b2d6 fixing compile warnings, renaming config option "overlap_dial" to "overlapdial"
19 years ago
Russell Bryant 1de65767f2 This bug existed in one extra place that is not also in 1.2 ... So, fix it!
19 years ago
Nadi Sarrar 958f3726f1 * first bits of decoding facility information elements
19 years ago
Matt O'Gorman 1ef09ebfed some code clean up and catch for a act_hook being called
19 years ago
Joshua Colp a0bd41f79b Add support for Sigma Designs cards. These basically allow you to offload dialtone generation to the board. If you're using a quicknet board where this might work, give it a try as well. (issue #6092 reported by ywalther - minor mods by moi)
19 years ago
Christian Richter 52e1395690 * added possibility to change echocancel settings during calls
19 years ago
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
19 years ago
Matt O'Gorman 3f115f8c31 Many many code cleanup changes given to me by Oej
19 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\!
19 years ago
Olle Johansson a42c164879 Fix accidental removal of if() in commit 38905
19 years ago
Olle Johansson b57c238260 Issue #7651 - always send subscription-state (AuPix)
19 years ago
Christian Richter f2178d336b changed naming of mISDN channels, so that hinting works proper
19 years ago
Russell Bryant 12b3d4a49e Merged revisions 39081 via svnmerge from
19 years ago
Russell Bryant 954ed66a0a minor cleanups
19 years ago
Russell Bryant 9892054414 Merged revisions 38950 via svnmerge from
19 years ago
Russell Bryant 663adb2b0e Merged revisions 38903-38904 via svnmerge from
19 years ago
Joshua Colp f41f7f8c93 It is better to hold a lock then not hold a lock when you are supposed to.
19 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.
19 years ago
Joshua Colp e306f812df Don't assume that a referred by URI will always exist (issue #7641 reported and fixed by AuPix)
19 years ago
Christian Richter fc3d27cf6f * removed pp_l2_check (fixed L2 bug in mISDNuser)
19 years ago
Kevin P. Fleming 1b784cd1f7 Merged revisions 38731 via svnmerge from
19 years ago
Matt O'Gorman a8d7d9123a dtmf support. not everything else, trying to clear out those other bugs
19 years ago
Kevin P. Fleming ec2e7aee56 Merged revisions 38611 via svnmerge from
19 years ago
Russell Bryant 93682ec72e make the counting of ingress, outgress, and total frames thread-safe
19 years ago
Russell Bryant 450db95711 add macros for the pure and const attributes to compiler.h, in case they ever
19 years ago
Russell Bryant d6246e579f Add the function attribute "pure" or "const" to various functions that perform
19 years ago
Joshua Colp 48c09ef517 Merged revisions 38420 via svnmerge from
19 years ago
Russell Bryant 2842015aca Merged revisions 38328 via svnmerge from
19 years ago
Russell Bryant 1df50be628 Merged revisions 38288 via svnmerge from
19 years ago
Joshua Colp 6d52c0b559 Merged revisions 38234 via svnmerge from
19 years ago
Russell Bryant d86d8ebdff This exact deadlock situation that I observed can't happen in trunk due to the
19 years ago
Joshua Colp cbf79ca489 Start out with cleared RTP payload structures instead of defaults. This should prevent issues where if a stream (audio/stream) is not present and it's RTP payload structure is combined with the overall capability then the capability would be every codec that Asterisk supports.
19 years ago
Luigi Rizzo 2c3bc8b1b3 move middle-of-the-block declaration at the top.
19 years ago
Luigi Rizzo d0ef036696 fix uninitialized variable
19 years ago
Joshua Colp 6810884f60 Only deal with getting the supported payloads on audio if an audio RTP stream exists
19 years ago
Russell Bryant d897bd41c2 use ast_atomic_fetchadd_int in chan_zap, sip, and iax2 for usecount handling
19 years ago
BJ Weschke f2611e36c3 This corrects the crash condition present in #7575, but I'm not really sure if it's the "right" fix. Please review and make any adjustments you see necessary.
19 years ago
Russell Bryant ca9ba719b6 Merge a new implementation of ast_inet_ntoa, our thread safe replacement for
19 years ago
Joshua Colp 1861dcdff5 Only bitmaskify the RTP payload structure for video if an RTP structure exists for it... otherwise the default values will cause codec combination madness
19 years ago
North Antara 1edb21b423 Fix a few doxygen warnings.
19 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)
19 years ago
Kevin P. Fleming 5aad4439e9 Merged revisions 37949 via svnmerge from
19 years ago
Kevin P. Fleming e8d711723a revert this morning's incorrect indentation change
19 years ago
Mark Spencer 837910062b First pass at in-place file manipulation via manager
19 years ago
Luigi Rizzo 31d0db0e29 move variable declarations to the beginning of a block.
19 years ago
Kevin P. Fleming 000ba592b2 more Makefile cleanup and consistency stuff
19 years ago
Kevin P. Fleming 396ef6f9e7 use LDFLAGS and LIBS properly, and allow dependencies to provide LDFLAGS if needed (although none do today)
19 years ago
North Antara 5df4228851 There was an issue with ADSI and iax2, where on an iaxy with a normal phone connected,
19 years ago
Russell Bryant ee4840acdf add missing unregistration of a manager action on module unload
19 years ago
North Antara 7bb38d5ee2 Rename a couple variables, to be consistent with the rest of the functions
19 years ago
Kevin P. Fleming 4376af0080 actually make the non-standard G726-32 behavior available for SIP clients
19 years ago
Kevin P. Fleming ead48c38cb Merged revisions 37531 via svnmerge from
19 years ago
Christian Richter 54ce0f0a22 added even more statefulness for sending out disconnect/release/release_complete messages. added support for incoming presentation/screening. fixed a bug that we generate TONE_EVENTS on hanguptone_indicatem, which caused asterisk to write blocking thread messages. added nodialtone option to prevent dialtone for always_immediate
19 years ago
Kevin P. Fleming fd9c9ec28f allow users of RTP to use G726-32 AAL2 packing even when RFC3551 packing has been requested (Sipura/Grandstream ATAs and others will need this)
19 years ago
Kevin P. Fleming ea1d0c4b33 G726-32 changes:
19 years ago
Russell Bryant 4316a871ac repeat after me ...
19 years ago
Olle Johansson 8cd5ad1755 Re-enable RTCP quality reports
19 years ago
Joshua Colp 5d9419304c Merged revisions 37439 via svnmerge from
19 years ago
Kevin P. Fleming 5b639e6135 Merged revisions 37419 via svnmerge from
19 years ago
Kevin P. Fleming acfa035afe Merged revisions 37417 via svnmerge from
19 years ago
Christian Richter 94274cc26b * Introducing a new way for the l1watcher thread using the ast_sched way. Now l1watcher timeouts can be configured separately for every portgroup.
19 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.
19 years ago
Joshua Colp 022957ce03 Remove BRIDGE_OPTIMIZATION since it is deprecated or obsolete (take your pick)
19 years ago
Christian Richter 46d200f14d removed unnecessary locking, which might have created deadlocks. removed find_chan_by_l3id, since the l3id is not unique over all ports. removed automatic nt_stack reinitialization, since this creates segfaults.
19 years ago
Mark Spencer 4c90cf59b7 Support hold/unhold in Zap, update IAX2 parser to know about modern commands, forward hold/unhold in dial, add hold device state
19 years ago
BJ Weschke 4149f37efa Merged revisions 37212 via svnmerge from
19 years ago
Russell Bryant 41bfcf3c57 pointer signedness warnings cleanup
19 years ago
Russell Bryant 7828780bb7 eliminate some pointer signedness warnings
19 years ago
Russell Bryant 23a4d0be28 eliminate some pointer signedness warnings
19 years ago
Kevin P. Fleming 4f826452cf make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
19 years ago
Matthew Fredrickson de03118578 Asterisk portion of the T309 patch. (#7271)
19 years ago
Kevin P. Fleming 748431f7b6 move rules file to prepare for generic rules file
19 years ago
Joshua Colp 1fb6111c18 Merged revisions 37173 via svnmerge from
19 years ago
Christian Richter bd0b801a0d * removed tone_indicate, we genrate only the dialtone by ourself (and the hanguptone of course)
19 years ago
Kevin P. Fleming dae3eedb34 make chan_zap use proper test for libpri support
19 years ago
Kevin P. Fleming dbf099cdb8 update dependency information to match new names for dependencies
19 years ago
Kevin P. Fleming f761d2f6f0 prepare Asterisk for new zaptel.h/tonezone.h installation locations
19 years ago
Olle Johansson c5660895a8 Draft became RFC...
19 years ago
Joshua Colp c56acadf7f Merged revisions 36998 via svnmerge from
19 years ago
Christian Richter 130ce69987 removed the reloading of the ntdebug stuff, since this is a bit buggy, we only set it when loading chan_misdn for now. fixed a litle state problem when receiving RELEASE_COMPLETE. also we may only play tones to a NT when the extension does not match and such cases.
19 years ago
Olle Johansson f9df5318ce Specify digest algorithm for picky clients
19 years ago
Christian Richter 5da2848158 removed our own tone creation from misdn_indicate, we just return -1. Now we get a lot fewer blocked in thread blah warnings..
19 years ago
Christian Richter f629ae1872 added misdn show config description[s] to show all the possible misdn.conf settings with a description in the CLI
19 years ago
Olle Johansson c6ab7e7164 Increase buffer size for routing headers. When routing with enc.keys within
19 years ago
Olle Johansson 2f6f0b19c5 Raise debugging level for message
19 years ago
Russell Bryant 73e8e2ab1f Blocked revisions 36725 via svnmerge
19 years ago
Olle Johansson 8affb4c1f8 Issue #7421 - Hold status not working fully. Thanks jmls for a good job debugging!
19 years ago
Olle Johansson 4c8e3bcdca users want code to compile, really.
19 years ago
Olle Johansson e995afbd10 Formatting and debug output fixes
19 years ago
Olle Johansson 765e420458 tell the other side that we're using 20 ms packetization for iLBC
19 years ago
Olle Johansson b971f65978 - Make use of system name in realtime SIP peers optional
19 years ago
North Antara 79f45173fb It might help if this had the right stimulus name
19 years ago
Mark Spencer d9e8e304b9 Fix chan_nbs to build...
19 years ago
Joshua Colp 59be0b03b7 Fix up a few log messages in chan_sip (issue #7449 reported by tgrman)
19 years ago
Matthew Fredrickson b39cb899d6 Make sure that we build chan_misdn with the object files in the right order
19 years ago
Christian Richter 6027721510 added a bit logging, when we split the bridge
19 years ago
Christian Richter 4bdeb383e7 added fix, that if the L2 goes down on ptp-NT that we reinitialize the NT Library. Also if we have no ntflags, we don't pass the filename to the debug routines of mISDNuser.
19 years ago
Olle Johansson 8d4ace1a0a Store sysname even if we do not store fullcontact (thanks tholo)
19 years ago
Christian Richter f5c0cd2ddc added better L2 handling for ptp, if it's down we don't try to call on that port in groupdial anymore, also we try to get it up then. Additionally added the configoptions ntdebugflags and ntdebugfile to debug the mISDNuser NT Stack (should have done that ages before..). isdn_lib.c compiles again.
19 years ago
Olle Johansson a38e7f01a9 ...too early in the morning for commits in Bergen, Norway...
19 years ago
Olle Johansson d92de40c2f Add support for a=inactive in SDP for holding. This is not very well documented
19 years ago
Christian Richter fc8d55ab15 moved a notice into a log
19 years ago
Christian Richter 727488c81b fixed a few state problems when hanging up the call. also changed a few debug messages to higher log level
19 years ago
Olle Johansson dd94255a69 Don't delete initid scheduled item twice... Thanks, vecher, for bugging me about this.
19 years ago
Olle Johansson f48a573439 Code cleanup while trying to understand this channel...
19 years ago
Olle Johansson f12f5b7c6c Formatting and doxygen fixes
19 years ago
Olle Johansson 6d86697867 issue #7033 - Don't burst pokes to peers at load or reload.
19 years ago
Olle Johansson 6895f108bd Inspired by issue 6742, but solved in a different way.
19 years ago
Christian Richter 5d18356b24 fixes segfault on incoming call which is disconnected in Alerting state
19 years ago
Olle Johansson 6ca399c459 Don't change direction of the dialogue when we send a re-invite
19 years ago
Olle Johansson 0dbb924cb5 Found a missing "l" on the left side of the sofa, close to the TV.
19 years ago
Olle Johansson 66786a7d53 Issue #7421 - Stop generator on both call legs (patch by tgrman)
19 years ago
Olle Johansson 1cbd4effca Issue #7429 - accessing a not allocated structure causes segfault... (tgrman, fix by myself
19 years ago
Christian Richter baad1c266c * fixed the busy state
19 years ago
Kevin P. Fleming 93385c0fab fix for issue #7245
19 years ago
Olle Johansson 9863bb982c Separate private options so we don't request bug report on those...
19 years ago
Olle Johansson 8ee441b649 Update the SIP options list from IANA repository
19 years ago
Tilghman Lesher b3c6e18a5e Merged revisions 35915 via svnmerge from
19 years ago
Kevin P. Fleming a579371f43 use new (separate) dependencies file from menuselect
19 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>)
19 years ago
Kevin P. Fleming df0ba5ff8b search for Zaptel and libtonezone separately in the configure script
19 years ago
Russell Bryant 1c17258f4e fix some little issues on big endian platforms to resolve compiler warnings
19 years ago
Russell Bryant c8ceb92a4f revert my changes that converted the jb on the channel to be dynamically
19 years ago
Russell Bryant 84c37e0c58 reduce indentation
19 years ago
Russell Bryant 5e282fef07 reduce indentation
19 years ago
Russell Bryant 5941d4d819 - move the increase of the use count to be after the possible failures
19 years ago
Russell Bryant 46018d5032 - dynamically allocate the ast_jb structure that is on the channel structure
19 years ago
Russell Bryant 3daaf2163f use .PHONY instead of FORCE
19 years ago
Russell Bryant 48ae9f0d4f - convert the 'uninstall' target to use separate targets to process each
19 years ago
Russell Bryant 55e8a60363 - specify that 'depend' is a .PHONY target
19 years ago
Russell Bryant 9db0520ff9 - specify that 'all' is a .PHONY target
19 years ago
Russell Bryant c399a06450 add the 'clean', 'clean-depend', and 'dist-clean' targets as .PHONY targets
19 years ago
Olle Johansson d29e2a58da Add video support to chan_agent.
19 years ago
Olle Johansson a256bcb080 Issue #7380 - Cannot put a one-legged call on hold/off hold
19 years ago
Olle Johansson 58c243a6d4 Only formatting changes... (tabs to spaces)
19 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)
19 years ago
Christian Richter 70a4c98a5a * added support for PID export/import to identify bridging in misdn_call already
19 years ago
Olle Johansson 7876a86e96 - Doxygen and some formatting fixes in res_features
19 years ago
Olle Johansson a85fec94fd Finally fix parking and go back to metermaids
19 years ago