Commit Graph

12457 Commits

Author SHA1 Message Date
Russell Bryant 2b3968410f 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
2007-06-18 15:46:49 +00:00
Joshua Colp 981a94f023 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
2007-06-18 13:57:33 +00:00
Russell Bryant 883b380744 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
2007-06-15 20:21:41 +00:00
Joshua Colp 84e624ff23 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
2007-06-15 19:25:11 +00:00
Russell Bryant 4b5a71e9d0 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
2007-06-15 15:36:45 +00:00
Jason Parker a5bdba6074 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
2007-06-14 23:23:35 +00:00
Russell Bryant b179e2155f 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
2007-06-14 23:01:01 +00:00
Jason Parker 5dd9887ac7 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
2007-06-14 22:56:40 +00:00
Kevin P. Fleming 5fdba27ea2 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
2007-06-14 22:09:20 +00:00
Kevin P. Fleming 66ec973c5c 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
2007-06-14 21:58:12 +00:00
Russell Bryant b266ca3aed 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
2007-06-14 21:09:22 +00:00
Russell Bryant 50063108cf update CHANGES for tw support in voicemail
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-14 21:03:01 +00:00
Russell Bryant ab6fa304a4 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
2007-06-14 21:02:19 +00:00
Russell Bryant 055d82cbce 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
2007-06-14 19:39:12 +00:00
Matthew Fredrickson 60b029aa82 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
2007-06-14 16:41:57 +00:00
Brett Bryant bbefe59e9d 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
2007-06-14 15:43:50 +00:00
Jason Parker f593698f79 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
2007-06-14 15:25:32 +00:00
Joshua Colp 6a35e6cfb6 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
2007-06-13 21:20:32 +00:00
Russell Bryant 8e11d6c147 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
2007-06-13 20:03:03 +00:00
Joshua Colp d127d4b7e3 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
2007-06-13 20:00:56 +00:00
Mark Michelson d3bc0a518a 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
2007-06-13 19:47:29 +00:00
Joshua Colp 919af45881 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
2007-06-13 19:10:16 +00:00
Jason Parker 0c4a3e24b6 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
2007-06-13 19:05:25 +00:00
Joshua Colp 679733c52a 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
2007-06-13 18:23:12 +00:00
Joshua Colp c4c732578f 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
2007-06-13 18:18:51 +00:00
Jason Parker f25db8cc78 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
2007-06-13 17:37:06 +00:00
Jason Parker 63535ada60 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
2007-06-13 17:06:53 +00:00
Russell Bryant 156d6338b2 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
2007-06-13 16:59:42 +00:00
Russell Bryant 65880d7680 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
2007-06-13 16:29:45 +00:00
Russell Bryant f379df9773 Simplify some logic and convert spaces to tabs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69068 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-13 16:19:37 +00:00
Russell Bryant 5d350e0f81 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
2007-06-13 16:05:22 +00:00
Russell Bryant 33c66c4e77 Put parenthesis around the level argument to ast_debug()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 20:00:39 +00:00
Russell Bryant febc05b1f7 Merged revisions 69016 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69016 | russell | 2007-06-12 14:40:17 -0500 (Tue, 12 Jun 2007) | 4 lines

Fix a memory leak pointed out by prashant_jois in #asterisk-bugs.  PQclear() was
not called on the result structure after doing a PQexec().  Also, fix up some
formatting in passing.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 19:40:41 +00:00
Joshua Colp 0b75ad2db9 Merged revisions 69014 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69014 | file | 2007-06-12 15:36:29 -0400 (Tue, 12 Jun 2007) | 2 lines

Change the full frame dropping log message to debug to avoid future bug reports.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 19:38:17 +00:00
Joshua Colp 74cda06deb Merged revisions 69012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69012 | file | 2007-06-12 15:26:38 -0400 (Tue, 12 Jun 2007) | 2 lines

Schedule the sending of a PING packet a second later than previously so that it does not collide with the LAGRQ.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 19:29:12 +00:00
Russell Bryant cf06bdb312 Merged revisions 69010 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r69010 | russell | 2007-06-12 14:13:41 -0500 (Tue, 12 Jun 2007) | 12 lines

In ast_channel_make_compatible(), just return if the channels' read and write
formats already match up.  There are code paths that call this function on a
pair of channels multiple times.  This made calls fail that were using g729
in some cases.  The reason is that codec_g729a will unregister itself from the
list of available translators will all licenses are in use.  So, the first
time the function got called, the right translation path was allocated.
However, the second time it got called, the code would not find a translation
path to/from g729 and make the call fail, even if the channel actually already
had a g729 translation path allocated.

(SPD-32)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 19:19:09 +00:00
Russell Bryant ff4fc97911 Convert pbx.c to use ast_debug() for debug logging.
(issue #9925, dimas)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 16:13:45 +00:00
Russell Bryant 7f437de523 Add a new macro, ast_debug(), which combines the check of the value of
option_debug and the actual call to ast_log().
(issue #9925, dimas)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 16:11:40 +00:00
Russell Bryant 50aaffa97f update the dump of application docs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68973 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 16:03:42 +00:00
Russell Bryant 9e0458e9f1 Completely remove all of the code related to jumping to priority n + 101. yay!
(issue #9926, caio1982)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 15:58:28 +00:00
Joshua Colp d0eaf1e389 Merged revisions 68922 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68922 | file | 2007-06-12 10:23:11 -0400 (Tue, 12 Jun 2007) | 10 lines

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

........
r68921 | file | 2007-06-12 10:18:57 -0400 (Tue, 12 Jun 2007) | 2 lines

Bring RTP back to Asterisk at the end of a native bridge no matter what.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68923 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 14:26:12 +00:00
Joshua Colp 556ea9f554 Even more minor code cleanup!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 14:16:37 +00:00
Joshua Colp b3475e429a Minor code cleanup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 13:58:13 +00:00
Joshua Colp f519db04e4 Remove old stuff from the AgentCallbackLogin days and only autocomplete agents in the agent logoff CLI command that are logged in. (issue #9952 reported by eliel)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-12 13:34:57 +00:00
Dwayne M. Hubbard 897418858d corrected CLI 'core show codecs' syntax for issue 9945, thanks eserra.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 22:31:51 +00:00
Tilghman Lesher f314fa039b Issue 8971 - Allow DISA input to be ended with a '#'.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68854 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 22:21:28 +00:00
Jason Parker bd3de6d0f1 Change displayconnects option in manager.conf to be per-user.
Issue 9932, patch by eliel


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 22:07:50 +00:00
Jason Parker 7ce2280b70 Merged revisions 68814 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68814 | qwell | 2007-06-11 16:20:15 -0500 (Mon, 11 Jun 2007) | 2 lines

Solaris 10 sometimes (?) needs this include in order to have NULL defined.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68816 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 21:20:59 +00:00
Tilghman Lesher b353c43c28 Merged revisions 68781 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r68781 | tilghman | 2007-06-11 15:45:53 -0500 (Mon, 11 Jun 2007) | 2 lines

Issue 9947 - fn2 was unused / incorrectly used

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 20:51:43 +00:00
Christian Richter c2b4e6cef6 Merged revisions 68733 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r68733 | crichter | 2007-06-11 18:57:59 +0200 (Mo, 11 Jun 2007) | 9 lines

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

........
r68732 | crichter | 2007-06-11 18:49:00 +0200 (Mo, 11 Jun 2007) | 1 line

added check for NULL Pointer when calling misdn_new. Asterisk does not allow us to create channels anymore when stop gracefully is used :). also modified the restart_indicator to 0
........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68740 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-11 17:05:48 +00:00