Archived
14
0
Fork 0
Commit graph

12262 commits

Author SHA1 Message Date
tilghman
3d7a0fea3e Remove directory creation of directories we've never used.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73432 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05 17:21:28 +00:00
mmichelson
7b42fa5f57 Merged revisions 73400 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73400 | mmichelson | 2007-07-05 10:59:41 -0500 (Thu, 05 Jul 2007) | 5 lines

Correcting a minor CLI bug I found. When issuing the queue show command, if you type
queue show and then press tab, you can continue pressing tab and it will keep auto-completing
queue names even though only 1 queue can be used as an argument.


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73402 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05 16:05:22 +00:00
russell
c171af506b Merged revisions 73398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73398 | russell | 2007-07-05 10:28:27 -0500 (Thu, 05 Jul 2007) | 2 lines

Make this module build for me in dev-mode

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73399 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05 15:29:24 +00:00
file
39e36cc871 Merged revisions 73355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73355 | file | 2007-07-05 11:21:44 -0300 (Thu, 05 Jul 2007) | 10 lines

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

........
r73349 | file | 2007-07-05 11:19:14 -0300 (Thu, 05 Jul 2007) | 2 lines

Tweak spy locking. (issue #9951 reported by welles)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73359 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05 14:22:58 +00:00
file
aec54ca7a6 Merged revisions 73319 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73319 | file | 2007-07-05 10:27:40 -0300 (Thu, 05 Jul 2007) | 10 lines

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

........
r73318 | file | 2007-07-05 10:26:02 -0300 (Thu, 05 Jul 2007) | 2 lines

Actually check to make sure a PBX was started on one of the Local channels instead of blindly assuming it was. (issue #10112 reported by makoto)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73320 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05 13:28:41 +00:00
file
601ea83b5c Merged revisions 73316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73316 | file | 2007-07-05 10:22:13 -0300 (Thu, 05 Jul 2007) | 10 lines

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

........
r73315 | file | 2007-07-05 10:19:17 -0300 (Thu, 05 Jul 2007) | 2 lines

Reset ServicelevelPerf variable back to 0 if we are unable to calculate it each time... otherwise we will get previous values. (issue #10117 reported by noriyuki)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73317 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05 13:23:49 +00:00
crichter
177aff2f30 added general Jitterbuffer Implementation. #9960
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73298 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05 07:45:21 +00:00
crichter
a828695fa9 Merged revisions 73253 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73253 | crichter | 2007-07-04 16:53:48 +0200 (Mi, 04 Jul 2007) | 9 lines

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

........
r73252 | crichter | 2007-07-04 16:50:58 +0200 (Mi, 04 Jul 2007) | 1 line

bchannel configurations like echocancel and volume control, need to be setuped on inbound calls too.
........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73254 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-04 14:58:58 +00:00
crichter
0d723e0358 Merged revisions 73208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73208 | crichter | 2007-07-04 10:27:44 +0200 (Mi, 04 Jul 2007) | 9 lines

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

........
r73207 | crichter | 2007-07-04 10:20:54 +0200 (Mi, 04 Jul 2007) | 1 line

bad bug in overlapdial case, we called start_pbx multiple times, because the state wasn't changed..
........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73209 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-04 08:43:27 +00:00
murf
c80b3fd970 blocking 73143 (revert of 9508 bug fix for 1.4) -- don't want it backed out of trunk, too
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73191 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03 22:17:09 +00:00
qwell
a7d8ecf800 mkstemp doesn't specify a file mode, so we should chmod it to VOICEMAIL_FILE_MODE
Taken from a larger patch by ltd - the rest of which is no longer necessary in trunk.

Closes issue #9231


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73175 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03 21:44:27 +00:00
qwell
4d26c61725 Fix a build warning, and potential issue if option p is not set at all.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73174 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03 21:21:51 +00:00
qwell
56b40b4fde Add support for changing the exit key from # to any DTMF.
This does not break existing configs - the arguments to p are optional.

Issue 8827, initial patch by junky, mostly rewritten by fw to re-use option p, further modified by me.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73144 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03 20:34:27 +00:00
russell
a2fa5b0a02 Fix up the device state processing thread in app_queue so that it's not
possible for there to be entries in the queue and the thread is just sleeping
(Thanks to mmichelson for bringing the problem to my attention)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73127 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03 18:25:30 +00:00
tilghman
be06f432bf Merged revisions 73053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73053 | tilghman | 2007-07-03 07:38:53 -0500 (Tue, 03 Jul 2007) | 10 lines

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

........
r73052 | tilghman | 2007-07-03 07:34:14 -0500 (Tue, 03 Jul 2007) | 2 lines

RetryDial should accept a 0 argument, but it does not, because atoi does not distinguish between 0 and error (closes issue #10106)

........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73054 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03 12:40:26 +00:00
crichter
38e686ac7e Merged revisions 73005 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73005 | crichter | 2007-07-03 10:17:06 +0200 (Di, 03 Jul 2007) | 9 lines

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

........
r73004 | crichter | 2007-07-03 10:04:35 +0200 (Di, 03 Jul 2007) | 1 line

fixed issue, that misdn_l2l1_check could only be called from mISDN Source channels.. #9449
........

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


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73006 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03 08:22:13 +00:00
tilghman
fd85c40684 Typo (closes issue 10105)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73003 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03 05:21:02 +00:00
qwell
021f32c4b3 Correct an issue where the wrong type was being used to start sasl.
Pointed out by and patch provided by mog.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72987 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-03 02:51:08 +00:00
russell
7861ca021d After some discussion on the asterisk-dev list, we determined that this approach
for extracting application, function, manager, and agi documentation is the wrong
one to take.  The most severe problem is that the output depends on which modules
are loaded as well as compile time options, which both determine which parts are
available.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72986 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 23:02:16 +00:00
russell
3357366474 * Move LaTeX docs into a tex/ subdirectory of the doc/ dir
* Add a Makefile in doc/tex/ for generating PDF and HTML
* Add a README.txt file to doc/tex/ to document which tools are used and what
  web sites to visit for getting them.
* Update build_tools/prep_tarball to put the proper Asterisk version string
  in the automatically generated PDF for release tarballs


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72982 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 22:27:46 +00:00
murf
9e3b3287a4 Merged revisions 72933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72933 | murf | 2007-07-02 14:16:31 -0600 (Mon, 02 Jul 2007) | 1 line

support for floating point numbers added to ast_expr2 $\[...\] exprs. Fixes bug 9508, where the expr code fails with fp numbers. The MATH function returns fp numbers by default, so this fix is considered necessary.
........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72940 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 21:50:15 +00:00
russell
46cc653bd1 Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
include a bunch of empty entries.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72939 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 20:45:53 +00:00
russell
3a28e37430 Add CLI commands to the docs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72938 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 20:42:40 +00:00
russell
cfb405413d Add a CLI command to output docs on CLI commands to a file
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72937 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 20:42:14 +00:00
file
f3c5a95dc9 Yet another Solaris tweak...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72936 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 20:35:35 +00:00
file
4d62daefc9 Fix building under Solaris.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72935 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 20:27:28 +00:00
russell
5870839240 Add AGI commands to the documentation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72932 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 19:31:26 +00:00
russell
bf47a7320b Add a CLI command to export the AGI command docs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72931 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 19:29:50 +00:00
russell
c173ac0824 Add a note that the AGI commands array is not handled in a thread-safe way
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72930 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 19:01:16 +00:00
russell
eb2bf0befe Update the documentation to include a manager action reference
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72929 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 18:46:13 +00:00
russell
e7f6898702 Add a CLI command to dump the built-in manager action documentation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72928 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 18:45:50 +00:00
russell
103ed228f3 Merged revisions 72926 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r72926 | russell | 2007-07-02 13:18:46 -0500 (Mon, 02 Jul 2007) | 3 lines

Remove a bogus comment and add proper locking to the handler function for the
CLI command to show information on manager actions.

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@72927 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-02 18:19:21 +00:00
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