asterisk/asterisk.git
13 years agoIssue 9990 - New API ast_mkdir, which creates parent directories as necessary (and...
Tilghman Lesher [Fri, 22 Jun 2007 04:35:12 +0000 (04:35 +0000)]
Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)

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

13 years agoNothing to see here.
Jason Parker [Fri, 22 Jun 2007 04:13:08 +0000 (04:13 +0000)]
Nothing to see here.

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

13 years agoMerged revisions 71003 via svnmerge from
Russell Bryant [Fri, 22 Jun 2007 03:15:34 +0000 (03:15 +0000)]
Merged revisions 71003 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71003 | russell | 2007-06-21 22:14:41 -0500 (Thu, 21 Jun 2007) | 3 lines

Fix a small typo which ... well ... completely broke chan_iax2.  oops!
(issue #9937, patch by me)

........

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

13 years agoAdd manager events for RTCP statistics.
Jason Parker [Thu, 21 Jun 2007 23:07:20 +0000 (23:07 +0000)]
Add manager events for RTCP statistics.

Also adds a new "reporting" permission for manager, since it can be incredibly spammy.
  This permission was discussed on the -dev mailing list some months back.

Issue 8613, patch by johann8384, with some minor changes by me.

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

13 years agoMerged revisions 70949 via svnmerge from
Steve Murphy [Thu, 21 Jun 2007 22:41:05 +0000 (22:41 +0000)]
Merged revisions 70949 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r70949 | murf | 2007-06-21 16:34:41 -0600 (Thu, 21 Jun 2007) | 9 lines

Merged revisions 70948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70948 | murf | 2007-06-21 16:29:50 -0600 (Thu, 21 Jun 2007) | 1 line

This little fix is in response to bug 10016, but may not cure it. The code is wrong, clearly. In a situation where you set the CDR's amaflags, and then ForkCDR, and then set the new CDR's amaflags to some other value, you will see that all CDRs have had their amaflags changed. This is not good. So I fixed it.
........

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

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

13 years agoMerged revisions 70899 via svnmerge from
Joshua Colp [Thu, 21 Jun 2007 21:41:45 +0000 (21:41 +0000)]
Merged revisions 70899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r70899 | file | 2007-06-21 17:40:19 -0400 (Thu, 21 Jun 2007) | 10 lines

Merged revisions 70898 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70898 | file | 2007-06-21 17:37:55 -0400 (Thu, 21 Jun 2007) | 2 lines

Don't explode if the gain option is specified without a value. (issue #9274 reported by mfarver)

........

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

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

13 years agoMerged revisions 70883 via svnmerge from
Russell Bryant [Thu, 21 Jun 2007 21:16:36 +0000 (21:16 +0000)]
Merged revisions 70883 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70883 | russell | 2007-06-21 16:14:53 -0500 (Thu, 21 Jun 2007) | 3 lines

Put the thread reading from the socket back in the idle list if it deferred the
processing of a full frame to another thread

........

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

13 years agoMerged revisions 70866 via svnmerge from
Russell Bryant [Thu, 21 Jun 2007 21:12:03 +0000 (21:12 +0000)]
Merged revisions 70866 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70866 | russell | 2007-06-21 16:07:04 -0500 (Thu, 21 Jun 2007) | 5 lines

If a full frame is received while one of the iax2 threads is in the middle
of handling a full frame for the same call, queue it up for processing by that
same thread later instead of dropping it.
(issue #9937, patch by me)

........

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

13 years agoMerged revisions 70841 via svnmerge from
Steve Murphy [Thu, 21 Jun 2007 20:28:04 +0000 (20:28 +0000)]
Merged revisions 70841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r70841 | murf | 2007-06-21 14:19:36 -0600 (Thu, 21 Jun 2007) | 9 lines

Merged revisions 70804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70804 | murf | 2007-06-21 13:13:17 -0600 (Thu, 21 Jun 2007) | 1 line

it was pointed out that the cdr_custom config load could get a lock, and under certain circumstances, would never release it. I also noted that the situation where more than one mapping spec was warned about, but did not ignore further mappings as it had promised. I think I have fixed both situations.
........

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

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

13 years agoMerged revisions 70808 via svnmerge from
Mark Michelson [Thu, 21 Jun 2007 19:54:40 +0000 (19:54 +0000)]
Merged revisions 70808 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70808 | mmichelson | 2007-06-21 14:49:44 -0500 (Thu, 21 Jun 2007) | 4 lines

When volgain is used don't leave a temporary file behind.
(Closes Issue 8514, Reported and patched by ulogic, code reviewed by Jason Parker)

........

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

13 years agowhen we are building modules that other modules depend on, create preprocessor define...
Kevin P. Fleming [Thu, 21 Jun 2007 19:08:09 +0000 (19:08 +0000)]
when we are building modules that other modules depend on, create preprocessor defines (in buildopts.h) marking that those modules were built

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

13 years agoMerge changes from team/russell/sla_reload
Russell Bryant [Thu, 21 Jun 2007 18:40:20 +0000 (18:40 +0000)]
Merge changes from team/russell/sla_reload
* Add support for the reload of sla.conf
(closes issue #9481, patch by me)

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

13 years agoRemove deprecated function call
Matthew Fredrickson [Thu, 21 Jun 2007 18:03:46 +0000 (18:03 +0000)]
Remove deprecated function call

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

13 years agoExpand AGISTATUS variable to include NOTFOUND which is set when the AGI file could...
Joshua Colp [Thu, 21 Jun 2007 15:58:05 +0000 (15:58 +0000)]
Expand AGISTATUS variable to include NOTFOUND which is set when the AGI file could not be found. (issue #9285 reported by srdjan)

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

13 years agoMerged revisions 70727 via svnmerge from
Joshua Colp [Thu, 21 Jun 2007 15:25:13 +0000 (15:25 +0000)]
Merged revisions 70727 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70727 | file | 2007-06-21 11:22:39 -0400 (Thu, 21 Jun 2007) | 2 lines

Do not Packet2Packet bridge if packetization settings do not allow it. (issue #9117 reported by phsultan)

........

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

13 years agoMerged revisions 70726 via svnmerge from
Russell Bryant [Thu, 21 Jun 2007 15:23:36 +0000 (15:23 +0000)]
Merged revisions 70726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70726 | russell | 2007-06-21 10:21:16 -0500 (Thu, 21 Jun 2007) | 2 lines

Remove a couple of duplicate unlocks

........

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

13 years agoMerged revisions 70677 via svnmerge from
Joshua Colp [Thu, 21 Jun 2007 14:00:47 +0000 (14:00 +0000)]
Merged revisions 70677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70677 | file | 2007-06-21 09:58:36 -0400 (Thu, 21 Jun 2007) | 2 lines

Fix building with ODBC storage enabled. (issue #10025 reported by denisgalvao)

........

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

13 years agoMerged revisions 70656 via svnmerge from
Steve Murphy [Thu, 21 Jun 2007 13:18:12 +0000 (13:18 +0000)]
Merged revisions 70656 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70656 | murf | 2007-06-21 07:00:39 -0600 (Thu, 21 Jun 2007) | 1 line

Via complaints aired in asterisk-users, I submit these changes, which allow cdr updates to see macro context/exten, whether hung up or not
........

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

13 years agoMerged revisions 70612 via svnmerge from
Jason Parker [Wed, 20 Jun 2007 23:33:49 +0000 (23:33 +0000)]
Merged revisions 70612 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70612 | qwell | 2007-06-20 18:32:39 -0500 (Wed, 20 Jun 2007) | 4 lines

Fix some potential memory leaks in cdr_pgsql.

Issue 10020, patch by me, with credit to prashant_jois for pointing out the problem.

........

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

13 years agoRemoved an extraneous debug message I'd left in my previous commit
Mark Michelson [Wed, 20 Jun 2007 23:31:42 +0000 (23:31 +0000)]
Removed an extraneous debug message I'd left in my previous commit

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

13 years agoFix trunk brokenness; also, optimize application registration
Tilghman Lesher [Wed, 20 Jun 2007 23:31:08 +0000 (23:31 +0000)]
Fix trunk brokenness; also, optimize application registration

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

13 years agoCleaning up a small disaster I created earlier
Steve Murphy [Wed, 20 Jun 2007 23:26:07 +0000 (23:26 +0000)]
Cleaning up a small disaster I created earlier

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

13 years agoMerged revisions 70560 via svnmerge from
Jason Parker [Wed, 20 Jun 2007 22:55:47 +0000 (22:55 +0000)]
Merged revisions 70560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70560 | qwell | 2007-06-20 17:55:21 -0500 (Wed, 20 Jun 2007) | 1 line

Fix a stupid mistake in my last cdr_pgsql race condition fix
........

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

13 years agoMerged revisions 70554 via svnmerge from
Jason Parker [Wed, 20 Jun 2007 22:32:57 +0000 (22:32 +0000)]
Merged revisions 70554 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70554 | qwell | 2007-06-20 17:31:35 -0500 (Wed, 20 Jun 2007) | 4 lines

Fix a race condition in cdr_pgsql that can occur when reloading the module.

Issue 10022, patch by me, with credit to prashant_jois for finding the bug.

........

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

13 years agoMerged revisions 70552 via svnmerge from
Joshua Colp [Wed, 20 Jun 2007 22:24:47 +0000 (22:24 +0000)]
Merged revisions 70552 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r70552 | file | 2007-06-20 18:22:20 -0400 (Wed, 20 Jun 2007) | 10 lines

Merged revisions 70551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70551 | file | 2007-06-20 18:20:16 -0400 (Wed, 20 Jun 2007) | 2 lines

Don't overwrite the configured username setting upon a REGISTER. (issue #8565 reported by jsmith)

........

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

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

13 years agoAs per 9228, now app_queue should have the proper machinery to do gosubs.
Steve Murphy [Wed, 20 Jun 2007 21:38:49 +0000 (21:38 +0000)]
As per 9228, now app_queue should have the proper machinery to do gosubs.

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

13 years agoMain fix: Fixing a bug which caused VoiceMailMain to always report that
Mark Michelson [Wed, 20 Jun 2007 21:31:26 +0000 (21:31 +0000)]
Main fix: Fixing a bug which caused VoiceMailMain to always report that
you had 0 messages when using IMAP storage.

Secondary fixes: adding locks to list access in several places

Big thanks to Russell Bryant for helping out with this.

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

13 years agoMerged revisions 70494 via svnmerge from
Jason Parker [Wed, 20 Jun 2007 20:54:08 +0000 (20:54 +0000)]
Merged revisions 70494 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70494 | qwell | 2007-06-20 15:53:16 -0500 (Wed, 20 Jun 2007) | 4 lines

Make sure we clear the previously dialed number if it did not exist.

Issue 9958.

........

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

13 years agoRevert the change made in revision 45474, since this causes other issues.
Jason Parker [Wed, 20 Jun 2007 20:41:06 +0000 (20:41 +0000)]
Revert the change made in revision 45474, since this causes other issues.

Issue 10021.

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

13 years agoThis finishes the changes for making Macro args LOCAL to the call, and allowing users...
Steve Murphy [Wed, 20 Jun 2007 20:10:19 +0000 (20:10 +0000)]
This finishes the changes for making Macro args LOCAL to the call, and allowing users to declare local variables.

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

13 years agoMerged revisions 70445 via svnmerge from
Tilghman Lesher [Wed, 20 Jun 2007 19:30:31 +0000 (19:30 +0000)]
Merged revisions 70445 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r70445 | tilghman | 2007-06-20 14:29:23 -0500 (Wed, 20 Jun 2007) | 10 lines

Merged revisions 70444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70444 | tilghman | 2007-06-20 14:25:54 -0500 (Wed, 20 Jun 2007) | 2 lines

Issue 9997 - Timelimit times out the wrong channel

........

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

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

13 years agoMerged revisions 70397 via svnmerge from
Russell Bryant [Wed, 20 Jun 2007 18:48:34 +0000 (18:48 +0000)]
Merged revisions 70397 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r70397 | russell | 2007-06-20 13:46:49 -0500 (Wed, 20 Jun 2007) | 13 lines

Merged revisions 70396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70396 | russell | 2007-06-20 13:45:38 -0500 (Wed, 20 Jun 2007) | 5 lines

Fix a problem where an established call would not be properly disconnected
when a PRI disconnect is received depending on which cause code was received.
(issue #9588, original patch by softins, updated patch from jtexter3, and some
 additional feedback from mhardeman)

........

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

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

13 years agoMerged revisions 70360 via svnmerge from
Joshua Colp [Wed, 20 Jun 2007 17:55:09 +0000 (17:55 +0000)]
Merged revisions 70360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70360 | file | 2007-06-20 13:52:57 -0400 (Wed, 20 Jun 2007) | 2 lines

Put the speex packetization values back in but disable it when setting up the smoother.

........

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

13 years agoMerge work to make U(...) option work for Dial
Tilghman Lesher [Wed, 20 Jun 2007 17:35:08 +0000 (17:35 +0000)]
Merge work to make U(...) option work for Dial

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

13 years agoShow TDD status in "zap show channels"
Olle Johansson [Wed, 20 Jun 2007 14:33:34 +0000 (14:33 +0000)]
Show TDD status in "zap show channels"

Inspired by work at Omnitor in Sweden

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

13 years agoOops, shouldn't have taken that last shortcut (also add some checks)
Tilghman Lesher [Wed, 20 Jun 2007 13:00:45 +0000 (13:00 +0000)]
Oops, shouldn't have taken that last shortcut (also add some checks)

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

13 years agoAnother method of doing local variables, hopefully a little closer to what codefreeze...
Tilghman Lesher [Wed, 20 Jun 2007 05:47:05 +0000 (05:47 +0000)]
Another method of doing local variables, hopefully a little closer to what codefreeze had in mind

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

13 years agoLocal variables for codefreeze
Tilghman Lesher [Wed, 20 Jun 2007 04:36:23 +0000 (04:36 +0000)]
Local variables for codefreeze

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

13 years agoMerged revisions 70164 via svnmerge from
Russell Bryant [Wed, 20 Jun 2007 02:13:53 +0000 (02:13 +0000)]
Merged revisions 70164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70164 | russell | 2007-06-19 19:03:22 -0500 (Tue, 19 Jun 2007) | 2 lines

don't delete the backtrace in ast_grab_core

........

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

13 years agoMerged revisions 70198 via svnmerge from
Joshua Colp [Wed, 20 Jun 2007 00:26:18 +0000 (00:26 +0000)]
Merged revisions 70198 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70198 | file | 2007-06-19 20:24:36 -0400 (Tue, 19 Jun 2007) | 2 lines

Don't do packetization/smoother stuff with speex, it doesn't work.

........

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

13 years agoAdded a little verbage to CHANGES
Steve Murphy [Tue, 19 Jun 2007 23:38:54 +0000 (23:38 +0000)]
Added a little verbage to CHANGES

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

13 years agoVia bug9228, no way to create macros via AEL, and some of the apps allow you to call...
Steve Murphy [Tue, 19 Jun 2007 23:36:34 +0000 (23:36 +0000)]
Via bug9228, no way to create macros via AEL, and some of the apps allow you to call macros..., I modded the apps that allow macro calls to allow gosubs calls also, to make them AEL compliant.

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

13 years agoMoved those comments from UPGRADE.txt to CHANGES. Ooops.
Steve Murphy [Tue, 19 Jun 2007 21:58:51 +0000 (21:58 +0000)]
Moved those comments from UPGRADE.txt to CHANGES. Ooops.

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

13 years agoSome UPGRADE.txt comments to cover some enhancements added today.
Steve Murphy [Tue, 19 Jun 2007 21:16:21 +0000 (21:16 +0000)]
Some UPGRADE.txt comments to cover some enhancements added today.

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

13 years agoThis enhancement provided via bug 9993, a patch to upgrade cdr_manager to have cdr_cu...
Steve Murphy [Tue, 19 Jun 2007 20:38:21 +0000 (20:38 +0000)]
This enhancement provided via bug 9993, a patch to upgrade cdr_manager to have cdr_custom capabilities. Many thanks to eserra for this contribution

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

13 years agoMerged revisions 70084 via svnmerge from
Russell Bryant [Tue, 19 Jun 2007 19:15:03 +0000 (19:15 +0000)]
Merged revisions 70084 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r70084 | russell | 2007-06-19 14:13:45 -0500 (Tue, 19 Jun 2007) | 3 lines

Only attempt to queue a hangup on the owner channel if it actually exists.
(issue #9795, patch from zandbelt)

........

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

13 years agoMerged revisions 70062 via svnmerge from
Steve Murphy [Tue, 19 Jun 2007 18:31:29 +0000 (18:31 +0000)]
Merged revisions 70062 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r70062 | murf | 2007-06-19 12:23:23 -0600 (Tue, 19 Jun 2007) | 9 lines

Merged revisions 70053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r70053 | murf | 2007-06-19 12:07:59 -0600 (Tue, 19 Jun 2007) | 1 line

This fixes 9246, where channel variables are not available in the 'h' exten, on a 'ZOMBIE' channel. The fix is to consolidate the channel variables during a masquerade, and then copy the merged variables back onto the clone, so the zombie has the same vars that the 'original' has.
........

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

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

13 years agoMerged revisions 70003 via svnmerge from
Joshua Colp [Tue, 19 Jun 2007 17:09:20 +0000 (17:09 +0000)]
Merged revisions 70003 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r70003 | file | 2007-06-19 13:07:40 -0400 (Tue, 19 Jun 2007) | 10 lines

Merged revisions 69992 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69992 | file | 2007-06-19 13:00:58 -0400 (Tue, 19 Jun 2007) | 2 lines

Handle the CC field in the RTP header. (issue #9384 reported by DoodleHu)

........

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

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

13 years agoThese changes were submitted via bug 6683, to allow CID detection in India, with...
Steve Murphy [Tue, 19 Jun 2007 17:07:28 +0000 (17:07 +0000)]
These changes were submitted via bug 6683, to allow CID detection in India, with carriers that do Polarity/DTMF CID signalling.

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

13 years agoMerged revisions 69987 via svnmerge from
Joshua Colp [Tue, 19 Jun 2007 16:25:57 +0000 (16:25 +0000)]
Merged revisions 69987 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r69987 | file | 2007-06-19 12:24:31 -0400 (Tue, 19 Jun 2007) | 10 lines

Merged revisions 69986 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69986 | file | 2007-06-19 12:21:29 -0400 (Tue, 19 Jun 2007) | 2 lines

Update BRIDGEPEER variable if set to the new channel name when a masquerade happens. (issue #9699 reported by dimas)

........

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

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

13 years agoMerged revisions 69944 via svnmerge from
Russell Bryant [Tue, 19 Jun 2007 15:27:16 +0000 (15:27 +0000)]
Merged revisions 69944 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69944 | russell | 2007-06-19 10:22:36 -0500 (Tue, 19 Jun 2007) | 10 lines

Fix a crash that could occur when handing device state changes.
When the state of a device changes, the device state thread tells the extension
state handling code that it changed.  Then, the extension state code calls the
callback in chan_sip so that it can update subscriptions to that extension.
A pointer to a sip_pvt structure is passed to this function as the call which
needs a NOTIFY sent.  However, there was no locking done to ensure that the pvt
struct didn't disappear during this process.
(issue #9946, reported by tdonahue, patch by me, patch updated to trunk to use
 the sip_pvt lock wrappers by eliel)

........

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

13 years agoAdd support for setting nature of address, presentation, and other related SS7 number...
Matthew Fredrickson [Tue, 19 Jun 2007 15:14:23 +0000 (15:14 +0000)]
Add support for setting nature of address, presentation, and other related SS7 number options (#10000)

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

13 years agoMerged revisions 69895 via svnmerge from
Joshua Colp [Tue, 19 Jun 2007 13:56:37 +0000 (13:56 +0000)]
Merged revisions 69895 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r69895 | file | 2007-06-19 09:55:25 -0400 (Tue, 19 Jun 2007) | 10 lines

Merged revisions 69894 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69894 | file | 2007-06-19 09:54:03 -0400 (Tue, 19 Jun 2007) | 2 lines

Perform an extra hangup check just in case. (issue #9589 reported by bcnit)

........

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

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

13 years agoMerged revisions 69847 via svnmerge from
Joshua Colp [Tue, 19 Jun 2007 13:04:24 +0000 (13:04 +0000)]
Merged revisions 69847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r69847 | file | 2007-06-19 09:00:57 -0400 (Tue, 19 Jun 2007) | 10 lines

Merged revisions 69846 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69846 | file | 2007-06-19 08:57:55 -0400 (Tue, 19 Jun 2007) | 2 lines

Add parked call extension AFTER the parking slot has been announced, otherwise two threads will try to handle the same channel and it will go kaboom. (issue #9191 reported by japple)

........

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

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

13 years agoUndoing my last commit. I misread the code before.
Mark Michelson [Mon, 18 Jun 2007 23:28:10 +0000 (23:28 +0000)]
Undoing my last commit. I misread the code before.

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

13 years agoCleaned up a section where there were two consecutive identical if statements.
Mark Michelson [Mon, 18 Jun 2007 23:26:08 +0000 (23:26 +0000)]
Cleaned up a section where there were two consecutive identical if statements.
Combined the bodies of the two into one if. I blame svn merging for this.

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

13 years agoFixed issue where 'stop gracfeully' was hanging ...
Brett Bryant [Mon, 18 Jun 2007 22:23:51 +0000 (22:23 +0000)]
Fixed issue where 'stop gracfeully' was hanging ...

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

13 years agoMerged revisions 69805 via svnmerge from
Joshua Colp [Mon, 18 Jun 2007 21:58:37 +0000 (21:58 +0000)]
Merged revisions 69805 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69805 | file | 2007-06-18 17:57:10 -0400 (Mon, 18 Jun 2007) | 2 lines

Fix for building on PowerPC under Linux.

........

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

13 years agoMerged revisions 69796 via svnmerge from
Tilghman Lesher [Mon, 18 Jun 2007 19:52:56 +0000 (19:52 +0000)]
Merged revisions 69796 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69796 | tilghman | 2007-06-18 14:48:17 -0500 (Mon, 18 Jun 2007) | 2 lines

Issue 10005 - Segfault with missing arguments, plus fix a missing define for SIP INFO channels

........

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

13 years agoMerged revisions 69794 via svnmerge from
Joshua Colp [Mon, 18 Jun 2007 19:02:45 +0000 (19:02 +0000)]
Merged revisions 69794 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69794 | file | 2007-06-18 15:00:50 -0400 (Mon, 18 Jun 2007) | 2 lines

Don't count RTP timeout when involved in a T38 fax session. (issue #9222 reported by ivoc)

........

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

13 years agoMerged revisions 69775 via svnmerge from
Joshua Colp [Mon, 18 Jun 2007 18:19:54 +0000 (18:19 +0000)]
Merged revisions 69775 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r69775 | file | 2007-06-18 14:18:12 -0400 (Mon, 18 Jun 2007) | 10 lines

Merged revisions 69765 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69765 | file | 2007-06-18 14:13:03 -0400 (Mon, 18 Jun 2007) | 2 lines

Set the peer name on the dialog to the one configured in sip.conf and NOT the username to be used for authentication attempts. (issue #9967 reported by achauvin)

........

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

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

13 years agoMerged revisions 69744 via svnmerge from
Tilghman Lesher [Mon, 18 Jun 2007 17:50:01 +0000 (17:50 +0000)]
Merged revisions 69744 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r69744 | tilghman | 2007-06-18 12:46:40 -0500 (Mon, 18 Jun 2007) | 10 lines

Merged revisions 69743 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69743 | tilghman | 2007-06-18 12:45:15 -0500 (Mon, 18 Jun 2007) | 2 lines

Issue 9998 - Remove SIG prefix, since it's not supported by ksh

........

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

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

13 years agoJanitor for ast_localtime
Tilghman Lesher [Mon, 18 Jun 2007 17:48:56 +0000 (17:48 +0000)]
Janitor for ast_localtime

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

13 years agoMerged revisions 69708 via svnmerge from
Joshua Colp [Mon, 18 Jun 2007 16:56:06 +0000 (16:56 +0000)]
Merged revisions 69708 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69708 | file | 2007-06-18 12:51:36 -0400 (Mon, 18 Jun 2007) | 2 lines

Remember the DNS lookup done when dnsmgr is called for the first time so that it does not needlessly spit out changed messages when the host really didn't change.

........

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

13 years agoFew more rwlist conversions... why not.
Joshua Colp [Mon, 18 Jun 2007 16:37:14 +0000 (16:37 +0000)]
Few more rwlist conversions... why not.

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

13 years agoMerged revisions 69702 via svnmerge from
Russell Bryant [Mon, 18 Jun 2007 16:35:51 +0000 (16:35 +0000)]
Merged revisions 69702 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69702 | russell | 2007-06-18 11:35:02 -0500 (Mon, 18 Jun 2007) | 6 lines

To prevent 92138749238754 more reports of "I have unixodbc installed, but
still can't build *_odbc.so!", check for ltdl directly, instead of just listing
it as another library to include in the unixodbc check in the configure script.
This also makes ltdl show up as a dependency in menuselect so people know what
to go install.  (related to issue #9989, patch by me)

........

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

13 years agoMerged revisions 69689 via svnmerge from
Russell Bryant [Mon, 18 Jun 2007 16:15:44 +0000 (16:15 +0000)]
Merged revisions 69689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69689 | russell | 2007-06-18 11:15:12 -0500 (Mon, 18 Jun 2007) | 5 lines

Change the use of "echo -e" to "printf".  On systems where /bin/sh is not bash,
most of the lines in menuselect-tree were getting a "-e" at the beginning of
every line.  I'm surprised nobody noticed this, but I think the XML parser was
being very nice and ignoring them.

........

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

13 years agoMerged revisions 69668 via svnmerge from
Joshua Colp [Mon, 18 Jun 2007 16:06:17 +0000 (16:06 +0000)]
Merged revisions 69668 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69668 | file | 2007-06-18 12:04:55 -0400 (Mon, 18 Jun 2007) | 2 lines

Don't defer the BYE till later on a transfer when the transfer itself goes kaboom and has no hope of working.

........

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

13 years agoMerged revisions 69661 via svnmerge from
Joshua Colp [Mon, 18 Jun 2007 15:48:05 +0000 (15:48 +0000)]
Merged revisions 69661 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69661 | file | 2007-06-18 11:46:32 -0400 (Mon, 18 Jun 2007) | 2 lines

Few minor transfer tweaks. We can't unlock something we never locked, and better handle a specific scenario with doing an attended transfer between two non-bridged calls.

........

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

13 years agoMerged revisions 69660 via svnmerge from
Russell Bryant [Mon, 18 Jun 2007 15:46:49 +0000 (15:46 +0000)]
Merged revisions 69660 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69660 | russell | 2007-06-18 10:46:14 -0500 (Mon, 18 Jun 2007) | 2 lines

Tweak paths for BSD systems (issue #10001, stuarth)

........

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

13 years agoMerged revisions 69625 via svnmerge from
Joshua Colp [Mon, 18 Jun 2007 13:57:33 +0000 (13:57 +0000)]
Merged revisions 69625 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69625 | file | 2007-06-18 09:55:00 -0400 (Mon, 18 Jun 2007) | 2 lines

Fix issue where it would be possible for the negotiated codecs to get set back to nothing. (issue #9992 reported by yehavi)

........

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

13 years agoThis was only an issue in 1.4. This issue was fixed in trunk as a part of
Russell Bryant [Fri, 15 Jun 2007 20:21:41 +0000 (20:21 +0000)]
This was only an issue in 1.4.  This issue was fixed in trunk as a part of
bbryant's patch to support named dynamic feature groups.

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

........
r69579 | russell | 2007-06-15 15:18:58 -0500 (Fri, 15 Jun 2007) | 5 lines

Fix a silly deadlock in res_features that I found while debugging on one of
blitzrage's test machines.  It was one of the situations where he was seeing
hung channels, and may be the cause of some of the reports from other people.
(related to issue #9235)

........

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

13 years agoMerged revisions 69558 via svnmerge from
Joshua Colp [Fri, 15 Jun 2007 19:25:11 +0000 (19:25 +0000)]
Merged revisions 69558 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r69558 | file | 2007-06-15 15:23:45 -0400 (Fri, 15 Jun 2007) | 2 lines

Add support for setting the maximum length of acceptable DTMF in SpeechBackground.

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

13 years agoMerged revisions 69518 via svnmerge from
Russell Bryant [Fri, 15 Jun 2007 15:36:45 +0000 (15:36 +0000)]
Merged revisions 69518 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69518 | russell | 2007-06-15 10:27:34 -0500 (Fri, 15 Jun 2007) | 5 lines

The SLATRUNK_STATUS variable indicated "SUCCESS" for both an answer of the
incoming call on the trunk, or if the trunk reached its ring timeout.
This patch changes the variable to say "RINGTIMEOUT" in that case.
(issue #9973, reported by n00dle, patch by me)

........

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

13 years agoMerged revisions 69470 via svnmerge from
Jason Parker [Thu, 14 Jun 2007 23:23:35 +0000 (23:23 +0000)]
Merged revisions 69470 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r69470 | qwell | 2007-06-14 18:22:51 -0500 (Thu, 14 Jun 2007) | 12 lines

Merged revisions 69469 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69469 | qwell | 2007-06-14 18:21:45 -0500 (Thu, 14 Jun 2007) | 4 lines

Fix an issue where the line number in an unterminated comment block error message would show the wrong line number.

"Reported" to me on #asterisk (somebody posted an error message, and I happened to catch it)

........

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

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

13 years agoConvert uses of strdup() to ast_strdup()
Russell Bryant [Thu, 14 Jun 2007 23:01:01 +0000 (23:01 +0000)]
Convert uses of strdup() to ast_strdup()
(issue #9983, eliel)

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

13 years agoMerged revisions 69434 via svnmerge from
Jason Parker [Thu, 14 Jun 2007 22:56:40 +0000 (22:56 +0000)]
Merged revisions 69434 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69434 | qwell | 2007-06-14 17:56:09 -0500 (Thu, 14 Jun 2007) | 1 line

Update to latest versions of sound files.
........

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

13 years agoMerged revisions 69392 via svnmerge from
Kevin P. Fleming [Thu, 14 Jun 2007 22:09:20 +0000 (22:09 +0000)]
Merged revisions 69392 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69392 | kpfleming | 2007-06-14 16:50:40 -0500 (Thu, 14 Jun 2007) | 2 lines

use ast_localtime() in every place localtime_r() was being used

........

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

13 years agooops... somebody patched this module without compile-testing it... bad :-)
Kevin P. Fleming [Thu, 14 Jun 2007 21:58:12 +0000 (21:58 +0000)]
oops... somebody patched this module without compile-testing it... bad :-)

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

13 years agoMerged revisions 69358 via svnmerge from
Russell Bryant [Thu, 14 Jun 2007 21:09:22 +0000 (21:09 +0000)]
Merged revisions 69358 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69358 | russell | 2007-06-14 16:08:23 -0500 (Thu, 14 Jun 2007) | 3 lines

Fix some problems with saying dates and times for the "tw" langauge
(issue #9964, ljmid)

........

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

13 years agoupdate CHANGES for tw support in voicemail
Russell Bryant [Thu, 14 Jun 2007 21:03:01 +0000 (21:03 +0000)]
update CHANGES for tw support in voicemail

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

13 years agoAdd support for the tw language in voicemail
Russell Bryant [Thu, 14 Jun 2007 21:02:19 +0000 (21:02 +0000)]
Add support for the tw language in voicemail
(issue #9964, ljmid)

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

13 years agoAdd a massive set of changes for converting to use the ast_debug() macro.
Russell Bryant [Thu, 14 Jun 2007 19:39:12 +0000 (19:39 +0000)]
Add a massive set of changes for converting to use the ast_debug() macro.
(issue #9957, patches from mvanbaak, caio1982, critch, and dimas)

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

13 years agoClean up debug messages a little bit for ss7 linkset debugging
Matthew Fredrickson [Thu, 14 Jun 2007 16:41:57 +0000 (16:41 +0000)]
Clean up debug messages a little bit for ss7 linkset debugging

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

13 years agoCouple of manager ssl options weren't loading because of a typo.
Brett Bryant [Thu, 14 Jun 2007 15:43:50 +0000 (15:43 +0000)]
Couple of manager ssl options weren't loading because of a typo.

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

13 years agoMerged revisions 69259 via svnmerge from
Jason Parker [Thu, 14 Jun 2007 15:25:32 +0000 (15:25 +0000)]
Merged revisions 69259 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r69259 | qwell | 2007-06-14 10:21:29 -0500 (Thu, 14 Jun 2007) | 12 lines

Merged revisions 69258 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69258 | qwell | 2007-06-14 10:15:53 -0500 (Thu, 14 Jun 2007) | 4 lines

Change a quite broken while loop to a for loop, so "continue;" works as expected instead of eating 99% CPU...

Issue 9966, patch by me.

........

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

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

13 years agoMerged revisions 69221 via svnmerge from
Joshua Colp [Wed, 13 Jun 2007 21:20:32 +0000 (21:20 +0000)]
Merged revisions 69221 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69221 | file | 2007-06-13 17:17:28 -0400 (Wed, 13 Jun 2007) | 2 lines

Let's make chan_iax2 media only native transfers actually work. (issue #9376 reported by simone cittadini)

........

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

13 years agoMerged revisions 69183 via svnmerge from
Russell Bryant [Wed, 13 Jun 2007 20:03:03 +0000 (20:03 +0000)]
Merged revisions 69183 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69183 | russell | 2007-06-13 14:57:38 -0500 (Wed, 13 Jun 2007) | 9 lines

Move the logic for destroying a call when no response is received to a BYE
outside of the block that checks for FLAG_FATAL to be set.  This flag is only
set when the packet is transmitted with the reliability set to XMIT_CRITICAL
when the original packet is transmitted.  A BYE is always sent with it set
to XMIT_RELIABLE, meaning this code could never be encountered.  This resulted
in seeing some SIP channels that would never go away with the last packet
sent being a BYE.
(part of issue #9235, patch from jcmoore)

........

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

13 years agoMerged revisions 69184 via svnmerge from
Joshua Colp [Wed, 13 Jun 2007 20:00:56 +0000 (20:00 +0000)]
Merged revisions 69184 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69184 | file | 2007-06-13 15:58:59 -0400 (Wed, 13 Jun 2007) | 2 lines

Add TXMEDIA to list so that it is properly displayed during iax2 packet output.

........

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

13 years agoMerged revisions 69181 via svnmerge from
Mark Michelson [Wed, 13 Jun 2007 19:47:29 +0000 (19:47 +0000)]
Merged revisions 69181 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69181 | mmichelson | 2007-06-13 14:41:13 -0500 (Wed, 13 Jun 2007) | 5 lines

Contains a patch for fixing an encoding problem when using Outlook to view voicemail emails and attachments.
This fix has also been tested on Thunderbird, Evolution, Pine, and Mutt.
(Issue 9336, reported by marwick, patched by mutterc)

........

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

13 years agoMerged revisions 69144 via svnmerge from
Joshua Colp [Wed, 13 Jun 2007 19:10:16 +0000 (19:10 +0000)]
Merged revisions 69144 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69144 | file | 2007-06-13 15:08:24 -0400 (Wed, 13 Jun 2007) | 2 lines

Really ignore NULL frames and check whether the channel hungup or not. (issue #9912 reported by junky)

........

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

13 years agoCompletely remove callback mode and all references to it from chan_agent.
Jason Parker [Wed, 13 Jun 2007 19:05:25 +0000 (19:05 +0000)]
Completely remove callback mode and all references to it from chan_agent.

Issue 9969, patch by eliel.

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

13 years agoUse read/write lock based lists for group counting.
Joshua Colp [Wed, 13 Jun 2007 18:23:12 +0000 (18:23 +0000)]
Use read/write lock based lists for group counting.

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

13 years agoMerged revisions 69128 via svnmerge from
Joshua Colp [Wed, 13 Jun 2007 18:18:51 +0000 (18:18 +0000)]
Merged revisions 69128 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r69128 | file | 2007-06-13 14:16:00 -0400 (Wed, 13 Jun 2007) | 10 lines

Merged revisions 69127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r69127 | file | 2007-06-13 14:12:48 -0400 (Wed, 13 Jun 2007) | 2 lines

Return group counting to previous behavior where you could only have one group per category. (issue #9711 reported by irroot)

........

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

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

13 years agoContinuation of issue 9968 (revision 69081). This should be the last one.
Jason Parker [Wed, 13 Jun 2007 17:37:06 +0000 (17:37 +0000)]
Continuation of issue 9968 (revision 69081).  This should be the last one.

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

13 years agoFixes for ast_strlen_zero() janitor project.
Jason Parker [Wed, 13 Jun 2007 17:06:53 +0000 (17:06 +0000)]
Fixes for ast_strlen_zero() janitor project.

Issue 9968, patch by eliel.

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

13 years agoMerged revisions 69071 via svnmerge from
Russell Bryant [Wed, 13 Jun 2007 16:59:42 +0000 (16:59 +0000)]
Merged revisions 69071 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69071 | russell | 2007-06-13 11:56:16 -0500 (Wed, 13 Jun 2007) | 3 lines

Clarify a bit of logic.  This doesn't change behavior in any way, but it is
helpful when following the logic to debug problems like 9235.

........

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

13 years agoMerged revisions 69069 via svnmerge from
Russell Bryant [Wed, 13 Jun 2007 16:29:45 +0000 (16:29 +0000)]
Merged revisions 69069 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69069 | russell | 2007-06-13 11:29:12 -0500 (Wed, 13 Jun 2007) | 3 lines

Fix a place where a chan_iax2 pvt struct was accessed without the lock held.
This issue was reported to me via email by Dmitry Mishchenko.  Thanks!

........

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

13 years agoSimplify some logic and convert spaces to tabs
Russell Bryant [Wed, 13 Jun 2007 16:19:37 +0000 (16:19 +0000)]
Simplify some logic and convert spaces to tabs

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

13 years agoThe variable used for the return value must be declared as static. I broke
Russell Bryant [Wed, 13 Jun 2007 16:05:22 +0000 (16:05 +0000)]
The variable used for the return value must be declared as static.  I broke
this when applying the patch, sorry!
(issue #9637, jeffg)

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