Commit Graph

16443 Commits

Author SHA1 Message Date
Jeff Peeler
2917e91db4 Merged revisions 146875 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146875 | jpeeler | 2008-10-06 17:03:01 -0500 (Mon, 06 Oct 2008) | 5 lines

Explicitly set args in park_call_exec NULL so in the case of no options being passed in, there
 is no garbage attempted to be used. Also, do not set args to unknown value again if there are
 no options passed in.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146876 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 22:04:23 +00:00
Michiel van Baak
a22f5b3bf0 Merged revisions 146807 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r146807 | mvanbaak | 2008-10-06 23:18:13 +0200 (Mon, 06 Oct 2008) | 2 lines
  
  make aescrypt.c compile on OpenBSD again
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 21:53:31 +00:00
Tilghman Lesher
deb3c05634 Merged revisions 146802 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r146802 | tilghman | 2008-10-06 16:09:05 -0500 (Mon, 06 Oct 2008) | 15 lines
  
  Merged revisions 146799 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146799 | tilghman | 2008-10-06 15:52:04 -0500 (Mon, 06 Oct 2008) | 8 lines
    
    Dialplan functions should not actually return 0, unless they have modified the
    workspace.  To signal an error (and no change to the workspace), -1 should be
    returned instead.
    (closes issue #13340)
     Reported by: kryptolus
     Patches: 
           20080827__bug13340__2.diff.txt uploaded by Corydon76 (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146838 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 21:32:42 +00:00
Sean Bright
4da4c9cbcd Blocked revisions 146738 via svnmerge
........
r146738 | seanbright | 2008-10-06 13:32:02 -0400 (Mon, 06 Oct 2008) | 1 line

Pretty-print a couple configure options
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146745 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 17:33:22 +00:00
Tilghman Lesher
0fd7610e67 Merged revisions 146713 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r146713 | tilghman | 2008-10-06 11:52:14 -0500 (Mon, 06 Oct 2008) | 16 lines
  
  Merged revisions 146711 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146711 | tilghman | 2008-10-06 11:51:21 -0500 (Mon, 06 Oct 2008) | 9 lines
    
    Check whether an extension exists in the _call method, rather than the _alloc
    method, because we need to evaluate the callerid (since that data affects
    whether an extension exists).
    (closes issue #13343)
     Reported by: efutch
     Patches: 
           20080915__bug13343.diff.txt uploaded by Corydon76 (license 14)
     Tested by: efutch
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 16:54:45 +00:00
Kevin P. Fleming
f100e6c659 Merged revisions 146644 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r146644 | kpfleming | 2008-10-06 11:03:37 -0500 (Mon, 06 Oct 2008) | 15 lines
  
  Merged revisions 146643 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146643 | kpfleming | 2008-10-06 10:57:49 -0500 (Mon, 06 Oct 2008) | 8 lines
    
    ensure that the private structure for pseudo channels is created without 'leaking' configuration data from other configured channels
    
    (closes issue #13555)
    Reported by: jeffg
    Patches:
          issue_13555.patch uploaded by kpfleming (license 421)
    Tested by: jeffg
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 16:39:25 +00:00
Mark Michelson
6f39424e5f Blocked revisions 146640 via svnmerge
........
r146640 | mmichelson | 2008-10-06 10:29:56 -0500 (Mon, 06 Oct 2008) | 15 lines

This commit introduces a change to how the "joinempty"
and "leavewhenempty" options are configured in queues.conf.

Instead of using vague terms like "yes," "no," "loose," and
"strict," we now accept a comma-separated list of values
to determine when to consider a member available.

Extended details can be found in the queues.conf.sample
file. Note also that the above four referenced values are
still accepted for backwards-compatibility, but are mapped
internally to the new method of representing the option.

AST-105


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 15:40:27 +00:00
Sean Bright
01d775c345 Blocked revisions 146597 via svnmerge
........
r146597 | seanbright | 2008-10-05 20:36:37 -0400 (Sun, 05 Oct 2008) | 2 lines

Make NOISY_BUILD work for the calls to cp in utils/Makefile

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146599 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 00:37:44 +00:00
Sean Bright
bbeaa1089c Merged revisions 146555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146555 | seanbright | 2008-10-05 20:21:49 -0400 (Sun, 05 Oct 2008) | 1 line

Quote arguments to cp so we can handle spaces in our paths.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-06 00:23:55 +00:00
Jason Parker
7eb106201a Merged revisions 146449 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r146449 | qwell | 2008-10-05 16:21:03 -0500 (Sun, 05 Oct 2008) | 9 lines
  
  Recorded merge of revisions 146448 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r146448 | qwell | 2008-10-05 16:17:44 -0500 (Sun, 05 Oct 2008) | 1 line
    
    Fix silly formatting.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-05 21:24:20 +00:00
Sean Bright
0b48542e62 Blocked revisions 146359 via svnmerge
........
r146359 | seanbright | 2008-10-04 12:20:31 -0400 (Sat, 04 Oct 2008) | 10 lines

Fix a bug with the last item in CLI history getting duplicated when
read from the .asterisk_history file (and subsequently being duplicated
when written).  We weren't checking the result of fgets() which meant
that we read the same line twice before feof() actually returned non-
zero.

Also, stop writing out an extra blank line between each item in the
history file, fix a minor off-by-one error, and use symbolic constants
rather than a hardcoded integer.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-04 16:21:51 +00:00
Sean Bright
97331b1830 Merged revisions 146312 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146312 | seanbright | 2008-10-03 21:54:44 -0400 (Fri, 03 Oct 2008) | 8 lines

Add ability to remotely reboot snom phones.  Also cleaned up and
reorganized sip_notify.conf.sample a bit as well.  Tested snom
reboot on snom 360 and verified snom-check-cfg worked as well.

(closes issue #13601)
Reported by: mjc
Tested by: seanbright

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-04 01:57:45 +00:00
Sean Bright
af972feac8 Blocked revisions 146245 via svnmerge
................
r146245 | seanbright | 2008-10-03 18:54:57 -0400 (Fri, 03 Oct 2008) | 13 lines

Blocked revisions 146244 via svnmerge

........
r146244 | seanbright | 2008-10-03 18:51:22 -0400 (Fri, 03 Oct 2008) | 6 lines

Change some preprocessor macros to struct definitions so that we get
app_rpt to build with DAHDI.

(closes issue #13576)
Reported by: blitzrage

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-03 22:56:28 +00:00
Jeff Peeler
2e5cc80ba4 Merged revisions 146242 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146242 | jpeeler | 2008-10-03 17:40:59 -0500 (Fri, 03 Oct 2008) | 1 line

remove superfluous reference counting operations in manage_parkinglot since ao2_interator_next increments the ref count automatically
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-03 22:42:10 +00:00
Sean Bright
c48c50a814 Merged revisions 146198 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r146198 | seanbright | 2008-10-03 18:10:18 -0400 (Fri, 03 Oct 2008) | 7 lines

Resolve a subtle bug where we would never successfully be able to get
the first item in the CLI entry list.  This was preventing '!' from
showing up in either 'help' or in tab completion.

(closes issue #13578)
Reported by: mvanbaak

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-03 22:13:01 +00:00
Tilghman Lesher
993ab21ce3 Blocked revisions 146081 via svnmerge
........
  r146081 | tilghman | 2008-10-03 13:30:39 -0500 (Fri, 03 Oct 2008) | 2 lines
  
  document meetme schedule changes (related to issue #11040)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@146090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-03 18:32:13 +00:00
Russell Bryant
f51e584f73 Merged revisions 145962 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145962 | russell | 2008-10-02 14:30:45 -0500 (Thu, 02 Oct 2008) | 2 lines

The 'P' command for ExternalIVR was also added in 1.6.0

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-02 19:31:16 +00:00
Russell Bryant
b8d59df972 Merged revisions 145959 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145959 | russell | 2008-10-02 14:27:37 -0500 (Thu, 02 Oct 2008) | 2 lines

TCP support for ExternalIVR went in to 1.6.1, not 1.6.0

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-02 19:28:07 +00:00
Michiel van Baak
dd34f57c7c Blocked revisions 145915 via svnmerge
........
r145915 | mvanbaak | 2008-10-02 20:02:26 +0200 (Thu, 02 Oct 2008) | 6 lines

fix the 'meetme list', 'meetme list concise', 'meetme list $confno' and 'meetme list $confno concise' CLI commands

(closes issue #13586)
Reported by: john8675309
Help and feedback from eliel, thanks!

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-02 18:04:13 +00:00
Tilghman Lesher
c6473938f4 Blocked revisions 145846 via svnmerge
........
  r145846 | tilghman | 2008-10-02 12:16:54 -0500 (Thu, 02 Oct 2008) | 2 lines
  
  Permit the syntax and synopsis fields to be set (for func_odbc).
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-02 17:18:01 +00:00
Michiel van Baak
bddab282c4 Blocked revisions 145842 via svnmerge
........
r145842 | mvanbaak | 2008-10-02 18:42:30 +0200 (Thu, 02 Oct 2008) | 2 lines

make this compile under devmode again

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-02 16:46:20 +00:00
Sean Bright
a67ba50f17 Merged revisions 145771 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145771 | seanbright | 2008-10-02 11:28:48 -0400 (Thu, 02 Oct 2008) | 1 line

This is much cleaner, methinks.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-02 15:30:52 +00:00
Tilghman Lesher
aa13afaee2 Merged revisions 145752 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r145752 | tilghman | 2008-10-02 10:17:16 -0500 (Thu, 02 Oct 2008) | 10 lines
  
  Merged revisions 145751 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r145751 | tilghman | 2008-10-02 10:13:21 -0500 (Thu, 02 Oct 2008) | 3 lines
    
    Some sanity checks that may have led to prior crashes, found by codefreeze-lap
    (murf) on IRC.  Also some cleanup of incorrectly-used constants.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-02 15:19:58 +00:00
Sean Bright
65fca2aa54 Merged revisions 145692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145692 | seanbright | 2008-10-01 19:48:16 -0400 (Wed, 01 Oct 2008) | 7 lines

Try a test compile using the GMime library.  Some distros install gmime-config
in the base package instead of the -devel package.  Now we print a notice and
disable GMime support instead of bombing during the main compilation.

(closes issue #13583)
Reported by: arkadia

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145694 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 23:54:44 +00:00
Tilghman Lesher
fe23c611b6 Blocked revisions 145649 via svnmerge
........
  r145649 | tilghman | 2008-10-01 18:02:25 -0500 (Wed, 01 Oct 2008) | 8 lines
  
  Add schedule extensions to app_meetme.  In addition, the reporter found a
  problem within strptime(3), which we are correcting here with ast_strptime().
  (closes issue #11040)
   Reported by: DEA
   Patches: 
         20080910__bug11040.diff.txt uploaded by Corydon76 (license 14)
   Tested by: DEA
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145651 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 23:03:41 +00:00
Mark Michelson
10258dd023 Merged revisions 145606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145606 | mmichelson | 2008-10-01 17:23:50 -0500 (Wed, 01 Oct 2008) | 11 lines

Okay, this should really do it now. While I did manage
to fix blind transfers with my last commit here, I also
caused an unwanted side-effect. That is, only the first
priority of the 'h' extension would be executed when
a blind transfer occurred instead of all priorities.

Essentially, my last commit corrected the return value
of ast_bridge_call. However, the implementation still
was not 100% correct. Now it is.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 22:24:52 +00:00
Mark Michelson
52b6762417 Merged revisions 145579 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145579 | mmichelson | 2008-10-01 16:33:11 -0500 (Wed, 01 Oct 2008) | 4 lines

if (!(x) == 0) is the same as
if (x).


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145584 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 21:34:52 +00:00
Mark Michelson
a7da5b2e76 Merged revisions 145553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145553 | mmichelson | 2008-10-01 16:06:26 -0500 (Wed, 01 Oct 2008) | 13 lines

The logic surrounding the return value of ast_spawn_extension
within ast_bridge_call was reversed.

This problem was observed when a blind transfer placed from
the callee channel of a test call failed.

While the problem I am solving here is exactly the same
as what was reported in issue #13584, the difference is
that this fix I am applying is trunk-only. Issue #13584
was reported against the 1.4 branch, and my tests
of 1.4's blind transfers appear to work fine.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 21:20:20 +00:00
Leif Madsen
5de6edd67a Merged revisions 145487 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r145487 | lmadsen | 2008-10-01 13:26:20 -0400 (Wed, 01 Oct 2008) | 12 lines
  
  Merged revisions 145479 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r145479 | lmadsen | 2008-10-01 13:18:30 -0400 (Wed, 01 Oct 2008) | 6 lines
    
    Update the realtime_pgsql.sql script to create the setinterfacevar column.
    
    (closes issue #13549)
    Reported by: fiddur
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 17:33:50 +00:00
Tilghman Lesher
e2fe89b9f1 Merged revisions 145428 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r145428 | tilghman | 2008-10-01 10:44:06 -0500 (Wed, 01 Oct 2008) | 7 lines
  
  Initializing buffer prevents a segfault when arguments are incomplete.
  (closes issue #13471)
   Reported by: alecdavis
   Patches: 
         20080916__bug13471.diff.txt uploaded by Corydon76 (license 14)
   Tested by: alecdavis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 15:45:58 +00:00
Mark Michelson
a6d55b5fbe Blocked revisions 145381 via svnmerge
........
r145381 | mmichelson | 2008-10-01 09:44:12 -0500 (Wed, 01 Oct 2008) | 7 lines

Too many times have I mistyped the word
'install' as 'isntall'

Now this typo shall no longer be a problem since
'make isntall' just builds the 'install' target.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145383 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-01 14:47:07 +00:00
Jeff Peeler
8acb4b4994 Merged revisions 145249 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r145249 | jpeeler | 2008-09-30 17:21:19 -0500 (Tue, 30 Sep 2008) | 6 lines

(closes issue #13337)
Reported by: pj
Tested by: pj

Set transport to SIP_TRANSPORT_UDP mode if not specified which fixes calls to get_transport returning UNKNOWN.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-30 22:26:51 +00:00
Russell Bryant
bbc3fc2dfb Blocked revisions 145226 via svnmerge
........
r145226 | russell | 2008-09-30 16:32:53 -0500 (Tue, 30 Sep 2008) | 16 lines

Add support for call pickup on Snom phones.  Asterisk now includes a magic
call-id in the dialog-info event package used with extension state subscriptions
on Snom phones.  Then, when the phone sends an INVITE with Replaces for the
special callid, Asterisk will perform a pickup on the extension that was
subscribed to.

The original code on this issue was submitted by xylome.  However, contributions
have been made by (at least) mgernoth and pkempgen.  The final patch was written
by seanbright, and includes the necessary logic to allow this work in a
technology independent way.

(closes issue #5014)
Reported by: xylome
Patches:
      issue5014-trunk.diff uploaded by seanbright (license 71)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-30 21:33:52 +00:00
Tilghman Lesher
49768977c7 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145125 65c4cc65-6c06-0410-ace0-fbb531ad65f3 2008-09-29 00:21:45 +00:00
Kevin P. Fleming
ecf0d5189c Blocked revisions 145027 via svnmerge
........
  r145027 | kpfleming | 2008-09-28 10:08:12 -0700 (Sun, 28 Sep 2008) | 1 line
  
  rename chandup() and clarify its usage
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@145029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-28 17:13:16 +00:00
Kevin P. Fleming
bc5b69d250 Merged revisions 144949-144951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r144949 | kpfleming | 2008-09-27 10:52:56 -0500 (Sat, 27 Sep 2008) | 17 lines
  
  Merged revisions 144924-144925 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r144924 | kpfleming | 2008-09-27 10:00:48 -0500 (Sat, 27 Sep 2008) | 6 lines
    
    improve header inclusion process in a few small ways:
    
      - it is no longer necessary to forcibly include asterisk/autoconfig.h; every module already includes asterisk.h as its first header (even before system headers), which serves the same purpose
      - astmm.h is now included by asterisk.h when needed, instead of being forced by the Makefile; this means external modules will build properly against installed headers with MALLOC_DEBUG enabled
      - simplify the usage of some of these headers in the AEL-related stuff in the utils directory
  ........
    r144925 | kpfleming | 2008-09-27 10:13:30 -0500 (Sat, 27 Sep 2008) | 2 lines
    
    fix some minor issues with rev 144924
  ........
................
  r144950 | kpfleming | 2008-09-27 11:10:33 -0500 (Sat, 27 Sep 2008) | 2 lines
  
  fix bugs caused by r144949 when MALLOC_DEBUG is defined
................
  r144951 | kpfleming | 2008-09-27 11:17:43 -0500 (Sat, 27 Sep 2008) | 1 line
  
  remove incorrect comment
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-27 16:49:27 +00:00
Michiel van Baak
32330c68b7 Merged revisions 144879 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144879 | mvanbaak | 2008-09-27 02:49:24 +0200 (Sat, 27 Sep 2008) | 2 lines

fix a couple of CLI commands that did not have a help description.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-27 01:08:11 +00:00
Joshua Colp
9770d9fa1a Merged revisions 144829 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r144829 | file | 2008-09-26 20:12:13 -0300 (Fri, 26 Sep 2008) | 2 lines
  
  Update documentation to include default setting. This is for you jtodd!
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-26 23:16:42 +00:00
Mark Michelson
4d3ece70da Blocked revisions 144759 via svnmerge
................
r144759 | mmichelson | 2008-09-26 17:15:40 -0500 (Fri, 26 Sep 2008) | 14 lines

Blocked revisions 144758 via svnmerge

........
r144758 | mmichelson | 2008-09-26 17:14:59 -0500 (Fri, 26 Sep 2008) | 7 lines

This patch was applied to 1.4 but it completely
does not apply since the "found" pointer is not
passed in to this function. If this is going to
be backported, it needs to be done differently or
a deeper backport needs to be done.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144761 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-26 22:16:32 +00:00
Steve Murphy
790f2e156e Merged revisions 144681 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144681 | murf | 2008-09-26 12:02:06 -0600 (Fri, 26 Sep 2008) | 14 lines

(closes issue #13564)
Reported by: mnicholson
Patches:
      pbx_lua9.diff uploaded by mnicholson (license 96)

Many thanks to Matt for his upgrade to the lua dialplan
option! 

the Description from the bug:

This patch adds a stack trace to errors encountered while executing lua extensions. The patch also handles out of memory errors reported by lua.



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-26 18:09:27 +00:00
Steve Murphy
59d9a004e9 Merged revisions 144678 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r144678 | murf | 2008-09-26 11:50:35 -0600 (Fri, 26 Sep 2008) | 20 lines

Merged revisions 144677 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r144677 | murf | 2008-09-26 11:47:13 -0600 (Fri, 26 Sep 2008) | 12 lines

(closes issue #13563)
Reported by: mnicholson
Patches:
      found1.diff uploaded by mnicholson (license 96)

This patch was mainly meant to apply to trunk and 1.6.x,
but I'm applying it to 1.4 also, which should be a perfectly
harmless fix to the vast majority of users who are not using
external switches, but the few who might be affected 
will not have to go to the pain of filing a bug report.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-26 17:53:23 +00:00
Steve Murphy
bbb1aab057 Merged revisions 144635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144635 | murf | 2008-09-26 10:51:30 -0600 (Fri, 26 Sep 2008) | 1 line

Matt suggests we remove utils/build-extensions-conf.lua, as per bug 12961, it is no longer necessary.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-26 17:14:29 +00:00
Steve Murphy
6f1745168e Merged revisions 144569 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144569 | murf | 2008-09-25 16:21:28 -0600 (Thu, 25 Sep 2008) | 14 lines

(closes issue #13557)
Reported by: nickpeirson

The user attached a patch, but the license is not yet
recorded. I took the liberty of finding and replacing
ALL index() calls with strchr() calls, and that
involves more than just main/pbx.c;

chan_oss, app_playback, func_cut also had calls
to index(), and I changed them out. 1.4 had no
references to index() at all.



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-25 22:25:34 +00:00
Steve Murphy
e9c61b5c94 Merged revisions 144563 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144563 | murf | 2008-09-25 15:54:11 -0600 (Thu, 25 Sep 2008) | 7 lines

(closes issue #13559)
Reported by: mnicholson
Patches:
      pbx_lua8.diff uploaded by mnicholson (license 96)



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144566 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-25 22:00:53 +00:00
Steve Murphy
7c3b7122f3 Merged revisions 144523 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144523 | murf | 2008-09-25 15:18:12 -0600 (Thu, 25 Sep 2008) | 13 lines

I added a little verbage to hashtab for the hashtab_destroy func.
It was pretty sparsely documented.

This update fleshes out the pbx_lua module, to 
add the switch statements to the extensions in the
extensions.lua file, as well as removing them when
the module is unloaded.

Many thanks to Matt Nicholson for his fine
contribution!



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-25 21:25:00 +00:00
Steve Murphy
b2314d7268 Merged revisions 144482 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144482 | murf | 2008-09-25 11:51:11 -0600 (Thu, 25 Sep 2008) | 14 lines

(closes issue #13558)
Reported by: mnicholson

Considering that the example extensions.lua used nothing but ["12345"] notation,
and that the resulting error message: 

[Sep 24 17:01:16] ERROR[12393]: pbx_lua.c:1204 exec: Error executing lua extension: attempt to call a nil value

is not very informative as to the nature of the problem, I think this bug
fix is a big win!




........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-25 17:58:02 +00:00
Tilghman Lesher
5735a5d1e1 Blocked revisions 144199 via svnmerge
........
r144199 | tilghman | 2008-09-24 01:43:05 -0500 (Wed, 24 Sep 2008) | 4 lines

Create a 'hashcompat' option that permits the results of a CURL() able to be
passed directly into the HASH() function.  Requested via the -users list, and
committed at Astricon in the Code Zone.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-24 06:45:52 +00:00
Mark Michelson
fc446d8649 Merged revisions 144149 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144149 | mmichelson | 2008-09-23 18:33:33 -0500 (Tue, 23 Sep 2008) | 3 lines

Fix a conflict in flag values


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-23 23:36:27 +00:00
Steve Murphy
98d269e5cd Merged revisions 144067 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r144067 | murf | 2008-09-23 10:52:32 -0600 (Tue, 23 Sep 2008) | 37 lines

Merged revisions 144066 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r144066 | murf | 2008-09-23 10:41:49 -0600 (Tue, 23 Sep 2008) | 29 lines

(closes issue #13489)
Reported by: DougUDI
Tested by: murf

(closes issue #13490)
Reported by: seanbright
Tested by: murf

(closes issue #13467)
Reported by: edantie
Tested by: murf, edantie, DougUDI


This crash happens because we are unsafely handling old pointers.
The channel whose cdr is being handled, has been hung up and 
destroyed already. I reorganized the code a bit, and tried not
to lose the fork-cdr-chain concepts of the previous code.
I now verify that the 'previous' channel (the channel we
had when the bridge was started), still exists, by looking it up
by name in the channel list. I also do not try to reset the
CDR's of channels involved in bridges. 

Testing shows it solves the crash problem, and should not
negatively impact previous fixes involving CDR's generated
during/after blind transfers. (The reason we need to reset
the CDR's on the "beginning" channels in the first place).



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-23 17:00:41 +00:00
Mark Michelson
02c0561a78 Merged revisions 144025 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r144025 | mmichelson | 2008-09-23 10:37:00 -0500 (Tue, 23 Sep 2008) | 16 lines

When a promiscuous redirect contained both a user and
host portion in the Contact URI and specifies a 
transport, the parsing done in parse_moved_contact
resulted in a malformed URI.

This commit fixes the parsing so that a proper
Dial string may be formed when the forwarded
call is placed.

(closes issue #13523)
Reported by: mattdarnell
Patches:
      13523v2.patch uploaded by putnopvut (license 60)
Tested by: mattdarnell


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@144027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-23 15:39:19 +00:00