Commit Graph

16805 Commits

Author SHA1 Message Date
Mark Michelson
a230136289 Merged revisions 157562 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157562 | mmichelson | 2008-11-18 17:28:23 -0600 (Tue, 18 Nov 2008) | 11 lines

Fix the logic for when delete=yes when IMAP storage
is in use so that the message is deleted from both
local and IMAP storage.

(closes issue #13642)
Reported by: jaroth
Patches:
      deleteyes.patch uploaded by jaroth (license 50)



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 23:28:54 +00:00
Mark Michelson
f10b44b0de Merged revisions 157512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r157512 | mmichelson | 2008-11-18 16:54:08 -0600 (Tue, 18 Nov 2008) | 21 lines

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

........
r157503 | mmichelson | 2008-11-18 16:47:57 -0600 (Tue, 18 Nov 2008) | 13 lines

Add some missing invite state changes necessary in the sip_write
function. Not setting the invite state correctly on the call was
resulting in the Record application leaving empty files. I also
have updated the doxygen comment next to the declaration of the
INV_EARLY_MEDIA constant to reflect that we also use this state
when we *send* a 18X response to an INVITE.

(closes issue #13878)
Reported by: nahuelgreco
Patches:
      sip-early-media-recording-1.4.22.patch uploaded by nahuelgreco (license 162)
	  Tested by: putnopvut

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 22:58:01 +00:00
Mark Michelson
53c3a63bfb Merged revisions 157496 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157496 | mmichelson | 2008-11-18 15:59:24 -0600 (Tue, 18 Nov 2008) | 6 lines

Based on Russell's advice on the asterisk-dev list, I have
changed from using a global lock in update_call_counter to
using the locks within the sip_pvt and sip_peer structures
instead.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 22:01:18 +00:00
Jason Parker
2c0646a585 Blocked revisions 157463 via svnmerge
........
  r157463 | qwell | 2008-11-18 15:15:08 -0600 (Tue, 18 Nov 2008) | 1 line
  
  Remove echo line that is unnecessary (Thanks seanbright).
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 21:15:48 +00:00
Jason Parker
c5f8271a28 Blocked revisions 157460-157461 via svnmerge
........
  r157460 | qwell | 2008-11-18 15:01:46 -0600 (Tue, 18 Nov 2008) | 8 lines
  
  Add init script for ArchLinux
  
  (closes issue #13667)
  Reported by: sherif
  Patches:
        archlinux_rc_makefile.patch uploaded by sherif (license 591)
        archlinux_rc_makefile-2.patch uploaded by mvanbaak (license 7)
........
  r157461 | qwell | 2008-11-18 15:03:12 -0600 (Tue, 18 Nov 2008) | 1 line
  
  Make this executable
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 21:04:02 +00:00
Mark Michelson
bb5c95653f Merged revisions 157427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157427 | mmichelson | 2008-11-18 14:23:58 -0600 (Tue, 18 Nov 2008) | 13 lines

* Add a lock to be used in the update_call_counter function.
* Revert logic to mirror 1.4's in the sense that it will not allow
  the call counter to dip below 0.

These two measures prevent potential races that could cause a SIP peer
to appear to be busy forever.

(closes issue #13668)
Reported by: mjc
Patches:
      hintfix_trunk_rev152649.patch uploaded by wolfelectronic (license 586)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 20:34:17 +00:00
Jeff Peeler
737c06fa38 Merged revisions 157366 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r157366 | jpeeler | 2008-11-18 13:16:00 -0600 (Tue, 18 Nov 2008) | 14 lines

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

........
r157365 | jpeeler | 2008-11-18 13:13:33 -0600 (Tue, 18 Nov 2008) | 6 lines

(closes issue #13899)
Reported by: akkornel

This fix is the result of a bug fix in ast_app_separate_args r124395. If an argument does not exist it should always be set to a null string rather than a null pointer.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 19:18:51 +00:00
Mark Michelson
892f98a1e6 Merged revisions 157306 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r157306 | mmichelson | 2008-11-18 12:31:08 -0600 (Tue, 18 Nov 2008) | 20 lines

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

........
r157305 | mmichelson | 2008-11-18 12:25:55 -0600 (Tue, 18 Nov 2008) | 12 lines

Fix a crash in the end_bridge_callback of app_dial and
app_followme which would occur at the end of an attended
transfer. The error occurred because we initially stored
a pointer to an ast_channel which then was hung up due
to a masquerade.

This commit adds a "fixup" callback to the bridge_config
structure to allow for end_bridge_callback_data to be
changed in the case that a new channel pointer is needed
for the end_bridge_callback.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 18:32:54 +00:00
Steve Murphy
1435f40ca5 Merged revisions 157302 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r157302 | murf | 2008-11-18 11:07:55 -0700 (Tue, 18 Nov 2008) | 18 lines

(closes issue #13420)
Reported by: alex70
Patches:
      13420.13539.patch uploaded by murf (license 17)
Tested by: murf, awk

This fixes two problems: a spurious linefeed insertion
probably left over from pre-precomment times. Only
generated when category had no previous comments.

The other problem: Insertions could get the line-numbering
out of whack and generate negative line numbers, causing 
chunks of line numbers to be emitted, on the scale of the
number of lines up to that point in the file. In such cases,
abort the looping, and all is well.



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@157304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-18 18:20:48 +00:00
Tilghman Lesher
ed1113b08e Merged revisions 157253 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r157253 | tilghman | 2008-11-17 16:25:06 -0600 (Mon, 17 Nov 2008) | 8 lines
  
  Can't use items duplicated off the stack frame in an element returned from
  a function: in these cases, we have to use the heap, or garbage will result.
  (closes issue #13898)
   Reported by: alecdavis
   Patches: 
         20081114__bug13898__2.diff.txt uploaded by Corydon76 (license 14)
   Tested by: alecdavis
........


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