asterisk/asterisk.git
11 years agoAdd a \todo to convert this module to the event system
Russell Bryant [Tue, 26 Feb 2008 00:38:02 +0000 (00:38 +0000)]
Add a \todo to convert this module to the event system

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

11 years agoUpdate CHANGES for SMDI stuff
Russell Bryant [Tue, 26 Feb 2008 00:35:30 +0000 (00:35 +0000)]
Update CHANGES for SMDI stuff

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

11 years agoMerged revisions 104119 via svnmerge from
Russell Bryant [Tue, 26 Feb 2008 00:31:40 +0000 (00:31 +0000)]
Merged revisions 104119 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104119 | russell | 2008-02-25 18:25:29 -0600 (Mon, 25 Feb 2008) | 33 lines

Merge changes from team/russell/smdi-1.4

This commit brings in a significant set of changes to the SMDI support in Asterisk.
There were a number of bugs in the current implementation, most notably being that
it was very likely on busy systems to pop off the wrong message from the SMDI message
queue.  So, this set of changes fixes the issues discovered as well as introducing
some new ways to use the SMDI support which are required to avoid the bugs with
grabbing the wrong message off of the queue.

This code introduces a new interface to SMDI, with two dialplan functions.  First,
you get an SMDI message in the dialplan using SMDI_MSG_RETRIEVE() and then you access
details in the message using the SMDI_MSG() function.  A side benefit of this is that
it now supports more than just chan_zap.

For example, with this implementation, you can have some FXO lines being terminated
on a SIP gateway, but the SMDI link in Asterisk.

Another issue with the current implementation is that it is quite common that the
station ID that comes in on the SMDI link is not necessarily the same as the Asterisk
voicemail box.  There are now additional directives in the smdi.conf configuration
file which let you map SMDI station IDs to Asterisk voicemail boxes.

Yet another issue with the current SMDI support was related to MWI reporting over
the SMDI link.  The current code could only report a MWI change when the change
was made by someone calling into voicemail.  If the change was made by some other
entity (such as with IMAP storage, or with a web interface of some kind), then the
MWI change would never be sent.  The SMDI module can now poll for MWI changes if
configured to do so.

This work was inspired by and primarily done for the University of Pennsylvania.

