dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

12230 Commits

Author SHA1 Message Date
russell e3b358fc37 update documentation to include dialplan functions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72923 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 17:12:20 +00:00
russell 1a7671c64e Add "core dump funcdocs" CLI command
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72922 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 17:11:53 +00:00
russell cf783d670f change the "core dump appdocs" CLI command to use the new API for creating
CLI commands


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72921 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 16:42:47 +00:00
russell 68f7b88d24 update application documentation dump
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72920 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 16:42:17 +00:00
file a2022d0e80 Merged revisions 72888 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72888 | file | 2007-07-02 11:32:59 -0300 (Mon, 02 Jul 2007) | 2 lines

Added additional DTMF debug messages for when emulation occurs.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72889 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 14:39:49 +00:00
crichter 0eee25c2c9 Merged revisions 72852 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72852 | crichter | 2007-07-02 10:41:08 +0200 (Mo, 02 Jul 2007) | 9 lines

Merged revisions 72585 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72585 | crichter | 2007-06-29 15:08:26 +0200 (Fr, 29 Jun 2007) | 1 line

check if the bchannel stack id is already used, if so don't use it a second time. Also added a release_chan lock, so that the same chan_list object cannot be freed twice. chan_misdn does not crash anymore on heavy load with these changes.
........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72869 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 09:34:19 +00:00
crichter e4c9785284 Merged revisions 72851 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72851 | crichter | 2007-07-02 10:27:19 +0200 (Mo, 02 Jul 2007) | 9 lines

Merged revisions 72099 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72099 | crichter | 2007-06-27 15:22:37 +0200 (Mi, 27 Jun 2007) | 1 line

simplified generation for dummy bchannels, also we mark them as dummies, so they are not used later as real-bchannels, optimized the RESTART mechanisms, we block a channel now on cause:44, and send out a RESTART automatically, then on reception of RESTART_ACKNOWLEDGE we unblock the channel again.
........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72868 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 09:23:08 +00:00
crichter 1b1439e80e Merged revisions 72850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72850 | crichter | 2007-07-02 10:14:43 +0200 (Mo, 02 Jul 2007) | 9 lines

Merged revisions 72087 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72087 | crichter | 2007-06-27 11:26:53 +0200 (Mi, 27 Jun 2007) | 1 line

simplified channel finding and locking a lot. removed unnecessary #ifdefed areas.
........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72867 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 09:17:07 +00:00
russell 2f5e61d8b9 Merged revisions 72806 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72806 | russell | 2007-07-01 18:52:45 -0500 (Sun, 01 Jul 2007) | 13 lines

Merged revisions 72805 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72805 | russell | 2007-07-01 18:51:34 -0500 (Sun, 01 Jul 2007) | 5 lines

When appending lines to call files to keep track of retries, write a leading
newline just in case the original call file did not have a newline at the end.
This fix is in response to a problem I saw reported on the asterisk-users
mailing list.

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72807 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-01 23:53:13 +00:00
russell 17506132c1 Merged revisions 72766 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72766 | russell | 2007-06-30 11:50:40 -0500 (Sat, 30 Jun 2007) | 3 lines

Tweak the configure script so that error output isn't spewed to the console
when searching for GTK2 libs, and they aren't found.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72767 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-30 16:53:25 +00:00
qwell 08bed64d92 Add support for regcontext and regexten to chan_skinny
Issue 9762, patch by mvanbaak.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72741 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 21:37:43 +00:00
russell 14d66dd72c Fix my recent change for sending large files via the http server. This code
*must* write the file to the FILE *, and not the raw fd.  Otherwise, it breaks
TLS support.

Thanks to rizzo for catching this!


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72738 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 21:24:40 +00:00
rizzo 132c665462 As the comment in the code says:
Use weaker error checking because we have some automatically generated
files. However just mask out -Werror, because other warnings below:
     -Wundef -Wstrict-prototypes -Wmissing-declarations
     -Wmissing-prototypes
may actually be important and spot out real bugs.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72727 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 21:14:12 +00:00
russell 3263e71445 Merged revisions 72705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72705 | russell | 2007-06-29 15:56:18 -0500 (Fri, 29 Jun 2007) | 1 line

give format_pcm a more concise destription
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72706 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 20:56:50 +00:00
russell 20e9f5d47c Merge changes from team/russell/http_filetxfer
Handle transferring large files from the built-in http server.  Previously, the
code attempted to malloc a block as large as the file itself.  Now it uses the
sendfile() system call so that the file isn't copied into userspace at all if
it is available.  Otherwise, it just uses a read/write of small chunks at a time.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72701 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 20:35:09 +00:00
rizzo 388ee3fa59 Make sure that we properly recurse in subdirectories to
check dependencies for libraries.
Because these targets (e.g. minimime/libmmime.a) are real ones,
declaring them .PHONY would cause them to be rebuilt every time
(see e.g. SVN 64355).

