aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-05-28Update references to downloads.digium.com to its new URL.seanbright2-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197861 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Update documentation in MixMonitor.lmadsen1-0/+3
Updated the MixMonitor documentation for the 'b' option so that it is more obvious that you must not optimize away the Local channel when using this option. (closes issue #14829) Reported by: licedey Tested by: mmichelson, licedey, lmadsen git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197828 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Update references to bugs.digium.com and reviewboard.digium.com to the new URLs.seanbright17-21/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197824 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Make note of Exchange calendar support limitationstwilson1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197777 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Ensure that accidental calls to ast_string_field_free_memory() on embedded ↵kpfleming1-4/+10
stringfield pools are safe. It is possible for a stringfield manager structure (and pool) structure to be allocated as part of a larger structure allocation (using ast_calloc_with_strinfields()); when this is done, the stringfield pool cannot be separately freed, but users of the tructure may not be aware (and shouldn't have to be aware) of whether the pool was embedded. This patch modifies the behavior so that they can always call ast_string_field_free_memory() and the function will do the right thing for both embedded and non-embedded situations. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197775 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Treat 405 responses the same way we would a 501.mmichelson1-0/+14
This makes sure that we mark a method as being unallowed if we receive a 405 response so that we don't continue to try to send that same type of message. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197740 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Add Calendaring support for Asterisktwilson12-11340/+16834
This commit add Calendaring support to Asterisk for iCalendar, CalDAV, and MS Exchange calendars. Exchange support has only been tested on Exchange Server 2k3 and does not support forms-based authentication at this time (patches *very* welcome). Exchange support is also currently missing the ability to return a list of a meting's attendees (again, patches are very, very welcome). Features include: Querying a calendar for events over a specific time range Checking a calendar's busy status via the dialplan Writing calendar events via the dialplan (CalDAV and Exchange only) Handling calendar event notifications through the dialplan (closes issue #14771) Tested by: lmadsen, twilson, Shivaprakash Review: https://reviewboard.asterisk.org/r/58 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197738 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Add missing lock to local_indicate function for connected line frames.mmichelson1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197701 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Fix a bug where the trunkmtu setting was not set to the default value of ↵file1-1/+1
1240 on load but was on reload. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197697 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Merged revisions 197562 via svnmerge from eliel1-2/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r197562 | eliel | 2009-05-28 11:21:32 -0400 (Thu, 28 May 2009) | 13 lines Use the address we already know when reloading a peer with nat=yes. If we already have an address for a peer, and we are reloading the sip configuration, try to use that address to contact the peer, instead of getting it from the Contact. (closes issue #15194) Reported by: ibc Patches: sip.patch uploaded by eliel (license 64) Tested by: manwe ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197621 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Eliminate several needless checks and fix a few memory leakstilghman5-23/+16
(closes issue #14833) Reported by: contactmayankjain Patches: all_changes.patch uploaded by contactmayankjain (license 740) slightly modified by me git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197616 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Recorded merge of revisions 197588 via svnmerge from mmichelson0-0/+0
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r197588 | mmichelson | 2009-05-28 10:27:49 -0500 (Thu, 28 May 2009) | 16 lines Allow for media to arrive from an alternate source when responding to a reinvite with 491. When we receive a SIP reinvite, it is possible that we may not be able to process the reinvite immediately since we have also sent a reinvite out ourselves. The problem is that whoever sent us the reinvite may have also sent a reinvite out to another party, and that reinvite may have succeeded. As a result, even though we are not going to accept the reinvite we just received, it is important for us to not have problems if we suddenly start receiving RTP from a new source. The fix for this is to grab the media source information from the SDP of the reinvite that we receive. This information is passed to the RTP layer so that it will know about the alternate source for media. Review: https://reviewboard.asterisk.org/r/252 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197606 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Fix an incorrect call to ast_string_field_free_memory which caused a crash ↵file1-1/+0
in the logger. Since the message structure is allocated using ast_calloc_with_stringfields we do not need to free the memory used for the stringfields as it will get freed when the message structure is. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197570 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Merged revisions 197537 via svnmerge from mmichelson3-1/+16
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r197537 | mmichelson | 2009-05-28 09:49:13 -0500 (Thu, 28 May 2009) | 21 lines Add flags to chanspy audiohook so that audio stays in sync. There are two flags being added to the chanspy audiohook here. One is the pre-existing AST_AUDIOHOOK_TRIGGER_SYNC flag. With this set, we ensure that the read and write slinfactories on the audiohook do not skew beyond a certain tolerance. In addition, there is a new audiohook flag added here, AST_AUDIOHOOK_SMALL_QUEUE. With this flag set, we do not allow for a slinfactory to build up a substantial amount of audio before flushing it. For this particular issue, this means that the person spying on the call will hear the conversations in real time with very little delay in the audio. (closes issue #13745) Reported by: geoffs Patches: 13745.patch uploaded by mmichelson (license 60) Tested by: snblitz ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197543 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Fix a bug in stringfields where it did not actually free the pools of memory.file1-1/+5
(closes issue #15074) Reported by: pj git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197538 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Remove a bunch of trailing whitespace in preparation for reformatting/cleanup.seanbright57-1730/+1730
Let's try that again, this time removing trailing whitespace and not leading whitespace. I can't believe no one noticed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197535 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Remove a bunch of trailing whitespace in preparation for reformatting/cleanup.seanbright39-1237/+1237
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197528 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Merged revisions 197466 via svnmerge from file1-2/+7
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r197466 | file | 2009-05-28 10:44:58 -0300 (Thu, 28 May 2009) | 8 lines Fix a bug where the flag indicating the presence of rport would get overwritten by the nat setting. The presence of rport is now stored as a separate flag. Once the dialog is setup and authenticated (or it passes through unauthenticated) the proper nat flag is set. (closes issue #13823) Reported by: dimas ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197467 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28Added AstVoicemailContextghenry2-2/+20
Added AstVoicemailContext (closes issue #15155) Reported by: scramatte Tested by: suretec git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197431 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28New objectclass AsteriskVoiceMail and AstAccountCallLimit attributeghenry2-36/+213
Added new ObjectClass AsteriskVoiceMail, and AstAccountCallLimit attribute and cleaned up formatting and tested with OpenLDAP (closes issue #15155) Reported by: scramatte Patches: asterisk.schema uploaded by scramatte (license 796) Tested by: suretec Review: [full review board URL with trailing slash] git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197409 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-28closes issue #15156ghenry4-11/+58
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197406 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Revert commit 192032. This define is needed on Mac OS X.tilghman1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197374 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Don't do a pointer comparison before setting the remote address.russell1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197338 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Ensure that this header includes xmldoc.h, since it depends on it.kpfleming1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197335 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Adding some generic handling of error codes sent to us in replys to requests.oej1-0/+10
Previously they always set hangupcause 0, which is generally wrong. With this change, we're setting some generic hangup causes. For 5xx errors, which indicate some sort of problem with the remote server, we're now setting CONGESTION. EDVX002 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197266 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Blocked revisions 197264 via svnmergeseanbright0-0/+0
........ r197264 | seanbright | 2009-05-27 16:12:06 -0400 (Wed, 27 May 2009) | 6 lines Since we use bashisms in build_tools/mkpkgconfig, we should call on bash explicitly when running from the Makefile. (closes issue #15209) Reported by: seandarcy ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197265 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Use bash explicitly when calling build_tools/mkpkgconfig from the Makefile.seanbright1-1/+1
Since we use bashisms in build_tools/mkpkgconfig, we should call on bash explicitly when running from the Makefile, otherwise we get errors during a 'make install.' (closes issue #15209) Reported by: seandarcy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197260 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Recorded merge of revisions 197194 via svnmerge from tilghman1-1/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r197194 | tilghman | 2009-05-27 14:09:42 -0500 (Wed, 27 May 2009) | 5 lines Use a different determinator on whether to print the delimiter, since leading fields may be blank. (closes issue #15208) Reported by: ramonpeek Patch by me, though inspired in part by a patch from ramonpeek ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197209 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Remove a file sample configuration file that is no longer used.seanbright1-39/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197189 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Blocked revisions 197124 via svnmergejpeeler0-0/+0
........ r197124 | jpeeler | 2009-05-27 11:49:38 -0500 (Wed, 27 May 2009) | 12 lines Fix broken attended transfers The bridge was terminating immediately after the attended transfer was completed. The problem was because upon reentering ast_channel_bridge nexteventts was checked to see if it was set and if so could possibly return AST_BRIDGE_COMPLETE. (closes issue #15183) Reported by: andrebarbosa Tested by: andrebarbosa, tootai, loloski ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197125 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Fix references to /etc/dahdi/system.conf and /etc/asterisk/chan_dahdi.conf inseanbright5-11/+12
the sample configuration files. (closes issue #15207) Reported by: seandarcy git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197089 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Blocked revisions 197024 via svnmergeseanbright0-0/+0
........ r197024 | seanbright | 2009-05-27 09:54:35 -0400 (Wed, 27 May 2009) | 17 lines Fix handling of the 'state_interface' option of the 'queue add member' CLI command. This change relates to r184980, which was a backport of the state interface changes to app_queue from trunk. trunk and all of the 1.6.x branches are not affected. 'queue add member' allows for specifying an interface to use for device state when adding a queue member via CLI, but the validation code was not properly updated to reflect this optional argument. (closes issue #15198) Reported by: loloski Patches: 05272009_app_queue.diff uploaded by seanbright (license 71) Tested by: loloski ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197025 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-27Display an error message when chan_alsa fails to load due to a missingseanbright1-0/+1
or inaccessible configuration file. Before this change, when chan_alsa failed to load due to a missing or inaccessible configuration file, no message would be displayed. With this change, when chan_alsa fails to load due to a missing or inaccessible configuration file, a message will be displayed. (closes issue #14760) Reported by: Nick_Lewis Patches: chan_alsa.c-confload.patch uploaded by Nick (license 657) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196988 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Reset the terminal to the correct fg/bg after XML documenation is rendered.seanbright1-1/+1
(closes issue #15200) Reported by: ajohnson Patches: 05262009_xmldoc.patch uploaded by seanbright (license 71) Tested by: ajohnson git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196948 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Update configure script to check for OSP toolkit 3.5.0.russell4-12613/+11563
(closes issue #14988) Reported by: tzafrir Patches: configure.ac.diff uploaded by homesick (license 91) new_ast_check_osptk.m4 uploaded by homesick (license 91) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196946 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Add ActionID to CoreShowChannel event.seanbright1-6/+7
There is inconsistency in how we handle manager responses that are lists of items and, unfortunately, third parties have come to rely on ActionID being on every event within those lists instead of just keeping track of the ActionID for the current response. This change makes CoreShowChannels include the ActionID with each CoreShowChannel event generated as a result of it being called. (closes issue #15001) Reported by: sum Patches: patchactionid2.patch uploaded by sum (license 766) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196945 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Include startup and reload date in the CoreStatus manager message.seanbright1-2/+8
The CoreStartupTime and CoreReloadTime name/value pairs in the CoreStatus response message only included the time and not the date. This patch, inspired by the reporter's patch, adds 2 new fields - CoreStartupDate and CoreReloadDate - which contain the date portion of these values. (closes issue #15000) Reported by: sum git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196907 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Remove some redundant or unnecessary connected line-related function calls.mmichelson2-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196893 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Merged revisions 196826 via svnmerge from russell1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r196826 | russell | 2009-05-26 13:14:36 -0500 (Tue, 26 May 2009) | 9 lines Resolve a file handle leak. The frames here should have always been freed. However, out of luck, there was never any memory leaked. However, after file streams became reference counted, this code would leak the file stream for the file being read. (closes issue #15181) Reported by: jkroon ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196843 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Add a missing unref for queues in handle_statechange.seanbright1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196792 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Add new ast_complete_applications function so that we can use it with theseanbright3-29/+44
'channel originate ... application <app>' CLI command. (And yeah, I cleaned up some whitespace in res_clioriginate.c... big whoop, wanna fight about it!?) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196758 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Use a properly allocated channel for substitution in cdr_sqlite3_custom.seanbright1-3/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196725 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Fix a bug where the sip unregister CLI command did not completely unregister ↵file1-0/+2
the peer. (closes issue #15118) Reported by: alecdavis Patches: chan_sip_unregister.diff2.txt uploaded by alecdavis (license 585) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196721 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Merged revisions 196657 via svnmerge from file1-4/+4
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r196657 | file | 2009-05-26 10:06:09 -0300 (Tue, 26 May 2009) | 7 lines Remove some bash specific stuff from safe_asterisk. (closes issue #10812) Reported by: paravoid Patches: safe_asterisk_bashism.diff uploaded by tzafrir (license 46) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196658 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-26Use a properly allocated channel for substitution in cdr_manager.seanbright1-4/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196622 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-24Move AGI static documentation to the new AstXML form.eliel1-93/+234
Move AGI commands documentation to XML docs: 'set priority' 'set variable' 'stream file' 'control stream file' 'tdd mode' 'verbose' 'wait for digit' 'speech create' 'speech set' 'speech destroy' 'speech load grammar' 'speech unload grammar' 'speech activate grammar' 'speech deactivate grammar' 'speech recognize' git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196585 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-23Move static AGI commands documentation to XML.eliel1-51/+111
Move AGI commands ('say datetime', 'send image', 'send text', 'set autohangup', 'set callerid', 'set context', 'set extension') documentation to the AstXML form. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196554 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-23Fix errors in cdr_custom that cause reference errors when non-CDR variableseanbright1-6/+15
substitution is done. cdr_custom was creating a ast_channel struct directly and passing it into the core for variable substition. This was fine as long as the format string contained only calls to the CDR() function. Doing something like ${EPOCH} on the other hand tried to lock the channel, which would fail and throw an error because the passed channel hadn't been allocated as an ao2 object. So now we create the dummy channel with ast_channel_alloc, and everything works as expected. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196520 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-23Correct example for CLI autocompletion (generation)kpfleming1-2/+2
Reported by Atis on #asterisk-dev git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196488 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-23set MFCR2_CATEGORY just when starting the pbxmoy1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@196456 f38db490-d61c-443f-a65b-d21fe96a405b