Commit Graph

16645 Commits

Author SHA1 Message Date
Kevin P. Fleming
5300e0881d Blocked revisions 157167 via svnmerge
........
  r157167 | kpfleming | 2008-11-15 20:51:29 +0100 (Sat, 15 Nov 2008) | 2 lines
  
  ensure that if a .i file (preprocessed source) is present, the .o file is made from it, not from the .c file (this only works because GNU makes respects the order the rules are defined)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157170 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-15 19:52:44 +00:00
Kevin P. Fleming
f80dad0c3f Merged revisions 157164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r157164 | kpfleming | 2008-11-15 20:45:19 +0100 (Sat, 15 Nov 2008) | 13 lines
  
  Merged revisions 157162-157163 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r157162 | kpfleming | 2008-11-15 20:24:24 +0100 (Sat, 15 Nov 2008) | 1 line
    
    dist-clean should remove dependency information files as well
  ........
    r157163 | kpfleming | 2008-11-15 20:31:03 +0100 (Sat, 15 Nov 2008) | 1 line
    
    when an individual directory dist-clean is run, run clean in that directory first, and when running top-level dist-clean, do not run subdirectory clean operations twice
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-15 19:49:56 +00:00
Kevin P. Fleming
7e71c8f94f Merged revisions 157105 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157105 | kpfleming | 2008-11-15 19:00:32 +0100 (Sat, 15 Nov 2008) | 13 lines
  
  major update to doxygen configuration file:
  
  1) update to doxygen 1.5.x style file, as used in trunk
  
  2) tell doxygen where are header files are, so include-file processing can be done
  
  3) make all macros that are used to define variables/functions be expanded, so that doxygen will properly document the resulting variable/function
  
  4) make all macros that are used to provide the contents of a variable (structure) be expanded, so that doxygen will be able to document the resulting fields
  
  5) suppress compiler attributes (__attribute__(xxx)) from being seen by doxygen, so it will properly match up function definition and usage (for an example of th effect of this, look at the doxygen docs for ast_log() from before and afte this commit)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-15 18:44:16 +00:00
Eliel C. Sardanons
6e711bd156 Blocked revisions 157073 via svnmerge
........
  r157073 | eliel | 2008-11-15 13:37:11 -0200 (Sat, 15 Nov 2008) | 2 lines
  
  Avoid a not needed cast, making code more readable.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-15 15:39:22 +00:00
Russell Bryant
6266c668bc Merged revisions 157041 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157041 | russell | 2008-11-14 22:25:57 -0600 (Fri, 14 Nov 2008) | 3 lines

Fix a few more places where the case insensitive hash should be used since
the comparison is case insensitive.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-15 04:30:42 +00:00
Russell Bryant
3589f90533 Merged revisions 157039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157039 | russell | 2008-11-14 22:08:42 -0600 (Fri, 14 Nov 2008) | 3 lines

Use the new case insensitive hash function for console interfaces.  The comparison
function is case insensitive.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-15 04:09:13 +00:00
Mark Michelson
6203ac8693 Merged revisions 156962 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r156962 | mmichelson | 2008-11-14 15:19:58 -0600 (Fri, 14 Nov 2008) | 7 lines