As a workaround I am using the following CHECK_SUBDIR target:

  CHECK_SUBDIR:  # do nothing, just make sure that we recurse in the subdir/
  minimime/libmmime.a: CHECK_SUBDIR
	@cd minimime && $(MAKE) libmmime.a

which seems to do a better job than .PHONY (probably because
.PHONY forces the rebuild even if the recursive make does not think
it is necessary).

If this turns out to be the correct approach, we can then
merge it back into 1.4



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72700 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 20:33:35 +00:00
mmichelson a306b8604d Found a grievous logical error in get_vm_state_by_imapuser.
The imapuser being passed in was never getting compared to imapusers of any of the vm_states
in the vmstates list.

I also found some places in the code where I used my typical brace style and changed it to match
the typical Asterisk brace style.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72670 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 20:02:00 +00:00
rizzo c80751e950 72665 not applicable to trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72666 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 19:09:36 +00:00
file def76fbcf3 Blocked revisions 72599 via svnmerge
........
r72599 | file | 2007-06-29 11:26:32 -0300 (Fri, 29 Jun 2007) | 2 lines

Minor change for older GCC versions.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72600 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 14:27:24 +00:00
file f72175c430 Blocked revisions 72597 via svnmerge
........
r72597 | file | 2007-06-29 11:18:36 -0300 (Fri, 29 Jun 2007) | 2 lines

Backport fix for GCC versions without support for declaration-after-statement.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72598 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 14:20:15 +00:00
tilghman ffb076a0c1 Merged revisions 72556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72556 | tilghman | 2007-06-28 23:47:11 -0500 (Thu, 28 Jun 2007) | 2 lines

Issue 10055 - Change memory allocation to use the heap for a command, since the output has the potential to overflow the stack (as it did here)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72557 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 04:56:08 +00:00
tilghman 27a15783c7 Blocked revisions 72554 via svnmerge
........
r72554 | tilghman | 2007-06-28 23:43:15 -0500 (Thu, 28 Jun 2007) | 2 lines

Fix 1.4 breakage

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72555 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-29 04:45:13 +00:00
qwell 5ca2bc3253 Apparently some builds of gcc don't have declaration-after-statement.
This checks for it in configure, and only uses it if it's available.

If it's wrong, somebody please yell at me and tell me why.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72539 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 21:31:00 +00:00
dhubbard f1d65bfb7d Added AND, OR, and XOR bitwise operations to MATH for issue 9891, thanks jcmoore
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72524 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 20:52:22 +00:00
russell d2ebf530af Blocked revisions 72493 via svnmerge
........
r72493 | russell | 2007-06-28 14:44:11 -0500 (Thu, 28 Jun 2007) | 2 lines

regenerate the configure script for rizzo

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72494 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 19:45:09 +00:00
tilghman 5d6dc7ab73 Remove the ill-advised ast_restrdupa API call and related structures
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72492 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 19:41:18 +00:00
qwell 19dd1526bc Fix building with -Wdeclaration-after-statement, here too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72491 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 19:35:23 +00:00
qwell a1394d0f42 Fix building with -Wdeclaration-after-statement
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72490 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 19:30:39 +00:00
rizzo ceb24db1d2 72462 is not applicable to trunk
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72466 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 19:07:38 +00:00
rizzo d4c61d0bad move variable declarations to the beginning of a block.
Not applicable to previous branches.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72457 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 19:02:31 +00:00
rizzo 86416cfc91 move variable declarations to the beginning of the block
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72456 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 19:01:43 +00:00
rizzo 0fbdb5844c move variable declarations to the beginning of a block.
Not applicable to previous branches



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72455 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 18:59:19 +00:00
rizzo 82bc0c30cc 72453 was already applied to trunk some time ago
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72454 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 18:42:30 +00:00
rizzo 4be5924a94 Add -Wdeclaration-after-statement to AST_DEVMODE
to detect declarations in the middle of a block.

Approved by: Russel, Kevin

The fallout will be fixed in separate commits.

I am doing this only on trunk only for the time being, because 1.4
still requires a bit more polishing to give a clean compile
(at least on FreeBSD).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72452 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 18:34:07 +00:00
mattf 6e0e033e94 Fix bug where point code gets corrupted on CPG
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72437 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-28 16:35:38 +00:00
bbryant 0762695732 Merged revisions 72383 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72383 | bbryant | 2007-06-27 18:29:14 -0500 (Wed, 27 Jun 2007) | 11 lines

