Commit Graph

16736 Commits

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

........
r160555 | mmichelson | 2008-12-03 11:07:09 -0600 (Wed, 03 Dec 2008) | 11 lines

When investigating issue #13548, I found that gosub
handling in app_queue was just completely wrong, mostly
because the channel operations being performed were being
done on the incorrect channel.

With this set of changes, a gosub will correctly run on
the answering queue member's channel. There are still crash
issues which occur if there are dialplan syntax errors, so
I cannot yet close the referenced issue.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-03 17:10:04 +00:00
Tilghman Lesher
1ae9921551 Merged revisions 160552 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160552 | tilghman | 2008-12-03 11:01:03 -0600 (Wed, 03 Dec 2008) | 11 lines
  
  Merged revisions 160551 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r160551 | tilghman | 2008-12-03 10:58:34 -0600 (Wed, 03 Dec 2008) | 4 lines
    
    Don't start scanning the directory until all modules are loaded, because some
    required modules (channels, apps, functions) may not yet be in memory yet.
    Fixes AST-149.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-03 17:02:19 +00:00
Tilghman Lesher
af7f07ac17 Merged revisions 160481 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160481 | tilghman | 2008-12-03 08:11:53 -0600 (Wed, 03 Dec 2008) | 14 lines
  
  Merged revisions 160480 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r160480 | tilghman | 2008-12-03 08:09:35 -0600 (Wed, 03 Dec 2008) | 7 lines
    
    Jon Bonilla (Manwe) pointed out on the -dev list:
    "I guess that having only ip-phones in mind is not a good approach. Since it is
    possible to have a sip proxy connected to asterisk we could receive a 407
    (unauthorized) or 483 (too many hops) as response and dialog ending would not be
    a good behavior."
    So modified.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-03 14:14:13 +00:00
Eliel C. Sardanons
8ee098a13b Blocked revisions 160447 via svnmerge
........
  r160447 | eliel | 2008-12-03 09:01:23 -0200 (Wed, 03 Dec 2008) | 4 lines
  
  - Avoid setting .synopsis and .syntax if we are using XML documentation (or the
  xml documentation wont be loaded).
  - Use <variable></variable> to refer to a dialplan variable.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-03 11:02:32 +00:00
Tilghman Lesher
ccdcc9caa1 Blocked revisions 160346 via svnmerge
........
  r160346 | tilghman | 2008-12-02 12:48:51 -0600 (Tue, 02 Dec 2008) | 2 lines
  
  Info on LOCAL_PEEK function.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-02 18:49:25 +00:00
Tilghman Lesher
f8070989f1 Blocked revisions 160344 via svnmerge
........
  r160344 | tilghman | 2008-12-02 12:39:12 -0600 (Tue, 02 Dec 2008) | 2 lines
  
  Add LOCAL_PEEK function, as requested by lmadsen.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-02 18:39:58 +00:00
Jeff Peeler
622c9bc7f0 Merged revisions 160333 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r160333 | jpeeler | 2008-12-02 12:04:51 -0600 (Tue, 02 Dec 2008) | 1 line

remove duplicate comment that I accidentally merged
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160339 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-02 18:05:51 +00:00
Jeff Peeler
224f8d1b86 Merged revisions 160319 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r160319 | jpeeler | 2008-12-02 12:00:24 -0600 (Tue, 02 Dec 2008) | 7 lines

