asterisk/asterisk.git
11 years agoMerged revisions 152535 via svnmerge from
Steve Murphy [Wed, 29 Oct 2008 05:01:00 +0000 (05:01 +0000)]
Merged revisions 152535 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r152535 | murf | 2008-10-28 22:36:32 -0600 (Tue, 28 Oct 2008) | 46 lines

The magic trick to avoid this crash is not to
try to find the channel by name in the list,
which is slow and resource consuming, but rather
to pay attention to the result codes from the
ast_bridge_call, to which I added the
AST_PBX_NO_HANGUP_PEER_PARKED value, which
now are returned when a channel is parked.
Why? because CDR's aren't generated via parking,
so nothing is needed, but if a transfer occurred,
there are critical things I need.

If you get AST_PBX_KEEPALIVE,
then don't touch the channel pointer.

If you get AST_PBX_NO_HANGUP_PEER, or
AST_PBX_NO_HANGUP_PEER_PARKED, then don't
touch the peer pointer.

Updated the several places where the results
from a bridge were not being properly obeyed,
and fixed some code I had introduced so that
the results of the bridge were not overridden
(in trunk).

All the places that previously tested for
AST_PBX_NO_HANGUP_PEER now have to check for
both AST_PBX_NO_HANGUP_PEER and AST_PBX_NO_HANGUP_PEER_PARKED.

I tested this against the 4 common parking
scenarios:

1. A calls B; B answers; A parks B; B hangs up while A is getting the parking
slot announcement, immediately after being put on hold.

2. A calls B; B answers; A parks B; B hangs up after A has been hung up, but
before the park times out.

3. A calls B; B answers; B parks A; A hangs up while B is getting the parking slot announcement, immediately after being put on hold.

4. A calls B; B answers; B parks A; A hangs up after B has been hung up, but before the park times out.

No crash.

I also ran the scenarios above against valgrind, and accesses looked good.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152536 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 152463 via svnmerge from
Tilghman Lesher [Tue, 28 Oct 2008 22:33:40 +0000 (22:33 +0000)]
Merged revisions 152463 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r152463 | tilghman | 2008-10-28 17:32:34 -0500 (Tue, 28 Oct 2008) | 3 lines

  Quoting in the wrong direction
  (Fixes AST-107)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152467 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd more polycom firmware files to static mapping
