Commit Graph

16579 Commits

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

................
r168629 | mmichelson | 2009-01-14 18:14:17 -0600 (Wed, 14 Jan 2009) | 24 lines

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

........
r168628 | mmichelson | 2009-01-14 18:11:01 -0600 (Wed, 14 Jan 2009) | 16 lines

Fix some crashes from bad datastore handling in app_queue.c

* The queue_transfer_fixup function was searching for and removing
  the datastore from the incorrect channel, so this was fixed.

* Most datastore operations regarding the queue_transfer datastore
  were being done without the channel locked, so proper channel locking
  was added, too.

(closes issue #14086)
Reported by: ZX81
Patches:
      14086v2.patch uploaded by putnopvut (license 60)
Tested by: ZX81, festr


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-15 00:14:48 +00:00
Richard Mudgett
d572518549 Merged revisions 168623 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168623 | rmudgett | 2009-01-14 15:51:06 -0600 (Wed, 14 Jan 2009) | 11 lines
  
  Merged revisions 168622 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168622 | rmudgett | 2009-01-14 15:48:22 -0600 (Wed, 14 Jan 2009) | 4 lines
    
    *  Fixed create_process() allocation of process ID values.
    The allocated process IDs could overflow their respective
    NT and TE fields.  Affects outgoing calls.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-14 21:54:31 +00:00
Steve Murphy
240cd8d0be Merged revisions 168613 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168613 | murf | 2009-01-14 13:51:26 -0700 (Wed, 14 Jan 2009) | 9 lines
  
  Merged revisions 168608 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168608 | murf | 2009-01-14 12:34:35 -0700 (Wed, 14 Jan 2009) | 1 line
    
    app_page was failing to compile in dev-mode on my gcc-4.2.4 system. This change gets rid of the warning.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-14 21:21:58 +00:00
Sean Bright
eb079909bc Merged revisions 168615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168615 | seanbright | 2009-01-14 15:58:26 -0500 (Wed, 14 Jan 2009) | 16 lines
  
  Merged revisions 168614 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168614 | seanbright | 2009-01-14 15:52:00 -0500 (Wed, 14 Jan 2009) | 9 lines
    
    Update autosupport script to supply info for both Zaptel and DAHDI in 1.4 and
    be sure to run dahdi_test in 1.6.x and trunk instead of zttest.
    
    (closes issue #14132)
    Reported by: dsedivec
    Patches:
          asterisk-1.4-autosupport.patch uploaded by dsedivec (license 638)
          asterisk-trunk-autosupport.patch uploaded by dsedivec (license 638)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-14 20:59:33 +00:00
Richard Mudgett
5d29635bc5 Fix merge error caused by merging -r132883 and -r121770 from
https://origsvn.digium.com/svn/asterisk/trunk out of order.

(closes issue #13788)
Reported by: IgorG

(closes issue #13491)
Reported by: avalentin


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-14 19:20:29 +00:00
Tilghman Lesher
ca54c11b79 Merged revisions 168604 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168604 | tilghman | 2009-01-14 13:11:14 -0600 (Wed, 14 Jan 2009) | 14 lines
  
  Merged revisions 168603 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168603 | tilghman | 2009-01-14 13:02:55 -0600 (Wed, 14 Jan 2009) | 7 lines
    
    Don't read into a buffer without first checking if a value is beyond the end.
    (closes issue #13600)
     Reported by: atis
     Patches: 
           20090106__bug13600.diff.txt uploaded by Corydon76 (license 14)
     Tested by: atis
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-14 19:11:56 +00:00
Terry Wilson
cee2699a5d Merged revisions 168594 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168594 | twilson | 2009-01-13 20:00:40 -0600 (Tue, 13 Jan 2009) | 27 lines
  
  Merged revisions 168593 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168593 | twilson | 2009-01-13 19:27:18 -0600 (Tue, 13 Jan 2009) | 20 lines
    
    Don't overflow when paging more than 128 extensions
    
    The number of available slots for calls in app_page was hardcoded to 128.
    Proper bounds checking was not in place to enforce this limit, so if more than
    128 extensions were passed to the Page() app, Asterisk would crash.  This patch
    instead dynamically allocates memory for the ast_dial structures and removes
    the (non-functional) arbitrary limit.
    
    This issue would have special importance to anyone who is dynamically creating
    the argument passed to the Page application and allowing more than 128
    extensions to be added by an outside user via some external interface.
    
    The patch posted by a_villacis was slightly modified for some coding guidelines
    and other cleanups.  Thanks, a_villacis!
    (closes issue #14217)
    Reported by: a_villacis
    Patches: 
          20080912-asterisk-app_page-fix-buffer-overflow.patch uploaded by a (license 660)
    Tested by: otherwiseguy
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-14 02:06:19 +00:00
Terry Wilson
a33a19b699 Merged revisions 168588 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r168588 | twilson | 2009-01-13 17:05:43 -0600 (Tue, 13 Jan 2009) | 5 lines
  
  Fully overwrite a same-named file when uploading
  
  (closes issue #14190)
  Reported by: timking
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168589 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-13 23:11:19 +00:00
Terry Wilson
5c805d776b Blocked revisions 168585 via svnmerge
........
  r168585 | twilson | 2009-01-13 17:00:27 -0600 (Tue, 13 Jan 2009) | 8 lines
  
  Add option to hide console connect messages
  
  (closes issue #14222)
  Reported by: jamesgolovich
  Patches: 
        asterisk-hideconnect.diff.txt uploaded by jamesgolovich (license 176)
  Tested by: otherwiseguy
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168586 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-13 23:01:25 +00:00
Terry Wilson
00647c1f8f Merged revisions 168578 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168578 | twilson | 2009-01-13 16:22:34 -0600 (Tue, 13 Jan 2009) | 14 lines
  
  Merged revisions 168551 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168551 | twilson | 2009-01-13 12:34:14 -0600 (Tue, 13 Jan 2009) | 7 lines
    
    Don't pass a value with a side effect to a macro
    
    (closes issue #14176)
    Reported by: paraeco
    Patches: 
          chan_sip.c.diff uploaded by paraeco (license 658)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-13 22:31:20 +00:00
Russell Bryant
1b1c2db6bd Merged revisions 168562 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r168562 | russell | 2009-01-13 13:22:13 -0600 (Tue, 13 Jan 2009) | 10 lines

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

........
r168561 | russell | 2009-01-13 13:13:05 -0600 (Tue, 13 Jan 2009) | 2 lines

Revert unnecessary indications API change from rev 122314

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-13 19:27:54 +00:00
Tilghman Lesher
931ee5d3cb Merged revisions 168547 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168547 | tilghman | 2009-01-13 11:51:12 -0600 (Tue, 13 Jan 2009) | 13 lines
  
  Merged revisions 168546 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168546 | tilghman | 2009-01-13 11:48:00 -0600 (Tue, 13 Jan 2009) | 6 lines
    
    If either conditional is NULL, don't try copying it.
    (closes issue #14226)
     Reported by: caspy
     Patches: 
           20090113__bug14226.diff.txt uploaded by Corydon76 (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-13 17:51:58 +00:00
Dwayne M. Hubbard
2a361e4b33 Blocked revisions 168539 via svnmerge
........
r168539 | dhubbard | 2009-01-13 10:02:13 -0600 (Tue, 13 Jan 2009) | 1 line

correct a CLI description
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-13 16:07:48 +00:00
Tilghman Lesher
a4fd6ae437 Merged revisions 168526 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168526 | tilghman | 2009-01-12 17:45:51 -0600 (Mon, 12 Jan 2009) | 12 lines
  
  Merged revisions 167095 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r167095 | tilghman | 2008-12-31 18:01:22 -0600 (Wed, 31 Dec 2008) | 5 lines
    
    Repeat attempts to write when we receive -EAGAIN from the driver, as detailed
    in the ALSA sample code (see http://www.alsa-project.org/alsa-doc/alsa-lib/_2test_2pcm_8c-example.html#a32)
    Reported by: Jerry Geis (via the -users list)
    Fixed by: me (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-12 23:46:55 +00:00
Jeff Peeler
d1e7ac2285 Merged revisions 168517 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168517 | jpeeler | 2009-01-12 15:51:46 -0600 (Mon, 12 Jan 2009) | 12 lines
  
  Merged revisions 168516 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168516 | jpeeler | 2009-01-12 15:42:34 -0600 (Mon, 12 Jan 2009) | 5 lines
    
    (closes issue #13881)
    Reported by: hoowa
    
    Update the app CDR field for AGI commands that are not executing an application via "exec".
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168518 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-12 21:52:32 +00:00
Jeff Peeler
e8b5385c7e Merged revisions 168508 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168508 | jpeeler | 2009-01-12 14:53:04 -0600 (Mon, 12 Jan 2009) | 15 lines
  
  Merged revisions 168507 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168507 | jpeeler | 2009-01-12 14:26:22 -0600 (Mon, 12 Jan 2009) | 9 lines
    
    (closes issue #12269)
    Reported by: IgorG
    Tested by: denisgalvao
    
    This gits rid of the notion of an owning_app allowing the request and hangup to be initiated by different threads. Originating from an active agent channel requires this. The implementation primarily changes __login_exec to wait on a condition variable rather than a lock.
    
    Review: http://reviewboard.digium.com/r/35/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168509 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-12 21:01:55 +00:00
Olle Johansson
eeac5f539e Merged revisions 168497 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r168497 | oej | 2009-01-12 17:31:27 +0100 (MÃ¥n, 12 Jan 2009) | 2 lines

Better to use the proper app name in the STATUS variable

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-12 16:55:11 +00:00
Mark Michelson
03a951f368 Merged revisions 168485 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r168485 | mmichelson | 2009-01-12 09:00:00 -0600 (Mon, 12 Jan 2009) | 13 lines

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

........
r168482 | mmichelson | 2009-01-12 08:58:25 -0600 (Mon, 12 Jan 2009) | 5 lines

I am reverting the fix made in revision 168128 (and its upward merges)
after being contacted by Olle Johansson and being shown how this fix is
incorrect. Thanks to Olle for clearing this up for me.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168486 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-12 15:00:31 +00:00
Russell Bryant
6f07826706 Merged revisions 168481 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r168481 | russell | 2009-01-12 08:57:49 -0600 (Mon, 12 Jan 2009) | 10 lines

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

........
r168480 | russell | 2009-01-12 08:57:27 -0600 (Mon, 12 Jan 2009) | 2 lines

s/ringdance/ringcadence/ for Bulgaria

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-12 14:58:38 +00:00
Tilghman Lesher
8f41e52f44 Merged revisions 168334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r168334 | tilghman | 2009-01-09 19:42:45 -0600 (Fri, 09 Jan 2009) | 2 lines
  
  sizeof for a stringfield is 4.  Kinda low for reconstructing a field value.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-10 01:43:51 +00:00
Kevin P. Fleming
7f0d370d0d Merged revisions 168270 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168270 | kpfleming | 2009-01-09 17:16:08 -0600 (Fri, 09 Jan 2009) | 9 lines
  
  Merged revisions 168267 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168267 | kpfleming | 2009-01-09 17:12:29 -0600 (Fri, 09 Jan 2009) | 1 line
    
    update to use new sound file packages that include license files
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 23:17:14 +00:00
Richard Mudgett
6806bf4a69 Missed change from trunk -r168192 when resolving conflicts.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 23:14:57 +00:00
Richard Mudgett
16c8142b29 Merged revisions 168192 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r168192 | rmudgett | 2009-01-09 15:43:30 -0600 (Fri, 09 Jan 2009) | 10 lines
  
  Merged revisions 168191 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r168191 | rmudgett | 2009-01-09 15:28:42 -0600 (Fri, 09 Jan 2009) | 3 lines
    
    *  Fix for JIRA AST-175/ABE-1757
    *  Miscellaneous doxygen comments added.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 22:34:54 +00:00
Russell Bryant
7cd060bb84 Merged revisions 168200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r168200 | russell | 2009-01-09 16:21:05 -0600 (Fri, 09 Jan 2009) | 10 lines

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

........
r168198 | russell | 2009-01-09 16:14:38 -0600 (Fri, 09 Jan 2009) | 2 lines

Make this compile for mvanbaak

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 22:22:29 +00:00
Mark Michelson
271c6c9529 Merged revisions 168193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r168193 | mmichelson | 2009-01-09 15:53:26 -0600 (Fri, 09 Jan 2009) | 21 lines

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

........
r168128 | mmichelson | 2009-01-09 14:08:04 -0600 (Fri, 09 Jan 2009) | 13 lines

Add check_via calls to more request handlers

INFO, NOTIFY, OPTIONS, REFER, and MESSAGE requests
were not checking the topmost Via to determine where
to send the response. Adding check_via calls to those
request handlers solves this.

(closes issue #13071)
Reported by: baron
Patches:
      check_via.patch uploaded by baron (license 531)
Tested by: baron

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 21:57:01 +00:00
Terry Wilson
3fc6826248 Merged revisions 168142 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r168142 | twilson | 2009-01-09 14:25:25 -0600 (Fri, 09 Jan 2009) | 7 lines
  
  Don't leak memory if phoneprov.conf does not exist
  
  (closes issue #14203)
  Reported by: jamesgolovich
  Patches: 
        asterisk-phoneprovleak.diff.txt uploaded by jamesgolovich (license 176)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 20:28:16 +00:00
Tilghman Lesher
76c697c90b Merged revisions 168090 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r168090 | tilghman | 2009-01-09 12:30:55 -0600 (Fri, 09 Jan 2009) | 3 lines
  
  When using ast_str with a non-ast_str-enabled API, we need to update the buffer
  or otherwise, we cannot use ast_str_strlen().
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168091 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 18:36:03 +00:00
Matthew Nicholson
05c6d88ab2 Merged revisions 168014 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r168014 | mnicholson | 2009-01-09 10:32:34 -0600 (Fri, 09 Jan 2009) | 5 lines
  
  Use ast_safe_system() in logger.c instead of system()
  
  (closes issue #14194)
  Reported by: pabelanger
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 16:41:36 +00:00
Terry Wilson
da5ecd2598 Blocked revisions 167973 via svnmerge
........
  r167973 | twilson | 2009-01-08 19:15:43 -0600 (Thu, 08 Jan 2009) | 2 lines
  
  Set ORIGINATE_STATUS instead of OUTGOING_STATUS to match the documentation
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 01:16:28 +00:00
Terry Wilson
7970bef2d2 Merged revisions 167935 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r167935 | twilson | 2009-01-08 18:13:12 -0600 (Thu, 08 Jan 2009) | 2 lines
  
  Set peer context and exten values so MACRO_EXTEN and MACRO_CONTEXT will be set
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-09 00:37:01 +00:00
Tilghman Lesher
31d37012e0 Merged revisions 167894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r167894 | tilghman | 2009-01-08 16:37:20 -0600 (Thu, 08 Jan 2009) | 13 lines
  
  Merged revisions 167840 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r167840 | tilghman | 2009-01-08 16:08:56 -0600 (Thu, 08 Jan 2009) | 6 lines
    
    Don't truncate database results at 255 chars.
    (closes issue #14069)
     Reported by: evandro
     Patches: 
           20081214__bug14069.diff.txt uploaded by Corydon76 (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-08 22:42:23 +00:00
Kevin P. Fleming
cad23358ab Merged revisions 167720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r167720 | kpfleming | 2009-01-08 11:26:03 -0600 (Thu, 08 Jan 2009) | 9 lines
  
  Merged revisions 167714 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r167714 | kpfleming | 2009-01-08 11:24:21 -0600 (Thu, 08 Jan 2009) | 1 line
    
    remove an unnecessary argument to queue_request()
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167730 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-08 17:29:36 +00:00
Kevin P. Fleming
85ac907af2 Merged revisions 167700 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r167700 | kpfleming | 2009-01-08 10:43:26 -0600 (Thu, 08 Jan 2009) | 12 lines
  
  Merged revisions 167620 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r167620 | kpfleming | 2009-01-07 17:32:21 -0600 (Wed, 07 Jan 2009) | 5 lines
    
    When a SIP request or response arrives for a dialog with an associated Asterisk channel, and the lock on that channel cannot be obtained because it is held by another thread, instead of dropping the request/response, queue it for later processing when the channel lock becomes available.
    
    http://reviewboard.digium.com/r/123/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-08 17:22:40 +00:00
Leif Madsen
6e2db4dc27 Merged revisions 167662 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r167662 | lmadsen | 2009-01-08 09:27:53 -0500 (Thu, 08 Jan 2009) | 1 line
  
  Oops... fix the fieldname I changed yesterday to be right.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-08 14:31:37 +00:00
Russell Bryant
685eda5a54 Merged revisions 167569 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r167569 | russell | 2009-01-07 16:36:34 -0600 (Wed, 07 Jan 2009) | 10 lines

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

........
r167566 | russell | 2009-01-07 16:35:36 -0600 (Wed, 07 Jan 2009) | 2 lines

Fix the last couple of places where free() was improperly used directly.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167571 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-07 22:37:14 +00:00
Russell Bryant
6232e6d659 Merged revisions 167555 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r167555 | russell | 2009-01-07 16:27:23 -0600 (Wed, 07 Jan 2009) | 10 lines

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

........
r167554 | russell | 2009-01-07 16:26:42 -0600 (Wed, 07 Jan 2009) | 2 lines

Don't fclose() the file early, the filestream destructor will handle it.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167556 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-07 22:27:47 +00:00
Russell Bryant
bc8cd9f02c Merged revisions 167546 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r167546 | russell | 2009-01-07 16:20:31 -0600 (Wed, 07 Jan 2009) | 10 lines

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

........
r167545 | russell | 2009-01-07 16:19:47 -0600 (Wed, 07 Jan 2009) | 2 lines

Only try to close the file if one was actually opened

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-07 22:21:02 +00:00
Russell Bryant
8c2a49c221 Merged revisions 167542 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r167542 | russell | 2009-01-07 16:05:29 -0600 (Wed, 07 Jan 2009) | 12 lines

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

........
r167541 | russell | 2009-01-07 16:03:59 -0600 (Wed, 07 Jan 2009) | 4 lines

Don't use free() directly.  This caused a crash since ast_filestream is now an ao2 object.

Reported by JunK-Y on IRC, #asterisk-dev

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-07 22:06:18 +00:00
BJ Weschke
976f09e010 Merged revisions 167478 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r167478 | bweschke | 2009-01-07 13:20:31 -0500 (Wed, 07 Jan 2009) | 7 lines
  
   Answer the channel if it has not already been answered and we've already found a valid profile for followme. 
   (closes issue #14140)
   Reported by: dimas
   Patches:
         14140.patch uploaded by dimas
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-07 18:30:39 +00:00
Leif Madsen
eb0179bd13 Merged revisions 167477 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r167477 | lmadsen | 2009-01-07 13:18:45 -0500 (Wed, 07 Jan 2009) | 8 lines
  
  Update queues.conf.sample documentation.
  
  Update the queues.conf.sample documentation to mention that you need to preload chan_local.so as well if you plan on using Local channels for queue members, and you're preloading pbx_config.so.
  
  
  (closes issue #14179)
  Reported by: CrashHD
  Tested by: CrashHD
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167485 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-07 18:25:40 +00:00
Russell Bryant
6899204595 Merged revisions 167442 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r167442 | russell | 2009-01-07 11:35:39 -0600 (Wed, 07 Jan 2009) | 12 lines

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

........
r167432 | russell | 2009-01-07 11:29:53 -0600 (Wed, 07 Jan 2009) | 4 lines

Treat an empty string the same way as a NULL country argument.

In passing, simplify the handling of returning a default tone zone.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-07 17:42:27 +00:00
Leif Madsen
4d763741d4 Merged revisions 167373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r167373 | lmadsen | 2009-01-07 09:26:19 -0500 (Wed, 07 Jan 2009) | 1 line
  
  Update the sip-friends.sql file to use the non-deprecated 'defaultname' instead of 'username' and remove an extra comma that would cause the script to fail as-is
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-07 14:33:38 +00:00
Mark Michelson
b8b4ae6501 Merged revisions 167301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r167301 | mmichelson | 2009-01-06 15:36:44 -0600 (Tue, 06 Jan 2009) | 16 lines

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

........
r167299 | mmichelson | 2009-01-06 15:35:57 -0600 (Tue, 06 Jan 2009) | 8 lines

Use the correct variable when creating the format string

(closes issue #14177)
Reported by: nic_bellamy
Patches:
      asterisk-trunk-svn-r167242-ast_db_gettree.patch uploaded by nic (license 299)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-06 21:38:19 +00:00
Tilghman Lesher
4e803082b3 Merged revisions 167265 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r167265 | tilghman | 2009-01-06 15:02:33 -0600 (Tue, 06 Jan 2009) | 16 lines
  
  Merged revisions 167260 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ................
    r167260 | tilghman | 2009-01-06 14:48:05 -0600 (Tue, 06 Jan 2009) | 9 lines
    
    Merged revisions 167259 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.2
    
    ........
      r167259 | tilghman | 2009-01-06 14:44:03 -0600 (Tue, 06 Jan 2009) | 2 lines
      
      Security fix AST-2009-001.
    ........
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-06 21:07:20 +00:00
Mark Michelson
bfbf5afa62 Merged revisions 167180 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r167180 | mmichelson | 2009-01-05 10:59:36 -0600 (Mon, 05 Jan 2009) | 49 lines

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

........
r167179 | mmichelson | 2009-01-05 10:51:59 -0600 (Mon, 05 Jan 2009) | 41 lines

A couple of changes to T.38 SDP attribute handling

There are some boolean attributes for T.38 such
as T38FaxFillBitRemoval, T38FaxTranscodingMMR, and
T38FaxTranscodingJBIG. By simply being present, we
should treat these as a "true" value. The current
code, however, was requiring a 1 or 0 as the value
of the attribute in order to parse it. This is due
to the fact that there are some T.38 endpoints and
gateways that also transmit this information
incorrectly. This patch follows the "be liberal in
what you accept and strict in what you send"
philosophy by accepting both the correctly- and 
incorrectly-formatted attributes, but only sending
information as it is supposed to be sent.

It was also discovered that a particular type of 
T.38 gateway sends some non-standard T.38 SDP
attributes. Instead of using T38FaxMaxDatagram
and T38MaxBitRate, it used T38MaxDatagram and
T38FaxMaxRate respectively. We now will properly
accept these attributes as well.

Note that there are a lot of patches cited in
the below commit message template. This is
because the person who submitted these patches is
an awesome person and wrote 1.4, 1.6.0, and 1.6.1
variants.

(closes issue #13976)
Reported by: linulin
Patches:
     chan_sip.c.1.4-update1.diff uploaded by arcivanov (license 648)
	 chan_sip.c.1.6.0-update1.diff uploaded by arcivanov (license 648)
	 chan_sip.c.1.6.1-update1.diff uploaded by arcivanov (license 648)
	 chan_sip.c.1.4-relaxedT38_update1.diff uploaded by arcivanov (license 648)
	 chan_sip.c.1.6.0-relaxedT38_update1.diff uploaded by arcivanov (license 648)
	 chan_sip.c.1.6.1-relaxedT38_update1.diff uploaded by arcivanov (license 648)
Tested by: arcivanov


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-05 17:04:23 +00:00
Tilghman Lesher
1687071eed Merged revisions 167176 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r167176 | tilghman | 2009-01-05 10:44:47 -0600 (Mon, 05 Jan 2009) | 7 lines
  
  More clearly explain that quote marks are no longer necessary.
  (closes issue #13718)
   Reported by: davidw
   Patches: 
         20081020__bug13718.diff.txt uploaded by Corydon76 (license 14)
   Tested by: blitzrage
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167177 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-05 16:45:44 +00:00
Jeff Peeler
f37957c5b5 Blocked revisions 167125 via svnmerge
........
r167125 | jpeeler | 2009-01-03 14:29:54 -0600 (Sat, 03 Jan 2009) | 3 lines

When parsing environment variable ASTERISK_PROMPT, make sure to proceed to the next character when a non format specifier is used (no %). Otherwise, the while loop looking for the null byte will never exit.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-01-03 20:32:12 +00:00
Terry Wilson
228bf17ee7 Blocked revisions 167057 via svnmerge
........
  r167057 | twilson | 2008-12-31 16:53:55 -0600 (Wed, 31 Dec 2008) | 2 lines
  
  Don't forget to free typename
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167059 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-31 22:55:50 +00:00
Mark Michelson
dc2b180c27 Blocked revisions 167021 via svnmerge
........
r167021 | mmichelson | 2008-12-31 15:52:02 -0600 (Wed, 31 Dec 2008) | 4 lines

Change some incorrect syntax for pri set debug and correct
an off-by-one error in ss7 set debug command


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@167022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-31 21:53:40 +00:00
Tilghman Lesher
ac3a15778a Merged revisions 166954 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r166954 | tilghman | 2008-12-31 13:34:28 -0600 (Wed, 31 Dec 2008) | 12 lines
  
  Merged revisions 166953 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r166953 | tilghman | 2008-12-31 13:20:35 -0600 (Wed, 31 Dec 2008) | 5 lines
    
    Also inherit the musiconhold class.
    (Closes #14153)
    Reported by: Jerry Geis, via the users list.
    Patch by: me (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@166956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-31 19:37:03 +00:00