(also related to issue #9260)

........

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

11 years agoBlocked revisions 104111 via svnmerge
Jason Parker [Tue, 26 Feb 2008 00:05:17 +0000 (00:05 +0000)]
Blocked revisions 104111 via svnmerge

........
r104111 | qwell | 2008-02-25 18:03:30 -0600 (Mon, 25 Feb 2008) | 7 lines

IPTOS_MINCOST is not defined on Solaris.

(closes issue #12050)
Reported by: asgaroth
Patches:
      12050.patch uploaded by putnopvut (license 60)

........

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

11 years agoDeprecate the "stripmsd" option in favor of dialplan substring variable syntax.
Russell Bryant [Mon, 25 Feb 2008 23:56:47 +0000 (23:56 +0000)]
Deprecate the "stripmsd" option in favor of dialplan substring variable syntax.
(closes issue #12060)

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

11 years agoMerged revisions 104106 via svnmerge from
Russell Bryant [Mon, 25 Feb 2008 23:48:16 +0000 (23:48 +0000)]
Merged revisions 104106 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104106 | russell | 2008-02-25 17:42:42 -0600 (Mon, 25 Feb 2008) | 10 lines

This patch fixes some pretty significant problems with how app_chanspy handles
pointers to channels that are being spied upon.  It was very likely that a
crash would occur if the channel being spied upon hung up.  This was because
the current ast_channel handling _requires_ that the object is locked or else
it could disappear at any time (except in the owning channel thread).  So, this
patch uses some channel datastore magic on the spied upon channel to be able to
detect if and when the channel goes away.
(closes issue #11877)
(patch written by me, but thanks to kpfleming for the idea, and to file for review)

........

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

11 years agoMerged revisions 104102 via svnmerge from
Russell Bryant [Mon, 25 Feb 2008 23:19:31 +0000 (23:19 +0000)]
Merged revisions 104102 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104102 | russell | 2008-02-25 17:19:05 -0600 (Mon, 25 Feb 2008) | 7 lines

Improve the lock tracking code a bit so that a bunch of old locks that threads
failed to lock don't sit around in the history.  When a lock is first locked,
this checks to see if the last lock in the list was one that was failed to be
locked.  If it is, then that was a lock that we're no longer sitting in a trylock
loop trying to lock, so just remove it.
(inspired by issue #11712)

........

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

11 years agoPermit additional CDR columns to be saved in Postgres. Note that these
Tilghman Lesher [Mon, 25 Feb 2008 23:04:20 +0000 (23:04 +0000)]
Permit additional CDR columns to be saved in Postgres.  Note that these
changes are backward-compatible, so no changes to UPGRADE.txt are
necessary.
(closes issue #9279)
 Reported by: rottenroddy
 Patches:
       20080125__bug9279.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

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

11 years agoShared space for variables (instead of letting other channels muck with your own)
Tilghman Lesher [Mon, 25 Feb 2008 21:56:19 +0000 (21:56 +0000)]
Shared space for variables (instead of letting other channels muck with your own)
(closes issue #11943)
 Reported by: ramonpeek
 Patches:
       20080208__bug11943__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: jmls

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

11 years agoMerged revisions 104094 via svnmerge from
Tilghman Lesher [Mon, 25 Feb 2008 21:53:36 +0000 (21:53 +0000)]
Merged revisions 104094 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104094 | tilghman | 2008-02-25 15:31:47 -0600 (Mon, 25 Feb 2008) | 5 lines

If the destination folder is full, don't delete a message when exiting.
(closes issue #12065)
 Reported by: selsky
 Patch by: (myself)

........

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

11 years agoMerged revisions 104095 via svnmerge from
Joshua Colp [Mon, 25 Feb 2008 21:40:30 +0000 (21:40 +0000)]
Merged revisions 104095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104095 | file | 2008-02-25 17:37:20 -0400 (Mon, 25 Feb 2008) | 6 lines

Make it so a users.conf user creates both a SIP peer and a SIP user. The user will be used for inbound authentication for the device, and peer will be used for placing calls to the device.
(closes issue #9044)
Reported by: queuetue
Patches:
      sip-gui-friend.diff uploaded by qwell (license 4)

........

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

11 years agoMerged revisions 104092 via svnmerge from
Jason Parker [Mon, 25 Feb 2008 20:50:57 +0000 (20:50 +0000)]
Merged revisions 104092 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104092 | qwell | 2008-02-25 14:49:42 -0600 (Mon, 25 Feb 2008) | 11 lines

Allow the use of #include and #exec in situations where the max include depth was only 1.
Specifically, this fixes using #include and #exec in extconfig.conf.

This was basically caused because the config file itself raises the include level to 1.

I opted not to raise the include limit, because recursion here could cause very bizarre behavior.

Pointed out, and tested by jmls

(closes issue #12064)

........

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

11 years agoInstead of outputting a verbose message every so often let's make it a debug message.
Joshua Colp [Mon, 25 Feb 2008 19:02:33 +0000 (19:02 +0000)]
Instead of outputting a verbose message every so often let's make it a debug message.

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

11 years agoAdding more tls configuration details to sip.conf sample, with a list of valid cipher...
Brett Bryant [Mon, 25 Feb 2008 19:00:16 +0000 (19:00 +0000)]
Adding more tls configuration details to sip.conf sample, with a list of valid ciphers provided in both files. .. First commit since July, woot

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

11 years agoMerged revisions 104086 via svnmerge from
Russell Bryant [Mon, 25 Feb 2008 18:38:51 +0000 (18:38 +0000)]
Merged revisions 104086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104086 | russell | 2008-02-25 12:38:10 -0600 (Mon, 25 Feb 2008) | 4 lines

Ensure that the channel doesn't disappear in agent_logoff().  If it does, it
could cause a crash.
(fixes the crash reported in BE-396)

........

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

11 years agoMerged revisions 104084 via svnmerge from
Joshua Colp [Mon, 25 Feb 2008 16:18:46 +0000 (16:18 +0000)]
Merged revisions 104084 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104084 | file | 2008-02-25 12:16:13 -0400 (Mon, 25 Feb 2008) | 6 lines

If a resubscription comes in for a dialog we no longer know about tell the remote side that the dialog does not exist so they subscribe again using a new dialog.
(closes issue #10727)
Reported by: s0l4rb03
Patches:
      10727-2.diff uploaded by file (license 11)

........

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

11 years agoMerged revisions 104082 via svnmerge from
Joshua Colp [Mon, 25 Feb 2008 15:19:58 +0000 (15:19 +0000)]
Merged revisions 104082 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104082 | file | 2008-02-25 11:17:18 -0400 (Mon, 25 Feb 2008) | 6 lines

Due to recent changes tag will no longer be NULL if not present so we have to use ast_strlen_zero to see if it's actually blank.
(closes issue #12061)
Reported by: flefoll
Patches:
      chan_sip.c.br14.patch_pedantic_no_totag uploaded by flefoll (license 244)

........

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

11 years agoFix building of trunk. dbpass is always going to exist.
Joshua Colp [Mon, 25 Feb 2008 15:12:48 +0000 (15:12 +0000)]
Fix building of trunk. dbpass is always going to exist.

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

11 years agoEnforce a space between function args as per code review.
Steve Murphy [Sun, 24 Feb 2008 02:37:08 +0000 (02:37 +0000)]
Enforce a space between function args as per code review.

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

11 years agoOn a 64-bit machine, with dev-mode turned on, and pgsql installed, I get warnings...
Steve Murphy [Sun, 24 Feb 2008 00:44:14 +0000 (00:44 +0000)]
On a 64-bit machine, with dev-mode turned on, and pgsql installed, I get warnings that stops the compile. They are fixed now.

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

11 years agoAdd protection to chan_zap build when NEONMWI events are not defined
Doug Bailey [Fri, 22 Feb 2008 23:56:55 +0000 (23:56 +0000)]
Add protection to chan_zap build when NEONMWI events are not defined

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

11 years agoMove Originate to a separate privilege and require the additional System privilege...
Tilghman Lesher [Fri, 22 Feb 2008 22:55:35 +0000 (22:55 +0000)]
Move Originate to a separate privilege and require the additional System privilege to call out to a subshell.

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

11 years agoMerged revisions 104037 via svnmerge from
Tilghman Lesher [Fri, 22 Feb 2008 22:48:18 +0000 (22:48 +0000)]
Merged revisions 104037 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104037 | tilghman | 2008-02-22 16:45:14 -0600 (Fri, 22 Feb 2008) | 6 lines

Backwards debug message.
(closes issue #12052)
 Reported by: flefoll
 Patches:
       chan_sip.c.br14.patch_found-notfound uploaded by flefoll (license 244)

........

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

11 years agoAllow database password to be NULL and several other cleanups.
Tilghman Lesher [Fri, 22 Feb 2008 22:39:21 +0000 (22:39 +0000)]
Allow database password to be NULL and several other cleanups.
(closes issue #12048)
 Reported by: bukaj
 Patches:
       20080222__bug12048.diff.txt uploaded by Corydon76 (license 14)
 Tested by: bukaj

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

11 years agofix a typo
Russell Bryant [Thu, 21 Feb 2008 21:27:24 +0000 (21:27 +0000)]
fix a typo

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

11 years agoBlocked revisions 104027 via svnmerge
Mark Michelson [Thu, 21 Feb 2008 21:09:54 +0000 (21:09 +0000)]
Blocked revisions 104027 via svnmerge

........
r104027 | mmichelson | 2008-02-21 15:05:42 -0600 (Thu, 21 Feb 2008) | 4 lines

And as a followup to revision 104026, completely remove event-related
calls from a section of code where we know there was no event to handle or get.

........

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

11 years agoBlocked revisions 104026 via svnmerge
Mark Michelson [Thu, 21 Feb 2008 21:09:11 +0000 (21:09 +0000)]
Blocked revisions 104026 via svnmerge

........
r104026 | mmichelson | 2008-02-21 14:12:38 -0600 (Thu, 21 Feb 2008) | 7 lines

Remove an incorrect debug message. It reported that it had received a specific event and tried to report
which event was received. What actually was happening was that it was reporting the number of bytes returned
from a call to read().

Thanks to Jared Smith for bringing the issue up on IRC

........

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

11 years agoInstead of a notice, make the message about a hung-up channel a debug message, and...
Mark Michelson [Thu, 21 Feb 2008 17:44:34 +0000 (17:44 +0000)]
Instead of a notice, make the message about a hung-up channel a debug message, and revert the original
logic on the if statement. Thanks to Juggie for bringing this to my attention.

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

11 years agoAdded configuration distinction between neon and fsk mwi detection
Doug Bailey [Thu, 21 Feb 2008 17:38:40 +0000 (17:38 +0000)]
Added configuration distinction between neon and fsk mwi detection
Add the detection for neon MWI events
got rid of extraneous handle_init_event call in monitor loop

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

11 years agoDon't print the fact that we are using dead mode in AGI if called from the
Mark Michelson [Thu, 21 Feb 2008 16:46:37 +0000 (16:46 +0000)]
Don't print the fact that we are using dead mode in AGI if called from the
'h' extension since it is well-known that it will be running in dead mode.

(closes issue #12046)
Reported by: explidous

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

11 years agoDisable epoll as it has caused more obscure issues then any of my previous code....
Joshua Colp [Thu, 21 Feb 2008 16:44:57 +0000 (16:44 +0000)]
Disable epoll as it has caused more obscure issues then any of my previous code. I will continue to work on it in a separate branch to make it stable for a release and test it against the following issues.
(closes issue #11253)
Reported by: falves11
(closes issue #11657)
Reported by: davevg
(closes issue #11033)
Reported by: falves11

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

11 years agoMerged revisions 104015 via svnmerge from
Kevin P. Fleming [Thu, 21 Feb 2008 14:44:04 +0000 (14:44 +0000)]
Merged revisions 104015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r104015 | kpfleming | 2008-02-21 08:33:51 -0600 (Thu, 21 Feb 2008) | 2 lines

reduce the likelihood that HTTP Manager session ids will consist of primarily '1' bits

........

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

11 years agoIgnore some more unused generated events.
Tilghman Lesher [Thu, 21 Feb 2008 05:21:39 +0000 (05:21 +0000)]
Ignore some more unused generated events.
(closes issue #12042)
 Reported by: junky
 Patches:
       astman_events.diff uploaded by junky (license 177)

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

11 years agoMerged revisions 103956 via svnmerge from
Mark Michelson [Wed, 20 Feb 2008 22:34:12 +0000 (22:34 +0000)]
Merged revisions 103956 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103956 | mmichelson | 2008-02-20 16:32:22 -0600 (Wed, 20 Feb 2008) | 8 lines

Clear up confusion when viewing the QUEUE_WAITING_COUNT of a
"dead" realtime queue. Since from the user's perspective, the queue
does exist, we shouldn't tell them we couldn't find the queue. Instead
since it is a dead queue, report a 0 waiting count

This issue was brought up on IRC by jmls

........

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

11 years agoTry to do Packet2Packet bridging with chan_h323 if reinviting isn't enabled.
Joshua Colp [Wed, 20 Feb 2008 22:29:47 +0000 (22:29 +0000)]
Try to do Packet2Packet bridging with chan_h323 if reinviting isn't enabled.
(closes issue #11901)
Reported by: pj

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

11 years agoMerged revisions 103953 via svnmerge from
Joshua Colp [Wed, 20 Feb 2008 22:10:30 +0000 (22:10 +0000)]
Merged revisions 103953 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103953 | file | 2008-02-20 18:06:59 -0400 (Wed, 20 Feb 2008) | 6 lines

Don't wait for additional digits when overlap dialing is enabled if the setup message contains the sending_complete information element.
(closes issue #11785)
Reported by: klaus3000
Patches:
      sending_complete_overlap_asterisk-1.4.17.patch.txt uploaded by klaus3000 (license 65)

........

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

11 years agoMerged revisions 103904 via svnmerge from
Mark Michelson [Wed, 20 Feb 2008 21:41:31 +0000 (21:41 +0000)]
Merged revisions 103904 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103904 | mmichelson | 2008-02-20 15:40:08 -0600 (Wed, 20 Feb 2008) | 6 lines

Fix a crash if the channel becomes NULL while attempting to lock it.

(closes issue #12039)
Reported by: danpwi

........

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

11 years agoLargely refactor DSP tone detection routines.
Jason Parker [Wed, 20 Feb 2008 21:36:46 +0000 (21:36 +0000)]
Largely refactor DSP tone detection routines.

Separate fax detection from digit detected.
Added CED (called) tone detection for fax (previously, only CNG (calling) was supported).
Separate DTMF/MF code paths where appropriate.
Allow detection of arbitary tones.

(closes issue #11796)
Reported by: dimas
Patches:
      v6-dsp-faxtones.patch uploaded by dimas (license 88)
Tested by: dimas, IgorG, Cache

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

11 years agoFix a crash due to the wrong variable being used when building a directory string.
Mark Michelson [Wed, 20 Feb 2008 21:08:46 +0000 (21:08 +0000)]
Fix a crash due to the wrong variable being used when building a directory string.

(closes issue #12027)
Reported by: jaroth
Patches:
      forward.patch uploaded by jaroth (license 50)
Tested by: jaroth

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

11 years agoAdd some documentation fixups
Tilghman Lesher [Wed, 20 Feb 2008 18:29:14 +0000 (18:29 +0000)]
Add some documentation fixups

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

11 years agoMerged revisions 103845 via svnmerge from
Tilghman Lesher [Wed, 20 Feb 2008 18:28:00 +0000 (18:28 +0000)]
Merged revisions 103845 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103845 | tilghman | 2008-02-20 11:53:00 -0600 (Wed, 20 Feb 2008) | 7 lines

Compat fix for Solaris
(closes issue #12022)
 Reported by: asgaroth
 Patches:
       20080219__bug12022.diff.txt uploaded by Corydon76 (license 14)
 Tested by: asgaroth

........

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

11 years agoFix another spot where a hard-coded '|' hadn't been converted to ','
Mark Michelson [Wed, 20 Feb 2008 15:21:51 +0000 (15:21 +0000)]
Fix another spot where a hard-coded '|' hadn't been converted to ','

(closes issue #12034)
Reported by: kowalma

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

11 years ago*mumble*
Joshua Colp [Wed, 20 Feb 2008 03:52:57 +0000 (03:52 +0000)]
*mumble*

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

11 years agofile not found.
Joshua Colp [Wed, 20 Feb 2008 03:44:40 +0000 (03:44 +0000)]
file not found.

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

11 years agoMinor test...
Joshua Colp [Wed, 20 Feb 2008 03:38:13 +0000 (03:38 +0000)]
Minor test...

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

11 years agoWhen using IMAP storage, if the folder you attempt to save to does not exist,
Mark Michelson [Wed, 20 Feb 2008 00:49:38 +0000 (00:49 +0000)]
When using IMAP storage, if the folder you attempt to save to does not exist,
create it first.

(closes issue #12032)
Reported by: jaroth
Patches:
      createfolder.patch uploaded by jaroth (license 50)
Tested by: jaroth

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

11 years agoMake sure to mask out non-audio first as well
Jason Parker [Tue, 19 Feb 2008 22:35:23 +0000 (22:35 +0000)]
Make sure to mask out non-audio first as well

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

11 years agoMaybe we should set the value before we test it? Fixes an issue people have been...
Jason Parker [Tue, 19 Feb 2008 22:23:04 +0000 (22:23 +0000)]
Maybe we should set the value before we test it?  Fixes an issue people have been seeing (unreported?) with file playback not working.

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

11 years agoAdd a log message that appears when you try to unload a module that isn't loaded.
Joshua Colp [Tue, 19 Feb 2008 21:54:09 +0000 (21:54 +0000)]
Add a log message that appears when you try to unload a module that isn't loaded.
(closes issue #12033)
Reported by: jamesgolovich
Patches:
      asterisk-loader.diff.txt uploaded by jamesgolovich (license 176)

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

11 years agoOnly output a log message saying the format does not exist if it actually does not...
Joshua Colp [Tue, 19 Feb 2008 21:38:39 +0000 (21:38 +0000)]
Only output a log message saying the format does not exist if it actually does not exist, not if the file itself could not be opened.
(closes issue #11828)
Reported by: IgorG
Patches:
      readfile.v1.diff uploaded by IgorG (license 20)

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

11 years agoMerged revisions 103823 via svnmerge from
Joshua Colp [Tue, 19 Feb 2008 20:31:15 +0000 (20:31 +0000)]
Merged revisions 103823 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103823 | file | 2008-02-19 16:28:08 -0400 (Tue, 19 Feb 2008) | 6 lines

Send CallerID Name in setup message.
(closes issue #11241)
Reported by: tusar
Patches:
      h323id_as_callerid_name.patch uploaded by tusar (license 344)

........

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

11 years agoMerged revisions 103821 via svnmerge from
Russell Bryant [Tue, 19 Feb 2008 20:06:23 +0000 (20:06 +0000)]
Merged revisions 103821 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103821 | russell | 2008-02-19 14:02:49 -0600 (Tue, 19 Feb 2008) | 8 lines

Account for the fact that the "other" channel can disappear while the local pvt
is not locked.

(fixes a problem introduced in rev 100581)
(closes issue #12012)
Reported by: stevedavies
Patch by me

........

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

11 years agolen already contains the position we want to examine, if we move one left again we...
Joshua Colp [Tue, 19 Feb 2008 19:27:50 +0000 (19:27 +0000)]
len already contains the position we want to examine, if we move one left again we'll actually probably be looking at a digit.
(issue #12030)
Reported by: alligosh

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

11 years agoAdd CHANNELREDIRECT_STATUS variable to ChannelRedirect() dialplan application. This...
Joshua Colp [Tue, 19 Feb 2008 18:40:22 +0000 (18:40 +0000)]
Add CHANNELREDIRECT_STATUS variable to ChannelRedirect() dialplan application. This will either be set to NOCHANNEL if the given channel was not found or SUCCESS if it worked.
(closes issue #11553)
Reported by: johan
Patches:
      UPGRADE.txt.channelredirect.patch uploaded by johan (license 334)
      CHANGES.channelredirect.patch uploaded by johan (license 334)
      app_channelredirect-20080219.patch uploaded by johan (license 334)

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

11 years ago(closes issue #11864)
Jeff Peeler [Tue, 19 Feb 2008 18:14:56 +0000 (18:14 +0000)]
(closes issue #11864)
Reported by: julianjm
Patches:
      chan_zap.c-1.4-devicestate-v1.diff uploaded by julianjm (license 99)
Patch fixes problem of device state incorrectly reporting idle before PBX answers incoming call on FXO channel. Device status is updated now during new channel creation.

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

11 years agoMerged revisions 103812 via svnmerge from
Joshua Colp [Tue, 19 Feb 2008 17:33:55 +0000 (17:33 +0000)]
Merged revisions 103812 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103812 | file | 2008-02-19 13:31:32 -0400 (Tue, 19 Feb 2008) | 4 lines

Don't look for launchd when cross compiling.
(closes issue #12029)
Reported by: ovi

........

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

11 years agoBlocked revisions 103807 via svnmerge
Joshua Colp [Tue, 19 Feb 2008 15:03:39 +0000 (15:03 +0000)]
Blocked revisions 103807 via svnmerge

........
r103807 | file | 2008-02-19 11:01:42 -0400 (Tue, 19 Feb 2008) | 2 lines

Fix building of chan_sip.

........

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

11 years agoChange verbosity into debug for Hebrew (and various whitespace fixes)
Tilghman Lesher [Tue, 19 Feb 2008 00:59:40 +0000 (00:59 +0000)]
Change verbosity into debug for Hebrew (and various whitespace fixes)
(Closes issue #12011)

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

11 years agoMerged revisions 103801 via svnmerge from
Joshua Colp [Mon, 18 Feb 2008 23:58:38 +0000 (23:58 +0000)]
Merged revisions 103801 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103801 | file | 2008-02-18 19:56:48 -0400 (Mon, 18 Feb 2008) | 10 lines

Ensure that emulated DTMFs do not get interrupted by another begin frame.
(closes issue #11740)
Reported by: gserra
Patches:
      v1-11740.patch uploaded by dimas (license 88)
(closes issue #11955)
Reported by: tsearle
(closes issue #10530)
Reported by: xmarksthespot

........

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

11 years agoAdd a non-invasive API for application level manipulation of T38 on a channel. This...
Joshua Colp [Mon, 18 Feb 2008 23:47:01 +0000 (23:47 +0000)]
Add a non-invasive API for application level manipulation of T38 on a channel. This uses control frames (so they can even pass across IAX2) to negotiate T38 and provided a way of getting the current status of T38 using queryoption. This should by no means cause any issues and if it does I will take responsibility for it.
(closes issue #11873)
Reported by: dimas
Patches:
      v4-t38-api.patch uploaded by dimas (license 88)

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

11 years agoAdd some missing control frames.
Joshua Colp [Mon, 18 Feb 2008 22:54:25 +0000 (22:54 +0000)]
Add some missing control frames.

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

11 years agoMerged revisions 103795 via svnmerge from
Jason Parker [Mon, 18 Feb 2008 22:33:27 +0000 (22:33 +0000)]
Merged revisions 103795 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103795 | qwell | 2008-02-18 16:28:56 -0600 (Mon, 18 Feb 2008) | 1 line

Fix previous commit so that we actually disable echocanbridged if echocancel is off.
........

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

11 years agoCommit chan_zap portion of #11964: add the ability to get ORIG_CALLED_NUM
Matthew Fredrickson [Mon, 18 Feb 2008 21:57:50 +0000 (21:57 +0000)]
Commit chan_zap portion of #11964: add the ability to get ORIG_CALLED_NUM

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

11 years agoMerged revisions 103790 via svnmerge from
Jason Parker [Mon, 18 Feb 2008 21:30:22 +0000 (21:30 +0000)]
Merged revisions 103790 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103790 | qwell | 2008-02-18 15:23:32 -0600 (Mon, 18 Feb 2008) | 4 lines

Correct a message when echocancelwhenbridged is on, but echocancel is not.

Closes issue #12019

........

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

11 years agoMake sure EC is enabled when SS7 call comes in. Also add support for multiple DPCs...
Matthew Fredrickson [Mon, 18 Feb 2008 20:58:23 +0000 (20:58 +0000)]
Make sure EC is enabled when SS7 call comes in.  Also add support for multiple DPCs per linkset. #11779

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

11 years agoMerged revisions 103786 via svnmerge from
Mark Michelson [Mon, 18 Feb 2008 20:53:25 +0000 (20:53 +0000)]
Merged revisions 103786 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103786 | mmichelson | 2008-02-18 14:52:09 -0600 (Mon, 18 Feb 2008) | 10 lines

There was an invalid assumption when calculating the duration of a file that the filestream in question
was created properly. Unfortunately this led to a segfault in the situation where an unknown format was
specified in voicemail.conf and a voicemail was recorded. Now, we first check to be sure that the stream
was written correctly or else assume a zero duration.

(closes issue #12021)
Reported by: jakep
Tested by: putnopvut

........

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

11 years agomake the output of 'core show settings' a bit nicer.
Michiel van Baak [Mon, 18 Feb 2008 19:47:40 +0000 (19:47 +0000)]
make the output of 'core show settings' a bit nicer.

(closes issue #12020)
Reported by: seanbright
Patches:
      asterisk.c.patch uploaded by seanbright (license 71)

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

11 years agoMerged revisions 103780 via svnmerge from
Tilghman Lesher [Mon, 18 Feb 2008 17:45:48 +0000 (17:45 +0000)]
Merged revisions 103780 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103780 | tilghman | 2008-02-18 11:31:52 -0600 (Mon, 18 Feb 2008) | 9 lines

When a SIP channel is being auto-destroyed, it's possible for it to still be
in bridge code.  When that happens, we crash.  Delay the RTP destruction until
the bridge is ended.
(closes issue #11960)
 Reported by: norman
 Patches:
       20080215__bug11960__2.diff.txt uploaded by Corydon76 (license 14)
 Tested by: norman

........

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

11 years agoMake sure we can set up calls without audio (text+video).
Olle Johansson [Mon, 18 Feb 2008 17:12:13 +0000 (17:12 +0000)]
Make sure we can set up calls without audio (text+video).
And ... it works!

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

11 years agoMerged revisions 103770 via svnmerge from
Mark Michelson [Mon, 18 Feb 2008 16:40:36 +0000 (16:40 +0000)]
Merged revisions 103770 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103770 | mmichelson | 2008-02-18 10:37:31 -0600 (Mon, 18 Feb 2008) | 10 lines

Fix a linked list corruption that under the right circumstances
could lead to a looped list, meaning it will traverse forever.

(closes issue #11818)
Reported by: michael-fig
Patches:
      11818.patch uploaded by putnopvut (license 60)
  Tested by: michael-fig

........

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

11 years agoBlocked revisions 103768 via svnmerge
Joshua Colp [Mon, 18 Feb 2008 16:13:36 +0000 (16:13 +0000)]
Blocked revisions 103768 via svnmerge

........
r103768 | file | 2008-02-18 12:11:51 -0400 (Mon, 18 Feb 2008) | 4 lines

Backport fix from issue #9325.
(closes issue #11980)
Reported by: rbrunka

........

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

11 years agoAdd an API call (ast_async_parseable_goto) which parses a goto string and does an...
Joshua Colp [Mon, 18 Feb 2008 15:47:00 +0000 (15:47 +0000)]
Add an API call (ast_async_parseable_goto) which parses a goto string and does an async goto instead of an explicit goto.
(closes issue #11753)
Reported by: johan

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

11 years agoMerged revisions 103763 via svnmerge from
Joshua Colp [Mon, 18 Feb 2008 15:35:04 +0000 (15:35 +0000)]
Merged revisions 103763 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103763 | file | 2008-02-18 11:33:14 -0400 (Mon, 18 Feb 2008) | 2 lines

Don't care if the extension given doesn't exist for subscription based MWI.

........

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

11 years ago- No space in manager event names, please
Olle Johansson [Mon, 18 Feb 2008 10:10:35 +0000 (10:10 +0000)]
- No space in manager event names, please
- Add new event to CHANGES

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

11 years agoContext tracing for channels
Tilghman Lesher [Mon, 18 Feb 2008 04:43:33 +0000 (04:43 +0000)]
Context tracing for channels
(closes issue #11268)
 Reported by: moy
 Patches:
       chantrace-datastored-encapsulated-rev94934.patch uploaded by moy (license 222)

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

11 years agomove two ast_log calls to ast_debug.
Michiel van Baak [Sat, 16 Feb 2008 21:22:00 +0000 (21:22 +0000)]
move two ast_log calls to ast_debug.
Now monitoring chan_skinny port with nagios or zabbix wont generate noise on the console.
@ok tilghman

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

11 years agoMerged revisions 103741 via svnmerge from
Russell Bryant [Fri, 15 Feb 2008 23:32:18 +0000 (23:32 +0000)]
Merged revisions 103741 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103741 | russell | 2008-02-15 17:31:39 -0600 (Fri, 15 Feb 2008) | 8 lines

Fix a crash in chan_iax2 due to a race condition

(closes issue #11780)
Reported by: guillecabeza
Patches:
      bug_iax2_jb_1.4.patch uploaded by guillecabeza (license 380)
      bug_iax2_jb_trunk.patch uploaded by guillecabeza (license 380)

........

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

11 years agoDocument GotoIfTime change from svn revision 103738
Mark Michelson [Fri, 15 Feb 2008 23:20:48 +0000 (23:20 +0000)]
Document GotoIfTime change from svn revision 103738

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

11 years agoFix a regression in Asterisk 1.6 related to the use of AES encryption.
Russell Bryant [Fri, 15 Feb 2008 23:14:32 +0000 (23:14 +0000)]
Fix a regression in Asterisk 1.6 related to the use of AES encryption.
1024 was used instead of 128 when using AES from OpenSSL.  Many thanks
to d1mas for figuring this one out!

(closes issue #11946)
Reported by: bbhoss
Patches:
      v1-11946.patch uploaded by dimas (license 88)

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

11 years agoAdd proper "false" case behavior to GotoIfTime
Mark Michelson [Fri, 15 Feb 2008 23:07:12 +0000 (23:07 +0000)]
Add proper "false" case behavior to GotoIfTime

(closes issue #11719)
Reported by: kshumard
Patches:
      gotoiftime.twobranches.patch uploaded by kshumard (license 92)
  Tested by: kshumard

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

11 years agoFix redeclaration of variables when using IMAP storage
Mark Michelson [Fri, 15 Feb 2008 22:56:14 +0000 (22:56 +0000)]
Fix redeclaration of variables when using IMAP storage

(closes issue #11988)
Reported by: jaroth
Patches:
      variable_cleanup.patch uploaded by jaroth (license 50)

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

11 years agoMerged revisions 103728 via svnmerge from
Russell Bryant [Fri, 15 Feb 2008 19:50:47 +0000 (19:50 +0000)]
Merged revisions 103728 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103728 | russell | 2008-02-15 13:50:11 -0600 (Fri, 15 Feb 2008) | 4 lines

In the case that you try to directly reload a module has returned
AST_MODULE_LOAD_DECLINE, log a message indicating that the module is not fully
initialized and must be initialized using "module load".

........

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

11 years agoMerged revisions 103726 via svnmerge from
Russell Bryant [Fri, 15 Feb 2008 18:34:42 +0000 (18:34 +0000)]
Merged revisions 103726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103726 | russell | 2008-02-15 12:33:29 -0600 (Fri, 15 Feb 2008) | 6 lines

Don't attempt to execute the reload callback for a module that returned
AST_MODULE_LOAD_DECLINE.  This fixes a crash that was reported against
chan_console in trunk.

(closes issue #11953, reported by junky, fixed by me)

........

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

11 years agoMerged revisions 103722 via svnmerge from
Mark Michelson [Fri, 15 Feb 2008 17:32:43 +0000 (17:32 +0000)]
Merged revisions 103722 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103722 | mmichelson | 2008-02-15 11:26:37 -0600 (Fri, 15 Feb 2008) | 8 lines

Final round of changes for configure script logic for IMAP

Now if a directory is specified, then we will search that directory for
a source installation of the IMAP toolkit. If none is found, then we will
use that directory as the basis for detecting a package installation of
the IMAP c-client. If that check fails, then configure will fail.

........

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

11 years agoFix up some doxygen issues.
Jason Parker [Fri, 15 Feb 2008 17:29:08 +0000 (17:29 +0000)]
Fix up some doxygen issues.

(closes issue #11996)
Patches:
      bug_11996_doxygen.diff uploaded by snuffy (license 35)

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

11 years agoRemove extraneous copy
Tilghman Lesher [Fri, 15 Feb 2008 15:45:33 +0000 (15:45 +0000)]
Remove extraneous copy
(closes issue #12002)
 Reported by: junky
 Patches:
       conf2ael.diff uploaded by junky (license 177)

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

11 years agoMerging of changes from 1.4 revision 103713.
Mark Michelson [Fri, 15 Feb 2008 15:11:23 +0000 (15:11 +0000)]
Merging of changes from 1.4 revision 103713.

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

11 years agoBlocked revisions 103713 via svnmerge
Mark Michelson [Fri, 15 Feb 2008 15:08:59 +0000 (15:08 +0000)]
Blocked revisions 103713 via svnmerge

........
r103713 | mmichelson | 2008-02-15 09:05:49 -0600 (Fri, 15 Feb 2008) | 8 lines

Fix a bit of wrong logic in the configure script that caused problems when trying to configure
without IMAP. Patch suggestion from phsultan, but I modified it slightly.

(closes issue #12003)
Reported by: pj
Tested by: putnopvut

........

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

11 years agoSame changes as made to 1.4 in revision 103710
Mark Michelson [Fri, 15 Feb 2008 00:59:21 +0000 (00:59 +0000)]
Same changes as made to 1.4 in revision 103710

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

11 years agoBlocked revisions 103709 via svnmerge
Mark Michelson [Fri, 15 Feb 2008 00:53:08 +0000 (00:53 +0000)]
Blocked revisions 103709 via svnmerge

........
r103709 | mmichelson | 2008-02-14 18:50:49 -0600 (Thu, 14 Feb 2008) | 6 lines

I apparently misunderstood one of the requirements of this configure change.
Now, if a source directory is specified with the --with-imap option, and a valid
source installation is not detected there, then configure will fail and will not
check for a package installation.

........

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

11 years agoTrunk version of 1.4's imap documentation updates
Mark Michelson [Thu, 14 Feb 2008 23:51:49 +0000 (23:51 +0000)]
Trunk version of 1.4's imap documentation updates

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

11 years agoBlocked revisions 103703 via svnmerge
Mark Michelson [Thu, 14 Feb 2008 23:49:54 +0000 (23:49 +0000)]
Blocked revisions 103703 via svnmerge

........
r103703 | mmichelson | 2008-02-14 17:49:24 -0600 (Thu, 14 Feb 2008) | 3 lines

Make a small clarification in the documentation

........

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

11 years agoBlocked revisions 103701 via svnmerge
Mark Michelson [Thu, 14 Feb 2008 23:48:12 +0000 (23:48 +0000)]
Blocked revisions 103701 via svnmerge

........
r103701 | mmichelson | 2008-02-14 17:44:17 -0600 (Thu, 14 Feb 2008) | 3 lines

Update documentation regarding configuration of IMAP

........

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

11 years agoSee commit message for svn revision 103698. This behavior is the same as what is...
Mark Michelson [Thu, 14 Feb 2008 23:39:47 +0000 (23:39 +0000)]
See commit message for svn revision 103698. This behavior is the same as what is described
there. The difference is that trunk already had the --with-imap=system option, but it only
checked the include path for headers in the imap directory and not also the c-client directory.

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

11 years agoBlocked revisions 103698 via svnmerge
Mark Michelson [Thu, 14 Feb 2008 23:35:21 +0000 (23:35 +0000)]
Blocked revisions 103698 via svnmerge

........
r103698 | mmichelson | 2008-02-14 17:30:17 -0600 (Thu, 14 Feb 2008) | 13 lines

Change to the configure logic regarding IMAP. Prior to this commit, if you wished to configure
Asterisk with IMAP support, you would use the --with-imap configure switch in one of the following
two ways:
--with-imap=/some/directory would look in the directory specified for a UW IMAP source installation
--with-imap would assume that you had imap-2004g installed in .. relative to the Asterisk source

With this set of changes the two above options still work the same, but there are two new behaviors, too.
--with-imap=system will assume that you have -libc-client.so where you store your shared objects and will
            attempt to find c-client headers in your include path either in the imap or c-client directory.
If either of the two original methods of specifying the imap option should fail, then the check for --with-imap
=system will be performed in addition. It is only after this "system" check that failure can happen.

........

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

11 years agoModify ldap autoconf function, so that an incorrect ldap library is not found on...
Jason Parker [Thu, 14 Feb 2008 21:21:53 +0000 (21:21 +0000)]
Modify ldap autoconf function, so that an incorrect ldap library is not found on Solaris (it is incompatible).
Also removes second check for awk, which causes Solaris to find an incompatible version of awk.

(closes issue #11829)
Reported by: snuffy
Patches:
      bug-11829.diff uploaded by snuffy (license 35)

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

11 years agoMerged revisions 103690 via svnmerge from
Mark Michelson [Thu, 14 Feb 2008 21:04:37 +0000 (21:04 +0000)]
Merged revisions 103690 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103690 | mmichelson | 2008-02-14 15:03:02 -0600 (Thu, 14 Feb 2008) | 3 lines

Fix build for non-IMAP builds

........

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

11 years agoMerged revisions 103688 via svnmerge from
Mark Michelson [Thu, 14 Feb 2008 20:58:30 +0000 (20:58 +0000)]
Merged revisions 103688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103688 | mmichelson | 2008-02-14 14:55:48 -0600 (Thu, 14 Feb 2008) | 9 lines

Fix the new message count if delete=yes when using IMAP storage.

(closes issue #11406)
Reported by: jaroth
Patches:
      deleteflag_v2.patch uploaded by jaroth (license 50)
  Tested by: jaroth

........

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

11 years agoChange the queue holdtime announcement to happen at any interval (not just greater...
Mark Michelson [Thu, 14 Feb 2008 20:46:00 +0000 (20:46 +0000)]
Change the queue holdtime announcement to happen at any interval (not just greater than two minutes). Remove
the saying of less-than for holdtime announcements since it can lead to awkward holdtime announcements. Using
'1' as a queue-round-seconds value is no longer valid.

(closes issue #9736)
Reported by: caio1982
Patches:
      queue_announce5.diff uploaded by caio1982 (license 22)
  Tested by: caio1982, putnopvut

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

11 years agoMerged revisions 103683 via svnmerge from
Jason Parker [Thu, 14 Feb 2008 19:52:21 +0000 (19:52 +0000)]
Merged revisions 103683 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r103683 | qwell | 2008-02-14 13:51:10 -0600 (Thu, 14 Feb 2008) | 5 lines

Document the 'l' option to the CDR() function.
(Thanks voipgate for pointing out the option, and Leif for providing text for it.)

Closes issue #11695.

........

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