aboutsummaryrefslogtreecommitdiffstats
path: root/apps
AgeCommit message (Collapse)AuthorFilesLines
2007-02-21Change naughty warning message to provide useful information. If a write now ↵file1-1/+1
fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55956 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-21Fix random crashes when using the MeetMe application. This patch converts listrussell1-187/+135
handling to use the linked list macros and most importantly, implements reference counting on the ast_conference objects. The reference counting was first backported from 1.4. However, that code has some problems that caused the reference count to never hit zero. Those problems are fixed in this patch and will be resolved in 1.4 and trunk next, with a different patch. (issues #7647, #9073, #9106, BE-115). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55750 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-20Convert a tab to spaces so that the documentation is printed out properlyrussell1-1/+1
aligned. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55588 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-19forcename and forcegreetings options should check to see if the recording ↵tilghman1-9/+16
already exists git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55434 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-18Documentation update (#9053, jsmith)oej1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55277 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-17Answer the channel before recording privacy information. (issue #8926 ↵file1-0/+1
reported by lmamane) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55153 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16Revert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4, russell1-51/+40
and trunk. I decided that once a conference is created from meetme.conf, it is acceptable behavior that the pin can not be changed until the conference goes away. I also added a note in meetme.conf to describe this behavior. We still have another issue in 1.4 and trunk where some conferences with no users don't go away. That is the real bug that needs to be addressed here. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@55005 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-16For conferences that are configured in meetme.conf, check the configurationrussell1-40/+51
file every time someone joins the conference instead of only when the conference is first created. This is to ensure that changes to the pin numbers in the config file are always honored. (issue #9073) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@54955 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-15Use a separate variable to indicate execution should continue instead of the ↵file1-10/+14
return value. (issue #8842 reported by pluto70) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@54622 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-08Issue 9003 - If fullname is empty, quote() passes back "\"" tilghman1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53529 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-07Issue 7440 - Macro called from Macro from the h extension exits prematurelytilghman1-3/+10
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53354 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-03Revert some changes that accidentally got committed as a part of another fix.russell1-29/+16
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53134 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-03set the DIALSTATUS variable to contain "INVALIDARGS" when the dial applicationrussell2-23/+35
exits early because of invalid arguments instead of just leaving it empty. (issue #8975) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53133 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-01Fix a small typo. Synopsis lines shouldn't have a newlineqwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53107 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-31Fix a bunch of places where pthread_attr_init() was called, butrussell4-0/+8
pthread_attr_destroy() was not. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@53045 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-29Now that filename is part of the structure and since it comes before ↵file1-1/+1
postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@52716 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-27Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow ↵file1-3/+3
documentation. (issue #7677 reported by amilcar) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@52415 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-25Add another note about audio files being played back to each bridged party. ↵file1-1/+2
(issue #8718 reported by ppyy) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@52162 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-25Fix a seg fault when running this application with no arguments from AGI.russell1-0/+5
(issue #8905, junky) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@52137 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-24Don't set a new value for the END_ variable on the channel before using therussell1-1/+1
old value. If you do, it will lead to accessing a memory address that has been free()'d. (issue #8895, arkadia) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51828 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-22Move filestream creation to Mixmonitor loop. This will prevent a blank file ↵file1-25/+32
from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51406 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16Postgres driver doesn't like a NULL pointer when retrieving the length (Bug ↵tilghman1-5/+4
8513) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51158 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15Check return value before dereferencing (Bug 8822)tilghman1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50987 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-15Solves issue with forwarding voicemails from folders other than inbox.mogorman1-5/+9
patch by anthonyl. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50946 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10Add another return value to dial_exec_full that indicates execution is going ↵file1-4/+11
to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50295 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-09The advent of realtime has enabled people to use commas in the fullname field.tilghman1-2/+26
This could cause an issue with sending voicemails, when the field is unquoted. (Issue 8595) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50150 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-07If openstream fails, then we crash (Issue 8564)tilghman1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49833 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04converted a lot of 256 to PATH_MAX and some white space fixes.mogorman1-61/+61
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49447 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-04good catch russell sorry i missed that.mogorman1-4/+4
fix magic number with proper sizeof git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49412 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-03When using ODBC_STORAGE VoicemailMain doesn't create themogorman1-6/+31
subdirectories for a mailbox such as the INBOX directory. this patch solves that problem, was written by anthony be-125 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49354 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-19Free localuser structure when we fail to dial (issue #8612 reported by rizzo)file1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48584 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11app_externalivr needs a real silence file, and additionalmogorman1-1/+1
changes to add silence files into core instead of extra patch provided by bug 8177 with minor additions. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48394 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11When doing a fork() and exec(), two problems existed (Issue 8086):tilghman6-17/+74
1) Ignored signals stayed ignored after the exec(). 2) Signals could possibly fire between the fork() and exec(), causing Asterisk signal handlers within the child to execute, which caused nasty race conditions. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48374 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05If the recording in the database is too large, it will fail to retrieve withtilghman1-13/+16
an mmap error. Not too sure why this doesn't happen when we put it in the database, also, but since that doesn't seem to be broken, I'm not going to fix it (at least until someone reports it). Solution is to ask for the file in smaller chunks. (Bug 8385) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48251 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-04Revert change from 8016 - this breaks other stuff... Needs further review.qwell1-0/+2
Tip: When you've reported a bug about something and somebody has put up a patch for it.. It's not a good idea to open a completely new bug and say that something is broken because of the patch in the other bug - PLEASE mention something in the bug where the patch was actually created. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48246 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-04Fix an issue where a message isn't saved correctly when using ODBC storage ↵qwell1-2/+0
and reviewing a message. Issue 8016 - patch by sokhapkin. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48236 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-01if Dial() is going to send music-on-hold to the calling party, it has to ↵kpfleming1-0/+1
send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48192 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-27Use the proper function to get the new message count instead of always using ↵file1-14/+5
the filesystem. (issue #8421 reported by slimey) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48053 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-20Failing to trap -1 error from mmap causes segfault (Issue 8385)tilghman1-2/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47862 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16Fix a couple of typos in applications.. Initially spotted by mrobinson.qwell4-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47780 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15correct argument name typo that caused global variable to be used instead of ↵kpfleming1-1/+1
the one for the specified voicemail user git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47696 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15ensure that message duration is included in email notifications for ↵kpfleming1-8/+60
forwarded messages (BE-96, fix by me after corydon used his clue-bat on me) ensure that duration in the message metadata is updated if prepending is done during forwarding (related to BE-96) remove prototype for API call that does not exist git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47677 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-14Update copyright information in the ADSI logo blob.file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47631 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-13When sending an SMS with a user data header properly set the UDH flag in the ↵file1-1/+1
first byte. (issue #8347 reported by hoffmeis) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@47549 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Move thread-unsafe initializer to the module loading code; add thetilghman1-1/+2
corresponding function to the module unload to fix a memory leak. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46662 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-27We should always be using _exit() after a fork() or vfork() instead of exit().russell1-1/+1
This is because exit() does some extra cleanup which in some implementations of vfork(), for example, can actually modify the state of the parent process, causing very weird bugs or crashes. (issue #7971, Nick Gavrikov) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@46361 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-19Respect language selection when seeing if the file exists (issue #8178 ↵file1-2/+2
reported by mnicholson) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45691 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-13Turn on volume adjustment if it needs to be on (issue #8136 reported by ↵file1-4/+15
mnicholson) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@45060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-04For bug 7776, I have inserted a warning about Macro nesting vs. stack ↵murf1-1/+7
limitations git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44343 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-03fix a logic error in my previous fix to the queue reload codekpfleming1-3/+7
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@44296 f38db490-d61c-443f-a65b-d21fe96a405b