Commit Graph

1504 Commits (cb11263607eb5afc2ee1e5ec2bc2adf8d9e7e47c)

Author SHA1 Message Date
Olle Johansson 42a56b7a5a Merging patch from 1.2 - Issue #7682
19 years ago
Olle Johansson b93280947a Issue #7351 - sending CANCEL when the call at some point has been in UP state is wrong.
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
Olle Johansson 948533a791 Issue #7924 - cmaj - Turn off silence suppression if no channel owner
19 years ago
Olle Johansson 50b6a222ef Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me, myself or I.
19 years ago
Olle Johansson d970a07b1c If we've found a T38 SDP line, stop looking for more on the very same line
19 years ago
Olle Johansson da55c166dc More formatting fixes and doxygen stuff
19 years ago
Olle Johansson d37002287b Add comment
19 years ago
Olle Johansson 8868c4e1ca - Use enum for send-request reliability flags
19 years ago
Olle Johansson 31fa147b76 More formatting
19 years ago
Olle Johansson 4c081033b6 More formatting/doxygen updates to keep me occupied
19 years ago
Olle Johansson 421f2b076d Ignore this. Only whitespace fixes while being bored.
19 years ago
Olle Johansson 2984fbc068 Change from "r" as a variable name to "dialog". "r" is commonly used for registrations,
19 years ago
Olle Johansson e7b882961e Use Timer T1 for dialog timeouts/destruction
19 years ago
Tilghman Lesher 237fbf35fc If the leading underscore is not stripped before comparison,
19 years ago
Olle Johansson 5a622d032e Don't destruct sessions prematurely. Especially not when we want reliable retransmissions...
19 years ago
Olle Johansson 01714e962b importing rev 42535 from 1.2 (which by mistake was actually imported from svn trunk)
19 years ago
Olle Johansson d0cbbaf8d7 Don't destroy pvt prematurely. Wait for answer or timeout.
19 years ago
Olle Johansson 562b491a85 Clear proper flag
19 years ago
Joshua Colp 53cf63c33a Convert some warnings into debug messages since they can exist under perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge)
19 years ago
Olle Johansson bd4e57a873 Make sure we handle CANCEL/ACK properly (imported with mods from 1.2)
19 years ago
Joshua Colp e43b830a9d Merged revisions 41768 via svnmerge from
19 years ago
Joshua Colp 0be2884d80 If we are doing video and we can't reinvite, then resort to generic bridging instead of Packet2Packet since video isn't supported there yet. (reported by PCadach in #asterisk-bugs)
19 years ago
Joshua Colp 8ee7419d26 If no number is specified in the SIP_HEADER dialplan function, then just use the first one. (issue #7854 reported by sxpert and issue #7863 reported by hristo)
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
Olle Johansson 6ca927457d Why check bridgepeer twice?
19 years ago
Olle Johansson 18164dec14 Don't add headers to an uninitialized eq (from issue 7694 garyhai, but not
19 years ago
Olle Johansson 13eb698ce7 Note to myself: Remember Russell's note: Always compile first...
19 years ago
Olle Johansson 2c98238fbe Mark ALERT_INFO as deprecated. This can now be done with the sipaddheader() application and
19 years ago
Olle Johansson 0ace854142 Issue #7572 (Boesl) - hangup channel that get buggy 487 response (imported from 1.2)
19 years ago
Olle Johansson 7aa333c9ef Issue #7822 - don't issue SRV lookups if it's disabled. (barthek)
19 years ago
Joshua Colp 12b6ec4e11 Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking
19 years ago
Joshua Colp c70ed7614a Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!
19 years ago
Joshua Colp 1c182a606a Allow an offset for SIP_HEADER so you can get more then 1 header of the same name if they exist. Why someone would want to grab something like Via headers from dialplan I don't exactly know, but okay. (issue #7563 reported by Corydon76)
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Russell Bryant a8272afb1f fix the use of an uninitialized variable (issue #7746, pointed out by garyhai)
19 years ago
Joshua Colp 59766196ea Move things around a bit more for onhold support, and add a check to only decrement the onhold variable if it's greater then 0. (issue #7740 reported by AuPix)
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
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
Russell Bryant 92bd7f19f7 Merge team/russell/ast_verbose_threadstorage
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
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 e306f812df Don't assume that a referred by URI will always exist (issue #7641 reported and fixed by AuPix)
19 years ago
Kevin P. Fleming 1b784cd1f7 Merged revisions 38731 via svnmerge from
19 years ago
Kevin P. Fleming ec2e7aee56 Merged revisions 38611 via svnmerge from
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 1df50be628 Merged revisions 38288 via svnmerge from
19 years ago
Joshua Colp 6d52c0b559 Merged revisions 38234 via svnmerge from
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
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 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
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
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
Russell Bryant 4316a871ac repeat after me ...
19 years ago
Olle Johansson 8cd5ad1755 Re-enable RTCP quality reports
19 years ago
Russell Bryant 7828780bb7 eliminate some pointer signedness warnings
19 years ago
Joshua Colp 1fb6111c18 Merged revisions 37173 via svnmerge from
19 years ago
Olle Johansson c5660895a8 Draft became RFC...
19 years ago
Olle Johansson f9df5318ce Specify digest algorithm for picky clients
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
Joshua Colp 59be0b03b7 Fix up a few log messages in chan_sip (issue #7449 reported by tgrman)
19 years ago
Olle Johansson 8d4ace1a0a Store sysname even if we do not store fullcontact (thanks tholo)
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
Olle Johansson dd94255a69 Don't delete initid scheduled item twice... Thanks, vecher, for bugging me about this.
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
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
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
Russell Bryant c8ceb92a4f revert my changes that converted the jb on the channel to be dynamically
19 years ago
Russell Bryant 46018d5032 - dynamically allocate the ast_jb structure that is on the channel structure
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
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
Olle Johansson 12164df2fd How many times can we free allocated memory? Many, obviously... ;-)
19 years ago
Olle Johansson b27fff2a9d Hunting crash when parking calls with SIP REFER
19 years ago
Olle Johansson 0195279499 use correct test for checking if sip domains are enabled or not
19 years ago
Olle Johansson cb4221c7e9 Don't count unknown media streams as media streams in the offer... (Fenlander reported this on irc)
19 years ago
Olle Johansson e04914b44a parse SDP properly even when we are debugging. (Thanks fenlander!)
19 years ago
Olle Johansson 3b910323f3 Issue #6820 - SIP channels hang in semi active state
19 years ago
Olle Johansson bce5b8a146 - Formatting
19 years ago
Olle Johansson 2813d15f52 Hoppsan!
19 years ago
Olle Johansson 83e64c7c94 - Do not require a space at the end of the m= string in a T38 re-invite
19 years ago
Olle Johansson 8fd35365f5 Add some debug logging
19 years ago
Olle Johansson 4b6d6a1a0b Formatting fixes
19 years ago
Matt O'Gorman b22e7bf558 adds support for t38 pass through patch brought up to trunk from
19 years ago
Russell Bryant 55ffe394a5 only set the QOS variables if the pvt has an owner so that they are not
19 years ago
Olle Johansson 1ec28daa30 Formatting fix and doxygen update
19 years ago
Olle Johansson 2ab4e12549 Fix typo (Thanks Vechers!)
19 years ago
Olle Johansson 5d3d87900e - Remove redundant forward declaration
19 years ago
Olle Johansson e41fcca65a - Complete addition of forward declarations and grouping of functions
19 years ago
Olle Johansson 8ef5092031 Issue #7325 - Parse string after URI decoding (casper)
19 years ago
Olle Johansson d2fa9efdad Store RTCP reports in channel variables and SIP history
19 years ago
Olle Johansson 6d4ab87321 - RTP debug message formatting
19 years ago
Olle Johansson 8bee8de932 Another try at hanging up the transferer channel after the masq
19 years ago
Olle Johansson bcf82f32d5 Don't force context for domain= setting (imported from 1.2)
19 years ago
Olle Johansson 2366793c63 Remove the return value from functions that return something that is never checked anywhere.
19 years ago
Olle Johansson ce10b34ca6 Enabling and disabling debug messages...
19 years ago
Kevin P. Fleming 09778b268e move 'struct ast_rtp' back to rtp.c where it belongs
19 years ago
Olle Johansson 36506dad2d Debug logging fixes
19 years ago
Olle Johansson fee02a9b7d At least reply if we get a fatal error in handling a packet.
19 years ago
Olle Johansson 91732256db Don't crash if chan2 does not exist (one-legged call situations, like echo)
19 years ago
Olle Johansson b796bf414b Improve SIP history
19 years ago
Olle Johansson 89081c3d06 Issue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Olle Johansson 479181951a Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of tests
19 years ago
Olle Johansson 8bc0599b11 Issue 7208 - Handle ; in userinfo part of URI too
19 years ago
Olle Johansson 404f8db694 Do not use ':' as a separator between arguments (kept around for 1.4 for backwards compatibility)
19 years ago
Olle Johansson 62dd0dc6f2 Only override callingpres set by rpid if user/peer preference is set. (Issue #7240)
19 years ago
Olle Johansson 02bc3637da Code simplification
19 years ago
Olle Johansson d520d238f1 - Fix more problems in transfer code (thanks Tholo!)
19 years ago
Olle Johansson 043b765bdc Respond to some of Luigis questions...
19 years ago
Olle Johansson e97507e8fb Fix potential bug. THanks luigi!
19 years ago
Olle Johansson 0d6906e107 - Doxygen fix
19 years ago
Olle Johansson c2b50fd2bd Show max bitrate in "sip show user" and "sip show channel"
19 years ago
Olle Johansson 439e4963ab - Typo in chan_sip (: missing)
19 years ago
Luigi Rizzo 531ed6f290 add a bit of comment on what build_route does,
19 years ago
Luigi Rizzo 88077a4d1f remove some duplicated code;
19 years ago