aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2007-01-16Add documentation walkthrough on getting Postgres to work with voicemail ↵tilghman1-0/+436
(from Issue 8513) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51161 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-16Return previous behavior. ParkedCalls will be able to do DTMF based ↵file1-0/+2
transfers again. trunk however will get an option to allow this to be set on/off. (issue #8804 reported by nortex) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51145 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-16Add none as a valid callgroup/pickupgroup option. I consider it a bug that ↵file1-2/+8
it would inherit it all the way down and not have any way to reset it to nothing - so that's why it is in 1.2. (issue #8296 reported by gkloepfer) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@51085 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-14Bug 8814 - db should look for its header using a relative path, instead of ↵tilghman31-31/+31
the system path (Fixes FreeWRT) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50781 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-12minor documentation clarificationkpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50561 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-11Issue #8793 bad response for Unsupported Extension (different fix).oej1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50517 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-11when we get L2 UP, the L1 is UP definitely too, so we set the L1 state up as ↵crichter1-1/+6
well. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50506 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-11* more additions to make the RESTART message workcrichter3-14/+26
* added fix for misdn_call to allow SETUPs with empty extensions, replaced the strtok_r functions with strsep for that (inspired by Sandro Cappellazzo, thanks) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50495 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-10more fixes regarding warnings for gcc-4 and first additions for the restart ↵crichter6-35/+87
Information element, in the first step we initiate a restart with a CLI command git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50335 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-10Make the number that represents the major version number a single digit insteadrussell1-1/+1
of 2. Using two digits makes it an octal number when put into version.h, which breaks the compilation of any out of tree module that checks the version for any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev mailing list, who gave credit to vihai for pointing it out) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@50227 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-08make gcc 4 happy, remove some warningscrichter3-56/+49
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49922 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-08Ensure we use the default refresh value of 60 if the remote server does not ↵file1-1/+1
send one. (issue #8746 reported by maethor) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49889 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-05ensure that threads which are supposed to be detached (because we aren't ↵kpfleming3-5/+20
going to wait on them) are created properly git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49635 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
2007-01-03* Added check for bridging in misdn_call to avoid setting echocancellationcrichter2-20/+16
when 2 mISDN channels are involved and when bridging is set. That lead to a kernel panic before under different situations, because we switched about 2 times between hardware bridging and echocancelation * readded MISDN_URATE variable which got lost before, this should make app_v110 work again * fixed typo git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49303 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-02added check for channel ranges in the set/empty channel functions. set ↵crichter5-8/+51
pmp_l1_check default to no. added misdn restart pid cli command. added cleaning of channel when we send a RELEASE_COMPLETE. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49135 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-29location of the bug posting guidelines has changedkpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@49045 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-27Issue 8596: Set CAN_BYE flag for 100 trying toooej1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48974 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-25Fix an error introduced by copying and pasting the handling of the >= operatorrussell1-1/+0
for the MATH function. If a single equal sign was used as an operator, the function would treat it is as if it were the >= operator. Now, it properly handles it as an invalid operator. (issue #8665, patch by tempest1) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48955 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-24Check for the proper return value on an error in a call to mmap().russell1-1/+1
This was reported by Andy Wang on the asterisk-dev list. Thanks! git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48943 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-24Remove a couple of misplaced dots in log messages. This was reported byrussell1-2/+2
Andrea Spadaccini on the asterisk-dev mailing list. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48939 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-21Add new silence sound files to the spec for Redhat. (issue #8652 reported by ↵file1-0/+2
alvaro_palma_aste) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48782 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-19when we reject a channel, because it's in use already, we shouldn't process ↵crichter1-56/+38
the setup anymore. made the channel allocation a bit easier and more understandable, removed a few unused lines git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48576 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18when our PTP Partner sends us a SETUP with a preselected channel we just ↵crichter2-15/+28
accept it, even when we're NT. added some checks for segfaults. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-15Issue #8592 - handle 504 as 503 - congestionoej1-0/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48484 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-14removed FIXUP state. added check for channel allocation conflict when we ↵crichter2-8/+23
create a setup while the other site creates a setup on the same channel, besides the check we resolve this conflict. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48467 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-13This small patch fixes bug 8541, where the L option to the Dial app wasn't ↵murf1-2/+5
working right. A similar bug (8386) was filed and fixed earlier, but an intervening bug fix to a DTMF problem broke the L() code in a different way. Hopefully, everything is happy now. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48434 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-12add silence fileskpfleming10-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11the english language can be a tricky beastmogorman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48398 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-11app_externalivr needs a real silence file, and additionalmogorman3-1/+32
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):tilghman8-20/+102
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-10This version applies the patch suggested by stevens in bug 7836 (make ↵murf1-6/+5
inbound channel RINGING state consistent with other channels). git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48371 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-09Use locking when accessing the registrations list. This list is not actuallyrussell1-2/+11
used very often, so the likelihood of there being a problem is pretty small, but still possible. For example, if the CLI command to list the registrations was called at the same time that a reload was occurring and the registrations list was getting destroyed and rebuilt, a crash could occur. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48361 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-07Ensure that the file position is not incremented beyond the total number ofrussell1-0/+1
files available for playback. (issue #8539, ulogic) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48356 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06Fix the name of the rtignoreregexpire option in the sample configuration file.russell1-1/+1
(issue #8526, arkadia) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48322 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06added the export and import of the MISDN_ADDRESS_COMPLETE Variable to ↵crichter3-0/+23
inidcate wether the extension is already completely dialed or if there might come additional digits by information elements. also added some docs for that. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48321 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06Issue #8528 - make sure we don't delete the dialog too quickly after receivingoej1-6/+15
a 487. Move 487 handling into handle_response_invite where it really belongs and don't add an ALREADYGONE flag to the dialog. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48320 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06changed a few debugs to higher debug levelscrichter1-4/+8
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48319 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06Don't add Contact header on BYE, CANCEL, MESSAGE requestsoej1-1/+2
(Bye, Cancel backported from 1.4, MESSAGE bug reported to me by Gunnar at Omnitor) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48315 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-05Only set the ALREADYGONE flag once in handle_response()oej1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@48272 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