]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
15 years agoSend CONNECT_ACKNOWLEDGE for CIS calls too.
Richard Mudgett [Thu, 21 Oct 2010 01:02:50 +0000 (01:02 +0000)] 
Send CONNECT_ACKNOWLEDGE for CIS calls too.

The originator of the Q.SIG call completion signaling link was not changed
to the active state when the CONNECT message came in.  The T309 processing
would immediately kill the signaling link because it was not in the active
state.

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

15 years agoApplication not properly unregister in voicemail
Paul Belanger [Thu, 21 Oct 2010 00:21:59 +0000 (00:21 +0000)] 
Application not properly unregister in voicemail

(closes issue #18128)
Reported by: junky
Patches:
      vm_unregister.diff uploaded by junky (license 177)
Tested by: pabelanger, lmadsen

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

15 years agoMerged revisions 292412 via svnmerge from
Paul Belanger [Thu, 21 Oct 2010 00:07:17 +0000 (00:07 +0000)] 
Merged revisions 292412 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r292412 | pabelanger | 2010-10-20 20:05:45 -0400 (Wed, 20 Oct 2010) | 17 lines

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

  ........
    r292411 | pabelanger | 2010-10-20 20:00:51 -0400 (Wed, 20 Oct 2010) | 10 lines

    Record priv-recordintro as sln, not gsm

    This removes the gsm->sln step when transcoding
    priv-recordintro.

    (closes issue #18176)
    Reported by: pabelanger
    Patches:
          chan_sip.diff uploaded by pabelanger (license 224)
  ........
................

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

15 years agoOops. This module uses the generic timer and no longer uses DAHDI.
Tilghman Lesher [Wed, 20 Oct 2010 00:40:29 +0000 (00:40 +0000)] 
Oops.  This module uses the generic timer and no longer uses DAHDI.

This causes a problem with the Solaris and other system builds that have gcc
4.1 (where optional_api is non-optional).

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

15 years agoAdd resample and imap_tk dependencies.
Paul Belanger [Tue, 19 Oct 2010 22:14:23 +0000 (22:14 +0000)] 
Add resample and imap_tk dependencies.

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

15 years agoAdd sip show peer info about crypto and remove dated comment
Terry Wilson [Tue, 19 Oct 2010 19:27:32 +0000 (19:27 +0000)] 
Add sip show peer info about crypto and remove dated comment

This patch adds information about the encryption setting to 'sip show
peers' and removes an out-of-date comment from res_srtp.c and instead
directs users to the proper documentation.

(closes issue #18140)
Reported by: chodorenko

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

15 years agoMerged revisions 292229 via svnmerge from
Leif Madsen [Mon, 18 Oct 2010 22:02:23 +0000 (22:02 +0000)] 
Merged revisions 292229 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r292229 | lmadsen | 2010-10-18 17:01:16 -0500 (Mon, 18 Oct 2010) | 3 lines

  Fix typo in the sounds/Makefile.

  (Issue #17426)
........

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

15 years agoMerged revisions 292226 via svnmerge from
Jeff Peeler [Mon, 18 Oct 2010 21:55:46 +0000 (21:55 +0000)] 
Merged revisions 292226 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r292226 | jpeeler | 2010-10-18 16:54:38 -0500 (Mon, 18 Oct 2010) | 18 lines

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

  ........
    r292223 | jpeeler | 2010-10-18 16:50:30 -0500 (Mon, 18 Oct 2010) | 11 lines

    Fix improper operator key acceptance and clean up temp recording files.

    This is a fix for when pressing the operator key after recording an unavailable,
    busy, name, or temporary message in mailbox options. The operator key should not
    be accepted here, but should be allowed during the message recording. If the
    operator key is pressed during ensure the file is saved or deleted as
    apporopriate.  Also, ensure removal of temporary recorded files after an early
    hang up or when message acceptance confirmation times out.

    ABE-2518
  ........
................

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

15 years agoMerged revisions 292224 via svnmerge from
Leif Madsen [Mon, 18 Oct 2010 21:51:23 +0000 (21:51 +0000)] 
Merged revisions 292224 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r292224 | lmadsen | 2010-10-18 16:50:47 -0500 (Mon, 18 Oct 2010) | 17 lines

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

  ........
    r292222 | lmadsen | 2010-10-18 16:47:25 -0500 (Mon, 18 Oct 2010) | 9 lines

    Add support for the new English (Australian Accent) sound files.

    (closes issue #17426)
    Reported by: camsown
    Patches:
          core-sounds-en_AU.txt uploaded by camsown (license 1050)
          add_AU_sounds.patch.txt uploaded by lmadsen (license 10)
    Tested by: camsown, lmadsen, jtodd, qwell
  ........
................

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

15 years agoResolve some compiler errors in ast_sockaddr_is_any().
Russell Bryant [Mon, 18 Oct 2010 19:50:04 +0000 (19:50 +0000)] 
Resolve some compiler errors in ast_sockaddr_is_any().

These errors came up once this function was used from within netsock2.c.
The errors were like the following:

netsock2.c:393: error: dereferencing pointer ‘({anonymous})’ does break strict-aliasing rules

The usage of a union here avoids this problem.

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

15 years agoFixes build error for systems not supporting IPV6_TCLASS.
David Vossel [Mon, 18 Oct 2010 19:16:00 +0000 (19:16 +0000)] 
Fixes build error for systems not supporting IPV6_TCLASS.

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

15 years agoFix the cmgr parser.
Matthew Nicholson [Mon, 18 Oct 2010 17:15:24 +0000 (17:15 +0000)] 
Fix the cmgr parser.

(closes issue 0018152)
Reported by: menschentier

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

15 years agoFixes qos settings for sockets bound to any IPv6 or IPv4 address.
David Vossel [Mon, 18 Oct 2010 16:02:17 +0000 (16:02 +0000)] 
Fixes qos settings for sockets bound to any IPv6 or IPv4 address.

(closes issue #18099)
Reported by: jamesnet
Patches:
      issues_18099_v3.diff uploaded by dvossel (license 671

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

15 years agoDisable use of inotify for call file handling as it is not working properly.
Jeff Peeler [Mon, 18 Oct 2010 15:32:40 +0000 (15:32 +0000)] 
Disable use of inotify for call file handling as it is not working properly.

(related to #18089)

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

15 years agoMerged revisions 292049 via svnmerge from
Tzafrir Cohen [Sat, 16 Oct 2010 10:47:00 +0000 (10:47 +0000)] 
Merged revisions 292049 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r292049 | tzafrir | 2010-10-16 12:03:04 +0200 (ש', 16 אוק 2010) | 15 lines

  Base directory for MOH should be ASTDATADIR

  If the directive 'directory' is relative, make it relative to the
  datadir, rather than to the varlibdir. In the sample configuration
  it is relative ('moh').

  This has no effect unless you have actively set the datadir explicitly
  (at build time or at run time).

  (closes issue #16906)
  Patches:
        moh_datadir uploaded by tzafrir (license 46)

  Review: https://reviewboard.asterisk.org/r/974/
........

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

15 years agoRef/unref res_srtp when we create/destroy a session
Terry Wilson [Fri, 15 Oct 2010 21:40:56 +0000 (21:40 +0000)] 
Ref/unref res_srtp when we create/destroy a session

This avoids unhappy crashing when we try to 'core stop gracefully' and res_srtp
tries to unload before chan_sip does. Thanks, Russell!

(closes issue #18085)
Reported by: st

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

15 years agoFixes peer's host port information being lost on sip reload.
David Vossel [Fri, 15 Oct 2010 20:12:04 +0000 (20:12 +0000)] 
Fixes peer's host port information being lost on sip reload.

(closes issue #18135)
Reported by: lmadsen
Patches:
      crazy_ports_v2.diff uploaded by dvossel (license 671)
Tested by: lmadsen

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

15 years agoMerged revisions 291939 via svnmerge from
Paul Belanger [Fri, 15 Oct 2010 19:50:22 +0000 (19:50 +0000)] 
Merged revisions 291939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r291939 | pabelanger | 2010-10-15 15:35:20 -0400 (Fri, 15 Oct 2010) | 9 lines

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

  ........
    r291938 | pabelanger | 2010-10-15 15:30:41 -0400 (Fri, 15 Oct 2010) | 2 lines

    Clean up formatting.
  ........
................

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

15 years agoMerged revisions 291904 via svnmerge from
Terry Wilson [Fri, 15 Oct 2010 16:39:58 +0000 (16:39 +0000)] 
Merged revisions 291904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r291904 | twilson | 2010-10-15 09:16:57 -0700 (Fri, 15 Oct 2010) | 7 lines

  Don't crash or deadlock on module unload

  We can't hold the lock while pthread_join is called since aji_log_hook will
  attempt to lock from the other therad. We reorder the pthread_join and
  ast_aji_disconnect so that we don't do an SSL_read() while SSL_shutdown is
  running, causing a crash.
........

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

15 years agoSet TCLASS field of IPv6 header when sip qos options are set.
David Vossel [Thu, 14 Oct 2010 22:09:32 +0000 (22:09 +0000)] 
Set TCLASS field of IPv6 header when sip qos options are set.

(closes issue #18099)
Reported by: jamesnet
Patches:
      issues_18099_v2.diff uploaded by dvossel (license 671)
Tested by: dvossel, jamesnet

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

15 years agoSafer xml parsing, treat all clients the same, and better local candidate selection.
David Vossel [Thu, 14 Oct 2010 21:27:42 +0000 (21:27 +0000)] 
Safer xml parsing, treat all clients the same, and better local candidate selection.

The gtalk channel driver was doing several unsafe operations
in regards to how it parsed incoming XML messages.  I have cleaned
that code up so it should be much safer now.

We now treat all clients types the same.  We have no reason to
distinguish between GMAIL and GOOGLE VOICE clients anymore because
they all work the same way.

I also modified how the local ip is found.  If no bindaddress is provided
in the config file, we attempt to determine the local ip we
would use to connect to google.com.  If that fails, then
we fall back to the ast_find_ourip() function as a last resort.
Using the new method makes it much less likely that we would ever
advertise a local RTP candidate as a loopback address.

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

15 years agoAdd missing ifdefs for test framework and new locale code.
Jeff Peeler [Thu, 14 Oct 2010 18:45:02 +0000 (18:45 +0000)] 
Add missing ifdefs for test framework and new locale code.

(closes issue #18137)
Reported by: ovi
Patches:
      18137_test_framework_ifdef.patch uploaded by wdoekes (license 717)
      18137_localelist_warning.patch uploaded by wdoekes (license 717)
Tested by: ovi

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

15 years agoAdd the ability for ast_find_ourip to return IPv4, IPv6 or both.
Paul Belanger [Thu, 14 Oct 2010 15:15:12 +0000 (15:15 +0000)] 
Add the ability for ast_find_ourip to return IPv4, IPv6 or both.

While testing chan_gtalk I noticed jabber was using my IPv6 address
and not IPv4. When using bindaddr=0.0.0.0 it is possible for ast_find_ourip()
to return both IPv6 and IPv4 results.  Adding a family parameter gives you
the ablility to choose.

Since jabber/gtalk/h323 do not support IPv6, we should only return IPv4 results.

Review: https://reviewboard.asterisk.org/r/973/

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

15 years agoFix a typo - s/seucre/secure/
Russell Bryant [Thu, 14 Oct 2010 12:08:43 +0000 (12:08 +0000)] 
Fix a typo - s/seucre/secure/

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

15 years agoMerged revisions 291655 via svnmerge from
Richard Mudgett [Wed, 13 Oct 2010 23:45:11 +0000 (23:45 +0000)] 
Merged revisions 291655 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r291655 | rmudgett | 2010-10-13 18:36:50 -0500 (Wed, 13 Oct 2010) | 27 lines

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

  ........
    r291643 | rmudgett | 2010-10-13 18:29:58 -0500 (Wed, 13 Oct 2010) | 20 lines

    Deadlock between dahdi_exception() and dahdi_indicate().

    There is a deadlock between dahdi_exception() and dahdi_indicate() for
    analog ports.  The call-waiting and three-way-calling feature can
    experience deadlock if these features are trying to do something and an
    event from the bridged channel happens at the same time.

    Deadlock avoidance code added to obtain necessary channel locks before
    attemting an operation with call-waiting and three-way-calling.

    (closes issue #16847)
    Reported by: shin-shoryuken
    Patches:
          issue_16847_v1.4.patch uploaded by rmudgett (license 664)
          issue_16847_v1.6.2.patch uploaded by rmudgett (license 664)
          issue_16847_v1.8_v2.patch uploaded by rmudgett (license 664)
    Tested by: alecdavis, rmudgett

    Review: https://reviewboard.asterisk.org/r/971/
  ........
................

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

15 years agoMerged revisions 291580 via svnmerge from
Terry Wilson [Wed, 13 Oct 2010 23:01:56 +0000 (23:01 +0000)] 
Merged revisions 291580 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r291580 | twilson | 2010-10-13 15:58:43 -0700 (Wed, 13 Oct 2010) | 28 lines

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

  ........
    r291577 | twilson | 2010-10-13 15:45:15 -0700 (Wed, 13 Oct 2010) | 21 lines

    Don't ignore frames that have been queued when softhangup'd

    When an outgoing call is answered and hung up by the far end *very* quickly, we
    may not read any frames and therefor end up with a call that displays the wrong
    disposition/DIALSTATUS. The reason is because ast_queue_hangup() immediately
    sets the _softhangup flag on the channel and then queues the HANGUP control
    frame, but __ast_read refuses to read any frames if ast_check_hangup() indicates
    that a hangup request has been made (which it will if _softhangup is set). So,
    we end up losing control frames.

    This change makes __ast_read continue to read frames even if a soft hangup has
    been requested. It queues a hangup frame to make sure that __ast_read() will
    still eventually return NULL.

    Much thanks to David Vossel for all of the reviews, discussion, and help!

    (closes issue #16946)
    Reported by: davidw

    Review: https://reviewboard.asterisk.org/r/740/
  ........
................

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

15 years agoMore fixup for chan_gtalk.
David Vossel [Wed, 13 Oct 2010 22:46:34 +0000 (22:46 +0000)] 
More fixup for chan_gtalk.

This patch makes the xml parsing safer.

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

15 years agoAdd a simple AMI client web page
Terry Wilson [Wed, 13 Oct 2010 22:24:44 +0000 (22:24 +0000)] 
Add a simple AMI client web page

This patch uses the XML docs to parse all of the available AMI commands
and allows you to enter the command name and be presented with a form with
the available fields. You can then rapidly tab through the fields and submit
the command and view the response. It is much faster/easier than having to
use telnet for testing purposes.

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

15 years agoThe chan_dahdi faxdetect option only works for the first FAX call.
Richard Mudgett [Wed, 13 Oct 2010 20:21:02 +0000 (20:21 +0000)] 
The chan_dahdi faxdetect option only works for the first FAX call.

The chan_dahdi faxdetect option only works for the first call.  After that
the option no longer works.  The struct dahdi_pvt.callprogress member is
the encoded user config setting for the callprogress and faxdetect config
options.  Changing this value alters the configuration for all following
calls until the chan_dahdi.conf file is reloaded.

* Fixed the chan_dahdi ast_channel_setoption callback to not change the
users faxdetect config setting except for the current call.

* Fixed the chan_dahdi ast_channel_queryoption callback to read the active
DSP setting of the faxdetect option.

* Made actually disable the active faxdetect DSP setting for the current
call on the analog port.  my_handle_dtmfup() is used for normal analog
ports.  dahdi_handle_dtmfup() is the legacy code and is no longer used
unless in a radio mode.

(closes issue #18116)
Reported by: seandarcy
Patches:
      issue18116_v1.8.patch uploaded by rmudgett (license 664)

Review: https://reviewboard.asterisk.org/r/972/

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

15 years agoMerged revision 291504 from
Richard Mudgett [Wed, 13 Oct 2010 19:01:48 +0000 (19:01 +0000)] 
Merged revision 291504 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r291504 | rmudgett | 2010-10-13 13:30:21 -0500 (Wed, 13 Oct 2010) | 11 lines

  Hold off ast_hangup() from destroying the ast_channel.

  Must get the ast_channel lock before proceeding with release_chan() and
  release_chan_early() to hold off ast_hangup() from destroying the
  ast_channel.

  Missed this change for -r291468.

  JIRA ABE-2598
  JIRA SWP-2317
..........

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

15 years agoMerge revision 291468 from
Richard Mudgett [Wed, 13 Oct 2010 18:10:21 +0000 (18:10 +0000)] 
Merge revision 291468 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r291468 | rmudgett | 2010-10-13 12:39:02 -0500 (Wed, 13 Oct 2010) | 16 lines

  Memory overwrites when releasing mISDN call.

  Phone <--> Asterisk
  <-- ALERTING
  --> DISCONNECT
  <-- RELEASE
  --> RELEASE_COMPLETE

  * Add lock protection around channel list for find/add/delete operations.

  * Protect misdn_hangup() from release_chan() and vise versa using the
  release_lock.

  JIRA ABE-2598
  JIRA SWP-2317
..........

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

15 years agoMerged revisions 291393 via svnmerge from
Russell Bryant [Wed, 13 Oct 2010 15:46:39 +0000 (15:46 +0000)] 
Merged revisions 291393 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r291393 | russell | 2010-10-13 10:29:21 -0500 (Wed, 13 Oct 2010) | 13 lines

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

  ........
    r291392 | russell | 2010-10-13 10:23:19 -0500 (Wed, 13 Oct 2010) | 6 lines

    Lock pvt so pvt->owner can't disappear when queueing up a frame.

    This fixes a crash due to a hangup race condition.

    ABE-2601
  ........
................

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

15 years agoMerged revisions 291280 via svnmerge from
Leif Madsen [Tue, 12 Oct 2010 17:20:43 +0000 (17:20 +0000)] 
Merged revisions 291280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r291280 | lmadsen | 2010-10-12 12:20:02 -0500 (Tue, 12 Oct 2010) | 7 lines

  Add undocumented variables to phoneprov.conf.sample

  (closes issue #18107)
  Reported by: lathama
  Patches:
        phoneprov.conf.sample.diff uploaded by lathama (license 1028)
........

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

15 years agoMerged revisions 291264 via svnmerge from
Tilghman Lesher [Tue, 12 Oct 2010 17:06:23 +0000 (17:06 +0000)] 
Merged revisions 291264 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r291264 | tilghman | 2010-10-12 12:05:31 -0500 (Tue, 12 Oct 2010) | 9 lines

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

  ........
    r291263 | tilghman | 2010-10-12 11:55:30 -0500 (Tue, 12 Oct 2010) | 2 lines

    Oops, incorrect range (although unallocated at ARIN)
  ........
................

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

15 years agoMerged revisions 291229 via svnmerge from
Leif Madsen [Tue, 12 Oct 2010 16:08:04 +0000 (16:08 +0000)] 
Merged revisions 291229 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r291229 | lmadsen | 2010-10-12 11:07:28 -0500 (Tue, 12 Oct 2010) | 2 lines

  Add documention that mentions options are defined but not used.
  (Issue #18101)
........

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

15 years agoFixes manager.c crash.
David Vossel [Tue, 12 Oct 2010 15:58:56 +0000 (15:58 +0000)] 
Fixes manager.c crash.

This issue was caused by improper use of the mansession lock and
manession_session lock.  These two structures are confusing to begin
with so I'm not surprised this occurred.  I fixed this by consistently
making sure we use each of these locks only to protect the data
in the corresponding structure.  We had mismatched usage of these
locks which resulted in no mutual exclusivity occurring at all.

(closes issue #17994)
Reported by: vrban
Patches:
      mansession_locking_fix.diff uploaded by dvossel (license 671)
Tested by: vrban

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

15 years agoUpdate CHANGES to reflect new gtalk.conf options.
David Vossel [Mon, 11 Oct 2010 21:44:04 +0000 (21:44 +0000)] 
Update CHANGES to reflect new gtalk.conf options.

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

15 years agoGtalk enhancements and general code cleanup.
David Vossel [Mon, 11 Oct 2010 21:38:39 +0000 (21:38 +0000)] 
Gtalk enhancements and general code cleanup.

This patch includes several chan_gtalk enhancements.
Two new gtalk.conf options have been added, externip
and stunadd.  Setting externip allows us to
manually specify what the external IP address is
outside of a NAT environment.  Setting the stunaddr
option to a valid stun server allows for that external
ip to be retrieved via a STUN server automatically.  This
external IP is then advertised during call setup as
a possible candidate.

I have also attempted to clean up chan_gtalk's code
so it meets our coding guidelines. During this cleanup
I noticed several things that need to be done in the
code and made a TODO section at the top of the file.

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

15 years agoMove declaration closer to where now used.
Richard Mudgett [Mon, 11 Oct 2010 18:51:13 +0000 (18:51 +0000)] 
Move declaration closer to where now used.

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

15 years agoMerged revisions 291110-291111 via svnmerge from
Richard Mudgett [Mon, 11 Oct 2010 18:48:15 +0000 (18:48 +0000)] 
Merged revisions 291110-291111 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r291110 | rmudgett | 2010-10-11 13:34:22 -0500 (Mon, 11 Oct 2010) | 9 lines

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

  ........
    r291109 | rmudgett | 2010-10-11 13:29:43 -0500 (Mon, 11 Oct 2010) | 1 line

    Add missing unlock to an exception condition in reload_config().
  ........
................
  r291111 | rmudgett | 2010-10-11 13:39:06 -0500 (Mon, 11 Oct 2010) | 1 line

  Make exit from handle_request_do() consistent.
................

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

15 years agoMerged revisions 291073 via svnmerge from
Richard Mudgett [Mon, 11 Oct 2010 16:42:54 +0000 (16:42 +0000)] 
Merged revisions 291073 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r291073 | rmudgett | 2010-10-11 11:39:17 -0500 (Mon, 11 Oct 2010) | 15 lines

  Fixed infinite loop in verbose/debug message output.

  Setting the module/filename specific message level and then changing it
  resulted in the linked list being looped on itself.  Traversing this
  linked list is an infinite loop if what you are looking for is not in the
  list.

  Also plugged some CLI parsing holes in the associated CLI command:

  * Removing a nonexistent module from the list actually added it with a
  level of zero.

  * Setting the non-module specific level to zero is now equivalent to
  setting it to "off" as documented.
........

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

15 years agoAdd missing option to set calls to be logged in GMT/UTC.
Tilghman Lesher [Sat, 9 Oct 2010 23:25:37 +0000 (23:25 +0000)] 
Add missing option to set calls to be logged in GMT/UTC.

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

15 years agosmall correction for verbose print h.323 packets
Alexandr Anikin [Sat, 9 Oct 2010 15:00:07 +0000 (15:00 +0000)] 
small correction for verbose print h.323 packets

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

15 years agoAdded fast start and h.245 tunneling options per user and peer.
Alexandr Anikin [Sat, 9 Oct 2010 14:02:26 +0000 (14:02 +0000)] 
Added fast start and h.245 tunneling options per user and peer.

Added options for faststart/h.245 tunneling per user/peer, properly
handle these and global options, correction of handling fs/tunneling
fields in signalling responses

(issue #17972)
Reported by: salecha
Patches:
      fs-tunnel-per-point-3.patch uploaded by may213 (license 454)
Tested by: may213, salecha

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

15 years agoMake outbound Google Voice calls.
David Vossel [Fri, 8 Oct 2010 20:44:59 +0000 (20:44 +0000)] 
Make outbound Google Voice calls.

This patch allows for outbound Google Voice calls to be
dialed from Asterisk using chan_gtalk. Below is an example
dialstring.

exten -> blah,1,Dial(Gtalk/asterisk/+15552225555@voice.google.com,,)

In this example, 'asterisk' is the jabber.conf profile configured
to connect to your gmail account. In order to receive Google Voice
calls make sure to enable 'allowguest=yes' in gtalk.conf.

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

15 years agoParentheses around assignment used as truth value, introduced in r290937.
Erin Spiceland [Fri, 8 Oct 2010 15:49:16 +0000 (15:49 +0000)] 
Parentheses around assignment used as truth value, introduced in r290937.

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

15 years agoAdd option to res_config_mysql and app_mysql to specify a character set that MySQL...
Erin Spiceland [Fri, 8 Oct 2010 15:34:34 +0000 (15:34 +0000)] 
Add option to res_config_mysql and app_mysql to specify a character set that MySQL should use.
 (closes issue 17948)
 Reported by qmax.

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

15 years agoMerged revisions 290863 via svnmerge from
Jeff Peeler [Fri, 8 Oct 2010 02:56:24 +0000 (02:56 +0000)] 
Merged revisions 290863 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290863 | jpeeler | 2010-10-07 21:45:44 -0500 (Thu, 07 Oct 2010) | 16 lines

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

  ........
    r290862 | jpeeler | 2010-10-07 21:35:29 -0500 (Thu, 07 Oct 2010) | 9 lines

    Ensure editline cleanup occurs when Ctrl-C is pressed at control console.

    A recent change was made to avoid a race condition on shutdown which only called
    the end functions from the console thread. However, when pressing Ctrl-C the
    quit handler is called from the signal handler thread.

    (closes issue #17698)
    Reported by: jmls
  ........
................

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

15 years agoAdd Philippe Sultan to chan_gtalk author list.
David Vossel [Thu, 7 Oct 2010 22:38:05 +0000 (22:38 +0000)] 
Add Philippe Sultan to chan_gtalk author list.

Philippe has made some notable contributions to the
gtalk channel driver.  His name deserves to be listed
amoung the authors of that file.  Thanks Philippe!

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

15 years agoOutbound gtalk calls now work correctly.
David Vossel [Thu, 7 Oct 2010 21:44:58 +0000 (21:44 +0000)] 
Outbound gtalk calls now work correctly.

There was a problem with how the candidates were being
built on an outbound call. This patch fixes that.

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

15 years agoMerged revisions 290751 via svnmerge from
Jason Parker [Thu, 7 Oct 2010 20:58:47 +0000 (20:58 +0000)] 
Merged revisions 290751 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290751 | qwell | 2010-10-07 15:57:14 -0500 (Thu, 07 Oct 2010) | 16 lines

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

  ........
    r290750 | qwell | 2010-10-07 15:56:04 -0500 (Thu, 07 Oct 2010) | 9 lines

    Allow PRI to build properly when using --with-pri.

    Use the directories found for the parent when using lib dependencies.

    (closes issue #17314)
    Reported by: tzafrir
    Patches:
          17314-withdeps.diff uploaded by qwell (license 4)
  ........
................

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

15 years agoMerged revisions 290712 via svnmerge from
Russell Bryant [Thu, 7 Oct 2010 11:00:52 +0000 (11:00 +0000)] 
Merged revisions 290712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290712 | russell | 2010-10-07 12:53:56 +0200 (Thu, 07 Oct 2010) | 4 lines

  Don't crash when Set() is called without a value.

  Review: https://reviewboard.asterisk.org/r/949/
........

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

15 years agoFixes commented out code to use #if 0 instead.
David Vossel [Wed, 6 Oct 2010 21:22:51 +0000 (21:22 +0000)] 
Fixes commented out code to use #if 0 instead.

Thanks to rmudgett for catching this!

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

15 years agoFixes gtalk outbound DTMF to work properly.
David Vossel [Wed, 6 Oct 2010 21:08:19 +0000 (21:08 +0000)] 
Fixes gtalk outbound DTMF to work properly.

Outbound DTMF with gtalk needs to be done within the RTP stream.  I discovered
this after investigating a packet capture from the gmail client.  Instead of
performing jingle signaling DTMF, the gtalk servers expect all DTMF to arrive
on the RTP stream using RFC2833 way of doing things.  Chan_gtalk also had an issue
with negotiating RTP payload type 106 for the telephony-event and then sending
DTMF as payload 101.  This has been resolved by always negotiating 101 as the payload
type like we do everywhere else.  With this patch, incoming google voice calls forwarded
to Asterisk via gtalk work.

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

15 years agoMerged revision 290613 from
Richard Mudgett [Wed, 6 Oct 2010 18:50:37 +0000 (18:50 +0000)] 
Merged revision 290613 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r290613 | rmudgett | 2010-10-06 13:42:41 -0500 (Wed, 06 Oct 2010) | 5 lines

  Eliminate a redundant test for AST_CONTROL_REDIRECTING.

  Eliminate redundant test for AST_CONTROL_REDIRECTING that prevents running
  the redirecting interception macro if it is defined.
..........

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

15 years agoMerged revisions 290575 via svnmerge from
Tilghman Lesher [Wed, 6 Oct 2010 13:49:19 +0000 (13:49 +0000)] 
Merged revisions 290575 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290575 | tilghman | 2010-10-06 08:48:27 -0500 (Wed, 06 Oct 2010) | 8 lines

  Allow streaming audio from a pipe.

  (closes issue #18001)
   Reported by: jamicque
   Patches:
         20100926__issue18001.diff.txt uploaded by tilghman (license 14)
   Tested by: jamicque
........

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

15 years agoDon't try to send RTP when remote_address is null
Terry Wilson [Wed, 6 Oct 2010 04:35:51 +0000 (04:35 +0000)] 
Don't try to send RTP when remote_address is null

It is possible for ast_rtp_stop() to be called which will clear the remote
address and cause the sendto to fail and spam warnings. Don't send in this
case.

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

15 years agoFixes uninitialized memory problem in 'iax2 set debug peer' option.
David Vossel [Tue, 5 Oct 2010 22:23:00 +0000 (22:23 +0000)] 
Fixes uninitialized memory problem in 'iax2 set debug peer' option.

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

15 years agoFixes chan_gtalk to work with gmail client
David Vossel [Tue, 5 Oct 2010 22:00:43 +0000 (22:00 +0000)] 
Fixes chan_gtalk to work with gmail client

This patch was written by Philippe Sultan (phsultan). Thanks
for keeping this up to date!

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

15 years agoMerged revisions 290396 via svnmerge from
Tilghman Lesher [Tue, 5 Oct 2010 20:23:33 +0000 (20:23 +0000)] 
Merged revisions 290396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290396 | tilghman | 2010-10-05 15:21:02 -0500 (Tue, 05 Oct 2010) | 15 lines

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

  ........
    r290392 | tilghman | 2010-10-05 15:20:07 -0500 (Tue, 05 Oct 2010) | 8 lines

    Fix a crash by ensuring that we don't alter memory after it's freed.

    (closes issue #17387)
     Reported by: jmls
     Patches:
           20100726__issue17387.diff.txt uploaded by tilghman (license 14)
     Tested by: jmls
  ........
................

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

15 years agoResolves dnsmgr memory corruption in chan_iax2.
David Vossel [Tue, 5 Oct 2010 20:09:06 +0000 (20:09 +0000)] 
Resolves dnsmgr memory corruption in chan_iax2.

(closes issue #17902)
Reported by: afried
Patches:
      issue_17902.rev1.txt uploaded by russell (license 2)
Tested by: afried, russell, dvossel

Review: https://reviewboard.asterisk.org/r/965/

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

15 years agoMerged revisions 290375 via svnmerge from
David Vossel [Tue, 5 Oct 2010 19:56:29 +0000 (19:56 +0000)] 
Merged revisions 290375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290375 | dvossel | 2010-10-05 14:54:50 -0500 (Tue, 05 Oct 2010) | 10 lines

  Fixes PickupChan() not working with full channel name.

  (closes issue #18011)
  Reported by: schern
  Patches:
        app_directed_pickup.c.2.patch uploaded by schern (license 995)
        app_directed_pickup.c.trunk.patch uploaded by schern (license 995)
  Tested by: schern, dvossel
........

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

15 years agoRestore run directory for OS X, as well as standardizing some other paths to Mac...
Tilghman Lesher [Tue, 5 Oct 2010 14:15:46 +0000 (14:15 +0000)] 
Restore run directory for OS X, as well as standardizing some other paths to Mac OS X.

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

15 years agoMerged revisions 290254 via svnmerge from
Tilghman Lesher [Mon, 4 Oct 2010 23:23:11 +0000 (23:23 +0000)] 
Merged revisions 290254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290254 | tilghman | 2010-10-04 18:14:59 -0500 (Mon, 04 Oct 2010) | 11 lines

  Change new pattern matcher to regard dashes the same as the old pattern matcher -- as visual candy to be ignored.

  Also change the AEL parser to not generate dashes within extensions, as those
  dashes would be ignored.  Update the AEL tests to match this behavior.

  (closes issue #17366)
   Reported by: murf
   Patches:
         20100727__issue17366.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........

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

15 years agoMerged revisions 290201 via svnmerge from
Tilghman Lesher [Mon, 4 Oct 2010 20:23:13 +0000 (20:23 +0000)] 
Merged revisions 290201 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290201 | tilghman | 2010-10-04 15:22:03 -0500 (Mon, 04 Oct 2010) | 9 lines

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

  ........
    r290177 | tilghman | 2010-10-04 15:15:26 -0500 (Mon, 04 Oct 2010) | 2 lines

    Fixing Mac OS X auto-builder.
  ........
................

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

15 years agoMerged revisions 290101 via svnmerge from
Tilghman Lesher [Sun, 3 Oct 2010 21:08:45 +0000 (21:08 +0000)] 
Merged revisions 290101 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r290101 | tilghman | 2010-10-03 16:06:58 -0500 (Sun, 03 Oct 2010) | 9 lines

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

  ........
    r290100 | tilghman | 2010-10-03 16:04:29 -0500 (Sun, 03 Oct 2010) | 2 lines

    Automatically re-run configure test for menuselect, when the relevant makeopts settings change.
  ........
................

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

15 years agoGet notification only when file is closed, not when created.
Tilghman Lesher [Sun, 3 Oct 2010 20:02:29 +0000 (20:02 +0000)] 
Get notification only when file is closed, not when created.

(closes issue #17924)
 Reported by: mkeuter
 Patches:
       asterisk-1.8-bugid17924.patch uploaded by abelbeck (license 946)
 Tested by: abelbeck

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

15 years agoAllow users to pass additional arguments to the Subversion command that
Kevin P. Fleming [Sat, 2 Oct 2010 17:57:13 +0000 (17:57 +0000)] 
Allow users to pass additional arguments to the Subversion command that
obtains the MP-3 source code.

(reported on IRC by jmls)

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

15 years agoMerged revisions 289950 via svnmerge from
Olle Johansson [Sat, 2 Oct 2010 08:56:08 +0000 (08:56 +0000)] 
Merged revisions 289950 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289950 | oej | 2010-10-02 10:52:03 +0200 (Lör, 02 Okt 2010) | 9 lines

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

  ........
    r289949 | oej | 2010-10-02 10:50:05 +0200 (Lör, 02 Okt 2010) | 2 lines

    Add documentation for undocumented option to AMI action originate
  ........
................

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

15 years agoMerged revisions 289874 via svnmerge from
Tilghman Lesher [Sat, 2 Oct 2010 04:46:43 +0000 (04:46 +0000)] 
Merged revisions 289874 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289874 | tilghman | 2010-10-01 23:45:49 -0500 (Fri, 01 Oct 2010) | 15 lines

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

  ........
    r289873 | tilghman | 2010-10-01 23:42:08 -0500 (Fri, 01 Oct 2010) | 8 lines

    When forwarding a message, a prepend means that the filesystem will always have a better copy.

    (closes issue #17803)
     Reported by: dpetersen
     Patches:
           20100923__issue17803.diff.txt uploaded by tilghman (license 14)
     Tested by: dpetersen
  ........
................

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

15 years agoMerged revisions 289798 via svnmerge from
Jeff Peeler [Sat, 2 Oct 2010 02:43:45 +0000 (02:43 +0000)] 
Merged revisions 289798 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289798 | jpeeler | 2010-10-01 18:01:31 -0500 (Fri, 01 Oct 2010) | 22 lines

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

  ........
    r289797 | jpeeler | 2010-10-01 17:58:38 -0500 (Fri, 01 Oct 2010) | 15 lines

    Change RFC2833 DTMF event duration on end to report actual elapsed time.

    The scenario here is with a non P2P early media session. The reported time
    length of DTMF presses are coming up short when sending to the remote side.
    Currently the event duration is a running total that is incremented when sending
    continuation packets. These continuation packets are only triggered upon
    incoming media from the remote side, which means that the running total probably
    is not going to end up matching the actual length of time Asterisk received
    DTMF. This patch changes the end event duration to be lengthened if it is
    detected that the end event is going to come up short.

    Review: https://reviewboard.asterisk.org/r/957/

    ABE-2476
  ........
................

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

15 years agoMerged revisions 289704 via svnmerge from
Paul Belanger [Fri, 1 Oct 2010 17:19:49 +0000 (17:19 +0000)] 
Merged revisions 289704 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289704 | pabelanger | 2010-10-01 13:09:03 -0400 (Fri, 01 Oct 2010) | 13 lines

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

  ........
    r289703 | pabelanger | 2010-10-01 13:03:11 -0400 (Fri, 01 Oct 2010) | 6 lines

    Disable debugging by default

    and reformat .config file.

    Review: https://reviewboard.asterisk.org/r/929/
  ........
................

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

15 years agoMerged revisions 289700 via svnmerge from
Jeff Peeler [Fri, 1 Oct 2010 16:22:19 +0000 (16:22 +0000)] 
Merged revisions 289700 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289700 | jpeeler | 2010-10-01 11:21:04 -0500 (Fri, 01 Oct 2010) | 21 lines

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

  ........
    r289699 | jpeeler | 2010-10-01 11:20:00 -0500 (Fri, 01 Oct 2010) | 14 lines

    Ensure user portion of SIP URI matches dialplan when using encoded characters.

    This commit takes a simliar approach to 288112 and checks the dialplan to
    determine the proper action for an incoming contact header as to whether or not
    it should be decoded or not. sip_new was blindly always decoding the extension,
    which also caused the outgoing contact header to be incorrect as well as failing
    to match the encoded extension in the dialplan.

    (closes issue #17892)
    Reported by: wdoekes
    Patches:
          bug17892-1.patch uploaded by jpeeler (license 325)
    Tested by: wdoekes
  ........
................

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

15 years agodon't iterate through all dialogs to find and delete old subscribes
Stefan Schmidt [Fri, 1 Oct 2010 09:42:22 +0000 (09:42 +0000)] 
don't iterate through all dialogs to find and delete old subscribes

On every incoming subscribe there is a iteration through all dialogs to find old subscribes and delete them. This is slow and not RFC conform. This was only needed in 1.2 cause a subscribe was not deleted when a dialog was destroyed, after 1.4 a subscribe get removed when its dialog is destroyed.

(closes issue #17950)
Reported by: schmidts
Tested by: schmidts

Review: https://reviewboard.asterisk.org/r/901/

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

15 years agoSolaris fixes.
Tilghman Lesher [Thu, 30 Sep 2010 20:23:10 +0000 (20:23 +0000)] 
Solaris fixes.

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

15 years agoMerged revisions 289553 via svnmerge from
Matthew Nicholson [Thu, 30 Sep 2010 19:53:10 +0000 (19:53 +0000)] 
Merged revisions 289553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r289553 | mnicholson | 2010-09-30 14:51:27 -0500 (Thu, 30 Sep 2010) | 4 lines

  Properly handle channel allocation failures duing invites with replaces.

  ABE-2588
........

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

15 years agoMerged revision 289547 from
Richard Mudgett [Thu, 30 Sep 2010 19:28:36 +0000 (19:28 +0000)] 
Merged revision 289547 from
https://origsvn.digium.com/svn/asterisk/be/branches/C.3-bier

..........
  r289547 | rmudgett | 2010-09-30 14:16:36 -0500 (Thu, 30 Sep 2010) | 10 lines

  In chan_misdn, the DivertingLegInformation2 DivertingNr is garbage when the number is restricted.

  The same thing happens with DivertingLegInformation1 DivertedTo number.

  The misdn_PresentedNumberUnscreened_extract() extracted the Unscreened
  PartyNumber field unconditionally.  It now checks the presented number
  unscreened type to see if the PartyNumber was even present.

  JIRA ABE-2595
..........

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

15 years agoMore Solaris compatibility fixes
Tilghman Lesher [Thu, 30 Sep 2010 17:50:52 +0000 (17:50 +0000)] 
More Solaris compatibility fixes

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

15 years agoMerged revisions 289425 via svnmerge from
Russell Bryant [Thu, 30 Sep 2010 15:39:45 +0000 (15:39 +0000)] 
Merged revisions 289425 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289425 | russell | 2010-09-30 10:37:29 -0500 (Thu, 30 Sep 2010) | 15 lines

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

  ........
    r289424 | russell | 2010-09-30 10:34:29 -0500 (Thu, 30 Sep 2010) | 8 lines

    Fix a crash in app_sms.

    Since the data being passed to the generator callback is on the stack of the
    SMS() application, we must ensure that the generator is stopped before the
    application exits.

    ABE-2587
  ........
................

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

15 years agoMerged revisions 289339 via svnmerge from
Jason Parker [Wed, 29 Sep 2010 21:12:43 +0000 (21:12 +0000)] 
Merged revisions 289339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289339 | qwell | 2010-09-29 16:03:47 -0500 (Wed, 29 Sep 2010) | 15 lines

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

  ........
    r289338 | qwell | 2010-09-29 15:56:26 -0500 (Wed, 29 Sep 2010) | 8 lines

    Allow a manager originate to succeed on forwarded devices.

    The timeout to wait for an answer was being set to 0 when a device forwarded to another
    extension.  We don't always need the timeout set like this, so make it an optional
    parameter, and don't use it in this case.

    ABE-2544
  ........
................

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

15 years agoMerged revisions 289334 via svnmerge from
Leif Madsen [Wed, 29 Sep 2010 20:27:25 +0000 (20:27 +0000)] 
Merged revisions 289334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r289334 | lmadsen | 2010-09-29 15:24:47 -0500 (Wed, 29 Sep 2010) | 1 line

  Update sample documentation to note md5secret requirements.
........

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

15 years agoMerged revisions 289332 via svnmerge from
Russell Bryant [Wed, 29 Sep 2010 20:20:23 +0000 (20:20 +0000)] 
Merged revisions 289332 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r289332 | russell | 2010-09-29 15:15:57 -0500 (Wed, 29 Sep 2010) | 4 lines

  Don't completely ignore md5secret from LDAP if the value does not begin with {md5}.

  This fixes a problem that lmadsen ran in to where md5secret was not working for him.
........

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

15 years agoAdd 'ecm' to the sample fax config file
Matthew Nicholson [Wed, 29 Sep 2010 17:53:54 +0000 (17:53 +0000)] 
Add 'ecm' to the sample fax config file

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

15 years agoUpdate the CDR record when ast_channel_set_caller_event() is called
Matthew Nicholson [Wed, 29 Sep 2010 17:08:20 +0000 (17:08 +0000)] 
Update the CDR record when ast_channel_set_caller_event() is called

(related to issue #17569)
Reported by: tbelder

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

15 years agoMake development error message indicate which channel.
Richard Mudgett [Wed, 29 Sep 2010 16:16:47 +0000 (16:16 +0000)] 
Make development error message indicate which channel.

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

15 years agoMerged revisions 289178 via svnmerge from
Matthew Nicholson [Wed, 29 Sep 2010 15:04:56 +0000 (15:04 +0000)] 
Merged revisions 289178 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289178 | mnicholson | 2010-09-29 10:04:11 -0500 (Wed, 29 Sep 2010) | 15 lines

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

  ........
    r289177 | mnicholson | 2010-09-29 10:03:27 -0500 (Wed, 29 Sep 2010) | 8 lines

    Set the caller id on CDRs when it is set on the parent channel.

    (closes issue #17569)
    Reported by: tbelder
    Patches:
          17569.diff uploaded by tbelder (license 618)
    Tested by: tbelder
  ........
................

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

15 years agoSolaris compatibility fixes
Tilghman Lesher [Tue, 28 Sep 2010 18:18:43 +0000 (18:18 +0000)] 
Solaris compatibility fixes

Review: https://reviewboard.asterisk.org/r/942/

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

15 years agoMerged revisions 289095 via svnmerge from
Brett Bryant [Tue, 28 Sep 2010 18:18:02 +0000 (18:18 +0000)] 
Merged revisions 289095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r289095 | bbryant | 2010-09-28 14:14:19 -0400 (Tue, 28 Sep 2010) | 21 lines

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

  ........
    r289094 | bbryant | 2010-09-28 14:10:19 -0400 (Tue, 28 Sep 2010) | 14 lines

    Fixes an issue with the Newchannel AMI event during the Masquerading process.

    Fixes an issue with the Newchannel AMI event during the Masquerading process,
    where no Newchannel AMI event was generated for the psuedo channel used during
    the masquerading process.

    (closes issue #17987)
    Reported by: RadicAlish
    Patches:
          newchannel.patch.txt uploaded by RadicAlish (license 1122)
          Tested by: RadicAlish

          Review: https://reviewboard.asterisk.org/r/937/
  ........
................

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

15 years agoAvoid deadlock processing incoming AOC-E messages.
Richard Mudgett [Tue, 28 Sep 2010 01:04:37 +0000 (01:04 +0000)] 
Avoid deadlock processing incoming AOC-E messages.

Deadlock avoidance for the owner channel was not done when processing
incoming AOC-E messages.

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

15 years agoRevert stuff not ready for commit in -r289054.
Richard Mudgett [Tue, 28 Sep 2010 00:35:25 +0000 (00:35 +0000)] 
Revert stuff not ready for commit in -r289054.

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

15 years agoBreak up long ast_manager_event_multichan() event lines.
Richard Mudgett [Tue, 28 Sep 2010 00:32:18 +0000 (00:32 +0000)] 
Break up long ast_manager_event_multichan() event lines.

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

15 years agoStill build SIP, even if res_crypto cannot be built (use, not depend).
Tilghman Lesher [Mon, 27 Sep 2010 18:37:41 +0000 (18:37 +0000)] 
Still build SIP, even if res_crypto cannot be built (use, not depend).

(closes issue #18062)
 Reported by: a user on the mailing list

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

15 years agoFix some documentation typos and spelling errors.
Russell Bryant [Mon, 27 Sep 2010 13:03:43 +0000 (13:03 +0000)] 
Fix some documentation typos and spelling errors.

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

15 years agoFix a documentation spelling error.
Russell Bryant [Mon, 27 Sep 2010 12:42:10 +0000 (12:42 +0000)] 
Fix a documentation spelling error.

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

15 years agoAppend Retry-After header on 500 error response to Re-INVITE according to RFC3261...
David Vossel [Fri, 24 Sep 2010 17:58:57 +0000 (17:58 +0000)] 
Append Retry-After header on 500 error response to Re-INVITE according to RFC3261 section 14.2.

ABE-2301

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

15 years agoInspect Require header on BYE transaction according to RFC3261 section 8.2.2.3.
David Vossel [Fri, 24 Sep 2010 17:05:12 +0000 (17:05 +0000)] 
Inspect Require header on BYE transaction according to RFC3261 section 8.2.2.3.

ABE-2293

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

15 years agoMerged revisions 288747 via svnmerge from
Terry Wilson [Fri, 24 Sep 2010 16:02:27 +0000 (16:02 +0000)] 
Merged revisions 288747 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288747 | twilson | 2010-09-24 08:37:39 -0700 (Fri, 24 Sep 2010) | 12 lines

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

  ........
    r288746 | twilson | 2010-09-24 08:26:09 -0700 (Fri, 24 Sep 2010) | 5 lines

    Don't fail a masquerade if it is already being hung up

    This avoids noise on some Local channel situations where we don't use /n.
    Thanks to Alec Davis for the suggestion.
  ........
................

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

15 years agoMerged revisions 288712 via svnmerge from
Tilghman Lesher [Fri, 24 Sep 2010 13:54:17 +0000 (13:54 +0000)] 
Merged revisions 288712 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r288712 | tilghman | 2010-09-24 08:53:30 -0500 (Fri, 24 Sep 2010) | 5 lines

  Solaris won't printf a NULL.

  (closes issue #18041)
   Reported by: asgaroth
........

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

15 years agoExport timersub for platforms which do not have it
Tilghman Lesher [Fri, 24 Sep 2010 03:42:37 +0000 (03:42 +0000)] 
Export timersub for platforms which do not have it

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

15 years agoMerged revisions 288637 via svnmerge from
Tilghman Lesher [Fri, 24 Sep 2010 03:39:29 +0000 (03:39 +0000)] 
Merged revisions 288637 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r288637 | tilghman | 2010-09-23 22:36:01 -0500 (Thu, 23 Sep 2010) | 9 lines

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

  ........
    r288636 | tilghman | 2010-09-23 22:20:24 -0500 (Thu, 23 Sep 2010) | 2 lines

    Solaris compatibility fixes
  ........
................

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