asterisk/asterisk.git
13 years agoMerged revisions 73769 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 23:05:24 +0000 (23:05 +0000)]
Merged revisions 73769 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73769 | russell | 2007-07-06 18:02:58 -0500 (Fri, 06 Jul 2007) | 12 lines

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

........
r73768 | russell | 2007-07-06 18:01:22 -0500 (Fri, 06 Jul 2007) | 4 lines

If a sip_pvt struct has already registered an extension state callback,
remove the old one before adding a new one.  If this isn't done, Asterisk
will crash.  (issue #10120)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73771 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73727 via svnmerge from
Mark Michelson [Fri, 6 Jul 2007 16:39:11 +0000 (16:39 +0000)]
Merged revisions 73727 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73727 | mmichelson | 2007-07-06 11:36:17 -0500 (Fri, 06 Jul 2007) | 8 lines

Fixing a rare case which causes voicemail to crash when compiled with IMAP storage.
inboxcount has the possibility of finding an "interactive" vm_state when no persistent "non-interactive"
vm_state exists for that mailbox. If this should happen when someone attempts to leave a message, it results in
a crash. This patch, along with my commit in revision 72670 fix issue 10053, reported by jaroth.

closes issue #10053

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73728 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoeliminate another batch of compiler warnings (and a bug, although in code we aren...
Kevin P. Fleming [Fri, 6 Jul 2007 16:30:32 +0000 (16:30 +0000)]
eliminate another batch of compiler warnings (and a bug, although in code we aren't using)... note that this required manually editing the lexer output code (generated by flex), so some of them will come back if the lexer is rebuilt

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73726 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73696 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 16:14:39 +0000 (16:14 +0000)]
Merged revisions 73696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73696 | russell | 2007-07-06 11:12:51 -0500 (Fri, 06 Jul 2007) | 16 lines

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

........
r73684 | russell | 2007-07-06 11:06:27 -0500 (Fri, 06 Jul 2007) | 8 lines

(closes issue #10075)
Reported by: apsaras
Patches submitted by: Corydon76
Tested by: apsaras

Fix a problem with MSSQL 2005 by explicitly stating that '\' is being used as
an escape character.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73701 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73679 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 16:00:03 +0000 (16:00 +0000)]
Merged revisions 73679 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73679 | russell | 2007-07-06 10:57:25 -0500 (Fri, 06 Jul 2007) | 15 lines

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

........
r73678 | russell | 2007-07-06 10:55:41 -0500 (Fri, 06 Jul 2007) | 7 lines

(closes issue #10125)
Reported by: makoto
Patches submitted by: makoto

This fixes a crash in chan_sip that happens when the bindaddr setting is not
valid on Asterisk startup, gets fixed, and then a reload gets issued.

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73680 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoit really seems pointless to run gentone to create these header files every time...
Kevin P. Fleming [Fri, 6 Jul 2007 15:47:16 +0000 (15:47 +0000)]
it really seems pointless to run gentone to create these header files every time we build Asterisk...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73677 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73675 via svnmerge from
Mark Michelson [Fri, 6 Jul 2007 15:28:28 +0000 (15:28 +0000)]
Merged revisions 73675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73675 | mmichelson | 2007-07-06 10:27:28 -0500 (Fri, 06 Jul 2007) | 13 lines

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

........
r73674 | mmichelson | 2007-07-06 10:26:40 -0500 (Fri, 06 Jul 2007) | 5 lines

Fixed a bug wherein agents get stuck busy. (issue 9618, reported by jiddings, patched by moi)

closes issue #9618

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73676 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoRedistribute a lot of the items that were in the Misc. section
Russell Bryant [Fri, 6 Jul 2007 03:48:33 +0000 (03:48 +0000)]
Redistribute a lot of the items that were in the Misc. section

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73633 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agonote TLS support for manager and HTTP in CHANGES
Russell Bryant [Fri, 6 Jul 2007 03:40:57 +0000 (03:40 +0000)]
note TLS support for manager and HTTP in CHANGES

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73632 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoPhilippe was listed twice
Russell Bryant [Fri, 6 Jul 2007 03:38:20 +0000 (03:38 +0000)]
Philippe was listed twice

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73631 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73629 via svnmerge from
Russell Bryant [Fri, 6 Jul 2007 03:36:07 +0000 (03:36 +0000)]
Merged revisions 73629 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73629 | russell | 2007-07-05 22:34:46 -0500 (Thu, 05 Jul 2007) | 1 line

fix a little spelling error
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73630 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73598 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 23:59:50 +0000 (23:59 +0000)]
Merged revisions 73598 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73598 | russell | 2007-07-05 18:59:22 -0500 (Thu, 05 Jul 2007) | 3 lines

Fix a crash in chan_sip.  Don't try to stop the monitor thread if it was never
started.  (closes issue #10124, reported by gzero, fixed by me)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73599 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73555 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 23:06:01 +0000 (23:06 +0000)]
Merged revisions 73555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73555 | russell | 2007-07-05 18:05:33 -0500 (Thu, 05 Jul 2007) | 3 lines

copy from the correct buffer when deferring a full frame
(related to issue #9937)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73557 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agocomment out some code that is not used and does not have prototypes
Kevin P. Fleming [Thu, 5 Jul 2007 22:48:17 +0000 (22:48 +0000)]
comment out some code that is not used and does not have prototypes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73553 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73551 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 22:32:30 +0000 (22:32 +0000)]
Merged revisions 73551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73551 | russell | 2007-07-05 17:31:31 -0500 (Thu, 05 Jul 2007) | 6 lines

* Store the call number that a thread is processing without the full frame bit
  set to ease debugging
* When deferring a full frame for processing, stick it into the queue for the
  thread that is processing frames for that call, not the one that read the
  current frame and is about to go back into the idle list
(related to issue #9937)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73552 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73548 via svnmerge from
Kevin P. Fleming [Thu, 5 Jul 2007 22:29:37 +0000 (22:29 +0000)]
Merged revisions 73548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73548 | kpfleming | 2007-07-05 17:20:44 -0500 (Thu, 05 Jul 2007) | 10 lines

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

........
r73547 | kpfleming | 2007-07-05 17:11:51 -0500 (Thu, 05 Jul 2007) | 2 lines

we shouldn't allow G.723.1 endpoints to use VAD, just like we don't support it for G.729

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73550 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd the ability to play an announcement to queue caller just before bridging
Jason Parker [Thu, 5 Jul 2007 22:23:23 +0000 (22:23 +0000)]
Add the ability to play an announcement to queue caller just before bridging

Issue 7479, patch by tristan_mahe.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73549 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoresolve a compiler warning so i can build in dev mode
Russell Bryant [Thu, 5 Jul 2007 20:52:29 +0000 (20:52 +0000)]
resolve a compiler warning so i can build in dev mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73514 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73512 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 20:51:08 +0000 (20:51 +0000)]
Merged revisions 73512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r73512 | russell | 2007-07-05 15:50:08 -0500 (Thu, 05 Jul 2007) | 5 lines

Pass HOLD and UNHOLD frames to the other channel when they are returned from a
native bridge function.  This fixes a problem where when two zap channels are
natively bridged and one does a flash hook, the other channel did not receive
music on hold.  (Reported to me directly by Doug Bailey at Digium)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73513 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73467 via svnmerge from
Joshua Colp [Thu, 5 Jul 2007 19:20:12 +0000 (19:20 +0000)]
Merged revisions 73467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r73467 | file | 2007-07-05 16:18:02 -0300 (Thu, 05 Jul 2007) | 10 lines

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

........
r73466 | file | 2007-07-05 16:15:18 -0300 (Thu, 05 Jul 2007) | 2 lines

Copy language information to the dialog structure when calling a peer for situations where a PBX may be started on the dialed channel. (issue #10121 reported by clegall_proformatique)

........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73468 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoIn regards to changes for 9508, expr2 system choking on floating point numbers, I...
Steve Murphy [Thu, 5 Jul 2007 18:15:22 +0000 (18:15 +0000)]
In regards to changes for 9508, expr2 system choking on floating point numbers, I'm adding this update to round out (no pun intended) and make this FP-capable version of the Expr2 stuff interoperate better with previous integer-only usage, by providing Functions syntax, with 20 builtin functions for floating pt to integer conversions, and some general floating point math routines that might commonly be used also. Along with this, I made it so if a function was not a builtin, it will try and find it in the ast_custom_function list, and if found, execute it and collect the results. Thus, you can call system functions like CDR(), CHANNEL(), etc, from within $\[..\] exprs, without having to wrap them in $\{...\} (curly brace) notation. Did a valgrind on the standalone and made sure there's no mem leaks. Looks good. Updated the docs, too.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73449 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoRemove directory creation of directories we've never used.
Tilghman Lesher [Thu, 5 Jul 2007 17:21:28 +0000 (17:21 +0000)]
Remove directory creation of directories we've never used.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73432 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73400 via svnmerge from
Mark Michelson [Thu, 5 Jul 2007 16:05:22 +0000 (16:05 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73402 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73398 via svnmerge from
Russell Bryant [Thu, 5 Jul 2007 15:29:24 +0000 (15:29 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73399 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73355 via svnmerge from
Joshua Colp [Thu, 5 Jul 2007 14:22:58 +0000 (14:22 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73359 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73319 via svnmerge from
Joshua Colp [Thu, 5 Jul 2007 13:28:41 +0000 (13:28 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73320 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73316 via svnmerge from
Joshua Colp [Thu, 5 Jul 2007 13:23:49 +0000 (13:23 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73317 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoadded general Jitterbuffer Implementation. #9960
Christian Richter [Thu, 5 Jul 2007 07:45:21 +0000 (07:45 +0000)]
added general Jitterbuffer Implementation. #9960

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73298 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73253 via svnmerge from
Christian Richter [Wed, 4 Jul 2007 14:58:58 +0000 (14:58 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73254 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73208 via svnmerge from
Christian Richter [Wed, 4 Jul 2007 08:43:27 +0000 (08:43 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73209 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoblocking 73143 (revert of 9508 bug fix for 1.4) -- don't want it backed out of trunk...
Steve Murphy [Tue, 3 Jul 2007 22:17:09 +0000 (22:17 +0000)]
blocking 73143 (revert of 9508 bug fix for 1.4) -- don't want it backed out of trunk, too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73191 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomkstemp doesn't specify a file mode, so we should chmod it to VOICEMAIL_FILE_MODE
Jason Parker [Tue, 3 Jul 2007 21:44:27 +0000 (21:44 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73175 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix a build warning, and potential issue if option p is not set at all.
Jason Parker [Tue, 3 Jul 2007 21:21:51 +0000 (21:21 +0000)]
Fix a build warning, and potential issue if option p is not set at all.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73174 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd support for changing the exit key from # to any DTMF.
Jason Parker [Tue, 3 Jul 2007 20:34:27 +0000 (20:34 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73144 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix up the device state processing thread in app_queue so that it's not
Russell Bryant [Tue, 3 Jul 2007 18:25:30 +0000 (18:25 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73127 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73053 via svnmerge from
Tilghman Lesher [Tue, 3 Jul 2007 12:40:26 +0000 (12:40 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73054 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 73005 via svnmerge from
Christian Richter [Tue, 3 Jul 2007 08:22:13 +0000 (08:22 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@73006 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoTypo (closes issue 10105)
Tilghman Lesher [Tue, 3 Jul 2007 05:21:02 +0000 (05:21 +0000)]
Typo (closes issue 10105)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73003 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoCorrect an issue where the wrong type was being used to start sasl.
Jason Parker [Tue, 3 Jul 2007 02:51:08 +0000 (02:51 +0000)]
Correct an issue where the wrong type was being used to start sasl.

Pointed out by and patch provided by mog.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72987 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAfter some discussion on the asterisk-dev list, we determined that this approach
Russell Bryant [Mon, 2 Jul 2007 23:02:16 +0000 (23:02 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72986 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago* Move LaTeX docs into a tex/ subdirectory of the doc/ dir
Russell Bryant [Mon, 2 Jul 2007 22:27:46 +0000 (22:27 +0000)]
* 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: https://origsvn.digium.com/svn/asterisk/trunk@72982 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72933 via svnmerge from
Steve Murphy [Mon, 2 Jul 2007 21:50:15 +0000 (21:50 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72940 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix up the AGI doc dump CLI command and update the AGI commands tex file to not
Russell Bryant [Mon, 2 Jul 2007 20:45:53 +0000 (20:45 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72939 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd CLI commands to the docs
Russell Bryant [Mon, 2 Jul 2007 20:42:40 +0000 (20:42 +0000)]
Add CLI commands to the docs

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72938 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd a CLI command to output docs on CLI commands to a file
Russell Bryant [Mon, 2 Jul 2007 20:42:14 +0000 (20:42 +0000)]
Add a CLI command to output docs on CLI commands to a file

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72937 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoYet another Solaris tweak...
Joshua Colp [Mon, 2 Jul 2007 20:35:35 +0000 (20:35 +0000)]
Yet another Solaris tweak...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72936 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix building under Solaris.
Joshua Colp [Mon, 2 Jul 2007 20:27:28 +0000 (20:27 +0000)]
Fix building under Solaris.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72935 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd AGI commands to the documentation
Russell Bryant [Mon, 2 Jul 2007 19:31:26 +0000 (19:31 +0000)]
Add AGI commands to the documentation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72932 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd a CLI command to export the AGI command docs
Russell Bryant [Mon, 2 Jul 2007 19:29:50 +0000 (19:29 +0000)]
Add a CLI command to export the AGI command docs

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72931 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd a note that the AGI commands array is not handled in a thread-safe way
Russell Bryant [Mon, 2 Jul 2007 19:01:16 +0000 (19:01 +0000)]
Add a note that the AGI commands array is not handled in a thread-safe way

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72930 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoUpdate the documentation to include a manager action reference
Russell Bryant [Mon, 2 Jul 2007 18:46:13 +0000 (18:46 +0000)]
Update the documentation to include a manager action reference

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72929 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd a CLI command to dump the built-in manager action documentation
Russell Bryant [Mon, 2 Jul 2007 18:45:50 +0000 (18:45 +0000)]
Add a CLI command to dump the built-in manager action documentation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72928 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72926 via svnmerge from
Russell Bryant [Mon, 2 Jul 2007 18:19:21 +0000 (18:19 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72927 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoupdate documentation to include dialplan functions
Russell Bryant [Mon, 2 Jul 2007 17:12:20 +0000 (17:12 +0000)]
update documentation to include dialplan functions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72923 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd "core dump funcdocs" CLI command
Russell Bryant [Mon, 2 Jul 2007 17:11:53 +0000 (17:11 +0000)]
Add "core dump funcdocs" CLI command

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72922 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agochange the "core dump appdocs" CLI command to use the new API for creating
Russell Bryant [Mon, 2 Jul 2007 16:42:47 +0000 (16:42 +0000)]
change the "core dump appdocs" CLI command to use the new API for creating
CLI commands

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72921 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoupdate application documentation dump
Russell Bryant [Mon, 2 Jul 2007 16:42:17 +0000 (16:42 +0000)]
update application documentation dump

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72920 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72888 via svnmerge from
Joshua Colp [Mon, 2 Jul 2007 14:39:49 +0000 (14:39 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72889 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72852 via svnmerge from
Christian Richter [Mon, 2 Jul 2007 09:34:19 +0000 (09:34 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72869 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72851 via svnmerge from
Christian Richter [Mon, 2 Jul 2007 09:23:08 +0000 (09:23 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72868 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72850 via svnmerge from
Christian Richter [Mon, 2 Jul 2007 09:17:07 +0000 (09:17 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72867 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72806 via svnmerge from
Russell Bryant [Sun, 1 Jul 2007 23:53:13 +0000 (23:53 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72807 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72766 via svnmerge from
Russell Bryant [Sat, 30 Jun 2007 16:53:25 +0000 (16:53 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72767 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd support for regcontext and regexten to chan_skinny
Jason Parker [Fri, 29 Jun 2007 21:37:43 +0000 (21:37 +0000)]
Add support for regcontext and regexten to chan_skinny

Issue 9762, patch by mvanbaak.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72741 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix my recent change for sending large files via the http server. This code
Russell Bryant [Fri, 29 Jun 2007 21:24:40 +0000 (21:24 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72738 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAs the comment in the code says:
Luigi Rizzo [Fri, 29 Jun 2007 21:14:12 +0000 (21:14 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72727 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72705 via svnmerge from
Russell Bryant [Fri, 29 Jun 2007 20:56:50 +0000 (20:56 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72706 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerge changes from team/russell/http_filetxfer
Russell Bryant [Fri, 29 Jun 2007 20:35:09 +0000 (20:35 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72701 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMake sure that we properly recurse in subdirectories to
Luigi Rizzo [Fri, 29 Jun 2007 20:33:35 +0000 (20:33 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72700 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFound a grievous logical error in get_vm_state_by_imapuser.
Mark Michelson [Fri, 29 Jun 2007 20:02:00 +0000 (20:02 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72670 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago72665 not applicable to trunk
Luigi Rizzo [Fri, 29 Jun 2007 19:09:36 +0000 (19:09 +0000)]
72665 not applicable to trunk

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72666 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 72599 via svnmerge
Joshua Colp [Fri, 29 Jun 2007 14:27:24 +0000 (14:27 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72600 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 72597 via svnmerge
Joshua Colp [Fri, 29 Jun 2007 14:20:15 +0000 (14:20 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72598 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72556 via svnmerge from
Tilghman Lesher [Fri, 29 Jun 2007 04:56:08 +0000 (04:56 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72557 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 72554 via svnmerge
Tilghman Lesher [Fri, 29 Jun 2007 04:45:13 +0000 (04:45 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72555 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoApparently some builds of gcc don't have declaration-after-statement.
Jason Parker [Thu, 28 Jun 2007 21:31:00 +0000 (21:31 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72539 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdded AND, OR, and XOR bitwise operations to MATH for issue 9891, thanks jcmoore
Dwayne M. Hubbard [Thu, 28 Jun 2007 20:52:22 +0000 (20:52 +0000)]
Added AND, OR, and XOR bitwise operations to MATH for issue 9891, thanks jcmoore

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72524 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoBlocked revisions 72493 via svnmerge
Russell Bryant [Thu, 28 Jun 2007 19:45:09 +0000 (19:45 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72494 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoRemove the ill-advised ast_restrdupa API call and related structures
Tilghman Lesher [Thu, 28 Jun 2007 19:41:18 +0000 (19:41 +0000)]
Remove the ill-advised ast_restrdupa API call and related structures

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72492 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix building with -Wdeclaration-after-statement, here too
Jason Parker [Thu, 28 Jun 2007 19:35:23 +0000 (19:35 +0000)]
Fix building with -Wdeclaration-after-statement, here too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72491 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix building with -Wdeclaration-after-statement
Jason Parker [Thu, 28 Jun 2007 19:30:39 +0000 (19:30 +0000)]
Fix building with -Wdeclaration-after-statement

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72490 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago72462 is not applicable to trunk
Luigi Rizzo [Thu, 28 Jun 2007 19:07:38 +0000 (19:07 +0000)]
72462 is not applicable to trunk

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72466 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomove variable declarations to the beginning of a block.
Luigi Rizzo [Thu, 28 Jun 2007 19:02:31 +0000 (19:02 +0000)]
move variable declarations to the beginning of a block.
Not applicable to previous branches.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72457 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomove variable declarations to the beginning of the block
Luigi Rizzo [Thu, 28 Jun 2007 19:01:43 +0000 (19:01 +0000)]
move variable declarations to the beginning of the block

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72456 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agomove variable declarations to the beginning of a block.
Luigi Rizzo [Thu, 28 Jun 2007 18:59:19 +0000 (18:59 +0000)]
move variable declarations to the beginning of a block.
Not applicable to previous branches

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72455 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years ago72453 was already applied to trunk some time ago
Luigi Rizzo [Thu, 28 Jun 2007 18:42:30 +0000 (18:42 +0000)]
72453 was already applied to trunk some time ago

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72454 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd -Wdeclaration-after-statement to AST_DEVMODE
Luigi Rizzo [Thu, 28 Jun 2007 18:34:07 +0000 (18:34 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72452 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix bug where point code gets corrupted on CPG
Matthew Fredrickson [Thu, 28 Jun 2007 16:35:38 +0000 (16:35 +0000)]
Fix bug where point code gets corrupted on CPG

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72437 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72383 via svnmerge from
Brett Bryant [Wed, 27 Jun 2007 23:30:31 +0000 (23:30 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72384 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72381 via svnmerge from
Joshua Colp [Wed, 27 Jun 2007 23:26:46 +0000 (23:26 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72382 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoSilly jingle...
Joshua Colp [Wed, 27 Jun 2007 23:14:39 +0000 (23:14 +0000)]
Silly jingle...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72358 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables when a transfer takes place...
Joshua Colp [Wed, 27 Jun 2007 23:13:09 +0000 (23:13 +0000)]
Add SIPREFERRINGCONTEXT and SIPREFERREDBYHDR variables when a transfer takes place. (issue #8378 reported by jcovert)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72354 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72335 via svnmerge from
Brett Bryant [Wed, 27 Jun 2007 23:04:06 +0000 (23:04 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72337 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72331 via svnmerge from
Joshua Colp [Wed, 27 Jun 2007 22:58:53 +0000 (22:58 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72332 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72328 via svnmerge from
Joshua Colp [Wed, 27 Jun 2007 22:48:15 +0000 (22:48 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72330 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdded ability to customize which buttons control forward, reverse, pause, and stop...
Mark Michelson [Wed, 27 Jun 2007 22:47:08 +0000 (22:47 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72329 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoFix a segfault when trying to tab complete the "core show uptime" command.
Jason Parker [Wed, 27 Jun 2007 22:27:09 +0000 (22:27 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72326 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoAdd support for Thai language in say.c
Jason Parker [Wed, 27 Jun 2007 22:17:59 +0000 (22:17 +0000)]
Add support for Thai language in say.c

Issue 9417, patch by dome, with some cleanup done by me.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72325 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoLet's NOT create a deadlock scenario here
Matthew Fredrickson [Wed, 27 Jun 2007 21:44:13 +0000 (21:44 +0000)]
Let's NOT create a deadlock scenario here

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72304 65c4cc65-6c06-0410-ace0-fbb531ad65f3

13 years agoMerged revisions 72272 via svnmerge from
Russell Bryant [Wed, 27 Jun 2007 21:09:24 +0000 (21:09 +0000)]
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: https://origsvn.digium.com/svn/asterisk/trunk@72274 65c4cc65-6c06-0410-ace0-fbb531ad65f3