Commit Graph

382 Commits (2f4460b0ea69b51cae9bec66190449aef0310833)

Author SHA1 Message Date
Joshua Colp 68a66656e6 Merged revisions 54481 via svnmerge from
19 years ago
Joshua Colp 32cd307d6f Merged revisions 53749 via svnmerge from
19 years ago
Russell Bryant ce321f87e9 Merged revisions 53136 via svnmerge from
19 years ago
Joshua Colp a378353ecc Merged revisions 50298 via svnmerge from
19 years ago
Luigi Rizzo 83f52ed5e2 better name for struct dial_localuser.
19 years ago
Luigi Rizzo a755ec928a introduce a temporary variable for tmp->chan to shorten expressions.
19 years ago
Luigi Rizzo 9c81431c93 stop what i think is a memory leak in case Dial fails to
19 years ago
Luigi Rizzo 9d4531d636 move a large block related to privacy handling to a separate function.
19 years ago
Kevin P. Fleming 359a553961 Merged revisions 48193 via svnmerge from
19 years ago
Luigi Rizzo bbba4e5a20 better fix for the previous bug.
19 years ago
Luigi Rizzo 64a9c28c3b do not ast_hangup() on a NULL channel.
19 years ago
Joshua Colp af51be05a6 Merged revisions 47850 via svnmerge from
19 years ago
Jason Parker 938c4bdc29 Merged revisions 47782 via svnmerge from
19 years ago
Joshua Colp a8ef79fa6f Make local copy of arguments to parse. (issue #8362 reported by homesick)
19 years ago
Luigi Rizzo 8b3fe4556c move out another large block to a large function, and document
19 years ago
Luigi Rizzo a55ca0d6ec fix indentation of a block, and do minor simplifications at the end of
19 years ago
Luigi Rizzo 0f58d97707 complete previous commit.
19 years ago
Luigi Rizzo 01ec7d63d9 move another block into a function.
19 years ago
Luigi Rizzo 1385b6f047 move a large block into a separate function.
19 years ago
Luigi Rizzo ab4f699065 another small set of simplifications
19 years ago
Luigi Rizzo acf5e87b0f change HANDLE_CAUSE into a function.
19 years ago
Luigi Rizzo c3a6bbddb8 remove redundant checks
19 years ago
Luigi Rizzo 534da0ecfd start integrating the simplifications proposed in bug 0005860,
19 years ago
Steve Murphy 6d81c47801 These changes submitted by moy via bug 6992, to add a Dial 'End' event to asterisk. I include some changes to astman to cover other events that have been added.
19 years ago
Joshua Colp 1e3c5bc5ba Inherit the context and extension until the channel is answered
19 years ago
Matt O'Gorman ae8cc3e18b bug #8076 check option_debug before printing to debug channel.
19 years ago
Joshua Colp 3e4a081e1c Make callerid fields in Manager events more consistent. CallerIDNum for number and CallerIDName for name. (issue #7976 reported by suhler)
19 years ago
Joshua Colp 1c764935f2 SS7 marked the start of an open season for trunk again but here's something minor - abstract early bridging into the technology so that we don't always assume they use RTP and try it.
19 years ago
Matt O'Gorman d0a1a0033d similar patch for verbose vs debug with minor changes
19 years ago
Steve Murphy 7c9b6e1d29 These small app documentation changes to app_dial and app_read will hopefully avert any more 7544 type bug reports\!
19 years ago
Kevin P. Fleming 0a27d8bfe5 merge new_loader_completion branch, including (at least):
19 years ago
Russell Bryant 774bba093b Merged revisions 38928 via svnmerge from
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
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 2e8a142c85 Don't ast_request a channel structure twice when a call is being forwarded. (#7362 - twlison / vechers confirming fix)
19 years ago
Joshua Colp a23af6559c Merged revisions 33294 via svnmerge from
19 years ago
Olle Johansson 9f5aa13142 Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.
19 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
19 years ago
Kevin P. Fleming 7f3cc8b886 cleanups for commit from issue #5657... set a cause code for a rejected forward request, and actually set tmp->chan to NULL when we reject the forward request
19 years ago
BJ Weschke 871f08ec07 Add an option to app_dial, 'i', to instruct the application ignore any requests from peers to forward calls elsewhere. #5657 (johnlange w/some minor mods)
19 years ago
Joshua Colp 91f9966be3 Merge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_priority_jumping not respected) (reported by jkoopmann and branch by murf)
19 years ago
BJ Weschke 5235890be4 This is part 2/2 of the patches for #7090. Adds one-step call parking to /trunk via builtin functions and 'k' 'K' application options added to app_dial. This also resolves #6340.
19 years ago
Joshua Colp d2da48b156 Inherit channel variables when call forwarding through chan_local (issue #7095 reported by raarts)
19 years ago
Russell Bryant 04ecb29d03 remove almost all of the checks of the result from ast_strdupa() or alloca().
19 years ago
Mark Spencer 9953f4f40e Make SIP early media work more efficiently without so many reinvites
19 years ago
BJ Weschke bdf2a05aa5 Merged revisions 24567 via svnmerge from
19 years ago
Jim Dixon a83297d85f Added "Operator Services" connection mode for Zap channels, and the 'O' option
19 years ago
Luigi Rizzo 965ff42bed more NULL "" equivalence in CID fields.
19 years ago
Luigi Rizzo b9f3e4e0f3 move a replicated block of code in the one place where it belongs.
19 years ago
Luigi Rizzo bd01d66909 merge two nested 'if' which are really a single block.
19 years ago
Luigi Rizzo 9476cb356e fix indentation of a large block
19 years ago
Luigi Rizzo 501c9e181c start sorting out the duplicated code in the privacy handler
19 years ago
Luigi Rizzo b3343aecdf merge two nested 'if' which are really a single block.
19 years ago
Luigi Rizzo 73f2d344fb more localization and variable removal
19 years ago
Luigi Rizzo c9f669e56d more localization of variables
19 years ago
Luigi Rizzo c6a8784e95 localize one more variable;
19 years ago
Luigi Rizzo 0f4a1bc9ac localize some variables
19 years ago
Luigi Rizzo 2bdcaa4849 extract a common condition.
19 years ago
Luigi Rizzo 25eb0525d9 fix indentation of some large blocks after previous changes
19 years ago
Luigi Rizzo 25c6ab22f9 more simplifications - use a local variable c instead of o->chan,
19 years ago
Luigi Rizzo acf0f038dc more simplifications
19 years ago
Luigi Rizzo 3aaaa41609 start cleaning up this code so we can split the 900 lines function
19 years ago
Luigi Rizzo e43bc6634d This rather large commit changes the way modules are loaded.
19 years ago
Tilghman Lesher 020305fb58 Merged revisions 19397 via svnmerge from
19 years ago
Kevin P. Fleming 77e998a20d Merged revisions 19301 via svnmerge from
19 years ago
BJ Weschke 0b438958df Minor cleanups and error handling for app_dial #6935 (casper)
19 years ago
Luigi Rizzo 7ba1b92a04 normalize code preparing for loader changes
19 years ago
Kevin P. Fleming cf15740eaf remove support for BYEXTENSION (which nobody even knows about anymore)
19 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
19 years ago
Olle Johansson 7089dc1341 Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c
19 years ago
Luigi Rizzo 1fd898bd84 convert a couple of applications to the new module style
19 years ago
Luigi Rizzo 6c232811c0 as discussed with Mark a few weeks ago, the 'newstack' argument
19 years ago
Matt O'Gorman a5ece3388a Janitor work converting !ast_strlen_zero(a)?a:b
19 years ago
Russell Bryant fc9d3ba21b Merged revisions 13550 via svnmerge from
19 years ago
Russell Bryant 686b512e23 Merged revisions 12927 via svnmerge from
19 years ago
Russell Bryant a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
20 years ago
Kevin P. Fleming a16ae226b6 use string fields for some stuff in ast_channel
20 years ago
Russell Bryant 32026d6f49 don't redefine the localuser struct for additional use specific to the module (issue #6216)
20 years ago
Kevin P. Fleming 210d4679ee Merged revisions 8608 via svnmerge from
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 7ad681adc8 remove lots of useless checks of the result of ast_strdupa
20 years ago
Kevin P. Fleming 5af944427f suppress compiler warning
20 years ago
Olle Johansson 95144f75a5 - Logging clean up
20 years ago
Matt O'Gorman 169eeb8599 Added forward context option from 5497
20 years ago
Russell Bryant 2eb7eecdd0 conversions to memory allocation wrappers (issue #6210)
20 years ago
Russell Bryant 384aefa772 Merged revisions 7957 via svnmerge from
20 years ago
Russell Bryant a725468381 update doxygen docs to specify authors
20 years ago
Mark Spencer 0d32a85be1 Major RTP fixes for using inbound SDP on outbound connection, get rid of
20 years ago
Kevin P. Fleming b7b2317d81 Merged revisions 7448-7449,7451,7453 via svnmerge from
20 years ago
Russell Bryant ec05153ac4 convert most of the option_*'s to a single ast_flags structure. Also, fix some
20 years ago
Kevin P. Fleming 2c65582b66 remove extraneous svn:executable properties
20 years ago
Mark Spencer aab82dc3d2 Record DIALEDTIME on incomplete calls, update description (bug #5862)
20 years ago
Russell Bryant 6801852c65 issue #5850
20 years ago
Russell Bryant 0702130ed1 fix a typo in the RetryDial description
20 years ago
Kevin P. Fleming 50ab28bd94 issue #5720
20 years ago
Russell Bryant 45c7589284 update the descriptions of a couple more apps
20 years ago
Russell Bryant 78d740290a more cleanups to application descriptions
20 years ago
Kevin P. Fleming 0ac4bbfdd9 issue #5602
20 years ago
Kevin P. Fleming f09c6bc78e application doc update
20 years ago
Russell Bryant 7d4a5abb1d Convert some built-in applications to use new args parsing macros.
20 years ago
Russell Bryant 31a804b97c issue #5605
20 years ago
Mark Spencer 535ed63c6f Dial janitor patch (bug #5613)
20 years ago
Kevin P. Fleming 2bebbca579 flags usage simplification
20 years ago
Kevin P. Fleming 426360e389 major update to arg/option parsing APIs and documentation
20 years ago
Kevin P. Fleming 8f0a6a7d4f uhh... oops
20 years ago
Kevin P. Fleming ce50837d70 upgrade Dial() app to use API-based argument/option parsing
20 years ago
Russell Bryant 5187de9ab6 remove unnecessary checks before calls to ast_strlen_zero
20 years ago
Russell Bryant 3453e3efa5 Doxygen documentation update from oej (issue #5505)
20 years ago
Russell Bryant b4e0cedf94 fix up help text (issue #5479)
20 years ago
Russell Bryant 4aa7912057 Massive cleanups to applications for LOCAL_USER handling and some other things.
20 years ago
Russell Bryant 29829640bf it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
20 years ago
Kevin P. Fleming 57a8f5d82c ensure Dial() options are sorted in help output (issue #5386)
20 years ago
Kevin P. Fleming 7215e4179d add auto-monitor support (issue #5411)
20 years ago
Kevin P. Fleming 350aaac04b properly report hangupcause when ast_request() fails for the last (or only) target of a dial operation (issue #5394, different fix)
20 years ago
Kevin P. Fleming 5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
20 years ago
Kevin P. Fleming 1e854ea773 remove useless buffer initializations (issue #5134)
20 years ago
Kevin P. Fleming e0f02b46f1 convert a bunch of apps to use ast_goto_if_exists() (issue #5138)
20 years ago
Mark Spencer 5d4d2fdfd4 Add SIP video fixes
20 years ago
Mark Spencer 3c6e6c9c96 Be sure not to leak frames in certain cases
20 years ago
Kevin P. Fleming 5cc0413c54 add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
20 years ago
Kevin P. Fleming 0313d0b9c5 add privacy/screening functionality to app_dial (bug #752)
20 years ago
Mark Spencer 80f67ad1fa Pass along proceeding and progress even when overlap mode is not on
20 years ago
Matthew Fredrickson f6f9cac028 Change level of message in case of write on hung up channel (Bug #4651)
20 years ago
Russell Bryant 91ee5d5ddd more fun with ast_copy_string
20 years ago
Russell Bryant 52ef5c7d30 add function to convert a cause code to a string
20 years ago
Kevin P. Fleming c0b1e88e8a the last round of file version tags
20 years ago
Mark Spencer df349078da Fix dial to not seg when closing ')' is missing (bug #4410)
20 years ago
Russell Bryant 367fd1d3cf fix the one digit exit extension for RetryDial
20 years ago
Kevin P. Fleming 0858dad2ad return CHANUNAVAIL for unregistered peers, not CONGESTION (bug #4276)
20 years ago
Kevin P. Fleming 8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
20 years ago
Kevin P. Fleming bced63033d make 'goto' APIs aware of auto-processing loops, so they know exactly when to set the requested priority or one priority lower
20 years ago
Kevin P. Fleming a1d24f740f help text cleanups (bug #4072, with mods)
20 years ago
Kevin P. Fleming 1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
20 years ago
Mark Spencer b5c7781d9f Add 'n' option to dial for "nojump" (bug #4034)
20 years ago
Russell Bryant 42da18ec5f just formatting
20 years ago
Mark Spencer 922d62c39d Add calling party DTMF (bug #3994)
20 years ago
Mark Spencer e87a53037e Forward text frames before answer (bug #3717)
20 years ago
Matthew Fredrickson b81f233e68 Merging in xylome's beaerer capabilty patch (bug 3547)
20 years ago
Mark Spencer 1719cd39d3 Add 'G' option to dial (bug #3786)
20 years ago
Mark Spencer 34e8ed636d Fix queue URL passing (bug #3543)
21 years ago
Mark Spencer 233e26b112 Fix SetVar (bug #3668) and g + transfer (#3650)
21 years ago
Mark Spencer 41453ebf74 Copy/paste errors (bug #3559, #3560)
21 years ago
Mark Spencer fa48657020 Fix typos in app_dial (bug #3536)
21 years ago
Mark Spencer 73b299843e Add "Dial" event to link callerid, src and destination channel (bug #3494)
21 years ago
Mark Spencer e95da4b9f7 Oops (first one of these in a while)
21 years ago
Mark Spencer a43b8ec753 REname 'p' option to 'o' (bug #3490)
21 years ago
Mark Spencer 026c03b527 Add new 'p' flag to Dial for preserve callerid (bug #3490)
21 years ago
Mark Spencer 6ed8f15260 Allow hints to have names (bug #3471)
21 years ago
Mark Spencer 87cf6b3ec2 Fix 'g' flag (bug #3465)
21 years ago