]>
git.ipfire.org Git - thirdparty/asterisk.git/log
Olle Johansson [Mon, 9 Apr 2007 19:58:17 +0000 (19:58 +0000)]
Merged revisions 61038 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r61038 | oej | 2007-04-09 21:38:59 +0200 (Mon, 09 Apr 2007) | 3 lines
- Don't send ActionID before Response: header.
- Don't use a blank in an AMI header
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61072
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 9 Apr 2007 19:55:14 +0000 (19:55 +0000)]
fix up some warnings found using --enable-dev-mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61070
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 9 Apr 2007 19:49:09 +0000 (19:49 +0000)]
remove some more stuff we don't need
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61062
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 9 Apr 2007 19:41:04 +0000 (19:41 +0000)]
Remove another directory that should no longer be there
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61044
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 9 Apr 2007 19:40:29 +0000 (19:40 +0000)]
Remove various files that I thought I already removed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61042
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 9 Apr 2007 19:05:48 +0000 (19:05 +0000)]
Use the appropriate interface name with COMPLETECALLER.
Issue 9395.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61022
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 9 Apr 2007 18:32:07 +0000 (18:32 +0000)]
This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60989
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 9 Apr 2007 18:02:17 +0000 (18:02 +0000)]
Add final new line after JabberEvent
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60984
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 9 Apr 2007 17:22:59 +0000 (17:22 +0000)]
Merged revisions 60935 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60935 | qwell | 2007-04-09 12:22:15 -0500 (Mon, 09 Apr 2007) | 5 lines
Allow matching on names shorter than 3 chars.
This also fixes the case where somebody wants to match on less then 3 chars.
Issue 9071
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60936
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 9 Apr 2007 03:01:12 +0000 (03:01 +0000)]
Merged revisions 60849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60849 | tilghman | 2007-04-08 21:49:06 -0500 (Sun, 08 Apr 2007) | 2 lines
Don't check for error when lowering priority (according to the manpage, it should never happen anyway). It might could happen, though, if another thread messed with the priority, so safeguard against that (reported via -dev list).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60850
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 9 Apr 2007 02:42:48 +0000 (02:42 +0000)]
Merged revisions 60846 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60846 | tilghman | 2007-04-08 21:37:18 -0500 (Sun, 08 Apr 2007) | 2 lines
Bug 9505 - If the return value for local_queue_frame is set, then p->lock is no longer valid.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60847
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 9 Apr 2007 01:03:14 +0000 (01:03 +0000)]
Merged revisions 60797 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60797 | file | 2007-04-08 20:59:29 -0400 (Sun, 08 Apr 2007) | 2 lines
When calling a device that then forwards us elsewhere... we have to make our channels compatible if it is the only channel being dialed. (issue #9445 reported by marcelbarbulescu)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60798
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sun, 8 Apr 2007 17:04:44 +0000 (17:04 +0000)]
Allow app_queue to use MONITOR_EXEC even if MONITOR_OPTIONS is not set. (issue #9495 reported by cduffy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60762
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 8 Apr 2007 14:14:29 +0000 (14:14 +0000)]
Merged revisions 60711 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60711 | tilghman | 2007-04-08 09:00:22 -0500 (Sun, 08 Apr 2007) | 2 lines
Gosub called within a Macro resets the arguments improperly and causes general weirdness. (Issue 8329)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60713
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 8 Apr 2007 14:12:00 +0000 (14:12 +0000)]
Fix --enable-dev-mode
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60712
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 8 Apr 2007 13:45:24 +0000 (13:45 +0000)]
Off by one error, resulting in a crash (Issue 9500)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60709
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 8 Apr 2007 01:40:47 +0000 (01:40 +0000)]
Merged revisions 60660 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60660 | tilghman | 2007-04-07 20:39:25 -0500 (Sat, 07 Apr 2007) | 2 lines
Bug 9486 - memory leak when opening a filestream
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60661
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 6 Apr 2007 20:58:43 +0000 (20:58 +0000)]
To be able to achieve the things that we would like to achieve with the
Asterisk GUI project, we need a fully functional HTTP interface with access
to the Asterisk manager interface. One of the things that was intended to be
a part of this system, but was never actually implemented, was the ability for
the GUI to be able to upload files to Asterisk. So, this commit adds this in
the most minimally invasive way that we could come up with.
A lot of work on minimime was done by Steve Murphy. He fixed a lot of bugs in
the parser, and updated it to be thread-safe. The ability to check
permissions of active manager sessions was added by Dwayne Hubbard. Then,
hacking this all together and do doing the modifications necessary to the HTTP
interface was done by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60603
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Dwayne M. Hubbard [Fri, 6 Apr 2007 20:32:49 +0000 (20:32 +0000)]
clarified a sentence in the format_wav section
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60572
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Dwayne M. Hubbard [Fri, 6 Apr 2007 19:58:33 +0000 (19:58 +0000)]
updated UPGRADE.txt with format_wav GAIN change and plan to remove GAIN code from trunk
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60568
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 6 Apr 2007 19:50:52 +0000 (19:50 +0000)]
When a station picks up a trunk that was on hold, make the hints reflect that
nobody has the trunk on hold anymore.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60565
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 6 Apr 2007 18:58:46 +0000 (18:58 +0000)]
Fix a few problems with SLA. (issue #9459, reported by francesco_r, fixed by me)
* The original behavior was that if one station put a call on hold, another one
picked it up, and then hung up, the code would still consider the call on
hold by the first station, so the trunk would not be hung up. However, to
better comply with what most people seem to expect it to behave, it will now
hang up the trunk.
* Fix a problem with "barge=no". This was only intended to prevent people from
joining calls that are in progress. However, it also prevented other people
from picking up a call that was on hold. This has been fixed.
* When there are no active stations on a trunk and it is on hold, the code now
indicates the HOLD and UNHOLD conditions to the trunk channel. This allows
music on hold to be played to the trunk when it is on hold.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60521
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 6 Apr 2007 18:21:52 +0000 (18:21 +0000)]
Make sure we check the faxdetect option before doing fax processing
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60485
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Fri, 6 Apr 2007 17:32:31 +0000 (17:32 +0000)]
Merged revisions 60456 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60456 | mattf | 2007-04-06 12:03:15 -0500 (Fri, 06 Apr 2007) | 2 lines
There should only be one code path for doing DTMF conditionals on channels. This fixes it.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60459
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 6 Apr 2007 14:49:51 +0000 (14:49 +0000)]
Merged revisions 60398 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60398 | kpfleming | 2007-04-06 09:41:37 -0500 (Fri, 06 Apr 2007) | 2 lines
remove undocumented 'cardsmode' parameter and stop searching for transcoders during reload()
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60399
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 6 Apr 2007 01:14:00 +0000 (01:14 +0000)]
Add support for returning different types of results (ie: NBest).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60361
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Dwayne M. Hubbard [Thu, 5 Apr 2007 22:58:01 +0000 (22:58 +0000)]
modified default GAIN for issue 5823, thanks jrwalliker
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60325
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 5 Apr 2007 22:35:11 +0000 (22:35 +0000)]
Added some clarification to the example configs for CDRs, on how to select a backend. Also, made cdr-csv the default if you 'make samples', and no other changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60323
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 5 Apr 2007 16:10:48 +0000 (16:10 +0000)]
Merged revisions 60267 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60267 | qwell | 2007-04-05 11:09:41 -0500 (Thu, 05 Apr 2007) | 5 lines
Just because we can't find the voicemail configuration file, doesn't
mean that the module failed to load. The user could be using realtime.
Issue #9473
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60268
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 5 Apr 2007 15:47:17 +0000 (15:47 +0000)]
Add the MIME type for gif by request from Pari
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60265
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 5 Apr 2007 12:55:02 +0000 (12:55 +0000)]
Merged revisions 60213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60213 | file | 2007-04-05 08:52:50 -0400 (Thu, 05 Apr 2007) | 2 lines
Only unlock our pvt and net locks if we are actually going to try to lock the owner again. (issue #9472 reported by zoa)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60214
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 4 Apr 2007 17:40:10 +0000 (17:40 +0000)]
Merged revisions 60134 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60134 | russell | 2007-04-04 12:38:47 -0500 (Wed, 04 Apr 2007) | 6 lines
It is valid to redirect channels via the manager interface that are not in the
UP state. Instead of checking for that to prevent to ensure a dead channel
doesn't get redirected, just use the ast_check_hangup() API call.
(issue #9457, reported by Callmewind, patch by me)
(related to issue #8977)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60137
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 4 Apr 2007 16:49:45 +0000 (16:49 +0000)]
Add a Content-Length of 0 to the response built by transmit_response_with_unsupported().
(issue #9454, reported by makoto, fixed by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60112
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 4 Apr 2007 16:39:04 +0000 (16:39 +0000)]
Merged revisions 60083 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60083 | russell | 2007-04-04 11:37:04 -0500 (Wed, 04 Apr 2007) | 4 lines
Fix the return value of handle_common_options() so that it always properly
indicates whether it handled the option or not.
(issue #9455, reported by Netview, fixed by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60088
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 4 Apr 2007 16:26:23 +0000 (16:26 +0000)]
Fix a problem where if a trunk was hung up while it was on hold, all of the
hints would reflect the line still on hold, even though it should reflect that
it is back to not in use. (issue #9459, reported by francesco_r, fixed by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60069
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 3 Apr 2007 23:25:24 +0000 (23:25 +0000)]
Blocked revisions 60016 via svnmerge
........
r60016 | russell | 2007-04-03 18:23:23 -0500 (Tue, 03 Apr 2007) | 3 lines
Add a missing "\r\n" in the body of the NOTIFY that is sent to indicate the
status of a transfer. (issue #9388, reported by rarritt)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60017
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 3 Apr 2007 23:00:36 +0000 (23:00 +0000)]
Blocked revisions 60014 via svnmerge
........
r60014 | russell | 2007-04-03 18:00:10 -0500 (Tue, 03 Apr 2007) | 3 lines
Use the more generic check for "sed -r" support that was already present in 1.4.
(related to issue #9399)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60015
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 3 Apr 2007 22:57:05 +0000 (22:57 +0000)]
Blocked revisions 60012 via svnmerge
........
r60012 | russell | 2007-04-03 17:54:49 -0500 (Tue, 03 Apr 2007) | 3 lines
On Darwin, the -r argument to sed is not valid. It has to be -E.
(issue #9399, reported by jcovert)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@60013
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 3 Apr 2007 19:40:59 +0000 (19:40 +0000)]
Don't clash when a person both speaks and uses DTMF.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59963
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 3 Apr 2007 19:16:53 +0000 (19:16 +0000)]
Merged revisions 59938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59938 | russell | 2007-04-03 14:15:04 -0500 (Tue, 03 Apr 2007) | 4 lines
Don't attempt to report configuration errors in build_user(). oej pointed out
that for a "friend" entry, this won't work, because all user options are valid
for peers, but not the other way around.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59939
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 3 Apr 2007 18:55:57 +0000 (18:55 +0000)]
Merged revisions 59916 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59916 | russell | 2007-04-03 13:43:54 -0500 (Tue, 03 Apr 2007) | 3 lines
Make chan_sip report when it encounters an unknown option.
(issue #9440, reported by nightcrawler)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59936
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 3 Apr 2007 18:01:49 +0000 (18:01 +0000)]
Merged revisions 59886 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59886 | russell | 2007-04-03 12:58:19 -0500 (Tue, 03 Apr 2007) | 5 lines
When doing a built-in blind or attended transfer, restore the ability to use '#'
to terminate the number and immediately do the transfer instead of having to
dial the number and just wait for the feature digit timeout.
(issue #8366, xueliangliang)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59887
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 3 Apr 2007 16:03:35 +0000 (16:03 +0000)]
Ensure that menuselect gets executed in dependency check mode every time you run make.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59853
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Nadi Sarrar [Tue, 3 Apr 2007 11:02:46 +0000 (11:02 +0000)]
Merged revisions 59788,59803 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59788 | nadi | 2007-04-03 11:37:00 +0200 (Di, 03 Apr 2007) | 2 lines
Use the new sysfs way of mISDN 1.2 to check if a port is NT or not.
........
r59803 | nadi | 2007-04-03 12:40:58 +0200 (Di, 03 Apr 2007) | 2 lines
ptp is the 5th bit, not the 4th.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59804
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Tue, 3 Apr 2007 07:20:27 +0000 (07:20 +0000)]
Merged revisions 59623-59624,59639 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59623 | crichter | 2007-04-02 09:12:24 +0200 (Mo, 02 Apr 2007) | 1 line
we can now make 30 channels on a PRI (before we forgot chan 31..)
........
r59624 | crichter | 2007-04-02 09:25:54 +0200 (Mo, 02 Apr 2007) | 1 line
don't be verbose if no need
........
r59639 | crichter | 2007-04-02 14:08:12 +0200 (Mo, 02 Apr 2007) | 1 line
added option which allows us to accept incoming SETUP Messages without automatically sending Proceeding or Setup Acknowledge, this is useful with some broken switches and if you want to Release incoming calls without previously having acknowledged them. The new option is noautorespond_on_setup=yes|no default is no, so we don't break the existing behaviour
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59774
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 2 Apr 2007 18:58:24 +0000 (18:58 +0000)]
Merged revisions 59723 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59723 | file | 2007-04-02 14:55:25 -0400 (Mon, 02 Apr 2007) | 2 lines
Increase the maximum size for a string of mailboxes to 1024. (issue #9270 reported by rtucker)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59724
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 2 Apr 2007 17:31:32 +0000 (17:31 +0000)]
continue in for-loop should go to the incrementer, not the test. As per 9435, thanks to marcelbarbulescu
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59688
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 2 Apr 2007 15:39:07 +0000 (15:39 +0000)]
Merged revisions 59608 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59608 | russell | 2007-04-01 17:35:25 -0500 (Sun, 01 Apr 2007) | 6 lines
Add the SO_REUSEADDR flag to sockets handled by netsock. This is needed by
the patch that went in for issue 7874. chan_iax2 needs to be able to create
socket that is lisetning on INADDR_ANY, but also be able to bind sockets to
specific addresses. (Thanks to Stevenson on the asterisk-dev mailing list
for explaining why this flag was needed.)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59654
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 30 Mar 2007 22:50:31 +0000 (22:50 +0000)]
Add linux-uclibc host arch..."thingy". Sorry, I don't know what it's called...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59573
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 30 Mar 2007 17:51:17 +0000 (17:51 +0000)]
several changes via kpflemings review
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59522
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 30 Mar 2007 14:11:59 +0000 (14:11 +0000)]
These mods fix CDR issues from 8221, 8593, 8680, 8743, and perhaps others. Mainly with CDRs generated from transfer situations.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59486
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 30 Mar 2007 00:56:36 +0000 (00:56 +0000)]
A small clarification to keep bugs from being filed, and confusion from rising, if clearglobalvars is set, and globals are set in the AEL file. (9419)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59452
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 29 Mar 2007 17:43:52 +0000 (17:43 +0000)]
When building a response to a subscription, the "from" must be the full Jabber
ID. This fixes some problems where jabber users are not able to add their
Asterisk account to their user list, since they are unable to get Asterisk
to approve their subscription. (issue #8210, reported by caspy, and verified
by bradtem)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59363
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 29 Mar 2007 17:38:55 +0000 (17:38 +0000)]
Merged revisions 59360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59360 | file | 2007-03-29 13:33:58 -0400 (Thu, 29 Mar 2007) | 2 lines
Keep a global array of variables indicating whether certain conference rooms are in use. This ensures that two people going into a new dynamic conference when the 'e' option is set don't go into the same conference room. (issue #8835 reported by eliel)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59361
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 29 Mar 2007 17:17:41 +0000 (17:17 +0000)]
Merged revisions 59357 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59357 | russell | 2007-03-29 12:14:33 -0500 (Thu, 29 Mar 2007) | 5 lines
If an error occurs when reading from an RTP socket, and the error code does not
indicate that we should try again, then return NULL instead of a "null frame".
This will prevent Asterisk from trying over and over again, and eventually
causing the system to crash. (issue #8285, john)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59358
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 29 Mar 2007 17:10:57 +0000 (17:10 +0000)]
Blocked revisions 59355 via svnmerge
........
r59355 | russell | 2007-03-29 12:10:28 -0500 (Thu, 29 Mar 2007) | 3 lines
Backport the change to chan_iax2 to return NULL instead of a "null frame"
from its read callback. See revision 59341 to the 1.4 branch for more info.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59356
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 29 Mar 2007 16:55:39 +0000 (16:55 +0000)]
When the IAX2 read callback gets called, return NULL instead of a "null frame".
This will cause Asterisk to hangup the call instead of keep trying whatever it
was doing. Under normal conditions, this function would *never* be called.
However, the author of this patch says an error will occur that will cause it
to get called every 100 thousand calls or so. When this does happen, it puts
the channel in a loop that eventually brings down the system. So, hangup up
the call is certainly a better alternative. (issue #8286, john)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59341
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 29 Mar 2007 16:25:41 +0000 (16:25 +0000)]
Export the GTK2 library and include information to sub Makefiles.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59304
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 29 Mar 2007 16:07:05 +0000 (16:07 +0000)]
Merged revisions 59301 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59301 | tilghman | 2007-03-29 11:04:46 -0500 (Thu, 29 Mar 2007) | 3 lines
Issue 9415 - No point to getting a diagnostic field if we aren't doing anything with the information.
(Plus, it tends to crash the Postgres ODBC driver.)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59302
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 29 Mar 2007 15:34:01 +0000 (15:34 +0000)]
Blocked revisions 59299 via svnmerge
........
r59299 | tilghman | 2007-03-29 10:33:10 -0500 (Thu, 29 Mar 2007) | 2 lines
Change ENV section to use setenv, instead of putenv (Alexandru Pirvulescu <sigxcpu@gmail.com>, reported via -dev list)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59300
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 28 Mar 2007 03:38:09 +0000 (03:38 +0000)]
Another crash that I thought we had fixed already - Issue 9396
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59289
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 27 Mar 2007 23:37:31 +0000 (23:37 +0000)]
Merged revisions 59283 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59283 | tilghman | 2007-03-27 18:36:49 -0500 (Tue, 27 Mar 2007) | 2 lines
Oops
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59284
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 27 Mar 2007 23:32:46 +0000 (23:32 +0000)]
Merged revisions 59280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59280 | tilghman | 2007-03-27 18:31:20 -0500 (Tue, 27 Mar 2007) | 2 lines
Fix a few remaining bad mmap(2) return values
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59281
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 27 Mar 2007 23:20:22 +0000 (23:20 +0000)]
Merged revisions 59277 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59277 | russell | 2007-03-27 18:19:41 -0500 (Tue, 27 Mar 2007) | 3 lines
Fix the check of the return value from mmap(). Thanks to Corydon for catching
this one.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59278
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 27 Mar 2007 23:16:27 +0000 (23:16 +0000)]
Fix app_directory to actually compile with ODBC_STORAGE, and update the code to
the latest res_odbc API.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59275
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 27 Mar 2007 23:02:12 +0000 (23:02 +0000)]
Fix app_directory when ODBC_STORAGE is being used. The Makefile did not
properly ensure that this information got copied from what was selected
for app_voicemail. (issue #9224)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59273
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 27 Mar 2007 18:17:47 +0000 (18:17 +0000)]
Fix the check that ensures that the CHANNEL function's first argument is "rtpqos".
Thanks, Corydon. :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59262
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 27 Mar 2007 18:16:32 +0000 (18:16 +0000)]
via 9373 (duplicate context in AEL crashes asterisk), kpfleming pointed on asterisk-dev, that DECLINE in this case the proper thing to do. This change now has it doing the proper thing.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59261
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 27 Mar 2007 18:05:46 +0000 (18:05 +0000)]
Merged revisions 59258 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59258 | russell | 2007-03-27 13:04:02 -0500 (Tue, 27 Mar 2007) | 4 lines
Fix the use of the "sourceaddress" option when "bindaddr" is set to 0.0.0.0
instead of having each interface explicitly listed.
(issue #7874, patch by stevens)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59259
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 27 Mar 2007 16:20:53 +0000 (16:20 +0000)]
Convert the RTPQOS function to just be additional parameter of the CHANNEL
function. This way, it will be possible for other RTP based channel drivers
to expose this information in the future.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59256
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Tue, 27 Mar 2007 15:00:10 +0000 (15:00 +0000)]
Merged revisions 59252 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59252 | crichter | 2007-03-27 15:56:15 +0200 (Di, 27 Mär 2007) | 1 line
fixed #9355
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59254
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 26 Mar 2007 21:45:44 +0000 (21:45 +0000)]
Oops, this should be case insensitive
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59230
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 26 Mar 2007 21:41:32 +0000 (21:41 +0000)]
fix for 9373 (duplicate context in AEL crashes asterisk). I turned a duplicate context from a WARNING to an ERROR. Now you get a module load failure, and asterisk just exits. That's better than a crash, right\?
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59228
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 26 Mar 2007 21:37:41 +0000 (21:37 +0000)]
Change this to a single dp function to make oej happy.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59227
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 26 Mar 2007 20:06:12 +0000 (20:06 +0000)]
Fix for 9257; by eliminating the globals in main/config.c, we make it thread-safe, which is a minimum requirement.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59225
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 26 Mar 2007 19:34:14 +0000 (19:34 +0000)]
Add ability to specify no timeout. This means as soon as the prompt is done playing it moves on to the next priority.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59223
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 26 Mar 2007 18:33:50 +0000 (18:33 +0000)]
Somehow the code for building the email for voicemail got out of sync. This
change makes a few tweaks to get 1.4 in sync with trunk.
(issue #9301)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59217
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 26 Mar 2007 18:28:29 +0000 (18:28 +0000)]
Fix some codec negotiation problems when CallerID support is not enabled in SLA.
(issue #9308, reported by twilson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59215
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 26 Mar 2007 18:13:06 +0000 (18:13 +0000)]
Make SpeechBackground obey the digit timeout value.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59213
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 26 Mar 2007 17:53:07 +0000 (17:53 +0000)]
Rename the new dialplan functions to match the variable name
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59209
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 26 Mar 2007 17:45:55 +0000 (17:45 +0000)]
The AUDIORTPQOS and VIDEORTPQOS variables are not fully functional in some
because they get set in sip_hangup. So, there are common situations where
the variables will not be available in the dialplan at all. So, this patch
provides an alternate method for getting to this information by introducing
AUDIORTPQOS and VIDEORTPQOS dialplan functions.
(issue #9370, patch by Corydon76, with some testing by blitzrage)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59207
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 26 Mar 2007 17:38:29 +0000 (17:38 +0000)]
A fix for the flex input files, DONT_COMPILE, and STANDALONE_AEL
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59206
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Nadi Sarrar [Mon, 26 Mar 2007 15:25:53 +0000 (15:25 +0000)]
* mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it.
* add a check for linux/mISDNdsp.h to configure.ac and update the autogenerated files: 'configure', 'autoconfig.h.in'
(the 'configure' script was not in sync with the latest configure.ac, so the diff is a bit bigger than expected).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59202
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 26 Mar 2007 15:16:29 +0000 (15:16 +0000)]
Have ast_copy_string magically appear in the aelparse binary! DONT_OPTIMIZE should now work once again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59200
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sat, 24 Mar 2007 01:39:44 +0000 (01:39 +0000)]
Merged revisions 59194 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59194 | file | 2007-03-23 21:35:49 -0400 (Fri, 23 Mar 2007) | 2 lines
Only try to handle a response if it has a response code. (ASA-2007-011)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59195
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 23 Mar 2007 16:11:15 +0000 (16:11 +0000)]
blocking out the fix in 59187... already incorporated here
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59189
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 23 Mar 2007 16:09:01 +0000 (16:09 +0000)]
Merged revisions 59186 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59186 | murf | 2007-03-23 09:57:26 -0600 (Fri, 23 Mar 2007) | 1 line
Added a few words in the Macro doc strings about the behavior of macros with hangups (et al.), as per 9337
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59188
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 22 Mar 2007 23:40:01 +0000 (23:40 +0000)]
don't allow string input to overrun the buffer to hold it (ASA-2007-010)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59182
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 22 Mar 2007 23:34:22 +0000 (23:34 +0000)]
remove variables that are no longer used (--enable-dev-mode is good, developers should be using it)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59180
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 22 Mar 2007 14:40:53 +0000 (14:40 +0000)]
The stuff in utils was compiling with -O6 even if DONT_OPTIMIZE is set in menuconfig. Added the include to fix that
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59145
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 21 Mar 2007 18:08:57 +0000 (18:08 +0000)]
Add svg mimetype for pari.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59089
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 21 Mar 2007 18:04:58 +0000 (18:04 +0000)]
Merged revisions 59086 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r59086 | file | 2007-03-21 14:03:20 -0400 (Wed, 21 Mar 2007) | 2 lines
Indicate the filename changed when it is changed. (issue #9311 reported by jsmith)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59087
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 21 Mar 2007 03:25:48 +0000 (03:25 +0000)]
Until we can do media level parsing for sendrecv/etc just use the first value found. This crept up when a phone was offered audio+video and returned an inactive video stream. chan_sip thought the phone said to put the person on hold but that was totally wrong. (issue #9319 reported by benbrown)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59081
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 20 Mar 2007 21:04:52 +0000 (21:04 +0000)]
Fix defines for inline stack backtraces (only used by developers anyway)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59078
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 20 Mar 2007 20:42:46 +0000 (20:42 +0000)]
Copy len variable as well, should fix remaining IAX2 DTMF issues.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59076
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 20 Mar 2007 17:48:17 +0000 (17:48 +0000)]
Ooops. Sorry, messed up app_stack. This should return it to its previous, untouched, state.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59070
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 20 Mar 2007 17:43:02 +0000 (17:43 +0000)]
The fix for the AEL <<security hole>> (bug 9316) is here...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59069
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Tue, 20 Mar 2007 13:16:06 +0000 (13:16 +0000)]
Merged revisions 58849-58850,59062-59063 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r58849 | crichter | 2007-03-13 12:58:16 +0100 (Di, 13 Mär 2007) | 1 line
added method standard_dec for dialing out on groups, to avoid conflicts, which caused issues with some ISDN providers
........
r58850 | crichter | 2007-03-13 13:58:32 +0100 (Di, 13 Mär 2007) | 1 line
fixed the crypt_keys stuff
........
r59062 | crichter | 2007-03-20 10:18:06 +0100 (Di, 20 Mär 2007) | 1 line
avoid sending a disconnect when we already received one.
........
r59063 | crichter | 2007-03-20 10:23:22 +0100 (Di, 20 Mär 2007) | 1 line
modified a loglevel
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59064
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 19 Mar 2007 22:29:56 +0000 (22:29 +0000)]
Oops, this should have been a %d all along
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59049
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 19 Mar 2007 15:52:28 +0000 (15:52 +0000)]
Fix typo in help for CDR function. (issue #9295 reported by ajohnson)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59042
65c4cc65 -6c06-0410-ace0-
fbb531ad65f3