asterisk/asterisk.git
13 years agoDon't hangup the call for SS7 if we get an alarm
Matthew Fredrickson [Tue, 16 Oct 2007 20:55:57 +0000 (20:55 +0000)]
Don't hangup the call for SS7 if we get an alarm

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

13 years agoThis fixes SIP subscriptions in trunk.
Russell Bryant [Tue, 16 Oct 2007 20:32:16 +0000 (20:32 +0000)]
This fixes SIP subscriptions in trunk.

Don't improperly memset() over an ast_str.  This was leftover from before it
got changed to use ast_str.

(closes issue #11003, reported by pj)
(closes issue #10770, reported by yehavi)
(patched by me)

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

13 years agoMerged revisions 85921 via svnmerge from
Tilghman Lesher [Tue, 16 Oct 2007 19:47:16 +0000 (19:47 +0000)]
Merged revisions 85921 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85921 | tilghman | 2007-10-16 14:41:40 -0500 (Tue, 16 Oct 2007) | 4 lines

Also set up gmtoff (this is used in the %z gnu extension to strftime)
Reported and fixed by jcmoore
Closes issue #11002

........

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

13 years agoMerged revisions 85896 via svnmerge from
Russell Bryant [Tue, 16 Oct 2007 19:12:24 +0000 (19:12 +0000)]
Merged revisions 85896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85896 | russell | 2007-10-16 14:10:01 -0500 (Tue, 16 Oct 2007) | 2 lines

Remove a pointless lock.

........

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

13 years agoFix IMAP compilation error.
Mark Michelson [Tue, 16 Oct 2007 16:40:24 +0000 (16:40 +0000)]
Fix IMAP compilation error.

(closes issue #10986, reported and patched by snuffy)

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

13 years agoBlocking changes from previous commit
Mark Michelson [Tue, 16 Oct 2007 15:24:50 +0000 (15:24 +0000)]
Blocking changes from previous commit

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

13 years agoMerged revisions 85850 via svnmerge from
Joshua Colp [Tue, 16 Oct 2007 15:15:53 +0000 (15:15 +0000)]
Merged revisions 85850 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85850 | file | 2007-10-16 11:52:22 -0300 (Tue, 16 Oct 2007) | 4 lines

Check to make sure a value has been given to the VMCOUNT dialplan function.
(closes issue #10996)
Reported by: marsosa

........

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

13 years agoPermit building under DEBUG_THREADLOCALS. Thanks snuff.
Joshua Colp [Tue, 16 Oct 2007 14:27:27 +0000 (14:27 +0000)]
Permit building under DEBUG_THREADLOCALS. Thanks snuff.

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

13 years agoMerged revisions 85818 via svnmerge from
Joshua Colp [Tue, 16 Oct 2007 14:21:27 +0000 (14:21 +0000)]
Merged revisions 85818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85818 | file | 2007-10-16 11:19:39 -0300 (Tue, 16 Oct 2007) | 6 lines

Fix memory allocation issue in threadstorage.
(closes issue #10995)
Reported by: snuffy
Patches:
      new-patch.diff uploaded by snuffy (license 35)

........

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

13 years agoFix CLI help output
Philippe Sultan [Tue, 16 Oct 2007 10:38:57 +0000 (10:38 +0000)]
Fix CLI help output

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

13 years agoAdded two CLI functions, taken from chan_gtalk :
Philippe Sultan [Tue, 16 Oct 2007 10:29:33 +0000 (10:29 +0000)]
Added two CLI functions, taken from chan_gtalk :
- jingle reload ;
- jingle show channels.

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

13 years agoMake an audio path under the following call configuration :
Philippe Sultan [Tue, 16 Oct 2007 09:47:22 +0000 (09:47 +0000)]
Make an audio path under the following call configuration :
SIP Phone 1 --- [chan_sip]Asterisk 1[chan_jingle] --- [chan_jingle]Asterisk 2[chan_sip] --- SIP Phone 2

Modifications :
- set bridge type to partial ;
- process media candidates from the remote peer properly.

Now we have Jingle audio, at least between two Asterisk Jingle
clients.

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

13 years agoSwitch dundi to new tos config format.
Jason Parker [Mon, 15 Oct 2007 23:20:40 +0000 (23:20 +0000)]
Switch dundi to new tos config format.
Remove old unused defines for old style.

Closes issue 10860, patch by IgorG.

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

13 years agoBlocked revisions 85687 via svnmerge
Tilghman Lesher [Mon, 15 Oct 2007 22:03:01 +0000 (22:03 +0000)]
Blocked revisions 85687 via svnmerge

........
r85687 | tilghman | 2007-10-15 15:29:35 -0500 (Mon, 15 Oct 2007) | 5 lines

Don't execute a gosub if the arguments is zero-len (not just NULL)
Reported by davevg
Fixed by me
Closes issue #10985

........

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

13 years agoMerged revisions 85720 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 21:11:06 +0000 (21:11 +0000)]
Merged revisions 85720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85720 | russell | 2007-10-15 16:10:02 -0500 (Mon, 15 Oct 2007) | 3 lines

Ensure that no pending state changes are leaked when the device state change
thread gets stopped on module unload.

........

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

13 years agoBlocked revisions 85717 via svnmerge
Russell Bryant [Mon, 15 Oct 2007 21:01:23 +0000 (21:01 +0000)]
Blocked revisions 85717 via svnmerge

........
r85717 | russell | 2007-10-15 15:59:27 -0500 (Mon, 15 Oct 2007) | 7 lines

Previously, app_queue created a thread to handle every single device state
change.  I changed this a while ago in trunk for performance reasons.  However,
bug 8407 points out that it is actually a race condition, causing device state
changes to get processed in random order.  So, I backported my changes from
trunk to 1.4.
(closes issue #8407, patch provided by tim_ringenbach, committed patch by me)

........

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

13 years agoMerged revisions 85686 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 21:01:00 +0000 (21:01 +0000)]
Merged revisions 85686 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85686 | russell | 2007-10-15 15:21:27 -0500 (Mon, 15 Oct 2007) | 7 lines

Add a small fix for the tw version of saying dates.

(closes issue #7827)
Reported by: sharkey
Patches:
      say.nits.patch uploaded by sharkey (license 172)

........

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

13 years agoMerged revisions 85684 via svnmerge from
Jason Parker [Mon, 15 Oct 2007 20:16:48 +0000 (20:16 +0000)]
Merged revisions 85684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

(closes issue #10938)
........
r85684 | qwell | 2007-10-15 15:15:51 -0500 (Mon, 15 Oct 2007) | 5 lines

Properly use DESTDIR in 'config' target.
Do not try to run chkconfig or similar if using DESTDIR.

Issue 10938, patch by cabal95.

........

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

13 years agoadd TOUCH_MONITOR_PREF to the channel var docs
Russell Bryant [Mon, 15 Oct 2007 20:09:42 +0000 (20:09 +0000)]
add TOUCH_MONITOR_PREF to the channel var docs

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

13 years agoAdded support for reading the TOUCH_MONITOR_PREFIX channel variable.
Russell Bryant [Mon, 15 Oct 2007 20:08:04 +0000 (20:08 +0000)]
Added support for reading the TOUCH_MONITOR_PREFIX channel variable.
It allows you to configure a prefix for auto-monitor recordings.

(closes issue #6353)
Reported by: ivanfm
Patches:
      asterisk_automon_v4.patch uploaded by ivanfm (original patch)
   - updated patch:
         6353-touch_monitor_prefix.diff uploaded by qwell (license 4)

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

13 years agoMerged revisions 85649 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 19:25:56 +0000 (19:25 +0000)]
Merged revisions 85649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85649 | russell | 2007-10-15 14:22:45 -0500 (Mon, 15 Oct 2007) | 2 lines

Be pedantic about handling memory allocation failure.

........

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

13 years agoMerged revisions 85647 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 19:19:01 +0000 (19:19 +0000)]
Merged revisions 85647 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85647 | russell | 2007-10-15 14:11:38 -0500 (Mon, 15 Oct 2007) | 5 lines

The loop in the handler for the "core show locks" could potentially block for
some amount of time.  Be a little bit more careful and prepare all of the
output in an intermediary buffer while holding a global resource.  Then, after
releasing it, send the output to ast_cli().

........

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

13 years agoDocument my changes from Friday
Tilghman Lesher [Mon, 15 Oct 2007 17:51:05 +0000 (17:51 +0000)]
Document my changes from Friday

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

13 years agoMerged revisions 85604 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 16:59:53 +0000 (16:59 +0000)]
Merged revisions 85604 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85604 | russell | 2007-10-15 11:54:57 -0500 (Mon, 15 Oct 2007) | 6 lines

Make the default for the srvlookup option to be yes.  It doesn't really make
sense for it to default to off.  The default configuration file has it on, and
proper RFC behavior, as indicated by a comment in the code, is for it to be on.
So, let's have it on by default to make lives easier.
(closes issue #10954, suggested by jtodd)

........

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

13 years agoMerged revisions 85571 via svnmerge from
Joshua Colp [Mon, 15 Oct 2007 16:41:56 +0000 (16:41 +0000)]
Merged revisions 85571 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85571 | file | 2007-10-15 13:39:59 -0300 (Mon, 15 Oct 2007) | 4 lines

Document that DTMF based features only work when two channels are bridged together.
(closes issue #10773)
Reported by: pbayley

........

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

13 years agoMerged revisions 85561 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 16:36:48 +0000 (16:36 +0000)]
Merged revisions 85561 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85561 | russell | 2007-10-15 11:34:13 -0500 (Mon, 15 Oct 2007) | 4 lines

Make a few changes so that characters in the upper half of the ISO-8859-1
character set don't get stripped when reading configuration.
(closes issue #10982, dandre)

........

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

13 years agoMerged revisions 85559 via svnmerge from
Joshua Colp [Mon, 15 Oct 2007 16:23:41 +0000 (16:23 +0000)]
Merged revisions 85559 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85559 | file | 2007-10-15 13:22:02 -0300 (Mon, 15 Oct 2007) | 4 lines

Bring both DTMF begin and end frames up through to the core for DTMF feature handling.
(closes issue #10826)
Reported by: dimas

........

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

13 years agoSimplify buffer handling in dundi-parser.c. This also makes the code a bit
Russell Bryant [Mon, 15 Oct 2007 15:55:23 +0000 (15:55 +0000)]
Simplify buffer handling in dundi-parser.c.  This also makes the code a bit
safer by removing various assumptions about sizes. (No vulnerabilities, though)

(closes issue #10977)
Reported by: dimas
Patches:
      dundiparser.patch uploaded by dimas (license 88)

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

13 years agoMerged revisions 85556 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 15:47:46 +0000 (15:47 +0000)]
Merged revisions 85556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85556 | russell | 2007-10-15 10:40:45 -0500 (Mon, 15 Oct 2007) | 9 lines

Ensure the buffer passed to ast_canmatch_extension() is properly initialized so
that it is null terminated.

(issue #10977)
Reported by: dimas
Patches:
      pbxdundi.patch uploaded by dimas (license 88)
    - small mods by me

........

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

13 years agoAllow RTP structure registration
Philippe Sultan [Mon, 15 Oct 2007 15:26:58 +0000 (15:26 +0000)]
Allow RTP structure registration

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

13 years agoAdd packetization data for G.722.
Joshua Colp [Mon, 15 Oct 2007 15:07:37 +0000 (15:07 +0000)]
Add packetization data for G.722.
(closes issue #10900)
Reported by: andrew
Patches:
      frame.diff uploaded by andrew (license 240)

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

13 years agoMerged revisions 85552 via svnmerge from
Joshua Colp [Mon, 15 Oct 2007 14:57:44 +0000 (14:57 +0000)]
Merged revisions 85552 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85552 | file | 2007-10-15 11:55:04 -0300 (Mon, 15 Oct 2007) | 4 lines

If Monitor or a spy was added to a P2P or native bridged channel bring the channel back to the generic bridging core so the monitor or spy operations work.
(closes issue #10943)
Reported by: julianjm

........

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

13 years agoAllocate more space for the base64 output we need to generate.
Philippe Sultan [Mon, 15 Oct 2007 13:51:21 +0000 (13:51 +0000)]
Allocate more space for the base64 output we need to generate.

Closes issue #10913, reported by tootai, who graciously granted us access
to his Asterisk server, thanks! Daniel, feel free to reopen the bug in
case you can reproduce this on 1.4.

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

13 years agoMove the CLI commands that were in builtins[] into the cli_cli[] array of CLI
Russell Bryant [Mon, 15 Oct 2007 13:44:53 +0000 (13:44 +0000)]
Move the CLI commands that were in builtins[] into the cli_cli[] array of CLI
commands and remove the cli_iterator struct.  This gets tab completion working
again.

(closes issue #10970)
Reported by: jamesgolovich
Patches:
      asterisk-clicomplete.diff.txt uploaded by jamesgolovich (license 176)

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

13 years agoBlocked revisions 85548 via svnmerge
Russell Bryant [Mon, 15 Oct 2007 13:17:02 +0000 (13:17 +0000)]
Blocked revisions 85548 via svnmerge

........
r85548 | russell | 2007-10-15 08:16:23 -0500 (Mon, 15 Oct 2007) | 7 lines

Suppress a LOG_DEBUG message if debug is not enabled.

(closes issue #10980)
Reported by: casper
Patches:
      db.c.84633.diff uploaded by casper (license 55)

........

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

13 years agoAnother major doc directory update from IgorG. This patch includes
Russell Bryant [Mon, 15 Oct 2007 13:12:51 +0000 (13:12 +0000)]
Another major doc directory update from IgorG.  This patch includes
 - Many uses of the astlisting environment around verbatim text to ensure that
   it gets properly formatted and doesn't run off the page.
 - Update some things that have been deprecated.
 - Add escaping as needed
 - and more ...

(closes issue #10978)
Reported by: IgorG
Patches:
      texdoc-85542-1.patch uploaded by IgorG (license 20)

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

13 years agoMerged revisions 85545 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 13:07:48 +0000 (13:07 +0000)]
Merged revisions 85545 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85545 | russell | 2007-10-15 08:05:45 -0500 (Mon, 15 Oct 2007) | 7 lines

Make sure remote consoles unmute themselves again after reconnecting.

(closes issue #10847)
Reported by: atis
Patches:
      console_unmute_on_reconnect.patch uploaded by atis (license 242)

........

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

13 years agoMerged revisions 85543 via svnmerge from
Russell Bryant [Mon, 15 Oct 2007 12:49:31 +0000 (12:49 +0000)]
Merged revisions 85543 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85543 | russell | 2007-10-15 07:48:10 -0500 (Mon, 15 Oct 2007) | 8 lines

Make sure that the base64 decoder returns a terminated string.

(closes issue #10979)
Reported by: ys
Patches:
      util.c.diff uploaded by ys (license 281)
    - small mods by me

........

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

13 years agoChange the configure script to check for a function that was recently added to libss7.
Russell Bryant [Sun, 14 Oct 2007 15:47:01 +0000 (15:47 +0000)]
Change the configure script to check for a function that was recently added to libss7.

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

13 years agoMerged revisions 85540 via svnmerge from
Russell Bryant [Sun, 14 Oct 2007 15:34:54 +0000 (15:34 +0000)]
Merged revisions 85540 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85540 | russell | 2007-10-14 10:24:52 -0500 (Sun, 14 Oct 2007) | 7 lines

Don't create the context for users in users.conf until we know at least one user exists.

(closes issue #10971)
Reported by: dimas
Patches:
      pbxconfig.patch uploaded by dimas (license 88)

........

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

13 years agoWhen merging the last documentation update, I forgot to "svn add" a file.
Russell Bryant [Sun, 14 Oct 2007 15:15:40 +0000 (15:15 +0000)]
When merging the last documentation update, I forgot to "svn add" a file.
Here it is.
(closes issue #10962)

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

13 years agoBlocked revisions 85536 via svnmerge
Tilghman Lesher [Sat, 13 Oct 2007 15:34:39 +0000 (15:34 +0000)]
Blocked revisions 85536 via svnmerge

........
r85536 | tilghman | 2007-10-13 10:26:01 -0500 (Sat, 13 Oct 2007) | 4 lines

Remove deprecated syntax from sample ael file
Reported and patched by: dimas
Closes issue #10967

........

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

13 years agoFix compiling cli.c due to differences with new cli system (closes issue
James Golovich [Sat, 13 Oct 2007 08:38:50 +0000 (08:38 +0000)]
Fix compiling cli.c due to differences with new cli system (closes issue
0010966)

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

13 years agoMerged revisions 85533 via svnmerge from
Russell Bryant [Sat, 13 Oct 2007 05:53:19 +0000 (05:53 +0000)]
Merged revisions 85533 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85533 | russell | 2007-10-13 01:48:10 -0400 (Sat, 13 Oct 2007) | 12 lines

Fix an issue with console verbosity when running asterisk -rx to execute a command
and retrieve its output.  The issue was that there was no way for the main Asterisk
process to know that the remote console was connecting in the -rx mode.  The way that
James has fixed this is to have all remote consoles muted by default.  Then, regular
remote consoles automatically execute a CLI command to unmute themselves when they
first start up.

(closes issue #10847)
Reported by: atis
Patches:
      asterisk-consolemute.diff.txt uploaded by jamesgolovich (license 176)

........

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

13 years agoAllow for the position announcement to be turned off if desired.
Mark Michelson [Fri, 12 Oct 2007 20:06:37 +0000 (20:06 +0000)]
Allow for the position announcement to be turned off if desired.

(closes issue #8515, reported by bruno_rocha, initial patch by bruno_rocha, final patch by qwell)

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

13 years agoTrying to finish the last of the charge_number patch up #10916
Matthew Fredrickson [Fri, 12 Oct 2007 19:41:39 +0000 (19:41 +0000)]
Trying to finish the last of the charge_number patch up #10916

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

13 years agoAdd support for receive charge number in dialplan #10916
Matthew Fredrickson [Fri, 12 Oct 2007 18:37:35 +0000 (18:37 +0000)]
Add support for receive charge number in dialplan #10916

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

13 years agoMerged revisions 85523 via svnmerge from
Tilghman Lesher [Fri, 12 Oct 2007 18:37:34 +0000 (18:37 +0000)]
Merged revisions 85523 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85523 | tilghman | 2007-10-12 13:30:55 -0500 (Fri, 12 Oct 2007) | 2 lines

Change Digium address

........

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

13 years agoEnable ranges, hexadecimal, octal, and special backslashed characters for the FILTER...
Tilghman Lesher [Fri, 12 Oct 2007 17:32:38 +0000 (17:32 +0000)]
Enable ranges, hexadecimal, octal, and special backslashed characters for the FILTER function

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

13 years agoMany doc directory improvements, including:
Russell Bryant [Fri, 12 Oct 2007 15:50:29 +0000 (15:50 +0000)]
Many doc directory improvements, including:

- Added development section (backtrace.tex)
- Correct filesystem path formating
- Replace all "|" argument separator to ","
- Endless count of spaces at the end of line
- Using astlisting to make listings do not take so much place
- Take back ASTRISKVERSION on first page
- Make localchannel.tex readable by inserting extra end of lines

(closes issue #10962)
Reported by: IgorG
Patches:
      texdoc-85177-1.patch uploaded by IgorG (license 20)

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

13 years agoMerged revisions 85517 via svnmerge from
Russell Bryant [Fri, 12 Oct 2007 15:45:41 +0000 (15:45 +0000)]
Merged revisions 85517 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85517 | russell | 2007-10-12 10:45:09 -0500 (Fri, 12 Oct 2007) | 3 lines

Fix a spelling error in a log message.  SMDI, not SDMI.
(closes issue #10959)

........

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

13 years agoMerged revisions 85515 via svnmerge from
Russell Bryant [Fri, 12 Oct 2007 15:41:27 +0000 (15:41 +0000)]
Merged revisions 85515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85515 | russell | 2007-10-12 10:40:35 -0500 (Fri, 12 Oct 2007) | 7 lines

Fix the potential use of an uninitialized buffer in a log message.

(closes issue #10958)
Reported by: dimas
Patches:
      realtime.patch uploaded by dimas (license 88)

........

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

13 years agoMake sure we propogate ANI2 to the outbound channel
Matthew Fredrickson [Thu, 11 Oct 2007 22:42:44 +0000 (22:42 +0000)]
Make sure we propogate ANI2 to the outbound channel

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

13 years agoSee if I can fix this borked ANI2 code I added
Matthew Fredrickson [Thu, 11 Oct 2007 22:33:57 +0000 (22:33 +0000)]
See if I can fix this borked ANI2 code I added

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

13 years agoMake sure we set the ANI2 field for PRI
Matthew Fredrickson [Thu, 11 Oct 2007 22:27:32 +0000 (22:27 +0000)]
Make sure we set the ANI2 field for PRI

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

13 years agoAdd ANI2 support to func_callerid
Matthew Fredrickson [Thu, 11 Oct 2007 22:20:02 +0000 (22:20 +0000)]
Add ANI2 support to func_callerid

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

13 years agoAdd SS7 ANI2 support tx and rx. #10916
Matthew Fredrickson [Thu, 11 Oct 2007 21:57:26 +0000 (21:57 +0000)]
Add SS7 ANI2 support tx and rx. #10916

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

13 years agoAdd CCR test support #10916
Matthew Fredrickson [Thu, 11 Oct 2007 20:49:04 +0000 (20:49 +0000)]
Add CCR test support #10916

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

13 years agoMerge a ton of NEW_CLI conversions. Thanks to everyone that helped out! :)
Russell Bryant [Thu, 11 Oct 2007 19:03:06 +0000 (19:03 +0000)]
Merge a ton of NEW_CLI conversions.  Thanks to everyone that helped out!  :)

(closes issue #10724)
Reported by: eliel
Patches:
      chan_skinny.c.patch uploaded by eliel (license 64)
      chan_oss.c.patch uploaded by eliel (license 64)
      chan_mgcp.c.patch2 uploaded by eliel (license 64)
      pbx_config.c.patch uploaded by seanbright (license 71)
      iax2-provision.c.patch uploaded by eliel (license 64)
      chan_gtalk.c.patch uploaded by eliel (license 64)
      pbx_ael.c.patch uploaded by seanbright (license 71)
      file.c.patch uploaded by seanbright (license 71)
      image.c.patch uploaded by seanbright (license 71)
      cli.c.patch uploaded by moy (license 222)
      astobj2.c.patch uploaded by moy (license 222)
      asterisk.c.patch uploaded by moy (license 222)
      res_limit.c.patch uploaded by seanbright (license 71)
      res_convert.c.patch uploaded by seanbright (license 71)
      res_crypto.c.patch uploaded by seanbright (license 71)
      app_osplookup.c.patch uploaded by seanbright (license 71)
      app_rpt.c.patch uploaded by seanbright (license 71)
      app_mixmonitor.c.patch uploaded by seanbright (license 71)
      channel.c.patch uploaded by seanbright (license 71)
      translate.c.patch uploaded by seanbright (license 71)
      udptl.c.patch uploaded by seanbright (license 71)
      threadstorage.c.patch uploaded by seanbright (license 71)
      db.c.patch uploaded by seanbright (license 71)
      cdr.c.patch uploaded by moy (license 222)
      pbd_dundi.c.patch uploaded by moy (license 222)
      app_osplookup-rev83558.patch uploaded by moy (license 222)
      res_clioriginate.c.patch uploaded by moy (license 222)

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

13 years agoLet's hard code this until I fix it
Matthew Fredrickson [Thu, 11 Oct 2007 17:17:58 +0000 (17:17 +0000)]
Let's hard code this until I fix it

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

13 years agoMake sure we are clean to build without libpri
Matthew Fredrickson [Thu, 11 Oct 2007 17:09:31 +0000 (17:09 +0000)]
Make sure we are clean to build without libpri

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

13 years agoBlocked revisions 85397 via svnmerge
Joshua Colp [Thu, 11 Oct 2007 15:29:14 +0000 (15:29 +0000)]
Blocked revisions 85397 via svnmerge

........
r85397 | file | 2007-10-11 12:26:20 -0300 (Thu, 11 Oct 2007) | 6 lines

When creating a new packet don't try to stop retransmission of it. It was just allocated/created so it's impossible for it to have already been scheduled.
(closes issue #10945)
Reported by: flefoll
Patches:
      chan_sip.c.br14.85280.xmit_reliable-patch uploaded by flefoll (license 244)

........

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

13 years agoMerged revisions 85356 via svnmerge from
Tilghman Lesher [Thu, 11 Oct 2007 04:40:56 +0000 (04:40 +0000)]
Merged revisions 85356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85356 | tilghman | 2007-10-10 23:35:33 -0500 (Wed, 10 Oct 2007) | 2 lines

A dollar sign by itself, not indicating a start of a variable or expression prematurely ends substitution (closes issue #10939)

........

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

13 years agoMerged revisions 85316 via svnmerge from
Russell Bryant [Wed, 10 Oct 2007 16:01:31 +0000 (16:01 +0000)]
Merged revisions 85316 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85316 | russell | 2007-10-10 10:56:23 -0500 (Wed, 10 Oct 2007) | 6 lines

I introduced a new member to the ast_filestream struct in 1.4.12, but put it
in the middle of the struct, instead of at the end.  One of the Debian folks,
paravoid, pointed out that this breaks binary compatability with modules
compiled against older headers.  So, I'm moving the new member to the end
of the struct to resolve the situation.

........

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

13 years agoMerged revisions 85280 via svnmerge from
Joshua Colp [Wed, 10 Oct 2007 14:43:37 +0000 (14:43 +0000)]
Merged revisions 85280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85280 | file | 2007-10-10 11:42:00 -0300 (Wed, 10 Oct 2007) | 4 lines

If devicestate is passed a port number strip it out.
(closes issue #10930)
Reported by: ibc

........

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

13 years agoMerged revisions 85276 via svnmerge from
Mark Michelson [Wed, 10 Oct 2007 14:38:15 +0000 (14:38 +0000)]
Merged revisions 85276 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85276 | mmichelson | 2007-10-10 09:26:31 -0500 (Wed, 10 Oct 2007) | 5 lines

A bunch of changes from sprintf to snprintf.

See security advisory AST-2002-022

........

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

13 years agoMerged revisions 85277 via svnmerge from
Joshua Colp [Wed, 10 Oct 2007 14:30:05 +0000 (14:30 +0000)]
Merged revisions 85277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85277 | file | 2007-10-10 11:28:18 -0300 (Wed, 10 Oct 2007) | 6 lines

Add support for handling a 182 Queued response.
(closes issue #10924)
Reported by: ramonpeek
Patches:
      queued-182.diff uploaded by ramonpeek (license 266)

........

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

13 years agoMerged revisions 85242 via svnmerge from
Joshua Colp [Wed, 10 Oct 2007 14:17:08 +0000 (14:17 +0000)]
Merged revisions 85242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85242 | file | 2007-10-10 11:14:56 -0300 (Wed, 10 Oct 2007) | 6 lines

Close voicemail message description file if duration did not meet the minimum, or else we will eventually run out of file descriptors.
(closes issue #10918)
Reported by: brak2718
Patches:
      vm1.4.12.1.patch uploaded by brak2718 (license 279)

........

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

13 years agoProcess outstanding log messages before shutting down the logger thread.
Joshua Colp [Wed, 10 Oct 2007 13:46:57 +0000 (13:46 +0000)]
Process outstanding log messages before shutting down the logger thread.
(closes issue #10933)
Reported by: sperreault

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

13 years agoAdapt the autotools names to different versions of FreeBSD
Luigi Rizzo [Wed, 10 Oct 2007 06:48:50 +0000 (06:48 +0000)]
Adapt the autotools names to different versions of FreeBSD
(and open the way to better adaptation for other platforms as well).

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

13 years agoMerged revisions 85195 via svnmerge from
Kevin P. Fleming [Wed, 10 Oct 2007 06:41:51 +0000 (06:41 +0000)]
Merged revisions 85195 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85195 | kpfleming | 2007-10-10 08:24:41 +0200 (Wed, 10 Oct 2007) | 2 lines

use a macro instead of an inline function, so that backtraces will report the caller of ast_frame_free() properly

........

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

13 years agoPatch to add one-touch parking for queues.
Mark Michelson [Tue, 9 Oct 2007 22:35:11 +0000 (22:35 +0000)]
Patch to add one-touch parking for queues.

(closes issue #10869, reported and patched by bluecrow76)

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

13 years agoMerged revisions 85158 via svnmerge from
Tilghman Lesher [Tue, 9 Oct 2007 22:21:49 +0000 (22:21 +0000)]
Merged revisions 85158 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85158 | tilghman | 2007-10-09 16:55:06 -0500 (Tue, 09 Oct 2007) | 5 lines

This commit fixes the following issues:
- Deadlock in ast_write (issue #10406)
- Deadlock in ast_read (issue #10406)
- Possible mutex initialization error in lock.h (issue #10571)

........

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

13 years agoRemove redundant includes (patch by snuffy) (Closes issue #10922)
Tilghman Lesher [Tue, 9 Oct 2007 16:04:41 +0000 (16:04 +0000)]
Remove redundant includes (patch by snuffy) (Closes issue #10922)

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

13 years agoNote jitterbuffer support for chan_local in CHANGES
Russell Bryant [Tue, 9 Oct 2007 15:12:59 +0000 (15:12 +0000)]
Note jitterbuffer support for chan_local in CHANGES

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

13 years agoAdd jitterbuffer support for chan_local. To enable it, you use the 'j' option
Russell Bryant [Tue, 9 Oct 2007 15:10:14 +0000 (15:10 +0000)]
Add jitterbuffer support for chan_local.  To enable it, you use the 'j' option
in the Dial command.  The 'j' option _must_ be used in conjunction with the 'n'
option.

This feature will allow you to use the existing jitterbuffer implementation to
put a jitterbuffer on incoming SIP calls connecting to Asterisk applications by
putting a local channel in the middle.

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

13 years agoMerged revisions 85093 via svnmerge from
Joshua Colp [Tue, 9 Oct 2007 14:31:27 +0000 (14:31 +0000)]
Merged revisions 85093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85093 | file | 2007-10-09 11:30:16 -0300 (Tue, 09 Oct 2007) | 4 lines

Don't perform a reinvite if a transfer is in progress.
(issue #10915)
Reported by: ramonpeek

........

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

13 years agoMerged revisions 85057 via svnmerge from
Joshua Colp [Mon, 8 Oct 2007 20:09:02 +0000 (20:09 +0000)]
Merged revisions 85057 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85057 | file | 2007-10-08 17:06:33 -0300 (Mon, 08 Oct 2007) | 4 lines

Only update codec information if the channel has a technology private structure.
(issue #10915)
Reported by: ramonpeek

........

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

13 years agoFix up tree so that it compiles when MTX Profiling is enabled.
Joshua Colp [Mon, 8 Oct 2007 16:12:21 +0000 (16:12 +0000)]
Fix up tree so that it compiles when MTX Profiling is enabled.
(closes issue #10898)
Reported by: snuffy
Patches:
      10898-mtx_prof.diff uploaded by qwell (license 4)

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

13 years agoMerged revisions 85023 via svnmerge from
Joshua Colp [Mon, 8 Oct 2007 15:39:23 +0000 (15:39 +0000)]
Merged revisions 85023 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r85023 | file | 2007-10-08 12:37:46 -0300 (Mon, 08 Oct 2007) | 4 lines

Update codec information as well as address when doing hold reinvites.
(issue #10868)
Reported by: mavince

........

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

13 years agoMerged revisions 84990 via svnmerge from
Joshua Colp [Mon, 8 Oct 2007 15:05:05 +0000 (15:05 +0000)]
Merged revisions 84990 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84990 | file | 2007-10-08 12:03:07 -0300 (Mon, 08 Oct 2007) | 4 lines

Don't keep trying to native bridge if either of the channels are involved in a masquerade operation to be done.
(closes issue #10696)
Reported by: tbelder

........

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

13 years agoMerged revisions 84957 via svnmerge from
Russell Bryant [Mon, 8 Oct 2007 03:29:38 +0000 (03:29 +0000)]
Merged revisions 84957 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84957 | russell | 2007-10-07 22:28:34 -0500 (Sun, 07 Oct 2007) | 6 lines

Enable file dependency tracking for _all_ builds, and not just for builds with
dev-mode enabled.  I have seen enough problems caused by this that I don't think
it's worth keeping.  I want to continue to encourage anybody that is interested
to continue to run Asterisk from svn.  Furthermore, I do not want their systems
to break when we change a structure definition in a header file.  :)

........

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

13 years agoMake the status and priority configurable.
Philippe Sultan [Sun, 7 Oct 2007 16:28:25 +0000 (16:28 +0000)]
Make the status and priority configurable.

Closes issue #10785, patch by Luke-Jr, thanks!

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

13 years agoMerged revisions 84902 via svnmerge from
Philippe Sultan [Sun, 7 Oct 2007 16:18:49 +0000 (16:18 +0000)]
Merged revisions 84902 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84902 | phsultan | 2007-10-07 18:15:39 +0200 (Sun, 07 Oct 2007) | 5 lines

Presence packets from a client who's connected with our Jabber ID are
valid, therefore, those clients must be considered as buddies. The resource
string helps us make the distinction between clients.

Closes issue #10707, reported by yusufmotiwala.
........

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

13 years agoFix indentation
Philippe Sultan [Sun, 7 Oct 2007 15:56:22 +0000 (15:56 +0000)]
Fix indentation

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

13 years agoMerged revisions 84890 via svnmerge from
Philippe Sultan [Sun, 7 Oct 2007 15:54:48 +0000 (15:54 +0000)]
Merged revisions 84890 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84890 | phsultan | 2007-10-07 17:52:44 +0200 (Sun, 07 Oct 2007) | 5 lines

Prevent Asterisk from crashing when receiving a presence packet
without resource from a buddy that is known to have a resource list.

Revert a change I previously made, where Asterisk could point to a
freed memory location.
........

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

13 years agoMerged revisions 84851 via svnmerge from
Tilghman Lesher [Fri, 5 Oct 2007 19:48:10 +0000 (19:48 +0000)]
Merged revisions 84851 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84851 | tilghman | 2007-10-05 14:42:21 -0500 (Fri, 05 Oct 2007) | 2 lines

Log exactly why we can't open the database, if we fail (closes issue #10887)

........

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

13 years agoMerged revisions 84818 via svnmerge from
Joshua Colp [Fri, 5 Oct 2007 18:57:26 +0000 (18:57 +0000)]
Merged revisions 84818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84818 | file | 2007-10-05 15:55:36 -0300 (Fri, 05 Oct 2007) | 4 lines

Update the remembered RTP peer information when putting an endpoint on hold or taking it off hold so that the RTP stack does not initiate a needless reinvite.
(closes issue #10868)
Reported by: mavince

........

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

13 years agoMerged revisions 84783 via svnmerge from
Russell Bryant [Fri, 5 Oct 2007 16:49:16 +0000 (16:49 +0000)]
Merged revisions 84783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84783 | russell | 2007-10-05 11:44:21 -0500 (Fri, 05 Oct 2007) | 4 lines

Do deadlock avoidance in a couple more places.  You can't lock two channels
at the same time without doing extra work to make sure it succeeds.
(closes issue #10895, patch by me)

........

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

13 years agoMerged revisions 84742 via svnmerge from
Russell Bryant [Fri, 5 Oct 2007 01:40:20 +0000 (01:40 +0000)]
Merged revisions 84742 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84742 | russell | 2007-10-04 20:39:07 -0500 (Thu, 04 Oct 2007) | 3 lines

Fix a copy/paste error in the description of UpdateConfig that was pointed
out by JerJer on #asterisk-dev

........

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

13 years agoA two-in-one patch from the bugtracker
Mark Michelson [Thu, 4 Oct 2007 22:58:26 +0000 (22:58 +0000)]
A two-in-one patch from the bugtracker

1) Fix some bad logic in the counting of statistics for QueueSummary manager event. Variables were not being
   reset for each additional queue, so cumulative totals were reported on each successive queue.

2) Add a longest hold time stat to QueueSummary manager event.

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

13 years agoMerged revisions 84692 via svnmerge from
Mark Michelson [Thu, 4 Oct 2007 22:00:10 +0000 (22:00 +0000)]
Merged revisions 84692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84692 | mmichelson | 2007-10-04 16:57:03 -0500 (Thu, 04 Oct 2007) | 5 lines

Don't allocate space for queue members unless it's needed. You end up deleting dynamic members on a reload. Not good.

closes issue (#10879, reported by dazza76, patched by me)

........

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

13 years agoMerged revisions 84690 via svnmerge from
Kevin P. Fleming [Thu, 4 Oct 2007 21:38:22 +0000 (21:38 +0000)]
Merged revisions 84690 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84690 | kpfleming | 2007-10-04 16:36:56 -0500 (Thu, 04 Oct 2007) | 2 lines

callers of sig2str already add the word 'signalling' in the appropriate place, so don't duplicate it

........

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

13 years agoUpdate to current coding standards, also changing the argument delimiter to ',' ...
Tilghman Lesher [Thu, 4 Oct 2007 16:56:00 +0000 (16:56 +0000)]
Update to current coding standards, also changing the argument delimiter to ',' (Closes issue #10876)

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

13 years agoMerged revisions 84637 via svnmerge from
Joshua Colp [Thu, 4 Oct 2007 14:54:30 +0000 (14:54 +0000)]
Merged revisions 84637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84637 | file | 2007-10-04 11:51:57 -0300 (Thu, 04 Oct 2007) | 4 lines

Create a duplicate of the channel's member name as the tab completion stuff will free it.
(closes issue #10884)
Reported by: adamg

........

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

13 years agoDon't register the exception function with module information. Since it is in the...
Joshua Colp [Thu, 4 Oct 2007 02:01:43 +0000 (02:01 +0000)]
Don't register the exception function with module information. Since it is in the core there is none and it will explode.

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

13 years agoMerged revisions 84581 via svnmerge from
Tilghman Lesher [Wed, 3 Oct 2007 23:05:47 +0000 (23:05 +0000)]
Merged revisions 84581 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84581 | tilghman | 2007-10-03 17:59:17 -0500 (Wed, 03 Oct 2007) | 2 lines

When an RFC 2833 event is sent that we don't recognize, ignore it, don't queue a NULL digit (closes issue #10877)

........

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

13 years agoCreate a universal exception handling extension, "e" (closes issue #9785)
Tilghman Lesher [Wed, 3 Oct 2007 22:14:09 +0000 (22:14 +0000)]
Create a universal exception handling extension, "e" (closes issue #9785)

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

13 years agoblocked 84544 from trunk; it only applies to 1.4; 10870 -- the CUT in AEL
Steve Murphy [Wed, 3 Oct 2007 18:23:30 +0000 (18:23 +0000)]
blocked 84544 from trunk; it only applies to 1.4; 10870 -- the CUT in AEL

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

13 years agoMerged revisions 84511 via svnmerge from
Steve Murphy [Wed, 3 Oct 2007 14:39:05 +0000 (14:39 +0000)]
Merged revisions 84511 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r84511 | murf | 2007-10-03 08:23:00 -0600 (Wed, 03 Oct 2007) | 1 line

closes issue #10834 ; where a null input to a switch statement results in a hangup; since switch is implemented with extensions, and the default case is implemented with a '.', and the '.' matches 1 or more remaining characters, the case where 0 characters exist isn't matched, and the extension isn't matched, and the goto fails, and a hangup occurs. Now, when a default case is generated, it also generates a single fixed extension that will match a null input. That extension just does a goto to the default extension for that switch. I played with an alternate solution, where I just tack an extra char onto all the patterns and the goto, but not the default case's pattern. Then even a null input will still have at least one char in it. But it made me nervous, having that extra char in , even if that's a pretty secret and low-level issue.
........

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