Doug Bailey [Tue, 28 Oct 2008 22:26:35 +0000 (22:26 +0000)]
Add more polycom firmware files to static mapping

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152448 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoOnly re-add the io port if it was closed, otherwise reload causes a memory
Tilghman Lesher [Tue, 28 Oct 2008 21:38:26 +0000 (21:38 +0000)]
Only re-add the io port if it was closed, otherwise reload causes a memory
leak.
(closes issue #13785)
 Reported by: eliel
 Patches:
       chan_mgcp.c.patch uploaded by eliel (license 64)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152442 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 152368 via svnmerge from
Tilghman Lesher [Tue, 28 Oct 2008 17:07:39 +0000 (17:07 +0000)]
Merged revisions 152368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r152368 | tilghman | 2008-10-28 12:04:56 -0500 (Tue, 28 Oct 2008) | 8 lines

  Reset all DIAL variables back to blank, in case Dial is called multiple times
  per call (which could otherwise lead to inconsistent status reports).
  (closes issue #13216)
   Reported by: ruddy
   Patches:
         20081014__bug13216.diff.txt uploaded by Corydon76 (license 14)
   Tested by: ruddy
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152369 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 152286 via svnmerge from
Jeff Peeler [Mon, 27 Oct 2008 23:31:39 +0000 (23:31 +0000)]
Merged revisions 152286 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r152286 | jpeeler | 2008-10-27 18:28:49 -0500 (Mon, 27 Oct 2008) | 2 lines

Buffer policy setting for half is not needed.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152287 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 152215 via svnmerge from
Tilghman Lesher [Mon, 27 Oct 2008 21:34:04 +0000 (21:34 +0000)]
Merged revisions 152215 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r152215 | tilghman | 2008-10-27 16:32:00 -0500 (Mon, 27 Oct 2008) | 6 lines

  Inherit ALL elements of CallerID across a local channel.
  (closes issue #13368)
   Reported by: Peter Schlaile
   Patches:
         20080826__bug13368.diff.txt uploaded by Corydon76 (license 14)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152216 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoSet ARGC in subroutines with the number of arguments passed.
Tilghman Lesher [Mon, 27 Oct 2008 16:44:55 +0000 (16:44 +0000)]
Set ARGC in subroutines with the number of arguments passed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152174 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoOops, only delete the ARG variables once upon release. The following section
Tilghman Lesher [Mon, 27 Oct 2008 16:24:11 +0000 (16:24 +0000)]
Oops, only delete the ARG variables once upon release.  The following section
would have removed them again (removing variables from 2 stack frames, instead
of just one).

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152134 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoRemove options argument parsing/syntax (it isn't used any longer)
Jason Parker [Mon, 27 Oct 2008 16:03:12 +0000 (16:03 +0000)]
Remove options argument parsing/syntax (it isn't used any longer)

(closes issue #13789)
Reported by: IgorG
Patches:
      app_transfer.c.diff uploaded by IgorG (license 20)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152132 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 152059 via svnmerge from
Sean Bright [Sun, 26 Oct 2008 20:25:08 +0000 (20:25 +0000)]
Merged revisions 152059 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r152059 | seanbright | 2008-10-26 16:23:36 -0400 (Sun, 26 Oct 2008) | 7 lines

Since passing \0 as the second argument to strchr is valid (and will
match the trailing \0 of a string) we need to check that first, otherwise
we end up with incorrect results.  Fix suggested by reporter.

(closes issue #13787)
Reported by: meitinger

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152060 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoTrying to fix the user/peer matching correctly. This will need some testing before
Olle Johansson [Sun, 26 Oct 2008 10:23:01 +0000 (10:23 +0000)]
Trying to fix the user/peer matching correctly. This will need some testing before
getting merged into 1.6.1

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152020 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMoving more variables to the sip_cfg structure, as I have some future ideas for the...
Olle Johansson [Sun, 26 Oct 2008 09:45:17 +0000 (09:45 +0000)]
Moving more variables to the sip_cfg structure, as I have some future ideas for the usage of that structure.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152019 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoDoxygen changes and some formatting.
Olle Johansson [Sun, 26 Oct 2008 09:19:19 +0000 (09:19 +0000)]
Doxygen changes and some formatting.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151980 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 151905 via svnmerge from
Russell Bryant [Sat, 25 Oct 2008 11:02:11 +0000 (11:02 +0000)]
Merged revisions 151905 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r151905 | russell | 2008-10-25 05:59:02 -0500 (Sat, 25 Oct 2008) | 8 lines

Move AMI initialization to occur after loading modules.  This prevents a
deadlock when someone tries to initiate a module reload from the AMI just
as Asterisk is starting.

(closes issue #13778)
Reported by: hotsblanc
Fix suggested by hotsblanc

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151906 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoallow to compile under --enable-dev-mode (gcc didn't actually complain when I was...
Terry Wilson [Thu, 23 Oct 2008 21:27:35 +0000 (21:27 +0000)]
allow to compile under --enable-dev-mode (gcc didn't actually complain when I was using ccache...)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151830 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoBlocked revisions 151763 via svnmerge
Terry Wilson [Thu, 23 Oct 2008 16:09:25 +0000 (16:09 +0000)]
Blocked revisions 151763 via svnmerge

........
  r151763 | twilson | 2008-10-23 11:04:42 -0500 (Thu, 23 Oct 2008) | 9 lines

  Backport fix from 1.6.0 that allows you to set parkedcalltransfers=no|caller|callee|both, but default to both which would be the equivalent of the existing behaviour.

  The problem was that if someone parked a call, the callee and caller would both get assigned the builtin transfer feature, which would not only be potentially giving someone the ability to transfer themselves when they shouldn't have it, but would also dissallow reinviting the media off of the call.
  (closes issue #12854)
   Reported by: davidw
   Patches:
         parkingfix4.diff.txt uploaded by otherwiseguy
     Tested by: davidw, otherwiseguy
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151764 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoClarify documentation, following merge of realtime_update2 branch
Tilghman Lesher [Thu, 23 Oct 2008 15:54:19 +0000 (15:54 +0000)]
Clarify documentation, following merge of realtime_update2 branch

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151762 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoThanks russellb for reminding an old man....
Olle Johansson [Thu, 23 Oct 2008 15:38:26 +0000 (15:38 +0000)]
Thanks russellb for reminding an old man....

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151761 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdding a small new feature.
Olle Johansson [Thu, 23 Oct 2008 15:30:16 +0000 (15:30 +0000)]
Adding a small new feature.
Setting _SIPFROMDOMAIN in a channel will set the domain we use for the URI in the outbound call leg.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151739 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoSimplify some nested functions, as suggested by Russell on -dev
Tilghman Lesher [Thu, 23 Oct 2008 15:28:43 +0000 (15:28 +0000)]
Simplify some nested functions, as suggested by Russell on -dev

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151732 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd patch to handle how IE7 issues POST requests using Window path spec including...
Doug Bailey [Thu, 23 Oct 2008 15:09:20 +0000 (15:09 +0000)]
Add patch to handle how IE7 issues POST requests using Window path spec including backslash delimiters

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151722 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdded debugging CLI functions
Tilghman Lesher [Wed, 22 Oct 2008 22:11:31 +0000 (22:11 +0000)]
Added debugging CLI functions

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151682 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago revert the changes in issue #13705 - it's being re-opened as while the results fixed...
BJ Weschke [Wed, 22 Oct 2008 20:45:03 +0000 (20:45 +0000)]
 revert the changes in issue #13705 - it's being re-opened as while the results fixed the complaint in the issue, it introduced other more undesirable issues than what was already reported

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151642 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd a contributed script for running Asterisk without installing it, first.
Tilghman Lesher [Wed, 22 Oct 2008 20:05:15 +0000 (20:05 +0000)]
Add a contributed script for running Asterisk without installing it, first.
(closes issue #11680)
 Reported by: tzafrir
 Patches:
       live_ast_6 uploaded by tzafrir (license 46)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151601 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoChange some logical ands to bitwise ands and add
Mark Michelson [Wed, 22 Oct 2008 20:05:14 +0000 (20:05 +0000)]
Change some logical ands to bitwise ands and add
messages alerting that a channel is being ignored
if the PROC_DAHDI_NOCHAN option is set in process_dahdi.

(closes issue #13759)
Reported by: smurfix
Patches:
      dahdi.patch uploaded by smurfix (license 547)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151600 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoPrint out the right var in the log message
Russell Bryant [Wed, 22 Oct 2008 17:45:05 +0000 (17:45 +0000)]
Print out the right var in the log message

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151555 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix this check to use the proper variable (the result from get_in_brackets)
Russell Bryant [Wed, 22 Oct 2008 17:44:05 +0000 (17:44 +0000)]
Fix this check to use the proper variable (the result from get_in_brackets)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151554 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoThe logic of a strncasecmp call was reversed.
Mark Michelson [Wed, 22 Oct 2008 15:08:25 +0000 (15:08 +0000)]
The logic of a strncasecmp call was reversed.

(closes issue #13706)
Reported by: andrew53
Patches:
      sip_notify_from_rfc3265.patch uploaded by andrew53 (license 519)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151512 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake the sip_standard_port function more granular by allowing separate
Mark Michelson [Tue, 21 Oct 2008 23:54:41 +0000 (23:54 +0000)]
Make the sip_standard_port function more granular by allowing separate
type and port arguments. This is necessary because when building our From
and Contact headers, we need to be absolutely sure that we are placing our
source port there and not the peer's source port.

(closes issue #12761)
Reported by: asbestoshead
Patches:
      patch-chan-sip-contact-port.txt uploaded by asbestoshead (license 455)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151464 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoGet this compiling in dev-mode
Mark Michelson [Tue, 21 Oct 2008 23:31:17 +0000 (23:31 +0000)]
Get this compiling in dev-mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151439 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoIf a peer uses any transport other than UDP, then MWI will
Mark Michelson [Tue, 21 Oct 2008 23:27:45 +0000 (23:27 +0000)]
If a peer uses any transport other than UDP, then MWI will
fail for that peer since sip_alloc will allocate a sip_pvt with
a default transport of UDP. This change resets the socket type
immediately after allocating the sip_pvt in sip_send_mwi_from_peer,
so that the proceeding call to create_addr_from_peer does not fail
right away. The socket data from the peer is properly copied to
the sip_pvt in create_addr_from_peer.

(closes issue #13710)
Reported by: andrew53
Patches:
      sip_notify_use_tcp.patch uploaded by andrew53 (license 519)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151428 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoWhen attempting to resolve hostnames, we need to be sure
Mark Michelson [Tue, 21 Oct 2008 23:08:56 +0000 (23:08 +0000)]
When attempting to resolve hostnames, we need to be sure
to remove any parameters from the string so that name
resolution succeeds.

(closes issue #13727)
Reported by: fnordian
Patches:
      resolvewithouturiparameter.patch uploaded by fnordian (license 110)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151420 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoDefault file modes should always be full read and write, to allow the system
Tilghman Lesher [Tue, 21 Oct 2008 15:20:50 +0000 (15:20 +0000)]
Default file modes should always be full read and write, to allow the system
administrator to make the decision of what permissions will actually be given,
through the use of the process umask.
(Closes issue# 13751)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151371 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Fix configuration parsing so type=friend still identifies "friend" as a peer even...
BJ Weschke [Tue, 21 Oct 2008 11:02:08 +0000 (11:02 +0000)]
 Fix configuration parsing so type=friend still identifies "friend" as a peer even though it is now a legacy configuration verb.

 (closes issue #13705)
 reported by: blitzrage
 patched by: bweschke

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151327 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Do NOT attempt to do anything with the ast_config struct when it's been returned...
BJ Weschke [Mon, 20 Oct 2008 05:07:25 +0000 (05:07 +0000)]
 Do NOT attempt to do anything with the ast_config struct when it's been returned as INVALID by the config file interpreter.

 (closes issue #13741)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151246 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 151241 via svnmerge from
Kevin P. Fleming [Mon, 20 Oct 2008 05:00:56 +0000 (05:00 +0000)]
Merged revisions 151241 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r151241 | kpfleming | 2008-10-20 07:57:33 +0300 (Mon, 20 Oct 2008) | 2 lines

  rename this macro to properly reflect what it does
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151243 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 151240 via svnmerge from
Kevin P. Fleming [Mon, 20 Oct 2008 04:59:04 +0000 (04:59 +0000)]
Merged revisions 151240 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r151240 | kpfleming | 2008-10-20 07:45:56 +0300 (Mon, 20 Oct 2008) | 3 lines

  break up acinclude.m4 into individual files, which will make it easier to maintain, easier to add new macros (less patching) and will ease maintenance of these macros across Asterisk branches
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151242 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoBlock 151167 from coming forward into the /trunk this is a 1.4 fix only.
BJ Weschke [Sun, 19 Oct 2008 20:30:27 +0000 (20:30 +0000)]
Block 151167 from coming forward into the /trunk this is a 1.4 fix only.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151190 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Block 151100 from coming forward into the /trunk this is a 1.4 fix only.
BJ Weschke [Sun, 19 Oct 2008 20:29:58 +0000 (20:29 +0000)]
 Block 151100 from coming forward into the /trunk this is a 1.4 fix only.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151188 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agocleaup of the TCP/TLS socket API:
Kevin P. Fleming [Sun, 19 Oct 2008 19:11:28 +0000 (19:11 +0000)]
cleaup of the TCP/TLS socket API:

1) rename 'struct server_args' to 'struct ast_tcptls_session_args', to follow coding guidelines

2) make ast_make_file_from_fd() static and rename it to something that indicates what it really is for (again coding guidelines)

3) rename address variables inside 'struct ast_tcptls_session_args' to be more descriptive (dare i say it... coding guidelines)

4) change ast_tcptls_client_start() to use the new 'remote_address' field of the session args for the destination of the connection, and use the 'local_address' field to bind() the socket to the proper source address, if one is supplied

5) in chan_sip, ensure that we pass in the PP address we are bound to when creating outbound (client) connections, so that our connections will appear from the correct address

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151101 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agodont segfault when placing a call to a line that has no registered device.
Michiel van Baak [Sun, 19 Oct 2008 13:10:50 +0000 (13:10 +0000)]
dont segfault when placing a call to a line that has no registered device.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151060 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdding changes from train and flight back home from SIPit23 in Lannion, France.
Olle Johansson [Sun, 19 Oct 2008 07:20:40 +0000 (07:20 +0000)]
Adding changes from train and flight back home from SIPit23 in Lannion, France.
- Additional comments on TCP/TLS implementation
- Some additions for new drafts/rfcs (no new functionality really, mostly documentation)
- Other random small fixes

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151019 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake sure we support nested functions and generation of trampolines
Michiel van Baak [Sat, 18 Oct 2008 10:27:22 +0000 (10:27 +0000)]
Make sure we support nested functions and generation of trampolines
under OpenBSD.

(closes issue #13724)
Reported by: mvanbaak

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150971 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agodont use deprecated commands in the init scripts.
Michiel van Baak [Sat, 18 Oct 2008 09:02:36 +0000 (09:02 +0000)]
dont use deprecated commands in the init scripts.

(closes issue #13720)
Reported by: decryptus_proformatique
Patches:
      contrib_initd_module_reload.patch uploaded by decryptus (license 555)
  With mods by me to fix stop commands as well

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150930 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Give app_authenticate the ability to select a prompt other than the default.
BJ Weschke [Sat, 18 Oct 2008 03:35:24 +0000 (03:35 +0000)]
 Give app_authenticate the ability to select a prompt other than the default.

 (closes issue #13734)
 reported and patched by: jvandal

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150887 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Using the GetVar handler in AMI is potentially dangerous (insta-crash [tm]) when...
BJ Weschke [Sat, 18 Oct 2008 02:18:33 +0000 (02:18 +0000)]
 Using the GetVar handler in AMI is potentially dangerous (insta-crash [tm]) when you use a dialplan function that requires a channel and then you don't provide one or provide an invalid one in the Channel: parameter. We'll handle this situation exactly the same way it was handled in pbx.c back on r61766.
We'll create a bogus channel for the function call and destroy it when we're done. If we have trouble allocating the bogus channel then we're not going to try executing the function call at all and run the risk of crashing.

(closes issue #13715)
reported by: makoto
patch by: bweschke

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150817 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago The QueueEntry event now has the uniqueid of the channel included.
BJ Weschke [Sat, 18 Oct 2008 00:25:18 +0000 (00:25 +0000)]
 The QueueEntry event now has the uniqueid of the channel included.
 (closes issue #13731)
 reported and patched by: caio1982

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150773 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoUpdate configure check to check for new function in libpri (pri_progress_with_cause)
Matthew Fredrickson [Fri, 17 Oct 2008 21:48:07 +0000 (21:48 +0000)]
Update configure check to check for new function in libpri (pri_progress_with_cause)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150731 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerge codec_consistency branch. This should make sample usage much happier.
Jason Parker [Fri, 17 Oct 2008 21:35:23 +0000 (21:35 +0000)]
Merge codec_consistency branch.  This should make sample usage much happier.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150729 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix CLI command 'channel request hangup'
Michiel van Baak [Fri, 17 Oct 2008 17:31:07 +0000 (17:31 +0000)]
Fix CLI command 'channel request hangup'
Prodded on IRC by Russell and fixed by eliel

(closes issue #13730)
Reported by: eliel
Patches:
      main_cli.patch uploaded by eliel (license 64)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150664 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerge in patch for #13454. Includes CallRereouting dialplan application, option...
Matthew Fredrickson [Fri, 17 Oct 2008 17:25:58 +0000 (17:25 +0000)]
Merge in patch for #13454.  Includes CallRereouting dialplan application, option for discard of remote hold messages, and using the alternate logical channel mapping in Q.SIG instead of the default physical channel mapping.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150640 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake helper call a little safer (suggested by Russell on IRC)
Tilghman Lesher [Fri, 17 Oct 2008 17:09:03 +0000 (17:09 +0000)]
Make helper call a little safer (suggested by Russell on IRC)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150635 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix the FRACK! warnings in chan_iax2 when POKE/LAGRQ packets are not answered.
Tilghman Lesher [Fri, 17 Oct 2008 16:34:29 +0000 (16:34 +0000)]
Fix the FRACK! warnings in chan_iax2 when POKE/LAGRQ packets are not answered.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150580 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoBlocked revisions 150557 via svnmerge
Jason Parker [Fri, 17 Oct 2008 15:32:27 +0000 (15:32 +0000)]
Blocked revisions 150557 via svnmerge

........
  r150557 | qwell | 2008-10-17 10:31:35 -0500 (Fri, 17 Oct 2008) | 9 lines

  Correctly allow chan_dahdi to compile against older versions of Zaptel.
  Don't always define HAVE_ZAPTEL_CHANALARMS (since we check if it's defined..)
  Minor cleanup to make things clear.

  (closes issue #13726)
  Reported by: tzafrir
  Patches:
        dahdi_def.diff uploaded by tzafrir (license 46)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150558 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdding some additional thoughts on configuration changes to TCP/TLS
Olle Johansson [Fri, 17 Oct 2008 08:42:44 +0000 (08:42 +0000)]
Adding some additional thoughts on configuration changes to TCP/TLS

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150510 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake sure we support nested functions with GCC 4.01 OS/X. This might not be OS/X...
Olle Johansson [Fri, 17 Oct 2008 08:13:13 +0000 (08:13 +0000)]
Make sure we support nested functions with GCC 4.01 OS/X. This might not be OS/X only,
but I'll leave it to kpfleming to add this to the configure script for testing.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150469 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoBreak up skinny.conf into seperate sections for
Michiel van Baak [Fri, 17 Oct 2008 06:00:28 +0000 (06:00 +0000)]
Break up skinny.conf into seperate sections for
devices and lines.

(closes issue #13412)
Reported by: wedhorn
Patches:
      config-restruct-v4.diff uploaded by wedhorn (license 30)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150426 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFix option handling code.
Tilghman Lesher [Fri, 17 Oct 2008 04:28:13 +0000 (04:28 +0000)]
Fix option handling code.
(closes issue #11040)
 Reported by: DEA
 Patches:
       rt-meetme-flag-fixes-v2.txt uploaded by DEA (license 3)
       with additional fixes by me

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150384 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd an IAXregistry manager command. See doc/manager_1_1.txt
Mark Michelson [Fri, 17 Oct 2008 00:18:01 +0000 (00:18 +0000)]
Add an IAXregistry manager command. See doc/manager_1_1.txt
for more details of this command.

(closes issue #13326)
Reported by: ib2
Patches:
      bug13326_trunk_20080822.diff uploaded by snuffy (license 35)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150311 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoInitialize character arrays as they are not guaranteed to be set.
Jeff Peeler [Fri, 17 Oct 2008 00:14:19 +0000 (00:14 +0000)]
Initialize character arrays as they are not guaranteed to be set.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150309 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAfter a long discussion on #asterisk-bugs, it seems kind of
Mark Michelson [Fri, 17 Oct 2008 00:13:35 +0000 (00:13 +0000)]
After a long discussion on #asterisk-bugs, it seems kind of
odd that a channel would be named after the originating port.
For endpoints that always include ":5060" as part
of the From: header, it will mean that you have a ton of
channels with names like "SIP/5060-3ea38a8b."

I am boldly moving forward with this change in trunk, but I'm
not touching other branches with this one since this definitely
would qualify as a behavior change. If there is a problem with
this commit, and I haven't seen the obvious reason why you'd want
to name the channel after the port from which the call originated,
then please feel free to revert this

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150307 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 150304 via svnmerge from
Mark Michelson [Thu, 16 Oct 2008 23:41:16 +0000 (23:41 +0000)]
Merged revisions 150304 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r150304 | mmichelson | 2008-10-16 18:40:54 -0500 (Thu, 16 Oct 2008) | 6 lines

Reverting changes from commits 150298 and 150301 since
I was mistakenly under the assumption that dialplan functions
*always* required that a channel be present. I need to go
home earlier, I think :)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150305 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 150298,150301 via svnmerge from
Mark Michelson [Thu, 16 Oct 2008 23:36:49 +0000 (23:36 +0000)]
Merged revisions 150298,150301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r150298 | mmichelson | 2008-10-16 18:34:37 -0500 (Thu, 16 Oct 2008) | 10 lines

Don't try to call a dialplan function's read callback from
the manager's GetVar handler if an invalid channel has
been specified. Several dialplan functions, including
CHANNEL and SIP_HEADER, do not check for NULL-ness of
the channel being passed in.

(closes issue #13715)
Reported by: makoto

........
r150301 | mmichelson | 2008-10-16 18:35:07 -0500 (Thu, 16 Oct 2008) | 3 lines

And don't forget to return on the error condition

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150302 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAnswer the channel prior to checking for the 'a'
Mark Michelson [Thu, 16 Oct 2008 22:44:05 +0000 (22:44 +0000)]
Answer the channel prior to checking for the 'a'
option in app_sms.

(closes issue #13675)
Reported by: alecdavis
Patches:
      app_sms.bug13675.148985.diff.txt uploaded by alecdavis (license 585)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150257 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoUpdating app_skel.c to follow coding guidelines
Mark Michelson [Thu, 16 Oct 2008 22:36:08 +0000 (22:36 +0000)]
Updating app_skel.c to follow coding guidelines
with regards to braces used on if statements.

(closes issue #13696)
Reported by: alecdavis
Patches:
      app_skel.bug13696B.115850.diff.txt uploaded by alecdavis (license 585)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150255 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoRemove an odd redundant comparison
Mark Michelson [Thu, 16 Oct 2008 22:30:23 +0000 (22:30 +0000)]
Remove an odd redundant comparison

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150253 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoChange configure script to search for openais in
Mark Michelson [Thu, 16 Oct 2008 21:23:38 +0000 (21:23 +0000)]
Change configure script to search for openais in
both /usr/lib and /usr/lib64 since some distros
place 64-bit libraries only in the /usr/lib64
directory.

(closes issue #13721)
Reported by: jcollie
Patches:
      0007-Look-in-64bit-dirs-for-openais.patch uploaded by jcollie (license 412)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150210 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoINVITES with proxy auth were sent with a different branch
Mark Michelson [Thu, 16 Oct 2008 20:57:18 +0000 (20:57 +0000)]
INVITES with proxy auth were sent with a different branch
than what was in the invite_branch of a sip_pvt, meaning
that if a CANCEL were sent later, the branch in the CANCEL
would not match the branch in the latest INVITE sent out, leading
to some endpoints responding to the CANCEL with a 481.

(closes issue #13714)
Reported by: fnordian
Patches:
      invite_branch.patch uploaded by fnordian (license 110)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150207 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 150124 via svnmerge from
Richard Mudgett [Thu, 16 Oct 2008 16:04:45 +0000 (16:04 +0000)]
Merged revisions 150124 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r150124 | rmudgett | 2008-10-16 10:56:06 -0500 (Thu, 16 Oct 2008) | 1 line

  Fix memory leak found by customer
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150125 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoThis is nolonger needed
Terry Wilson [Thu, 16 Oct 2008 15:48:49 +0000 (15:48 +0000)]
This is nolonger needed

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150121 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agofunc_strings isn't a dependency of this module anymore
Terry Wilson [Thu, 16 Oct 2008 15:41:40 +0000 (15:41 +0000)]
func_strings isn't a dependency of this module anymore

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150118 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoensure that type=peer entries are only matched on IP/port, not on name (after oej...
Kevin P. Fleming [Thu, 16 Oct 2008 15:02:10 +0000 (15:02 +0000)]
ensure that type=peer entries are only matched on IP/port, not on name (after oej audits all the calls to find_peer() to make sure that forcenamematch is set correctly in each case)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150052 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoDoxygen addition
Olle Johansson [Thu, 16 Oct 2008 15:00:30 +0000 (15:00 +0000)]
Doxygen addition

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150051 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd some notes on problems with the TCP/TLS implementation
Olle Johansson [Thu, 16 Oct 2008 13:52:23 +0000 (13:52 +0000)]
Add some notes on problems with the TCP/TLS implementation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150008 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoreturn this logic to where it used to be, *after* the dialog->needdestroy flag has...
Kevin P. Fleming [Thu, 16 Oct 2008 13:28:56 +0000 (13:28 +0000)]
return this logic to where it used to be, *after* the dialog->needdestroy flag has been determined to be set; otherwise, we generate these debug messages every time we inspect every active dialog

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149981 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agosome additional debugging tools added at SIPit23:
Kevin P. Fleming [Thu, 16 Oct 2008 13:23:23 +0000 (13:23 +0000)]
some additional debugging tools added at SIPit23:

- move all setting of 'needdestroy' on dialog structures into the history

- report all tags involved when a pedantic check fails on a REFER

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149964 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agointer-module dependencies should be included in the source code, not just in sample...
Kevin P. Fleming [Thu, 16 Oct 2008 08:56:35 +0000 (08:56 +0000)]
inter-module dependencies should be included in the source code, not just in sample config files

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149920 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agocorrect file name in message
Kevin P. Fleming [Thu, 16 Oct 2008 08:31:13 +0000 (08:31 +0000)]
correct file name in message

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149918 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agosupport relative paths in musiconhold.conf, which makes moh work by default when...
Kevin P. Fleming [Thu, 16 Oct 2008 08:30:32 +0000 (08:30 +0000)]
support relative paths in musiconhold.conf, which makes moh work by default when Asterisk was configured using --prefix and 'make samples' is run

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149917 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years ago Blocking 149840 from coming forward.
BJ Weschke [Wed, 15 Oct 2008 21:36:39 +0000 (21:36 +0000)]
 Blocking 149840 from coming forward.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149848 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMake the sip_proxy struct reference counted. This is
Mark Michelson [Wed, 15 Oct 2008 20:55:42 +0000 (20:55 +0000)]
Make the sip_proxy struct reference counted. This is
necessary to allow for a sip_pvt to maintain a reference
to a sip_peer's outboundproxy even after the peer has
been freed.

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149802 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149683 via svnmerge from
BJ Weschke [Wed, 15 Oct 2008 20:14:20 +0000 (20:14 +0000)]
Merged revisions 149683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r149683 | bweschke | 2008-10-15 14:28:54 -0400 (Wed, 15 Oct 2008) | 4 lines

   An update to the documentation/example of agents.conf.sample with the correct parameter for this feature as defined in chan_agent.c
   (closes issue #13709)
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149756 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoPermit data fields to contain more than 255 characters.
Tilghman Lesher [Wed, 15 Oct 2008 19:07:39 +0000 (19:07 +0000)]
Permit data fields to contain more than 255 characters.
(closes issue #13631)
 Reported by: seanbright
 Patches:
       20081015__bug13631.diff.txt uploaded by Corydon76 (license 14)
 Tested by: blitzrage

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149687 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoOnly set buf to blank before the goto.
Tilghman Lesher [Wed, 15 Oct 2008 17:16:00 +0000 (17:16 +0000)]
Only set buf to blank before the goto.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149640 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoWhen using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library
Tilghman Lesher [Wed, 15 Oct 2008 16:41:54 +0000 (16:41 +0000)]
When using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library
malloc() with an ast_free (which, of course, doesn't match up with known
allocated memory, so the free fails).
(closes issue #13702)
 Reported by: eliel
 Patches:
       codec_lpc10_lpcini.c uploaded by eliel (license 64)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149637 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMinor spacing change
Tilghman Lesher [Wed, 15 Oct 2008 15:30:21 +0000 (15:30 +0000)]
Minor spacing change
(closes issue #13697)
 Reported by: alecdavis
 Patches:
       app_echo.bug13697.103249.diff.txt uploaded by alecdavis (license 585)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149588 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
Olle Johansson [Wed, 15 Oct 2008 13:52:13 +0000 (13:52 +0000)]
Adding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
We're going to try to get time to fix this and kpfleming believes that there's code in ao2
so that we can solve it...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149542 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149452 via svnmerge from
Kevin P. Fleming [Wed, 15 Oct 2008 11:26:36 +0000 (11:26 +0000)]
Merged revisions 149452 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r149452 | kpfleming | 2008-10-15 12:30:40 +0200 (Wed, 15 Oct 2008) | 3 lines

  fix some problems when parsing SIP messages that have the maximum number of headers or body lines that we support
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149487 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoreverting this change... had not read the commit list yet, didn't realize the code...
Kevin P. Fleming [Wed, 15 Oct 2008 10:16:29 +0000 (10:16 +0000)]
reverting this change... had not read the commit list yet, didn't realize the code had been upgraded

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149427 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agodo complete version check for SpanDSP, since the app_fax code is not compatible with...
Kevin P. Fleming [Wed, 15 Oct 2008 09:59:12 +0000 (09:59 +0000)]
do complete version check for SpanDSP, since the app_fax code is not compatible with 0.0.6 yet

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149426 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agobuilding this module depends on res_agi being built as well
Kevin P. Fleming [Wed, 15 Oct 2008 08:55:47 +0000 (08:55 +0000)]
building this module depends on res_agi being built as well

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149384 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoFixing sytax errors ;-)
Olle Johansson [Wed, 15 Oct 2008 07:45:09 +0000 (07:45 +0000)]
Fixing sytax errors ;-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149342 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoWhen specifying an invalid timeout to Dial, take it
Mark Michelson [Tue, 14 Oct 2008 23:57:46 +0000 (23:57 +0000)]
When specifying an invalid timeout to Dial, take it
to mean that no timeout is desired.

(closes issue #13625)
Reported by: atis

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149279 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149266 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 23:44:44 +0000 (23:44 +0000)]
Merged revisions 149266 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r149266 | mmichelson | 2008-10-14 18:43:58 -0500 (Tue, 14 Oct 2008) | 4 lines

Change this warning to an error message. Suggestion
comes from Sean Bright. Thanks Sean!

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149271 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149207 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 23:15:04 +0000 (23:15 +0000)]
Merged revisions 149207 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r149207 | mmichelson | 2008-10-14 18:10:26 -0500 (Tue, 14 Oct 2008) | 9 lines

Call register_peer_exten even in the case that the peer's
IP/port does not change.

(closes issue #13309)
Reported by: dimas
Patches:
      v2-13309.patch uploaded by dimas (license 88)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149208 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149204 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 23:04:44 +0000 (23:04 +0000)]
Merged revisions 149204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r149204 | mmichelson | 2008-10-14 18:00:01 -0500 (Tue, 14 Oct 2008) | 12 lines

Add a tolerance period for sync-triggered audiohooks
so that if packetization of audio is close (but not equal)
we don't end up flushing the audiohooks over small
inconsistencies in synchronization.

Related to issue #13005, and solves the issue
for most people who were experiencing the problem.
However, a small number of people are still experiencing
the problem on long calls, so I am not closing
the issue yet

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149205 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149200 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 22:41:13 +0000 (22:41 +0000)]
Merged revisions 149200 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r149200 | mmichelson | 2008-10-14 17:40:42 -0500 (Tue, 14 Oct 2008) | 12 lines

Update the queue with the correct number of calls and
whether the call was completed within the service level
when a transfer takes place. This way, we do not "break"
the leastrecent and fewestcalls strategies by not logging
a call until after the transferred call has ended.

(closes issue #13395)
Reported by: Marquis
Patches:
      app_queue.c.transfer.patch uploaded by Marquis (license 32)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149201 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoAdd additional memory debugging to several core APIs, and fix several memory
Tilghman Lesher [Tue, 14 Oct 2008 22:38:06 +0000 (22:38 +0000)]
Add additional memory debugging to several core APIs, and fix several memory
leaks found with these changes.
(Closes issue #13505, closes issue #13543)
Reported by: mav3rick, triccyx
 Patches:
       20081001__bug13505.diff.txt uploaded by Corydon76 (license 14)
 Tested by: mav3rick, triccyx

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149199 65c4cc65-6c06-0410-ace0-fbb531ad65f3

11 years agoMerged revisions 149130 via svnmerge from
Mark Michelson [Tue, 14 Oct 2008 21:08:48 +0000 (21:08 +0000)]
Merged revisions 149130 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r149130 | mmichelson | 2008-10-14 15:49:02 -0500 (Tue, 14 Oct 2008) | 7 lines

Don't allow reserved characters to be used in register
lines in sip.conf.

(closes issue #13570)
Reported by: putnopvut

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149131 65c4cc65-6c06-0410-ace0-fbb531ad65f3