Commit Graph

10034 Commits

Author SHA1 Message Date
Joshua Colp
b832f42414 Make MOH work as it did before in chan_local, without this then it can go funky when transfers and MOH are involved. (issue #7671 reported by jmls)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 20:08:52 +00:00
Kevin P. Fleming
4fd3b973bf clean up sample config, and make native file playback the more obvious default choice
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 18:56:21 +00:00
Matt O'Gorman
0b6456b7f1 large overhaul to voicemail imap support. Allows support for more imap servers,
also a better implementation of several parts of the original work.
patch provided by 8033 with major upgrades.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 18:38:32 +00:00
Olle Johansson
647fb52e31 Issue 8303 (lrizzo) - break instead of continue.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 17:30:17 +00:00
Kevin P. Fleming
0aed8b63b4 remove another incorrect property
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 14:25:33 +00:00
Kevin P. Fleming
29d69a294f use editable URL for menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 14:12:43 +00:00
Olle Johansson
eac4efcf22 Fixing the attack shield so it doesn't produce attacks... Issue 8265 - never reply to an ACK
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 13:13:51 +00:00
Russell Bryant
798bb964d1 Merged revisions 47238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r47238 | russell | 2006-11-06 20:22:58 -0500 (Mon, 06 Nov 2006) | 5 lines

If random order is enabled for files mode music on hold, set a random initial
position, instead of always starting at the first file, and doing the random
operation only when switching to the next file.
(bug reported by John Lange on the asterisk-dev mailing list)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47239 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-07 01:25:10 +00:00
Olle Johansson
d5edfd432a Issue #8284: Fixes to Invite/replaces and transfer from "john"
Thank you!


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 18:32:02 +00:00
Russell Bryant
c8ee894823 Fix another bug in "core set debug" ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 18:10:22 +00:00
Russell Bryant
789234df2d Really fix the "core set debug" and "core set verbose" CLI commands.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 17:59:39 +00:00
Russell Bryant
da6cf383d4 fix the "atleast" option to the "core set verbose" and "core set debug"
CLI commands


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-04 17:38:24 +00:00
Steve Murphy
b6079499e4 This fix introduced via bug 8233
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 23:17:01 +00:00
Luigi Rizzo
54be10b9e1 align bootstrap.sh with the version in trunk
(needs to be blocked as it is already in trunk)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47108 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 17:53:13 +00:00
Luigi Rizzo
0726f75faf add proper environment vars to detect modules on freebsd.
(already applied to trunk so it needs to be blocked there)



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47107 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-03 17:46:10 +00:00
Tilghman Lesher
56a1e60c54 More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 23:49:13 +00:00
Tilghman Lesher
e05a2752e8 Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 23:00:20 +00:00
Olle Johansson
ea69dd0cbc Move check for codec translation to sip_call() instead of in add_sdp. No one bothers
with the result of add_sdp anyway... Yet...


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@47015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 19:56:30 +00:00
Olle Johansson
bfb1d68414 Disable code for T38 over TCP and RTP since there's no trace of actual functionality for it :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 18:26:57 +00:00
Russell Bryant
96e43ebee7 Merged revisions 46964 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46964 | russell | 2006-11-02 12:47:56 -0500 (Thu, 02 Nov 2006) | 3 lines

ignore files in a music on hold directory that begin with '.'
(issue #8249, cboie)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46965 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 17:49:54 +00:00
Nadi Sarrar
72985e664f find_free_chan_in_stack usage fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 17:17:36 +00:00
Kevin P. Fleming
efdffc0cf8 don't send INVITE when we have determined that we can't offer any audio formats due to lack of trancoding support (or incorrect configuration)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:45:32 +00:00
Joshua Colp
eb25ec6ed5 Merged revisions 46920 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46920 | file | 2006-11-02 11:02:27 -0500 (Thu, 02 Nov 2006) | 2 lines

Repeat after me oej: I will at least make sure my code compiles before I commit it.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 16:06:39 +00:00
Olle Johansson
5667c1c71d Dont overwrite pkt->flags (from 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 15:24:30 +00:00
Russell Bryant
105fa492b4 Add the missing call to free described in issue #8268. Also, add a bunch of
missing calls to free in callerid_feed_jp().


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46883 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-02 14:02:37 +00:00
Russell Bryant
e626d78269 fix saying one hundred and two hundred in hebrew (issue #7810, eldadran)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46857 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 23:01:48 +00:00
Russell Bryant
468fbbf3ca Fixes for cross-compilation on mips
(issue #8058, ywalther, with some modifications)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:51:21 +00:00
Russell Bryant
af3e243994 Add a check in the configure script to determine whether ld is GNU ld or not.
This is needed because module embedding only works for gnu ld.  GNU ld is now
listed as a dependency for all of the module embedding options in menuselect.
(issue #8143)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 22:32:12 +00:00
Matt O'Gorman
6a10570614 bind address support from bug 8164
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46822 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 20:35:41 +00:00
Steve Murphy
b2356087ab a fix for bug 8251; the var_val needs to accept longer strings or mass confusion and a lot of lost time is the result
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 19:49:40 +00:00
Joshua Colp
673e9f53a8 Force poll() emulation for Darwin to always be on. It's too broken to consider being used. This resolves the console issue OSX users have been seeing. I would have liked to autoconf this but I haven't been able to come up with a test case that works. Que sera.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 18:39:47 +00:00
Russell Bryant
5fa61df201 Merged revisions 46776 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46776 | russell | 2006-11-01 13:24:17 -0500 (Wed, 01 Nov 2006) | 9 lines

soxmix and Asterisk expect different file extensions for certain formats.  This
was already handled for the wav49 format.  However, it was not handled for
ulaw and alaw.  I fixed this in such a way that using the alternate extensions
for ulaw and alaw will only happen if we know we're calling soxmix, and not a
custom script defined using the MONITOR_EXEC variable.  The wav49 processing
was left alone so that external scripts will see no behavior change.
(issue #7550, reported by mnicholson, proposed patch by junky, committed fix
is a bit different)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 18:26:35 +00:00
Joshua Colp
899d116be2 It's another round of chan_iax2 fixes! Should hopefully fix the deadlock issues people have been reporting. IAXtel now has qualify turned on for 800 peers and it is handling it fine.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46775 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 18:21:34 +00:00
Steve Murphy
a0078bbbc0 Cleanups suggested by Russell.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46760 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 17:48:48 +00:00
Russell Bryant
c9c41a0b85 Prevent an infinite loop when config processing gets to a jitterbuffer option
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 16:39:09 +00:00
Jason Parker
b12229c1ff Fix "core show translation" output. Issue #8243, patch by Damin.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 22:02:15 +00:00
Kevin P. Fleming
f532d2f198 add an API so that translators can activate/deactivate themselves when needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 21:47:48 +00:00
Kevin P. Fleming
160a0448c2 revert changes that were the wrong way to address this... proper fix coming
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 21:36:17 +00:00
Kevin P. Fleming
f725940328 let's set the seen flag early enough to actually make a difference...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 21:25:20 +00:00
Kevin P. Fleming
59186bb2d2 don't re-do setup operations for translators that can dynamically register themselves
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 21:23:06 +00:00
Tilghman Lesher
93e3d1157b Blocked revisions 46662 via svnmerge
........
r46662 | tilghman | 2006-10-31 09:46:04 -0600 (Tue, 31 Oct 2006) | 3 lines

Move thread-unsafe initializer to the module loading code; add the
corresponding function to the module unload to fix a memory leak.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 15:49:15 +00:00
Olle Johansson
d318976f4d Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 10:56:20 +00:00
Olle Johansson
9ab1cc22a4 Support ;rport when we're supposed to support ;rport. Issue #7473.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 10:26:16 +00:00
Olle Johansson
56f2cab81c If peer fails ACL check, fail peer at REGISTER
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 09:17:53 +00:00
Olle Johansson
83d0334d53 Block my messing around in the 1.2 branch...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 09:07:40 +00:00
Olle Johansson
cdb0c64271 Fix T38 too. Thanks, tgrman !
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 08:28:38 +00:00
Russell Bryant
134c4dcadd Start Asterisk later in the boot process to ensure it starts after stuff like
MySQL (issue #8253, Alric)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:30:53 +00:00
Russell Bryant
e998b2b609 Merged revisions 46560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46560 | russell | 2006-10-31 01:18:36 -0500 (Tue, 31 Oct 2006) | 3 lines

When handling the case where the hostname is just an IPV4 numeric address,
be sure to set the address type.  (issue #8247, alexr)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:19:56 +00:00
Russell Bryant
f124a6d1fc Merged revisions 46557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46557 | russell | 2006-10-31 01:13:09 -0500 (Tue, 31 Oct 2006) | 3 lines

fix some copy/paste bugs in the checking of arguments for the 
"control stream file" AGI command (issue #8255, mnicholson)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:14:13 +00:00
Russell Bryant
68720145e3 Add a small tweak to the code that checks to see whether destination formats
are translatable based on the source format.  If we have already determined
that there is no translation path in one direction, don't bother checking the
other direction.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 05:55:07 +00:00