aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-06-01Add INCrement and DECrement functionstilghman1-3/+127
(closes issue #15025) Reported by: greenfieldtech Patches: func_math.c.patch_v4 uploaded by greenfieldtech (license 369) slightly modified by me Tested by: greenfieldtech, lmadsen git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198725 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Minor whitespace fix.russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198670 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Blocked revisions 198665 via svnmergetilghman0-0/+0
........ r198665 | tilghman | 2009-06-01 15:07:04 -0500 (Mon, 01 Jun 2009) | 7 lines If using the old deprecated format, a reload would cause the class to disappear. (closes issue #14759) Reported by: lidocaineus Patches: 20090518__issue14759.diff.txt uploaded by tilghman (license 14) Tested by: lmadsen ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198666 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Moved more static documentation to the new AstXML form.eliel1-105/+204
Moved more static docs to XML (pplications and manager actions): Monitor, StopMonitor, ChangeMonitor, PauseMonitor, UnpauseMonitor. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198661 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Add information for new meetme realtime fieldstilghman1-1/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198626 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Do not add say.o in a separate line.eliel1-5/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198597 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Move JabberSend manager action from static docs to the AstXML form.eliel1-9/+21
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198565 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Move static documentation of E|Dead|AGI() application and manager action to XML.eliel1-36/+105
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198561 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Fixed an issue in the threadstorage cli functions resulting from the ↵dvossel1-2/+2
constification of struct ast_cli_args in r196072. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198558 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Remove extra lock from app_queue.mmichelson1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198530 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Remove extra lock from local_indicate in connected line case.mmichelson1-1/+0
Oh, and this fixes a deadlock I was seeing. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198529 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Add missing unlock of local pvt.mmichelson1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198511 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Remove documentation for the 'exten' argument to the AGENT function.mmichelson1-3/+0
Since AgentCallbackLogin has been removed, this should not be documented any more. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198500 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-01Fix a bug where the Event and Content-Type headers were added twice to ↵file1-2/+0
outgoing SIP NOTIFY messages. (closes issue #15239) Reported by: pj git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198498 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-31Fix documentation for FIELDQTY.tilghman1-1/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198470 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-31Filter the say.o object, it is being added later.eliel1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198442 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-31Constification and remove some unused code.russell1-50/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198438 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-31Avoid a crash when res_timing_dahdi is unloaded but wasn't properly loaded.eliel1-1/+5
if dahdi_test_timer() fails, timing_funcs_handle remains NULL causing a crash when calling ast_unregister_timing_interface() with a NULL pointer. (closes issue #15234) Reported by: eliel Patches: timing_dahdi1.diff uploaded by eliel (license 64) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198437 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-31Constify the ast_frame arg to ast_queue_frame().russell2-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198434 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-30Properly terminate the receive buffer before sending to iksemel.seanbright1-4/+14
aji_io_recv takes the maximum number of bytes to read (instead of the total buffer size), so we have to subtract 1 from our buffer size. Without this, when we receive packets that are larger than our buffer, iksemel will choke and things get wonky. (closes issue #15232) Reported by: lp0 Patches: 05302009_res_jabber.c.patch uploaded by seanbright (license 71) Tested by: seanbright, lp0 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198375 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-30Merged revisions 198370 via svnmerge from seanbright1-8/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r198370 | seanbright | 2009-05-30 15:36:20 -0400 (Sat, 30 May 2009) | 12 lines Properly terminate AMI JabberSend response messages. The response message (either Error or Success) needs an extra trailing \r\n after the fields to inform the client that the message is complete. (closes issue #14876) Reported by: srt Patches: 05302009_1.4_res_jabber.c.diff uploaded by seanbright (license 71) asterisk_14876.patch uploaded by srt (license 378) trunk-14876-2.diff uploaded by phsultan (license 73) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198371 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-30Merged revisions 198311 via svnmerge from russell1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r198311 | russell | 2009-05-29 22:42:46 -0500 (Fri, 29 May 2009) | 5 lines Fix a crash that occurred when MWI SMDI messages expired. (closes issue #14561) Reported by: cmoss28 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198312 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-30Merged revisions 198251 via svnmerge from seanbright1-0/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r198251 | seanbright | 2009-05-29 22:46:41 -0400 (Fri, 29 May 2009) | 8 lines Treat an empty FORWARD_CONTEXT the same way we treat a missing one. (closes issue #15056) Reported by: p_lindheimer Patches: 05292009_bug15056.diff uploaded by seanbright (license 71) Tested by: p_lindheimer ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198285 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-30When removing all packets from a dialog we also need to free the data if ↵file1-0/+3
present. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198248 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-30Remove not used code in the Agent channel.eliel2-315/+40
This code was there because of the AgentCallbackLogin() application. ->loginchan[] member was only used by AgentCallbackLogin(). Agent where dumped to astdb if they where logged in using AgentCallbacklogin() so they are not being dumper anymore. Review: https://reviewboard.asterisk.org/r/267/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198217 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Suggesting that only a single timing module be loaded is no longer necessary.russell1-6/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198186 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Improve handling of trying to ACK too many timer expirations.russell1-1/+13
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198183 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Add a couple of TODO items so I don't forgettwilson1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198182 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Resolve issues with choppy sound when using res_timing_pthread.russell1-62/+62
The situation that caused this problem was when continuous mode was being turned on and off while a rate was set for a timing interface. A very easy way to replicate this bug was to do a Playback() from behind a Local channel. In this scenario, a rate gets set on the channel for doing file playback. At the same time, continuous mode gets turned on and off about every 20 ms as frames get queued on to the PBX side channel from the other side of the Local channel. Essentially, this module treated continuous mode and a set rate as mutually exclusive states for the timer to be in. When I dug deep enough, I observed the following pattern: 1) Set timer to tick every 20 ms. 2) Wait almost 20 ms ... 3) Continuous mode gets turned on for a queued up frame 4) Continuous mode gets turned off 5) The timer goes back to its tick per 20 ms. state but starts counting at 0 ms. 6) Goto step 2. Sometimes, res_timing_pthread would make it 20 ms and produce a timer tick, but not most of the time. This is what produced the choppy sound (or sometimes no sound at all). Now, the module treats continuous mode and a set rate as completely independent timer modes. They can be enabled and disabled independently of each other and things work as expected. (closes issue #14412) Reported by: dome Patches: issue14412.diff.txt uploaded by russell (license 2) issue14412-1.6.1.0.diff.txt uploaded by russell (license 2) Tested by: DennisD, russell git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198146 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Simplify the Makefile and avoid needing to specify each object file.eliel1-13/+3
Instead of specifying every object file, use make's magic to generate it. This will generate less conflicts in team branches when a new file is added in trunk. (closes issue #15226) Reported by: eliel Patches: makefile uploaded by eliel (license 64) Review: http://reviewboard.asterisk.org/r/269/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198139 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29New signaling module to handle analog operations in chan_dahdijpeeler4-840/+5478
This branch splits all the analog signaling logic out of chan_dahdi.c into sig_analog.c. Functionality in theory should not change at all. As noted in the code, there is still some unused code remaining that will be cleaned up in a later commit. Review: https://reviewboard.asterisk.org/r/253/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198088 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Apply anti-spam obfuscation to an email address.eliel1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198083 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Merged revisions 198068 via svnmerge from mnicholson3-2/+12
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r198068 | mnicholson | 2009-05-29 13:53:01 -0500 (Fri, 29 May 2009) | 15 lines Use AST_CDR_NOANSWER instead of AST_CDR_NULL as the default CDR disposition. This change also involves the addition of an AST_CDR_FLAG_ORIGINATED flag that is used on originated channels to distinguish: them from dialed channels. (closes issue #12946) Reported by: meral Patches: null-cdr2.diff uploaded by mnicholson (license 96) Tested by: mnicholson, dbrooks (closes issue #15122) Reported by: sum Tested by: sum ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198072 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Fix a memory leak of the write buffer when writing a file.file1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198064 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Merged revisions 197998 via svnmerge from seanbright1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r197998 | seanbright | 2009-05-29 14:14:12 -0400 (Fri, 29 May 2009) | 8 lines Fix 'make config' target for Slackware. There was a missing semi-colon after the echo statement in the Makefile that was causing problems for some users. Fix suggested by reporter. (closes issue #15225) Reported by: pdavis ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@198000 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Fix a bug where the default setting did not perform a remote bridge when it ↵file1-3/+1
should have. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197996 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Trim trailing whitespace so that I can work on this bug without it bothering ↵russell1-11/+11
me. :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197960 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29A few fixes to SIP with regards to connected line updates during transfers.mmichelson1-11/+34
* Set the invitestate to INV_CALLING when we send a connected line reinvite. This prevents us from potentially rapid-firing reinvites to a single peer. * Use the astdb to store a peer's allowed methods. This prevents us from sending an UPDATE during the interval between startup and the peer's first registration if the peer does not support the UPDATE method. * Handle Polycom's method of indicating allowed methods in REGISTER. Instead of using an Allow header, they place the allowed methods in a methods= parameter in the Contact header. ABE-1873 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197959 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-29Add some TeX docs for calendaring.twilson2-0/+209
I still need to set up tests to make sure my examples are completely correct, but I ran out of time tonight and felt that they at least would give an idea as to how to use calendaring. I will try to test the examples and do some cleanup on the docs tomorrow night. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@197926 f38db490-d61c-443f-a65b-d21fe96a405b
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