Merged revisions 72373 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72373 | bbryant | 2007-06-27 18:22:13 -0500 (Wed, 27 Jun 2007) | 3 lines

Reinstating patch. This actually fixes the problem, however I was running a development branch without it and mistakenly thought it wasn't fixed. 
Fixes issue #10010, and #9654: 100% CPU usage caused by an asterisk console losing it's controlling terminal.

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72384 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 23:30:31 +00:00
file b663e2cc3f Merged revisions 72381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72381 | file | 2007-06-27 19:25:12 -0400 (Wed, 27 Jun 2007) | 10 lines

Merged revisions 72378 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72378 | file | 2007-06-27 19:24:01 -0400 (Wed, 27 Jun 2007) | 2 lines

Update documentation to clarify variable usage with MixMonitor. (issue #9494 reported by netoguy)

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72382 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 23:26:46 +00:00
file d2aea5fe95 Silly jingle...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72358 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 23:14:39 +00:00
file 0b3770075d Add SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables when a transfer takes place. (issue #8378 reported by jcovert)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72354 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 23:13:09 +00:00
bbryant 38b61b488e Merged revisions 72335 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72335 | bbryant | 2007-06-27 18:03:01 -0500 (Wed, 27 Jun 2007) | 10 lines

Merged revisions 72333 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72333 | bbryant | 2007-06-27 17:58:53 -0500 (Wed, 27 Jun 2007) | 2 lines

Reverted changes for earlier revisions 72259 to 72261. Issue #9654, #10010

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72337 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 23:04:06 +00:00
file a3bf60df13 Merged revisions 72331 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72331 | file | 2007-06-27 18:58:02 -0400 (Wed, 27 Jun 2007) | 2 lines

Make payload IDs for iLBC/Speex match to our list. Since these are dynamic payloads the other side shouldn't care. (issue #9426 reported by irroot)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72332 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 22:58:53 +00:00
file bdebd277b9 Merged revisions 72328 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72328 | file | 2007-06-27 18:45:49 -0400 (Wed, 27 Jun 2007) | 10 lines

Merged revisions 72327 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72327 | file | 2007-06-27 18:43:11 -0400 (Wed, 27 Jun 2007) | 2 lines

Fix issue where queue log events might be missing. (issue #7765 reported by mtryfoss)

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72330 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 22:48:15 +00:00
mmichelson ca45e84ceb Added ability to customize which buttons control forward, reverse, pause, and stop during message playback.
(closes issue 9474, reported and patched by jaroth with modifications by me)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72329 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 22:47:08 +00:00
qwell 99cf00120f Fix a segfault when trying to tab complete the "core show uptime" command.
Reported in #asterisk-dev on IRC by jcmoore, fixed by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72326 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 22:27:09 +00:00
qwell bdf1afb5af Add support for Thai language in say.c
Issue 9417, patch by dome, with some cleanup done by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72325 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 22:17:59 +00:00
mattf cab774c60a Let's NOT create a deadlock scenario here
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72304 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 21:44:13 +00:00
russell 12c0a35ca5 Merged revisions 72272 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72272 | russell | 2007-06-27 16:08:34 -0500 (Wed, 27 Jun 2007) | 13 lines

Merged revisions 72267 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72267 | russell | 2007-06-27 16:06:45 -0500 (Wed, 27 Jun 2007) | 5 lines

Fix a minor issue with parsing the priority number.  You could have as much
whitespace as you want around a numeric priority, but you couldn't have any
whitespace around a special priority like "n" or "hint".
(issue #10039, reported by mitheloc, fixed by me)

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72274 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 21:09:24 +00:00
bbryant 9367a00b38 Merged revisions 72260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72260 | bbryant | 2007-06-27 15:46:12 -0500 (Wed, 27 Jun 2007) | 12 lines

Merged revisions 72259 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72259 | bbryant | 2007-06-27 15:43:53 -0500 (Wed, 27 Jun 2007) | 4 lines

Fixes 100% load when controlling terminal disappears.

Issue #9654, #10010

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72261 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 20:47:45 +00:00
file 500ed391c5 Merged revisions 72257 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r72257 | file | 2007-06-27 16:25:24 -0400 (Wed, 27 Jun 2007) | 10 lines

Merged revisions 72256 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r72256 | file | 2007-06-27 16:23:24 -0400 (Wed, 27 Jun 2007) | 2 lines

I may possibly get shot for doing this... but... defer CDR processing until after the channel has been dealt with. This should eliminate all of the issues with channels going funky (SIP/PRI) when you are posting CDRs to a database that is either slow or unavailable and do not want to enable batching.

........

................


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72258 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 20:26:53 +00:00
file 5bdb43d3e8 Fix up properties.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72241 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-27 20:07:46 +00:00