Revision 155513 of chan_sip.c in trunk inadvertently 
removed a very important line to set the "len" field
for incoming SIP requests. The result was that all incoming
SIP messages appeared to be 0-length, meaning Asterisk
could do no meaningful processing of anything SIP-related


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-14 21:21:24 +00:00
Terry Wilson
ae7fff3dca Blocked revisions 156918 via svnmerge
........
  r156918 | twilson | 2008-11-14 11:35:33 -0600 (Fri, 14 Nov 2008) | 2 lines
  
  Cleanup whitespace issues
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-14 17:36:43 +00:00
Terry Wilson
5726d1abc8 Blocked revisions 156916 via svnmerge
........
  r156916 | twilson | 2008-11-14 11:29:05 -0600 (Fri, 14 Nov 2008) | 2 lines
  
  Use Mark's new ast_str_case_hash function instead of jumping through hoops to do insensitive case lookups
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-14 17:30:39 +00:00
Tilghman Lesher
1747fd1d2f Merged revisions 156911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r156911 | tilghman | 2008-11-14 11:02:00 -0600 (Fri, 14 Nov 2008) | 4 lines
  
  Ping is missing the standard double-newline after the event.
  (closes issue #13903)
   Reported by: kebl0155
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-14 17:04:13 +00:00
Mark Michelson
2831947109 This is the 1.6.1 version of trunk commit 156883.
It is functionally equivalent to the 1.6.0 commit



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-14 16:57:04 +00:00
Mark Michelson
786b83aa69 Merged revisions 156817 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r156817 | mmichelson | 2008-11-14 09:20:03 -0600 (Fri, 14 Nov 2008) | 18 lines

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

........
r156816 | mmichelson | 2008-11-14 09:18:59 -0600 (Fri, 14 Nov 2008) | 10 lines

If the prompt to reenter a voicemail password timed out, it
resulted in the password not being saved, even if the input matched
what you gave when first prompted to enter a new password. This is
because the return value of ast_readstring was checked, but not checked
properly.

This bug was discovered by Jared Smith during an Asterisk training course.
Thanks for reporting it!


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-14 15:22:56 +00:00
Tilghman Lesher
4edee6ec5e Merged revisions 156756 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r156756 | tilghman | 2008-11-13 18:43:13 -0600 (Thu, 13 Nov 2008) | 13 lines
  
  Merged revisions 156755 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r156755 | tilghman | 2008-11-13 18:41:37 -0600 (Thu, 13 Nov 2008) | 6 lines
    
    ast_waitfordigit() requires that the channel be up, for no good logical
    reason.  This prevents While/EndWhile from working within the "h"
    extension.
    Reported by: jgalarneau (for ABE C.2)
    Fixed by: me
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-14 00:44:10 +00:00
Tilghman Lesher
a99c4d9881 Merged revisions 156690 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r156690 | tilghman | 2008-11-13 15:30:41 -0600 (Thu, 13 Nov 2008) | 14 lines
  
  Merged revisions 156688 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r156688 | tilghman | 2008-11-13 15:24:00 -0600 (Thu, 13 Nov 2008) | 7 lines
    
    Provide more space for all the data which can appear in an originating
    channel name.
    (closes issue #13398)
     Reported by: bamby
     Patches: 
           manager.c.diff uploaded by bamby (license 430)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-13 21:31:27 +00:00
Brandon Kruse
cd7a9cb4fe Merged revisions 156017 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
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

(closes issue #13539)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-13 19:29:48 +00:00
Jeff Peeler
fe6767f2e1 Merged revisions 156649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r156649 | jpeeler | 2008-11-13 13:17:50 -0600 (Thu, 13 Nov 2008) | 6 lines

(closes issue #13891)
Reported by: smurfix

This reverts a change I made in 116297. At the time it seemed the change was required to solve an issue with attempting a transfer but then letting it timeout without dialing any digits. However, I didn't realize that having an empty extension was possible. I'm removing the immediate return that was added in pbx_find_extension if the extension is null.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-13 19:18:34 +00:00
Tilghman Lesher
b54ea43d9b Blocked revisions 156647 via svnmerge
........
  r156647 | tilghman | 2008-11-13 13:10:28 -0600 (Thu, 13 Nov 2008) | 3 lines
  
  Command offsets were not changed correctly when the command syntax for
  'pri set debug' was changed from 'pri debug'.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-13 19:11:46 +00:00
Mark Michelson
698278dfd8 Merged revisions 156612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r156612 | mmichelson | 2008-11-13 11:07:56 -0600 (Thu, 13 Nov 2008) | 4 lines

Kevin sent a note indicating that this change is
not necessary, so I am reverting it


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@156614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-13 17:12:35 +00:00
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