Commit Graph

16805 Commits

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

................
r163081 | mmichelson | 2008-12-11 10:33:16 -0600 (Thu, 11 Dec 2008) | 22 lines

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

........
r163080 | mmichelson | 2008-12-11 10:24:43 -0600 (Thu, 11 Dec 2008) | 14 lines

Fix a potential crash due to unsafe datastore handling.

This patch also contains a conversion from using long to time_t
for representing times for a queue, as well as some whitespace
fixes.

(closes issue #14060)
Reported by: nivek
Patches:
      datastore_fixup.patch.corrected uploaded by nivek (license 636)
	  with slight modification from me
Tested by: nivek


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@163083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-11 16:44:19 +00:00
Sean Bright
2ae9c54641 Blocked revisions 163037 via svnmerge
........
  r163037 | seanbright | 2008-12-11 10:40:07 -0500 (Thu, 11 Dec 2008) | 8 lines
  
  Fix some of the grammar issues in doc/tex/qos.tex.
  
  (closes issue #14049)
  Reported by: kshumard
  Patches:
        doc.tex.qos.tex.patch uploaded by kshumard (license 92)
        (Slight modifications by seanbright)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@163040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-11 15:42:41 +00:00
Joshua Colp
6bb78bff53 Merged revisions 162997 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r162997 | file | 2008-12-11 11:05:49 -0400 (Thu, 11 Dec 2008) | 4 lines
  
  When a device registers to use it is entirely possible that they may be in use, so tell the core that we don't know the devstate and have it ask us for it.
  (closes issue #13525)
  Reported by: pj
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@163006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-11 15:07:55 +00:00
Tilghman Lesher
704f4a7d5c Merged revisions 162922,162930 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r162922 | tilghman | 2008-12-10 16:48:09 -0600 (Wed, 10 Dec 2008) | 7 lines
  
  Checking global variables here actually overwrote the previous substitution by
  channel variables, and in any case, was redundant;
  pbx_substitute_variables_helper ALREADY does substitution for global
  variables.
  (closes issue #13327)
   Reported by: pj
........
  r162930 | tilghman | 2008-12-10 17:01:14 -0600 (Wed, 10 Dec 2008) | 2 lines
  
  Previously missing line, now the substitution works correctly
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 23:13:22 +00:00
Jeff Peeler
f358a95371 Merged revisions 162927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162927 | jpeeler | 2008-12-10 16:53:34 -0600 (Wed, 10 Dec 2008) | 11 lines

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

........
r162926 | jpeeler | 2008-12-10 16:52:51 -0600 (Wed, 10 Dec 2008) | 3 lines

Oops, inverted logic for a strcasecmp check. Pointed out by mmichelson, thanks!


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 22:54:22 +00:00
Joshua Colp
2400f3af10 Blocked revisions 162923 via svnmerge
........
  r162923 | file | 2008-12-10 18:48:58 -0400 (Wed, 10 Dec 2008) | 4 lines
  
  Fix reloads of aliased CLI commands. Due to changes done to turn it into a single memory allocation we can't just use the existing CLI alias structure. We have to destroy all existing ones and then create new ones.
  (closes issue #14054)
  Reported by: pj
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162925 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 22:52:19 +00:00
Jeff Peeler
cbe59286a3 Merged revisions 162891 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162891 | jpeeler | 2008-12-10 16:11:46 -0600 (Wed, 10 Dec 2008) | 13 lines

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

........
r162874 | jpeeler | 2008-12-10 16:04:18 -0600 (Wed, 10 Dec 2008) | 5 lines

(closes issue #13229)
Reported by: clegall_proformatique

Ensure that moh_generate does not return prematurely before local_ast_moh_stop is called. Also, the sleep in mp3_spawn now only occurs for http locations since it seems to have been added originally only for failing media streams.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 22:12:57 +00:00
Joshua Colp
25ed056a69 Merged revisions 162805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162805 | file | 2008-12-10 15:02:57 -0400 (Wed, 10 Dec 2008) | 13 lines
  
  Merged revisions 162804 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162804 | file | 2008-12-10 15:01:17 -0400 (Wed, 10 Dec 2008) | 6 lines
    
    Fix subscription based MWI up a bit. We only want to put sip: at the beginning of the URI if it is not already there and revert code to ignore destination check if subscribing for MWI.
    (closes issue #12560)
    Reported by: vsauer
    Patches:
          patch001.diff uploaded by ramonpeek (license 266)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 19:05:02 +00:00
Joshua Colp
777d07ee11 Merged revisions 162739 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162739 | file | 2008-12-10 13:53:09 -0400 (Wed, 10 Dec 2008) | 13 lines
  
  Merged revisions 162738 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162738 | file | 2008-12-10 13:50:43 -0400 (Wed, 10 Dec 2008) | 6 lines
    
    When a SIP peer unregisters set the expiry time back to 0 so that the 200 OK contains an expires of 0.
    (closes issue #13599)
    Reported by: hjourdain
    Patches:
          chan_sip.c.diff uploaded by hjourdain (license 583)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 17:54:58 +00:00
Michiel van Baak
55e22b0cf9 Blocked revisions 162687 via svnmerge
........
  r162687 | mvanbaak | 2008-12-10 18:09:15 +0100 (Wed, 10 Dec 2008) | 8 lines
  
  add tab completion for 'core set debug X filename.c'
  
  (closes issue #13969)
  Reported by: jtodd
  Patches:
        20081205__bug13969.diff.txt uploaded by Corydon76 (license 14)
  Tested by: mvanbaak, eliel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 17:12:18 +00:00
Mark Michelson
96740e6cce Blocked revisions 162672 via svnmerge
................
r162672 | mmichelson | 2008-12-10 10:46:51 -0600 (Wed, 10 Dec 2008) | 21 lines

Blocked revisions 162670 via svnmerge

........
r162670 | mmichelson | 2008-12-10 10:44:37 -0600 (Wed, 10 Dec 2008) | 14 lines

Update to stringfield handling so that side-effects on
parameters are not evaluated multiple times.

An example where this caused a problem was in chan_sip.c, with
the line

  ast_string_field_set(p, fromdomain, ++fromdomain);

This patch was originally uploaded to issue #13783 by
jamessan. While the issue was closed for other reasons, this
patch is valid and fixes a separate problem, and is thus
being committed.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 16:48:31 +00:00
Mark Michelson
f4f2de61c2 Merged revisions 162667 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162667 | mmichelson | 2008-12-10 10:39:10 -0600 (Wed, 10 Dec 2008) | 16 lines

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

........
r162659 | mmichelson | 2008-12-10 10:10:25 -0600 (Wed, 10 Dec 2008) | 8 lines

Add missing documentation to misdn.txt

(closes issue #14052)
Reported by: festr
Patches:
      misdn.txt.patch uploaded by festr (license 443)


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 16:39:59 +00:00
Mark Michelson
e67941f5cb Merged revisions 162664 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162664 | mmichelson | 2008-12-10 10:34:35 -0600 (Wed, 10 Dec 2008) | 19 lines

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

........
r162663 | mmichelson | 2008-12-10 10:24:56 -0600 (Wed, 10 Dec 2008) | 11 lines

Revert fix for issue 13570. It has caused more problems than
it helped to fix.

(closes issue #13783)
Reported by: navkumar


(closes issue #14025)
Reported by: ffs


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 16:37:14 +00:00
Joshua Colp
cae4de5b86 Blocked revisions 162660 via svnmerge
........
  r162660 | file | 2008-12-10 12:11:06 -0400 (Wed, 10 Dec 2008) | 6 lines
  
  FreeBSD also needs libgen.h
  (closes issue #14051)
  Reported by: ys
  Patches:
        res_http_post.c.diff uploaded by ys (license 281)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 16:12:54 +00:00
Joshua Colp
ffc955adae Merged revisions 162656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162656 | file | 2008-12-10 12:06:59 -0400 (Wed, 10 Dec 2008) | 13 lines
  
  Merged revisions 162653 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162653 | file | 2008-12-10 12:05:29 -0400 (Wed, 10 Dec 2008) | 6 lines
    
    Increment the sequence number on the end packets for RFC2833. After reading the RFC some more and doing some testing I agree with this change.
    (closes issue #12983)
    Reported by: vt
    Patches:
          dtmf_inc_seqnum_on_end_pkts.diff uploaded by vt (license 520)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 16:08:34 +00:00
Joshua Colp
a78825a181 Merged revisions 162619 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r162619 | file | 2008-12-10 11:22:26 -0400 (Wed, 10 Dec 2008) | 4 lines
  
  When transmitting a register set the socket port to the local one for the transport being used, not the port for the remote server.
  (closes issue #13633)
  Reported by: performer
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 15:28:02 +00:00
Michiel van Baak
bf77311441 Merged revisions 162583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r162583 | mvanbaak | 2008-12-10 12:34:09 +0100 (Wed, 10 Dec 2008) | 5 lines
  
  Make res_snmp.so compile on OpenBSD.
  
  OpenBSD uses an old version of gcc which throws an error
  if you use a macro that's not #defined
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 11:37:29 +00:00
Joshua Colp
e9177c1d06 Blocked revisions 162542 via svnmerge
........
  r162542 | file | 2008-12-09 21:09:06 -0400 (Tue, 09 Dec 2008) | 6 lines
  
  Finish conversion to using ARRAY_LEN and remove it as a janitor project.
  (closes issue #14032)
  Reported by: bkruse
  Patches:
        14032.patch uploaded by bkruse (license 132)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162544 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-10 01:10:58 +00:00
Mark Michelson
e8cdcc6ab6 Merged revisions 162488 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r162488 | kpfleming | 2008-12-09 17:41:02 -0600 (Tue, 09 Dec 2008) | 1 line

it does help if the compiler attribute syntax is correct
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 23:45:41 +00:00
Tilghman Lesher
e7fe92f90a Merged revisions 162466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162466 | tilghman | 2008-12-09 17:10:34 -0600 (Tue, 09 Dec 2008) | 9 lines
  
  Merged revisions 162463 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162463 | tilghman | 2008-12-09 17:08:53 -0600 (Tue, 09 Dec 2008) | 2 lines
    
    Oops, should be "tz", not "zonetag".
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162472 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 23:12:06 +00:00
Russell Bryant
83ef986697 Blocked revisions 162418 via svnmerge
........
r162418 | russell | 2008-12-09 16:38:41 -0600 (Tue, 09 Dec 2008) | 7 lines

Add some additional Asterisk project developer documentation.  

After the nightly update of the documentation on asterisk.org, I'll post 
an update to asterisk-dev with a pointer to the changes.  This covers some
release branch and commit policy information.  None of this should be a
surprise, since it's just documenting what we have already been doing.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 22:39:07 +00:00
Russell Bryant
5964f2e0f1 Merged revisions 162414 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162414 | russell | 2008-12-09 16:25:06 -0600 (Tue, 09 Dec 2008) | 16 lines

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

........
r162413 | russell | 2008-12-09 16:17:39 -0600 (Tue, 09 Dec 2008) | 8 lines

Remove the test_for_thread_safety() function completely.

The test is not valid.  Besides, if we actually suspected that recursive
mutexes were not working, we would get a ton of LOG_ERROR messages when
DEBUG_THREADS is turned on.

(inspired by a discussion on the asterisk-dev list)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162416 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 22:34:55 +00:00
Tilghman Lesher
fb46352fcb Merged revisions 162355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162355 | tilghman | 2008-12-09 15:57:09 -0600 (Tue, 09 Dec 2008) | 11 lines
  
  Merged revisions 162348 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162348 | tilghman | 2008-12-09 15:53:25 -0600 (Tue, 09 Dec 2008) | 4 lines
    
    We appear to have documented tz= in the [general] section of voicemail.conf,
    without actually having implemented it.  Oops.
    (Reported by Olivier on the -users list)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 22:02:40 +00:00
Joshua Colp
3c6b748bab Merged revisions 162342 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162342 | file | 2008-12-09 17:16:37 -0400 (Tue, 09 Dec 2008) | 11 lines
  
  Merged revisions 162341 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162341 | file | 2008-12-09 17:14:29 -0400 (Tue, 09 Dec 2008) | 4 lines
    
    Add 'down' as a valid state for directed call pickup. This creeps up when we receive session progress when dialing a device and not ringing.
    (closes issue #14005)
    Reported by: ddl
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 21:18:15 +00:00
Russell Bryant
3f223f6531 Merged revisions 162291 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162291 | russell | 2008-12-09 14:59:54 -0600 (Tue, 09 Dec 2008) | 17 lines

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

........
r162286 | russell | 2008-12-09 14:57:35 -0600 (Tue, 09 Dec 2008) | 9 lines

Fix an issue where callers on an incoming call on an SLA trunk would not hear ringback.

We need to make sure that we don't start writing audio to the trunk channel until we're
actually ready to answer it.  Otherwise, the channel driver will treat it as inband
progress, even though all they are getting is silence.

(closes issue #12471)
Reported by: mthomasslo

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 21:03:44 +00:00
Dwayne M. Hubbard
79e400caa7 Blocked revisions 161115 via svnmerge
........
r161115 | dhubbard | 2008-12-04 17:00:30 -0600 (Thu, 04 Dec 2008) | 11 lines

If 'faxdetect=yes' in sip.conf, switch to a 'fax' extension (if it exists) after T38 is negotiated.  
Terry Wilson created the original patch for this functionality, which I slightly modified and added 
the faxdetect=yes|no configuration option.  This patch is only for T38 fax detection and does not 
do anything for G711 over SIP fax detection.  By default, this option is disabled. 

Reviewboard: http://reviewboard.digium.com/r/69/

This functionality is for issue AST-140.



........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 20:49:17 +00:00
Joshua Colp
f373055869 Merged revisions 162275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162275 | file | 2008-12-09 16:46:11 -0400 (Tue, 09 Dec 2008) | 11 lines
  
  Merged revisions 162273 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162273 | file | 2008-12-09 16:44:32 -0400 (Tue, 09 Dec 2008) | 4 lines
    
    Fix double declaration of 'x' on the PPC platform.
    (closes issue #14038)
    Reported by: ffloimair
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 20:48:02 +00:00
Steve Murphy
f31795831e Merged revisions 162271 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162271 | murf | 2008-12-09 13:40:31 -0700 (Tue, 09 Dec 2008) | 9 lines

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

........
r162264 | murf | 2008-12-09 13:20:54 -0700 (Tue, 09 Dec 2008) | 1 line

In discussion with seanbright on #asterisk-dev,  I have added a default rule, and an option to suppress the default rule from being generated in the flex output, for the sake of those OS's where they didn't tweak flex's ECHO macro, and the compiler doesn't like it. The regressions are OK with this.
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 20:47:13 +00:00
Mark Michelson
b6b83bbe9c Merged revisions 162266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162266 | mmichelson | 2008-12-09 14:30:07 -0600 (Tue, 09 Dec 2008) | 14 lines

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

........
r162265 | mmichelson | 2008-12-09 14:28:44 -0600 (Tue, 09 Dec 2008) | 6 lines

If we fail to start a thread for the pbx to run in, we need to
be sure to decrease the number of active calls on the system.

This fix may relate to ABE-1713, but it is not certain yet.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 20:31:51 +00:00
Joshua Colp
8e796b4658 Merged revisions 162205 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162205 | file | 2008-12-09 15:48:35 -0400 (Tue, 09 Dec 2008) | 14 lines
  
  Merged revisions 162204 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162204 | file | 2008-12-09 15:47:07 -0400 (Tue, 09 Dec 2008) | 7 lines
    
    Make sure that the timestamp for DTMF is not the same as the previous voice frame and do not send audio when transmitting DTMF as this confuses some equipment.
    (closes issue #13209)
    Reported by: ip-rob
    Patches:
          13209.diff uploaded by file (license 11)
    Tested by: ip-rob, bujones
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 19:52:45 +00:00
Joshua Colp
085cfe48cf Merged revisions 162197 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r162197 | file | 2008-12-09 15:08:39 -0400 (Tue, 09 Dec 2008) | 11 lines
  
  Merged revisions 162188 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r162188 | file | 2008-12-09 15:06:14 -0400 (Tue, 09 Dec 2008) | 4 lines
    
    Take video into account when early bridging RTP.
    (closes issue #13535)
    Reported by: davidw
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162202 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 19:10:33 +00:00
Steve Murphy
b331a9e331 Merged revisions 162140 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162140 | murf | 2008-12-09 11:35:35 -0700 (Tue, 09 Dec 2008) | 9 lines

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

........
r162136 | murf | 2008-12-09 11:13:39 -0700 (Tue, 09 Dec 2008) | 1 line

Previous fix used ast_malloc and ast_copy_string and messed up the standalone stuff. Fixed.
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162142 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 18:49:03 +00:00
Steve Murphy
6ceb1dd7c0 Merged revisions 162079 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162079 | murf | 2008-12-09 10:18:03 -0700 (Tue, 09 Dec 2008) | 53 lines

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

........
r162013 | murf | 2008-12-09 09:31:55 -0700 (Tue, 09 Dec 2008) | 45 lines

(closes issue #14019)
Reported by: ckjohnsonme
Patches:
      14019.diff uploaded by murf (license 17)
Tested by: ckjohnsonme, murf

This crash was the result of a few small errors that
would combine in 64-bit land to result in a crash.

32-bit land might have seen these combine to mysteriously
drop the args to an application call, in certain
circumstances.

Also, in trying to find this bug, I spotted
a situation in the flex input, where, in passing
back a 'word' to the parser, it would allocate
a buffer larger than necessary. I changed the
usage in such situations, so that strdup was
not used, but rather, an ast_malloc, followed
by ast_copy_string.

I removed a field from the pval struct, in
u2, that was never getting used, and set in
one spot in the code. I believe it was an
artifact of a previous fix to make switch
cases work invisibly with extens.

And, for goto's I removed a '!' from
before a strcmp, that has been there
since the initial merging of AEL2, that
might prevent the proper target of a 
goto from being found. This was pretty
harmless on its own, as it would just
louse up a consistency check for users.

Many thanks to ckjohnsonme for providing
a simplified and complete set of information
about the bug, that helped considerably in
finding and fixing the problem.

Now, to get aelparse up and running again
in trunk, and out of its "horribly broken" state,
so I can run the regression suite!


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 17:32:49 +00:00
Russell Bryant
20aed1b254 Merged revisions 162016 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r162016 | russell | 2008-12-09 10:47:39 -0600 (Tue, 09 Dec 2008) | 13 lines

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

........
r162014 | russell | 2008-12-09 10:46:53 -0600 (Tue, 09 Dec 2008) | 5 lines

Allow DISA to handle extensions that start with #.

(closes issue #13330)
Reported by: jcovert

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 16:50:04 +00:00
Eliel C. Sardanons
3fdbe5d8eb Blocked revisions 161947 via svnmerge
........
  r161947 | eliel | 2008-12-09 12:49:30 -0200 (Tue, 09 Dec 2008) | 8 lines
  
  Avoid allocating memory for a thread that don't need it. Also, this memory was not being freed until the
  main thread ends. (That is never).
  
  (closes issue #14040)
  Reported by: eliel
  Patches:
        func_odbc.c.patch uploaded by eliel (license 64)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@162015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 16:46:56 +00:00
Russell Bryant
4dae38f1b9 Merged revisions 161951 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r161951 | russell | 2008-12-09 08:57:39 -0600 (Tue, 09 Dec 2008) | 23 lines

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

........
r161948 | russell | 2008-12-09 08:52:25 -0600 (Tue, 09 Dec 2008) | 15 lines

Fix a problem with GROUP() settings on a masquerade.

The previous code carried over group settings from the old channel to the new
one.  However, it did nothing with the group settings that were already on the
new channel.  This patch removes all group settings that already existed on the
new channel.

I have a more complicated version of this patch which addresses only the most
blatant problem with this, which is that a channel can end up with multiple
group settings in the same category.  However, I could not think of a use case
for keeping any of the group settings from the old channel, so I went this route
for now.

(closes AST-152)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-09 15:07:03 +00:00
Joshua Colp
11c75cc454 Blocked revisions 161869 via svnmerge
........
  r161869 | file | 2008-12-08 17:41:50 -0400 (Mon, 08 Dec 2008) | 6 lines
  
  Add alw as a valid file extension for alaw and ulw as a valid file extension for ulaw.
  (closes issue #14001)
  Reported by: henrikw
  Patches:
        alw.diff uploaded by henrikw (license 627)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161871 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-08 21:42:49 +00:00
Joshua Colp
2f51870263 Merged revisions 161830 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161830 | file | 2008-12-08 16:53:50 -0400 (Mon, 08 Dec 2008) | 2 lines
  
  Update autosupport script with a few changes.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161835 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-08 20:55:54 +00:00
Tilghman Lesher
5e7155ec1f Merged revisions 161790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161790 | tilghman | 2008-12-08 12:49:50 -0600 (Mon, 08 Dec 2008) | 6 lines
  
  Allocate enough space initially for the message.
  (closes issue #14027)
   Reported by: junky
   Patches: 
         M14027.diff uploaded by junky (license 177)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-08 18:52:35 +00:00
Joshua Colp
f1a71be36b Merged revisions 161787 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161787 | file | 2008-12-08 14:47:32 -0400 (Mon, 08 Dec 2008) | 6 lines
  
  Fix a regression introduced when the PBX timeouts were converted to milliseconds. collect_digits now gets milliseconds fed to it, not seconds.
  (closes issue #14012)
  Reported by: dveiga
  Patches:
        14012.patch uploaded by bkruse (license 132)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-08 18:49:47 +00:00
Joshua Colp
f99abb26d6 Merged revisions 161726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r161726 | file | 2008-12-08 13:53:32 -0400 (Mon, 08 Dec 2008) | 13 lines
  
  Merged revisions 161725 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r161725 | file | 2008-12-08 13:52:10 -0400 (Mon, 08 Dec 2008) | 6 lines
    
    Make the usereqphone option work again.
    (closes issue #13474)
    Reported by: mmaguire
    Patches:
          20080912_bug13474.diff uploaded by mmaguire (license 571)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-08 17:55:45 +00:00
Matthew Nicholson
cebc3198bc Merged revisions 161721 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161721 | mnicholson | 2008-12-08 11:23:41 -0600 (Mon, 08 Dec 2008) | 7 lines
  
  Fix a crash that can occur on a transfer in chan_sip when attempting to collect
  rtp stats.
  
  (closes issue #13956)
  Reported by: chris-mac
  Tested by: chris-mac
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-08 17:24:32 +00:00
Eliel C. Sardanons
7382e257db Blocked revisions 161637 via svnmerge
........
  r161637 | eliel | 2008-12-08 02:23:50 -0200 (Mon, 08 Dec 2008) | 4 lines
  
  - Fix a leak while printing an argument description.
  - Avoid printing the name of an argument in the [Arguments] tag if there is no description
    for that argument.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-08 04:26:58 +00:00
Eliel C. Sardanons
01b9fec51e Blocked revisions 161604 via svnmerge
........
  r161604 | eliel | 2008-12-08 01:35:55 -0200 (Mon, 08 Dec 2008) | 10 lines
  
  Add voicemail related applications and functions XML documentation:
      applications:
        - VoiceMail()
        - VoiceMailMain()
        - MailboxExists()
        - VMAuthenticate()
      functions:
        - MAILBOX_EXISTS()
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-08 03:38:30 +00:00
Eliel C. Sardanons
0de3401852 Blocked revisions 161571 via svnmerge
........
  r161571 | eliel | 2008-12-07 20:43:46 -0200 (Sun, 07 Dec 2008) | 2 lines
  
  Introduce SMS() application XML documentation.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161573 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-07 22:45:44 +00:00
Eliel C. Sardanons
64f9d1473b Blocked revisions 161536 via svnmerge
........
  r161536 | eliel | 2008-12-06 19:18:51 -0200 (Sat, 06 Dec 2008) | 2 lines
  
  Move Speech* applications and functions documentation to XML.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-06 21:23:40 +00:00
Mark Michelson
d6359889b9 Merged revisions 161493 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r161493 | mmichelson | 2008-12-05 17:24:38 -0600 (Fri, 05 Dec 2008) | 8 lines

If the autoloop flag is set on a channel, then we need to 
add 1 to the priority when checking if the extension exists. Otherwise,
gosubs will fail.

This was discovered when investigating an asterisk-users mailing list post
made by Gary Hawkins.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161496 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-05 23:29:48 +00:00
Sean Bright
fc975ab998 Merged revisions 161427 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r161427 | seanbright | 2008-12-05 16:08:43 -0500 (Fri, 05 Dec 2008) | 22 lines
  
  Merged revisions 161426 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ................
    r161426 | seanbright | 2008-12-05 16:02:20 -0500 (Fri, 05 Dec 2008) | 15 lines
    
    Merged revisions 161421 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.2
    
    ........
      r161421 | seanbright | 2008-12-05 15:50:23 -0500 (Fri, 05 Dec 2008) | 8 lines
      
      Fix build errors on FreeBSD (uint -> unsigned int).
      
      (closes issue #14006)
      Reported by: alphaque
      Patches:
            astobj2.h-patch uploaded by alphaque (license 259)
            (Slightly modified by seanbright)
    ........
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161429 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-05 21:16:15 +00:00
Sean Bright
28e93c7288 Merged revisions 161349-161350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r161349 | seanbright | 2008-12-05 10:56:15 -0500 (Fri, 05 Dec 2008) | 5 lines
  
  When using IMAP_STORAGE, it's important to convert bare newlines (\n) in
  emailbody and pagerbody to CR-LF so that the IMAP server doesn't spit out an
  error.  This was informally reported on #asterisk-dev a few weeks ago.  Reviewed
  by Mark M. on IRC.
........
  r161350 | seanbright | 2008-12-05 11:04:36 -0500 (Fri, 05 Dec 2008) | 2 lines
  
  Use ast_free() instead of free(), pointed out by eliel on IRC.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-05 16:18:52 +00:00
Russell Bryant
96e176f2a0 Merged revisions 161288 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r161288 | russell | 2008-12-05 08:16:24 -0600 (Fri, 05 Dec 2008) | 10 lines

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

........
r161287 | russell | 2008-12-05 08:12:14 -0600 (Fri, 05 Dec 2008) | 2 lines

Fix a NULL format string warning found by buildbot.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@161290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-05 14:18:39 +00:00