(closes issue #13786)
Reported by: tzafrir

Readding DAHDI_CHECK_HOOKSTATE define that was removed in r134260 which fixes not being able to make outgoing calls on some FXO adapters:
http://lists.digium.com/pipermail/asterisk-users/2008-November/thread.html#221553


........


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

................
  r160308 | tilghman | 2008-12-02 11:56:24 -0600 (Tue, 02 Dec 2008) | 17 lines
  
  Merged revisions 160297 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r160297 | tilghman | 2008-12-02 11:42:09 -0600 (Tue, 02 Dec 2008) | 10 lines
    
    When the text does not match exactly (e.g. RTP/SAVP), then the %n conversion
    fails, and the resulting integer is garbage.  Thus, we must initialize the
    integer and check it afterwards for success.
    (closes issue #14000)
     Reported by: folke
     Patches: 
           asterisk-sipbg-sscanf-1.4.22.diff uploaded by folke (license 626)
           asterisk-sipbg-sscanf-1.6.0.1.diff uploaded by folke (license 626)
           asterisk-sipbg-sscanf-trunk-r159896.diff uploaded by folke (license 626)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160325 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-02 18:03:01 +00:00
Tilghman Lesher
6674ef2c22 Merged revisions 160208 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160208 | tilghman | 2008-12-01 18:37:21 -0600 (Mon, 01 Dec 2008) | 10 lines
  
  Merged revisions 160207 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r160207 | tilghman | 2008-12-01 18:25:16 -0600 (Mon, 01 Dec 2008) | 3 lines
    
    Ensure that Asterisk builds with --enable-dev-mode, even on the latest gcc
    and glibc.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-02 00:58:43 +00:00
Sean Bright
c8d7336afb Merged revisions 160170-160172 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r160170 | seanbright | 2008-12-01 18:08:24 -0500 (Mon, 01 Dec 2008) | 1 line
  
  Pay attention to the return value of system(), even if we basically ignore it.
................
  r160171 | seanbright | 2008-12-01 18:18:48 -0500 (Mon, 01 Dec 2008) | 1 line
  
  Silence a build warning. (chan_phone.c:810: warning: value computed is not used)
................
  r160172 | seanbright | 2008-12-01 18:37:49 -0500 (Mon, 01 Dec 2008) | 10 lines
  
  Merged revisions 159976 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r159976 | mvanbaak | 2008-12-01 11:08:36 -0500 (Mon, 01 Dec 2008) | 3 lines
    
    Get rid of the useless format string and argument in the Bogus/ manager channelname.
    Noted by kpfleming and name Bogus/manager suggested by eliel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-01 23:53:18 +00:00
Tilghman Lesher
e1cf13b164 Merged revisions 160097 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r160097 | tilghman | 2008-12-01 15:23:37 -0600 (Mon, 01 Dec 2008) | 2 lines
  
  Use AST_EXT_LIB_SETUP before using AST_EXT_LIB_CHECK or bad things happen.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-01 21:46:26 +00:00
Eliel C. Sardanons
f598713ea0 Blocked revisions 160062 via svnmerge
........
  r160062 | eliel | 2008-12-01 16:52:14 -0200 (Mon, 01 Dec 2008) | 13 lines
  
  Introduce CLI permissions.
  Based on cli_permissions.conf configuration file, we are able to permit or deny
  cli commands based on some patterns and the local user and group running rasterisk.
  
  (Sorry if I missed some of the testers).
  
  Reviewboard: http://reviewboard.digium.com/r/11/
  
  (closes issue #11123)
  Reported by: eliel
  Tested by: eliel, IgorG, Laureano, otherwiseguy, mvanbaak
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-01 19:01:26 +00:00
Russell Bryant
343c549980 Merged revisions 160004 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r160004 | russell | 2008-12-01 11:34:31 -0600 (Mon, 01 Dec 2008) | 14 lines

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

........
r160003 | russell | 2008-12-01 11:27:30 -0600 (Mon, 01 Dec 2008) | 6 lines

Apply some logic used in iax2_indicate() to iax2_setoption(), as well, since they
both have the potential to send control frames in the middle of call setup.  We
have to wait until we have received a message back from the remote end before
we try to send any more frames.  Otherwise, the remote end will consider it
invalid, and we'll get stuck in an INVAL/VNAK storm.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@160006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-01 17:45:52 +00:00
Michiel van Baak
02766b0209 Merged revisions 159898 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159898 | mvanbaak | 2008-12-01 15:09:59 +0100 (Mon, 01 Dec 2008) | 11 lines
  
  Merged revisions 159897 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r159897 | mvanbaak | 2008-12-01 15:05:41 +0100 (Mon, 01 Dec 2008) | 4 lines
    
    make manager compile on OpenBSD.
    The last (10th) argument to ast_channel_alloc here should be a pointer
    and NULL is not really a pointer.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159975 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-01 16:06:29 +00:00
Russell Bryant
45777c7e3a Merged revisions 159911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r159911 | russell | 2008-12-01 08:56:10 -0600 (Mon, 01 Dec 2008) | 10 lines

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

........
r159900 | russell | 2008-12-01 08:52:56 -0600 (Mon, 01 Dec 2008) | 2 lines

Force a "make clean" to avoid a bizarre build issue ...

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-12-01 14:57:58 +00:00
Tilghman Lesher
05b4275693 Merged revisions 159853 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r159853 | tilghman | 2008-11-29 12:33:18 -0600 (Sat, 29 Nov 2008) | 2 lines
  
  Allow the '#' sign to exist within an extension (inspired by issue #13330)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-29 18:34:12 +00:00
Kevin P. Fleming
c3347e79a5 Merged revisions 159818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r159818 | kpfleming | 2008-11-29 11:57:39 -0600 (Sat, 29 Nov 2008) | 18 lines
  
  incorporates r159808 from branches/1.4:
  ------------------------------------------------------------------------
  r159808 | kpfleming | 2008-11-29 10:58:29 -0600 (Sat, 29 Nov 2008) | 7 lines
  
  update dev-mode compiler flags to match the ones used by default on Ubuntu Intrepid, so all developers will see the same warnings and errors
  
  since this branch already had some printf format attributes, enable checking for them and tag functions that didn't have them
  
  format attributes in a consistent way
  
  
  ------------------------------------------------------------------------
  
  in addition:
  
  move some format attributes from main/utils.c to the header files they belong in, and fix up references to the relevant functions based on new compiler warnings
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-29 18:16:50 +00:00
Kevin P. Fleming
860ef1024a Blocked revisions 159774 via svnmerge
........
  r159774 | kpfleming | 2008-11-29 09:29:33 -0600 (Sat, 29 Nov 2008) | 5 lines
  
  we can now build with -Wformat=2, which found a couple of real bugs
  
  because SPRINTF() use non-literal format strings (which cannot be checked), move it into its own module so the rest of func_strings can benefit from format string checking
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-29 15:30:29 +00:00
Michiel van Baak
4720e69f94 Blocked revisions 159734 via svnmerge
........
  r159734 | mvanbaak | 2008-11-28 15:20:11 +0100 (Fri, 28 Nov 2008) | 8 lines
  
  Make res_config_ldap compile with the official OpenLDAP 2.3.X versions.
  They removed the LDAP_DEPRECATED define from their source and since we are using a couple
  of deprecated function calls we should define it with a CFLAG.
  
  Tested by me on OpenBSD 4.4 and snuff-home on Linux to make sure everything keeps compiling.
  It shouldn't break, we only define the LDAP_DEPRECATED with this which is what 
  all 2.2.X and older versions of OpenLDAP did in their own tree.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-28 14:21:44 +00:00
Kevin P. Fleming
3d91458e51 Blocked revisions 159631 via svnmerge
........
  r159631 | kpfleming | 2008-11-26 15:20:50 -0600 (Wed, 26 Nov 2008) | 5 lines
  
  improve handling of API calls provided by loaded modules through use of some GCC features; this makes app_stack's usage of AGI APIs even cleaner, and will allow it to work 'as expected' either with or without res_agi being loaded
  
  reviewed at http://reviewboard.digium.com/r/62
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-26 21:21:15 +00:00
Kevin P. Fleming
d0f1f255bc Blocked revisions 159629 via svnmerge
........
  r159629 | kpfleming | 2008-11-26 15:09:58 -0600 (Wed, 26 Nov 2008) | 1 line
  
  add support for event suppression for AMI-over-HTTP
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-26 21:18:46 +00:00
Mark Michelson
81826df05d Merged revisions 159554 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r159554 | mmichelson | 2008-11-26 13:57:11 -0600 (Wed, 26 Nov 2008) | 19 lines

Add some necessary hangup commands in the case that forwarding
a call fails

1) Hang up the original destination if the local channel cannot
   be requested.
2) Hang up the local channel (in addition to the original destination)
   if ast_call fails when calling the newly created local channel.

This prevents channels from sticking around forever in the
case of a botched call forward (e.g. to an extension which does not
exist).

(closes issue #13764)
Reported by: davidw
Patches:
      13764_v2.patch uploaded by putnopvut (license 60)
Tested by: putnopvut, davidw


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-26 19:58:43 +00:00
Kevin P. Fleming
ff8da233bb Merged revisions 159534 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159534 | kpfleming | 2008-11-26 13:08:56 -0600 (Wed, 26 Nov 2008) | 11 lines
  
  Merged revisions 159476 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r159476 | kpfleming | 2008-11-26 12:36:24 -0600 (Wed, 26 Nov 2008) | 7 lines
    
    simplify (and slightly bug-fix) the recent developer-oriented COMPILE_DOUBLE mode
    
    ensure that 'make clean' removes dependency files for .i files that are created in COMPILE_DOUBLE mode
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159535 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-26 19:17:41 +00:00
Tilghman Lesher
e73e6b7b24 Merged revisions 159475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r159475 | tilghman | 2008-11-26 12:33:04 -0600 (Wed, 26 Nov 2008) | 7 lines
  
  If the config file does not exist, then the first use crashes Asterisk.
  (closes issue #13848)
   Reported by: klaus3000
   Patches: 
         udptl.c.patch uploaded by eliel (license 64)
   Tested by: blitzrage
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-26 18:38:07 +00:00
Mark Michelson
40983811df Merged revisions 159437 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r159437 | mmichelson | 2008-11-26 08:58:17 -0600 (Wed, 26 Nov 2008) | 10 lines

Don't allow for configuration options to overwrite options
set via channel variables on a reload.

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


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-26 14:59:09 +00:00
Jeff Peeler
3e54351b7c Merged revisions 159402 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r159402 | jpeeler | 2008-11-25 21:18:01 -0600 (Tue, 25 Nov 2008) | 3 lines

Always parse arguments in park_call_exec so that app_args is valid. This prevents a crash when executing Park from the dialplan with no arguments.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-26 03:19:50 +00:00
Steve Murphy
95fb6bb29c Merged revisions 159360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r159360 | murf | 2008-11-25 16:03:01 -0700 (Tue, 25 Nov 2008) | 23 lines

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

........
r159316 | murf | 2008-11-25 15:41:10 -0700 (Tue, 25 Nov 2008) | 15 lines

(closes issue #12694)
Reported by: yraber
Patches:
      12694.2nd.diff uploaded by murf (license 17)
Tested by: murf, laurav

Thanks to file (Joshua Colp) for his IAX fix.

the change to cdr.c allows no-answer to percolate
up into CDR's, and feels like the right place to
locate this fix; if BUSY is done here, no-answer
should be, too.



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159375 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 23:27:08 +00:00
Tilghman Lesher
ae28cf2d91 Merged revisions 159276 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159276 | tilghman | 2008-11-25 15:57:59 -0600 (Tue, 25 Nov 2008) | 14 lines
  
  Merged revisions 159269 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r159269 | tilghman | 2008-11-25 15:56:48 -0600 (Tue, 25 Nov 2008) | 7 lines
    
    Don't try to send a response on a NULL pvt.
    (closes issue #13919)
     Reported by: barthpbx
     Patches: 
           chan_iax2.c.patch uploaded by eliel (license 64)
     Tested by: barthpbx
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 21:58:48 +00:00
Mark Michelson
8b1e097764 Blocked revisions 159250 via svnmerge
........
r159250 | mmichelson | 2008-11-25 15:49:42 -0600 (Tue, 25 Nov 2008) | 6 lines

Make the options for the general and profiles more consistent
for the "pls_hold_prompt" option. This does not affect any released
version of Asterisk, so there is no need to update the CHANGES
file for this.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 21:50:52 +00:00
Tilghman Lesher
debfcf4ed6 Merged revisions 159247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159247 | tilghman | 2008-11-25 15:42:42 -0600 (Tue, 25 Nov 2008) | 21 lines
  
  Merged revisions 159246 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ................
    r159246 | tilghman | 2008-11-25 15:40:28 -0600 (Tue, 25 Nov 2008) | 14 lines
    
    Merged revisions 159245 via svnmerge from 
    https://origsvn.digium.com/svn/asterisk/branches/1.2
    
    ........
      r159245 | tilghman | 2008-11-25 15:37:06 -0600 (Tue, 25 Nov 2008) | 7 lines
      
      Regression fix for last security fix.  Set the iseqno correctly.
      (closes issue #13918)
       Reported by: ffloimair
       Patches: 
             20081119__bug13918.diff.txt uploaded by Corydon76 (license 14)
       Tested by: ffloimair
    ........
  ................
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159249 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 21:44:16 +00:00
Terry Wilson
3988a3ab93 Merged revisions 159093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r159093 | twilson | 2008-11-25 10:18:53 -0600 (Tue, 25 Nov 2008) | 2 lines
  
  Add missing variable declaration for PPC code
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 16:21:55 +00:00
Tilghman Lesher
211179d6c9 Blocked revisions 159054 via svnmerge
........
  r159054 | tilghman | 2008-11-24 23:19:53 -0600 (Mon, 24 Nov 2008) | 5 lines
  
  Copyright clarification; also, have variable set to "t" or "i" on timeout or
  invalid extension, respectively.
  (closes issue #13944)
   Reported by: chappell
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 05:21:35 +00:00
Tilghman Lesher
e20e4281a0 Merged revisions 159050 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r159050 | tilghman | 2008-11-24 23:02:11 -0600 (Mon, 24 Nov 2008) | 10 lines
  
  Merged revisions 159025 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r159025 | tilghman | 2008-11-24 22:50:00 -0600 (Mon, 24 Nov 2008) | 3 lines
    
    System call ioperm is non-portable, so check for its existence in autoconf.
    (Closes issue #13863)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@159053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 05:05:18 +00:00
Terry Wilson
f76aac9db9 Merged revisions 158992 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158992 | twilson | 2008-11-24 21:49:30 -0600 (Mon, 24 Nov 2008) | 2 lines
  
  Make chan_usbradio compile under dev mode
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 03:51:59 +00:00
Sean Bright
d76592ca22 Blocked revisions 158959 via svnmerge
........
  r158959 | seanbright | 2008-11-24 20:01:49 -0500 (Mon, 24 Nov 2008) | 8 lines
  
  This is basically a complete rollback of r155401, as it was determined that
  it would be best to maintain API compatibility.  Instead, this commit introduces
  ao2_callback_data() which is functionally identical to ao2_callback() except
  that it allows you to pass arbitrary data to the callback.
  
  Reviewed by Mark Michelson via ReviewBoard:
  	http://reviewboard.digium.com/r/64
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 01:02:57 +00:00
Matthew Nicholson
39f8b957f2 Merged revisions 158924 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158924 | mnicholson | 2008-11-24 18:05:41 -0600 (Mon, 24 Nov 2008) | 6 lines
  
  Make the Join event from app_queue use CallerIDNum insead of CallerID for
  indicating the callerid number just like the rest of asterisk.
  
  (closes issue #13883)
  Reported by: davidw
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 00:41:07 +00:00
Matthew Nicholson
ef6ffe6ee3 Merged revisions 158925 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158925 | mnicholson | 2008-11-24 18:19:55 -0600 (Mon, 24 Nov 2008) | 2 lines
  
  Fix compiling in dev mode.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-25 00:26:06 +00:00
Matthew Nicholson
6e242b3728 Merged revisions 158876 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158876 | mnicholson | 2008-11-24 15:56:22 -0600 (Mon, 24 Nov 2008) | 7 lines
  
  Added EVENT_FLAG_AGI and used it for manager calls in res_agi.c
  
  (closes issue #13873)
  Reported by: fnordian
  Patches:
        ami_agievent.patch uploaded by fnordian (license 110)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-24 22:05:34 +00:00
Tilghman Lesher
483962e7c0 Merged revisions 158857 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158857 | tilghman | 2008-11-24 15:52:34 -0600 (Mon, 24 Nov 2008) | 3 lines
  
  Add a bit of documentation (thanks, I-MOD) on what the silence threshold
  constant actually does and what values are valid for it.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158861 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-24 21:53:28 +00:00
Matthew Nicholson
a616e9593e Merged revisions 158851 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158851 | mnicholson | 2008-11-24 15:27:26 -0600 (Mon, 24 Nov 2008) | 6 lines
  
  Make ast_streamfile() check the result of ast_openstream() before doing
  anything with it.
  
  (closes issue #13955)
  Reported by: chris-mac
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-24 21:44:03 +00:00
Terry Wilson
5ca03a434f Blocked revisions 158808 via svnmerge
........
  r158808 | twilson | 2008-11-24 12:11:08 -0600 (Mon, 24 Nov 2008) | 8 lines
  
  This patch adds a new application for sending MWI to phones via Asterisk's event subsystem.  Also, the minivm documentation is all converted to use xmldocs.
  
  (closes issue #13946)
  Reported by: Marquis
  Patches: 
        minivmmwi_plus_xmldocs.patch uploaded by Marquis (license 32)
  Tested by: otherwiseguy, Marquis
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158809 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-24 18:13:01 +00:00
Sean Bright
2a7b1e4e03 Blocked revisions 158756 via svnmerge
........
  r158756 | seanbright | 2008-11-22 22:36:52 -0500 (Sat, 22 Nov 2008) | 6 lines
  
  If you enabled 'notifycid' one of the limitations is that the calling channel
  is only found if it dialed the extension that was subscribed to.  You can now
  specify 'ignore-context' for the 'notifycid' option in sip.conf which will, as
  it's value implies, ignore the current context of the caller when doing the
  lookup.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-23 03:37:22 +00:00
Sean Bright
9b9fc6d9f1 Blocked revisions 158754 via svnmerge
........
  r158754 | seanbright | 2008-11-22 22:30:46 -0500 (Sat, 22 Nov 2008) | 3 lines
  
  No need to use a separate structure for this since we can just pass
  our sip_pvt pointer in directly.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-23 03:31:24 +00:00
Michiel van Baak
7050aefc33 Blocked revisions 158723 via svnmerge
........
  r158723 | mvanbaak | 2008-11-22 18:17:33 +0100 (Sat, 22 Nov 2008) | 4 lines
  
  last commit worked on OpenBSD but still generated warning on Ubuntu.
  
  Initialise a variable so --enable-dev-mode does not complain
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 17:24:55 +00:00
Michiel van Baak
f3d703b73e Merged revisions 158694 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158694 | mvanbaak | 2008-11-22 17:57:11 +0100 (Sat, 22 Nov 2008) | 8 lines
  
  dont send reorder tone after a device is hungup if a dialout is abandoned or failed.
  Without this reorder tone will play after hangup and both wedhorn's and my wife have threatened to use an axe on our asterisk box
  
  (closes issue #13948)
  Reported by: wedhorn
  Patches:
  	switch.diff uploaded by wedhorn (license 30)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 17:00:49 +00:00
Michiel van Baak
4dcab4065b Blocked revisions 158690 via svnmerge
........
  r158690 | mvanbaak | 2008-11-22 17:48:09 +0100 (Sat, 22 Nov 2008) | 4 lines
  
  Add Media Source Update to skinny's control2str
  
  (issue #13948)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 16:59:09 +00:00
Michiel van Baak
996f437b5a Merged revisions 158688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r158688 | mvanbaak | 2008-11-22 17:06:38 +0100 (Sat, 22 Nov 2008) | 4 lines
  
  fix a very occasional core dump in chan_skinny found by wedhorn.
  
  (issue #13948)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 16:38:46 +00:00
Michiel van Baak
4c3851524e Blocked revisions 158686 via svnmerge
........
  r158686 | mvanbaak | 2008-11-22 16:58:49 +0100 (Sat, 22 Nov 2008) | 2 lines
  
  make this compile under devmode
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-22 16:00:54 +00:00
Steve Murphy
5a79383039 Merged revisions 158606 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r158606 | murf | 2008-11-21 16:40:46 -0700 (Fri, 21 Nov 2008) | 19 lines

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

........
r158603 | murf | 2008-11-21 16:14:50 -0700 (Fri, 21 Nov 2008) | 11 lines

In reference to the fix made for 13871, I was
merging the fix into 1.6.0 and realized I missed
the code in the h-exten block, and didn't catch it
because my test case had the h-exten commented out.

So, this corrects the code I missed, as a 
preventative against another crash report.
Tested with the h-exten defined, all is well.



........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-21 23:45:15 +00:00