Commit Graph

16827 Commits

Author SHA1 Message Date
Eliel C. Sardanons
78f2cb4911 Blocked revisions 156575 via svnmerge
........
  r156575 | eliel | 2008-11-13 13:46:06 -0200 (Thu, 13 Nov 2008) | 12 lines
  
  Introduce XML documentation for:
    - MeetMe()
    - MeetMeCount()
    - MeetMeChannelAdmin()
    - MeetMeAdmin()
    - SLAStation()
    - SLATrunk()
  
  - Add an attribute to optionlist 'hasparams' with the same functionality as the one
  we have in <parameter> and <argument> (the DTD was updated)
  - Fix a leak when getting an attribute while parsing an <optionlist>.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-13 15:47:49 +00:00
Eliel C. Sardanons
fde6434aab Blocked revisions 156541 via svnmerge
........
  r156541 | eliel | 2008-11-13 11:53:13 -0200 (Thu, 13 Nov 2008) | 3 lines
  
  Fix a typo introduced when changing xmldoc_has_arguments() to xmldoc_has_inside()
  we need to pass the name of the node that we are looking for.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-13 13:54:34 +00:00
Eliel C. Sardanons
400c1af647 Blocked revisions 156535 via svnmerge
........
  r156535 | eliel | 2008-11-13 11:08:34 -0200 (Thu, 13 Nov 2008) | 3 lines
  
  Remove trailing whitespaces
  using ':%s/\s\+$//' pointed by seanbright on #asterisk-dev
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-13 13:10:21 +00:00
Tilghman Lesher
1b8217193c Merged revisions 156388 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r156388 | tilghman | 2008-11-12 15:34:51 -0600 (Wed, 12 Nov 2008) | 12 lines
  
  Merged revisions 156386 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r156386 | tilghman | 2008-11-12 15:18:57 -0600 (Wed, 12 Nov 2008) | 5 lines
    
    When using call limits under 1 second, infinite call lengths are allowed,
    instead.
    (closes issue #13851)
     Reported by: ruddy
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 21:36:02 +00:00
Eliel C. Sardanons
0dbfefb0e2 Blocked revisions 156355 via svnmerge
........
  r156355 | eliel | 2008-11-12 18:27:40 -0200 (Wed, 12 Nov 2008) | 4 lines
  
  - Make alias->real_cmd point to the allocated space outside alias->alias.
  - Register the aliased cli command (or we will not alias anything).
  - Use ARRAY_LEN() when possible.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 20:30:23 +00:00
Steve Murphy
475be50f76 Merged revisions 156299 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r156299 | murf | 2008-11-12 12:47:29 -0700 (Wed, 12 Nov 2008) | 26 lines

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

........
r156297 | murf | 2008-11-12 12:36:16 -0700 (Wed, 12 Nov 2008) | 18 lines

It turns out that the 0x0XX00 codes being returned for
N, X, and Z are off by one, as per conversation with
jsmith on #asterisk-dev;  he was teaching a class
and disconcerted that this published rule was not
being followed, with patterns _NXX, _[1-8]22 and
_[2-9]22... and NXX was winning, but [1-8] should
have been. 

This change, tested on these 3 patterns now 
picks the proper one.

However, this change may surprise users who
set up dialplans based on previous behavior,
which has been there for what, 2 and half 
years or so now.



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 20:11:54 +00:00
Tilghman Lesher
ce89e9403b Merged revisions 156295 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r156295 | tilghman | 2008-11-12 13:28:22 -0600 (Wed, 12 Nov 2008) | 13 lines
  
  Merged revisions 156294 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r156294 | tilghman | 2008-11-12 13:26:45 -0600 (Wed, 12 Nov 2008) | 6 lines
    
    If the SLA thread is not started, then reload causes a memory leak.
    (closes issue #13889)
     Reported by: eliel
     Patches: 
           app_meetme.c.patch uploaded by eliel (license 64)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 19:29:12 +00:00
Jeff Peeler
1f615ccdf6 Merged revisions 156290 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r156290 | jpeeler | 2008-11-12 13:11:15 -0600 (Wed, 12 Nov 2008) | 11 lines

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

........
r156289 | jpeeler | 2008-11-12 13:10:12 -0600 (Wed, 12 Nov 2008) | 3 lines

For whatever reason, gcc only warned me about the possible use of an uninitialized variable when compiling 1.6.1. 


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156291 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 19:11:41 +00:00
Tilghman Lesher
21ff7585a5 Merged revisions 156243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r156243 | tilghman | 2008-11-12 12:55:18 -0600 (Wed, 12 Nov 2008) | 18 lines
  
  Merged revisions 156229 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r156229 | tilghman | 2008-11-12 12:39:21 -0600 (Wed, 12 Nov 2008) | 11 lines
    
    Revert revision 132506, since it occasionally caused IAX2 HANGUP packets not
    to be sent, and instead, schedule a task to destroy the iax2 pvt structure
    10 seconds later.  This allows the IAX2 HANGUP packet to be queued,
    transmitted, and ACKed before the pvt is destroyed.
    (closes issue #13645)
     Reported by: dzajro
     Patches: 
           20081111__bug13645__3.diff.txt uploaded by Corydon76 (license 14)
     Tested by: vazir
     Reviewed: http://reviewboard.digium.com/r/51/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156288 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 19:05:09 +00:00
Tilghman Lesher
412cbf7035 Fix build (res possibly unused in this function, says gcc)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 19:04:23 +00:00
Jeff Peeler
62bb302943 Merged revisions 156228 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r156228 | jpeeler | 2008-11-12 12:32:46 -0600 (Wed, 12 Nov 2008) | 16 lines

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

........
r156178 | jpeeler | 2008-11-12 11:53:44 -0600 (Wed, 12 Nov 2008) | 8 lines

(closes issue #13173)
Reported by: pep

This change adds an announce_thread responsible for playing announcements to an existing conference. This allows all announcing to be immediately stopped if necessary but more importantly allows other threads that need to play something to not block. There are multiple benefits to this, but the actual bug is for solving the scenario for a channel to be unusable after hang up for the entire duration of the parting announcement. The parting announcement can be extremely long depending on what the user recorded upon joining the conference.

Reviewed by Russell on Review Board:
http://reviewboard.digium.com/r/25/

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156247 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 18:55:52 +00:00
Mark Michelson
0c0fdebd9f Merged revisions 156169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r156169 | mmichelson | 2008-11-12 11:41:56 -0600 (Wed, 12 Nov 2008) | 15 lines

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

........
r156167 | mmichelson | 2008-11-12 11:38:33 -0600 (Wed, 12 Nov 2008) | 7 lines

When doing some tests, I was having a crash at the end of every call
if an attended transfer occurred during the call. I traced the cause to
the CDR on one of the channels being NULL. murf suggested a check in
the end bridge callback to be sure the CDR is non-NULL before proceeding,
so that's what I'm adding.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156171 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 17:48:24 +00:00
Russell Bryant
4c352528c1 Merged revisions 156166 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r156166 | russell | 2008-11-12 11:38:20 -0600 (Wed, 12 Nov 2008) | 15 lines

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

........
r156164 | russell | 2008-11-12 11:29:52 -0600 (Wed, 12 Nov 2008) | 7 lines

Move the sanity check that makes sure "always fork" is not set along with the 
console option to be after the code that reads options from asterisk.conf.  
This resolves a situation where Asterisk can start taking up 100% when
misconfigured.
(Thanks to Bryce Porter (x86 on IRC) for letting me log in to his system to
 figure out what was causing the 100% CPU problem.)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156168 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 17:38:43 +00:00
Eliel C. Sardanons
88d42d1ad4 Blocked revisions 156162 via svnmerge
........
  r156162 | eliel | 2008-11-12 15:28:02 -0200 (Wed, 12 Nov 2008) | 3 lines
  
  - The paramname is a pointer allocated with strdup() or malloc(), so,
  we need to free it with ast_free().
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 17:29:50 +00:00
Mark Michelson
3eb4f927d3 Merged revisions 156127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r156127 | mmichelson | 2008-11-12 09:33:11 -0600 (Wed, 12 Nov 2008) | 5 lines

Add a couple of AC_SUBST calls to the AST_C_COMPILE_CHECK
macro. These missing calls were discovered when working on
timerfd support in a separate branch.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 15:34:43 +00:00
Eliel C. Sardanons
7123aadfb8 Blocked revisions 156125 via svnmerge
........
  r156125 | eliel | 2008-11-12 11:43:46 -0200 (Wed, 12 Nov 2008) | 8 lines
  
  Add XML documentation for AGI commands:
     - database deltree
     - database get
     - exec
     - get data
     - get full variable
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 13:45:03 +00:00
Michiel van Baak
fecc14c7b8 Blocked revisions 156120 via svnmerge
........
  r156120 | mvanbaak | 2008-11-12 07:46:04 +0100 (Wed, 12 Nov 2008) | 16 lines
  
  This commit does two things:
  - Add CLI aliases module to asterisk.
  - Remove all deprecated CLI commands from the code
  
  Initial work done by file.
  Junk-Y and lmadsen did a lot of work and testing to
  get the list of deprecated commands into the configuration file.
  
  Deprecated CLI commands are now handled by this new module,
  see cli_aliases.conf for more info about that.
  
  ok russellb@ via reviewboard
  
  (closes issue #13735)
  Reported by: mvanbaak
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 06:48:25 +00:00
Eliel C. Sardanons
3731b5e884 Blocked revisions 156087 via svnmerge
........
  r156087 | eliel | 2008-11-12 00:20:05 -0200 (Wed, 12 Nov 2008) | 3 lines
  
  - Add 'database del', 'database put' and 'set music' AGI commands XML documentation.
  - Add to the DTD the possibility to put a parameter inside an <enum>.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 02:21:03 +00:00
Eliel C. Sardanons
dd8b09bcac Blocked revisions 156051 via svnmerge
........
  r156051 | eliel | 2008-11-11 22:17:43 -0200 (Tue, 11 Nov 2008) | 7 lines
  
  Implement AGI XML documentation parsing functions.
  A new <agi> element is used to describe the XML documentation.
  We have the usual synopsis,syntax,description and seealso for AGI commands.
  The CLI 'agi show commands' command was changed to show all the documentation se
  ctions.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 00:18:57 +00:00
Jason Parker
0debecb437 Blocked revisions 156017-156018 via svnmerge
........
  r156017 | pari | 2008-11-11 17:02:43 -0600 (Tue, 11 Nov 2008) | 5 lines
  
  
   Patch by Ryan Brindley -- Make sure that manager refuses any duplicate 'new category' requests in updateconfig
........
  r156018 | pari | 2008-11-11 17:32:31 -0600 (Tue, 11 Nov 2008) | 4 lines
  
  
   changing comment style to conform coding guidelines
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-12 00:02:04 +00:00
Tilghman Lesher
a9c7880add Merged revisions 155862 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r155862 | tilghman | 2008-11-10 15:12:28 -0600 (Mon, 10 Nov 2008) | 5 lines
  
  Make documentation of update method match documentation and update update2
  method to match.
  Reported by: atis, via -dev mailing list.
  Fixed by: me
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156005 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-11 19:52:01 +00:00
Kevin P. Fleming
be9ab3f0b2 Blocked revisions 155967 via svnmerge
........
  r155967 | kpfleming | 2008-11-11 11:57:20 -0600 (Tue, 11 Nov 2008) | 3 lines
  
  use some fancy compiler magic (thanks to Matthew Woehlke on the gcc-help mailing list) to restore type-safety to S_OR by going back to a macro, but preserve the side-effect-safe usage of the macro arguments
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-11 18:02:19 +00:00
Mark Michelson
72156967ff Merged revisions 155863 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r155863 | mmichelson | 2008-11-10 15:14:44 -0600 (Mon, 10 Nov 2008) | 22 lines

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

........
r155861 | mmichelson | 2008-11-10 15:07:39 -0600 (Mon, 10 Nov 2008) | 14 lines

Channel drivers assume that when their indicate callback
is invoked, that the channel on which the callback was called
is locked. This patch corrects an instance in chan_agent where
a channel's indicate callback is called directly without first
locking the channel.

This was leading to some observed locking issues in chan_local,
but considering that all channel drivers operate under the
same expectations, the generic fix in chan_agent is the right
way to go.

AST-126


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-10 21:15:57 +00:00
Tilghman Lesher
5cd8611a62 Merged revisions 155804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r155803 | tilghman | 2008-11-10 14:49:59 -0600 (Mon, 10 Nov 2008) | 1 line
  
  I got tired of saying this in every single bugnote referring to this file.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155826 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-10 20:56:37 +00:00
Tilghman Lesher
c42c0b578f Merged revisions 155763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r155763 | tilghman | 2008-11-10 12:04:30 -0600 (Mon, 10 Nov 2008) | 6 lines
  
  Fix memory leak when MALLOC_DEBUG is enabled.
  (closes issue #13864)
   Reported by: eliel
   Patches: 
         readline.c.patch uploaded by eliel (license 64)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155764 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-10 18:05:44 +00:00
Eliel C. Sardanons
070ace76d2 Blocked revisions 155711 via svnmerge
........
  r155711 | eliel | 2008-11-10 11:53:23 -0200 (Mon, 10 Nov 2008) | 11 lines
  
  Move all the XML documentation API from pbx.c to xmldoc.c.
  Export the XML documentation API:
     ast_xmldoc_build_synopsis()
     ast_xmldoc_build_syntax()
     ast_xmldoc_build_description()
     ast_xmldoc_build_seealso()
     ast_xmldoc_build_arguments()
     ast_xmldoc_printable()
     ast_xmldoc_load_documentation()
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-10 14:01:17 +00:00
Sean Bright
c464e1677e Merged revisions 155671 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r155671 | seanbright | 2008-11-09 11:30:29 -0500 (Sun, 09 Nov 2008) | 1 line

Fix this as well.  Pointed out by tzafrir.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-09 16:32:49 +00:00
Sean Bright
d2906bd822 Blocked revisions 155637 via svnmerge
........
r155637 | seanbright | 2008-11-08 22:34:28 -0500 (Sat, 08 Nov 2008) | 1 line

Fix some spelling errors, and convert tabs to spaces.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-09 03:35:50 +00:00
Sean Bright
c96fef8e54 Blocked revisions 155590 via svnmerge
........
r155590 | seanbright | 2008-11-08 20:59:59 -0500 (Sat, 08 Nov 2008) | 5 lines

In order to move away from nested function use, some changes to the recently introduced
ast_channel_search_locked need to be made.  Specifically, the caller needs to be able to
pass arbitrary data which in turn is passed to the callback.  This patch addresses all
of the nested functions currently in asterisk trunk.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-09 02:12:07 +00:00
Sean Bright
839cb83ea3 Merged revisions 155554 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r155554 | seanbright | 2008-11-08 20:27:00 -0500 (Sat, 08 Nov 2008) | 14 lines

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

........
r155553 | seanbright | 2008-11-08 20:08:07 -0500 (Sat, 08 Nov 2008) | 6 lines

Use static functions here instead of nested ones.  This requires a small
change to the ast_bridge_config struct as well.  To understand the reason
for this change, see the following post:

    http://gcc.gnu.org/ml/gcc-help/2008-11/msg00049.html

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-09 01:43:14 +00:00
Russell Bryant
2f4460b0ea Merged revisions 155516 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r155516 | russell | 2008-11-08 15:46:43 -0600 (Sat, 08 Nov 2008) | 3 lines

 - Check for failure when putting the packet in the ast_str
 - fix a spelling error in a header file

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-08 21:48:23 +00:00
Russell Bryant
12dd36c274 Merged revisions 155513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r155513 | russell | 2008-11-08 15:34:36 -0600 (Sat, 08 Nov 2008) | 3 lines

Remove some code that is basically a no-op.  Code above this already ensures that
the buffer is terminated.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155515 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-08 21:41:03 +00:00
Mark Michelson
f4b8d95569 Merged revisions 155467 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r155467 | mmichelson | 2008-11-07 17:41:44 -0600 (Fri, 07 Nov 2008) | 12 lines

Set the invite state to INV_CANCELLED in a place that
makes more sense. Where it was set before, it was impossible
to actually delay sending a CANCEL if we had not yet received
a provisional response to an INVITE.

(closes issue #13626)
Reported by: atis
Patches:
      13626.patch uploaded by putnopvut (license 60)
Tested by: atis


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 23:42:45 +00:00
Sean Bright
917766211a Blocked revisions 155401 via svnmerge
........
  r155401 | seanbright | 2008-11-07 17:39:30 -0500 (Fri, 07 Nov 2008) | 8 lines
  
  Add ability to pass arbitrary data to the ao2_callback_fn (called from
  ao2_callback and ao2_find).  Currently, passing OBJ_POINTER to either
  of these mandates that the passed 'arg' is a hashable object, making
  searching for an ao2 object based on outside criteria difficult.
  
  Reviewed by Russell and Mark M. via ReviewBoard:
      http://reviewboard.digium.com/r/36/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155402 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 22:40:11 +00:00
Tilghman Lesher
21c0fa49b0 Merged revisions 155399 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r155399 | tilghman | 2008-11-07 16:28:58 -0600 (Fri, 07 Nov 2008) | 14 lines
  
  Merged revisions 155398 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r155398 | tilghman | 2008-11-07 16:27:32 -0600 (Fri, 07 Nov 2008) | 7 lines
    
    Clarify error message.
    (closes issue #13809)
     Reported by: denke
     Patches: 
           20081104__bug13809.diff.txt uploaded by Corydon76 (license 14)
     Tested by: denke
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155400 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 22:29:46 +00:00
Tilghman Lesher
8e002b0e52 Merged revisions 155395 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r155395 | tilghman | 2008-11-07 16:03:50 -0600 (Fri, 07 Nov 2008) | 2 lines
  
  Two bugs relating to colnames found by Marquis42 on #asterisk-dev
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 22:05:52 +00:00
Mark Michelson
0e9aaff2e0 Merged revisions 155360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r155360 | mmichelson | 2008-11-07 15:14:49 -0600 (Fri, 07 Nov 2008) | 8 lines

Remove one more instance of the sample configuration
lying about what's possible. The tz cannot be set in a
context like this. It can only be set in the general
section or per-mailbox.

Thanks to sasargen on #asterisk-dev for pointing this out


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 21:16:14 +00:00
Tilghman Lesher
91d780da3f Merged revisions 155324 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r155324 | tilghman | 2008-11-07 14:13:32 -0600 (Fri, 07 Nov 2008) | 7 lines
  
  Send call release with unallocated cause instead of normal call clearing, when
  invalid extension is called.
  (closes issue #13408)
   Reported by: adomjan
   Patches: 
         chan_dahdi.c-ss7-unallocated-2 uploaded by adomjan (license 487)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 20:19:25 +00:00
Sean Bright
563329de01 Blocked revisions 155284 via svnmerge
........
  r155284 | seanbright | 2008-11-07 11:18:52 -0500 (Fri, 07 Nov 2008) | 6 lines
  
  Convert open-coded linked list in indications to the AST_LIST_* macros.  This
  cleans the code up some and should make it more maintainable as time goes on.
  
  Reviewed by Russell, Kevin, Mark M., and Tilghman via ReviewBoard:
  	http://reviewboard.digium.com/r/34/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 16:19:28 +00:00
Kevin P. Fleming
ebe5a51050 Blocked revisions 155282 via svnmerge
........
  r155282 | kpfleming | 2008-11-07 09:52:05 -0600 (Fri, 07 Nov 2008) | 1 line
  
  stringfields conversion for struct sip_peer, as requested :-)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 16:01:12 +00:00
Russell Bryant
c3a52cb093 Merged revisions 155264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r155264 | russell | 2008-11-07 09:42:04 -0600 (Fri, 07 Nov 2008) | 3 lines

Remove a bogus ast_free() that Kevin noticed.  This was probably just left over 
from pre-astobj2ified chan_sip.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 15:43:55 +00:00
Russell Bryant
d63da12ab1 Merged revisions 155244 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r155244 | russell | 2008-11-07 09:01:02 -0600 (Fri, 07 Nov 2008) | 4 lines

Clarify which part of OBJ_MULTIPLE is not implemented, and under what case it
is perfectly fine to use.  (Inspired by a question I received about my last
commit.)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155245 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 15:01:45 +00:00
Russell Bryant
69109c15b7 Merged revisions 155241 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r155241 | russell | 2008-11-07 08:50:30 -0600 (Fri, 07 Nov 2008) | 4 lines

Fix some code in chan_sip that was intended to unlink multiple objects from a
container.  The OBJ_MULTIPLE flag must be provided here.  Otherwise, this would
only remove a single object.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 14:53:23 +00:00
Kevin P. Fleming
ec5e3d362b Blocked revisions 155206 via svnmerge
........
  r155206 | kpfleming | 2008-11-06 21:09:16 -0600 (Thu, 06 Nov 2008) | 1 line
  
  correct logic error noticed by rmudgett (thanks!)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 03:10:04 +00:00
Eliel C. Sardanons
b747b31dc2 Blocked revisions 155204 via svnmerge
........
  r155204 | eliel | 2008-11-07 01:02:01 -0200 (Fri, 07 Nov 2008) | 4 lines
  
  If 'asterisk.conf' is not found, instead of giving up,
  load documentation for the 'en_US' language (fix my last
  commit).
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 03:03:29 +00:00
Eliel C. Sardanons
34a1392cb0 Blocked revisions 155175 via svnmerge
........
  r155175 | eliel | 2008-11-07 00:37:47 -0200 (Fri, 07 Nov 2008) | 2 lines
  
  Fix an asterisk crash if no asterisk.conf configuration file is present.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-07 02:40:14 +00:00
Kevin P. Fleming
6cf2481aad Merged revisions 155121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r155121 | kpfleming | 2008-11-06 16:49:19 -0600 (Thu, 06 Nov 2008) | 3 lines
  
  don't blindly assume that Darwin and Cygwin need GLOB_ABORTED defined; only define it if it is not already defined
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155122 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-06 22:49:59 +00:00
Kevin P. Fleming
f7254e0c70 ensure that an adequately new version of libpri is in place so that chan_dahdi will compile with PRI support
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-06 22:19:28 +00:00
Kevin P. Fleming
d90e93c659 Blocked revisions 155066 via svnmerge
........
  r155066 | kpfleming | 2008-11-06 14:51:26 -0600 (Thu, 06 Nov 2008) | 5 lines
  
  put ifdef protection around the rest of the libpri function calls that were added at the same time as progress_with_cause
  
  move parsing of the qsig channel mapping configuration option outside ifdef HAVE_PRI_INBANDDISCONNECT and into a properly ifdef'd block
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155116 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-06 22:12:54 +00:00
Kevin P. Fleming
0945863e40 Blocked revisions 155079-155080 via svnmerge
........
  r155079 | kpfleming | 2008-11-06 15:09:24 -0600 (Thu, 06 Nov 2008) | 3 lines
  
  make S_OR and S_COR safe to use even if the parameters are function calls or have side effects. it still bothers me that these are called S_OR and not something like ast_string_or, but that's water over the bridge
........
  r155080 | kpfleming | 2008-11-06 15:12:03 -0600 (Thu, 06 Nov 2008) | 3 lines
  
  coding style/guidelines cleanup, plus use new side-effect safe S_OR
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@155115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-06 22:12:05 +00:00