aboutsummaryrefslogtreecommitdiffstats
path: root/main
AgeCommit message (Collapse)AuthorFilesLines
2007-04-09This is a big improvement over the current CDR fixes. It may still need ↵murf3-27/+82
refinement, but this won't have as many folks bothered. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60989 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09Merged revisions 60849 via svnmerge from tilghman1-8/+6
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60849 | tilghman | 2007-04-08 21:49:06 -0500 (Sun, 08 Apr 2007) | 2 lines Don't check for error when lowering priority (according to the manpage, it should never happen anyway). It might could happen, though, if another thread messed with the priority, so safeguard against that (reported via -dev list). ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60850 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-08Fix --enable-dev-modetilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60712 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-08Merged revisions 60660 via svnmerge from tilghman1-4/+9
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60660 | tilghman | 2007-04-07 20:39:25 -0500 (Sat, 07 Apr 2007) | 2 lines Bug 9486 - memory leak when opening a filestream ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60661 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-06To be able to achieve the things that we would like to achieve with therussell132-4/+23400
Asterisk GUI project, we need a fully functional HTTP interface with access to the Asterisk manager interface. One of the things that was intended to be a part of this system, but was never actually implemented, was the ability for the GUI to be able to upload files to Asterisk. So, this commit adds this in the most minimally invasive way that we could come up with. A lot of work on minimime was done by Steve Murphy. He fixed a lot of bugs in the parser, and updated it to be thread-safe. The ability to check permissions of active manager sessions was added by Dwayne Hubbard. Then, hacking this all together and do doing the modifications necessary to the HTTP interface was done by me. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60603 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-05Add the MIME type for gif by request from Parirussell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60265 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-04Merged revisions 60134 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r60134 | russell | 2007-04-04 12:38:47 -0500 (Wed, 04 Apr 2007) | 6 lines It is valid to redirect channels via the manager interface that are not in the UP state. Instead of checking for that to prevent to ensure a dead channel doesn't get redirected, just use the ast_check_hangup() API call. (issue #9457, reported by Callmewind, patch by me) (related to issue #8977) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@60137 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-03Merged revisions 59886 via svnmerge from russell1-6/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59886 | russell | 2007-04-03 12:58:19 -0500 (Tue, 03 Apr 2007) | 5 lines When doing a built-in blind or attended transfer, restore the ability to use '#' to terminate the number and immediately do the transfer instead of having to dial the number and just wait for the feature digit timeout. (issue #8366, xueliangliang) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59887 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-02Merged revisions 59608 via svnmerge from russell1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59608 | russell | 2007-04-01 17:35:25 -0500 (Sun, 01 Apr 2007) | 6 lines Add the SO_REUSEADDR flag to sockets handled by netsock. This is needed by the patch that went in for issue 7874. chan_iax2 needs to be able to create socket that is lisetning on INADDR_ANY, but also be able to bind sockets to specific addresses. (Thanks to Stevenson on the asterisk-dev mailing list for explaining why this flag was needed.) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59654 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-30Add linux-uclibc host arch..."thingy". Sorry, I don't know what it's called...qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59573 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-30several changes via kpflemings reviewmurf3-10/+28
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59522 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-30These mods fix CDR issues from 8221, 8593, 8680, 8743, and perhaps others. ↵murf3-1/+141
Mainly with CDRs generated from transfer situations. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59486 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-29Merged revisions 59357 via svnmerge from russell1-4/+8
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r59357 | russell | 2007-03-29 12:14:33 -0500 (Thu, 29 Mar 2007) | 5 lines If an error occurs when reading from an RTP socket, and the error code does not indicate that we should try again, then return NULL instead of a "null frame". This will prevent Asterisk from trying over and over again, and eventually causing the system to crash. (issue #8285, john) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59358 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26Fix for 9257; by eliminating the globals in main/config.c, we make it ↵murf1-64/+65
thread-safe, which is a minimum requirement. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59225 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26The AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in somerussell1-2/+14
because they get set in sip_hangup. So, there are common situations where the variables will not be available in the dialplan at all. So, this patch provides an alternate method for getting to this information by introducing AUDIORTPQOS and VIDEORTPQOS dialplan functions. (issue #9370, patch by Corydon76, with some testing by blitzrage) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59207 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-26A fix for the flex input files, DONT_COMPILE, and STANDALONE_AELmurf2-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59206 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-21Add svg mimetype for pari.file1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59089 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-20Fix defines for inline stack backtraces (only used by developers anyway)tilghman1-6/+6
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59078 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-16Making these documentation changes in the 1.4 branch upset various people, sorussell1-56/+0
these chanes will only be done in the trunk. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58955 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Refashion dump command to match common syntax and update the resulting ↵tilghman1-4/+4
appdocs TeX file git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58946 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Expand deprecation warnings from simply warning on use to the builtin ↵tilghman1-0/+4
documentation. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58939 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-15Merge changes from svn/asterisk/team/russell/LaTeX_docs.russell1-0/+56
* Convert most of the doc directory into a single LaTeX formatted document so that we can generate a PDF, HTML, or other formats from this information. * Add a CLI command to dump the application documentation into LaTeX format which will only be include if the configure script is run with --enable-dev-mode. * The PDF turned out to be close to 1 MB, so it is not included. However, you can simply run "make asterisk.pdf" to generate it yourself. We may include it in release tarballs or have automatically generated ones on the web site, but that has yet to be decided. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58931 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-12Allow RFC2833 compensation to compensate for even stupider implementations ↵file1-20/+22
by queueing up the end frame at the start, not the actual end. (issue #8963 reported by AndrewZ) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58783 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08Make early SDP seeding even smarter! We have to check codecs in the ↵file1-6/+12
make_compatible function too. (issue #9221 reported by marcelbarbulescu) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58436 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08Merged revisions 58388 via svnmerge from file1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r58388 | file | 2007-03-08 11:04:58 -0500 (Thu, 08 Mar 2007) | 2 lines Only print out debug message if the definition that makes the variables shows up was actually defined. (issue #9233 reported by serginuez) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58389 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08this change was not needed; fclose() handles closing the file descriptor alreadykpfleming1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58354 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-08fix two cases where HTTP session file descriptors would not be closedkpfleming1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58351 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-07Ensure we have (or should have) at least one matching codec before ↵file1-1/+12
attempting early bridge SDP seeding. (issue #9221 reported by marcelbarbulescu) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58240 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-07Merged revisions 58164 via svnmerge from russell1-0/+11
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r58164 | russell | 2007-03-06 18:20:13 -0600 (Tue, 06 Mar 2007) | 4 lines If the channels acquired using the manager Redirect action are not up, then don't attempt to do anything with them. It could lead to weird behavior, including crashes. (issue #8977) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@58165 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05Merged revisions 57825 via svnmerge from murf1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r57825 | murf | 2007-03-05 07:53:57 -0700 (Mon, 05 Mar 2007) | 1 line Fixed a typo introduced via 9156 (either the gotos or their doc strings are wrong) ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57826 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05Don't allow a NULL pointer to reach ast_frdup. (issue #9155 reported by cmaj)file1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57798 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-05Preserve marker bit when P2P bridging. (issue #9198 reported by edgreenberg)file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57768 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-03submitted patch for Georgian language, issue 9010, submitted by Alexander ↵dhubbard1-0/+389
Shaduri git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57620 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-02Merged revisions 57458 via svnmerge from murf1-9/+20
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r57458 | murf | 2007-03-02 09:39:33 -0700 (Fri, 02 Mar 2007) | 1 line further refinement in wording of goto documentation, as per 9156, goto not proceeding to next instruction ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57473 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-02Return the correct digit that interrupted the stream. This fixes exiting therussell1-0/+1
Background application when using the m option. (issue #9176, mjagdis) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57396 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-28Merged revisions 57118 via svnmerge from murf1-2/+13
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r57118 | murf | 2007-02-28 12:12:41 -0700 (Wed, 28 Feb 2007) | 1 line a small documentation update, to reflect reality in the goto doc strings, as per 9156, Goto does not proceed to next prio if jump fails ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@57139 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-26Use ast_strlen_zero to see if the language and/or context argument is not ↵file1-2/+2
present for Background instead of just checking if it is NULL. (issue #9141 reported by mjagdis) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56805 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-26Allow both of the show version files and core show file versions CLI ↵file1-4/+81
commands to work. (issue #9135 reported by mvanbaak) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56783 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-25Merged revisions 56684 via svnmerge from tilghman1-1/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r56684 | tilghman | 2007-02-25 08:38:03 -0600 (Sun, 25 Feb 2007) | 3 lines Issue 9130 - If prev is the last item on the channel list, then evaluating additional conditions (e.g. name prefix) will cause a NULL dereference. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56685 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-23Merged revisions 56504 via svnmerge from russell1-22/+48
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r56504 | russell | 2007-02-23 17:20:55 -0600 (Fri, 23 Feb 2007) | 8 lines Fix up a couple more signal handlers to not do bad things that could cause various undesirable results. The other day, I made Asterisk deadlock by hitting Control-C because of a bad signal handler. Now, signal handlers just set a flag and write to an alert pipe for the flag to be handled. Then, there is another thread that is monitoring for these flags. If being run in console mode, it is just the main thread. If Asterisk is in the background, a thread is created to do it. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56505 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-23Change log notice to debug. It is possible for a scheduled item to execute ↵file1-1/+2
and be deleted at close to the same time and unavoidable. If this happens this message creeps up. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56457 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-22Merge changes from team/russell/sla_updates.russell1-1/+1
This batch of changes to the SLA code does a few different things. * I made the SLA code event driven instead of having to act in a lot of busy loops while dialing things to wait for state changes. This makes the code more efficient and readable at the same time. * I have implemented a couple of new features. The first is inbound trunk ringing timeouts. This is an option that defines how long to let an incoming call on a trunk to ring. * I have also implemented ring timeouts for stations. They may be specified for the entire station, meaning it is how long to let the station ring before giving up. You can also specify a ring timeout for a specific trunk on a station. So, you can say that you only want a specific station to ring 5 seconds if it is line1 ringing, but otherwise, there is no timeout. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56277 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-22Merged revisions 56230 via svnmerge from file1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r56230 | file | 2007-02-22 13:44:24 -0500 (Thu, 22 Feb 2007) | 2 lines Only change the original or clone channel if it's the channel behind the proxy channel, not if it's just a regular bridged channel. ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56231 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-22Print out deprecation notice on usage output of CLI commands. (issue #8925 ↵file1-0/+4
reported by blitzrage) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56008 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-22disable unloading of embedded modules... there is a fundamental problem with ↵kpfleming1-0/+5
doing so that will not be fixed in this version of Asterisk due to its invasiveness git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@56006 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-20Add the Asterisk version information to the Server header in HTTPrussell1-1/+2
responses. (requested by Pari) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@55634 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Clarify a restart message. It's silly, but the reporter had a very valid point.qwell1-1/+1
Issue 9079 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54886 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-14Add G722 to ast_best_codec. If anyone disagrees with it's placement, feel ↵file1-0/+2
free to change it. (issue #9045 reported by gork) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54290 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-12Change ast_set_state_callback() to ast_dial_set_state_callback()russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54103 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-12- Add the ability to register a callback to monitor state changes in anrussell1-26/+39
asynchronous dial operation. - Rename the various references to "status" to "state" in the dial API git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54066 f38db490-d61c-443f-a65b-d21fe96a405b