Commit Graph

10956 Commits

Author SHA1 Message Date
Russell Bryant
f8773a1e80 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
2007-04-03 18:55:57 +00:00
Russell Bryant
9634ee4bbf 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
2007-04-03 18:01:49 +00:00
Russell Bryant
af0f8ba422 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
2007-04-03 16:03:35 +00:00
Nadi Sarrar
911a8f501d 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
2007-04-03 11:02:46 +00:00
Christian Richter
30ace959bb 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
2007-04-03 07:20:27 +00:00
Joshua Colp
76dcc531f0 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
2007-04-02 18:58:24 +00:00
Steve Murphy
48b277a047 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
2007-04-02 17:31:32 +00:00
Russell Bryant
6408918920 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
2007-04-02 15:39:07 +00:00
Jason Parker
40252c62c9 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
2007-03-30 22:50:31 +00:00
Steve Murphy
798039b4d8 several changes via kpflemings review
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-30 17:51:17 +00:00
Steve Murphy
9c69e34f62 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
2007-03-30 14:11:59 +00:00
Steve Murphy
ff6aacc1e8 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
2007-03-30 00:56:36 +00:00
Russell Bryant
0cb0e410ba 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
2007-03-29 17:43:52 +00:00
Joshua Colp
4490052410 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
2007-03-29 17:38:55 +00:00
Russell Bryant
6cdc236f09 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
2007-03-29 17:17:41 +00:00
Russell Bryant
8c3f8e8b97 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
2007-03-29 17:10:57 +00:00
Russell Bryant
8acd1e8349 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
2007-03-29 16:55:39 +00:00
Russell Bryant
fd7085a3ab 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
2007-03-29 16:25:41 +00:00
Tilghman Lesher
55ccc79050 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
2007-03-29 16:07:05 +00:00
Tilghman Lesher
51f3ea3f99 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
2007-03-29 15:34:01 +00:00
Tilghman Lesher
fdfe1581e1 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
2007-03-28 03:38:09 +00:00
Tilghman Lesher
ffabe730a1 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
2007-03-27 23:37:31 +00:00
Tilghman Lesher
9be4250a0e 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
2007-03-27 23:32:46 +00:00
Russell Bryant
87c1d334a0 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
2007-03-27 23:20:22 +00:00
Russell Bryant
b6b74d9b0a 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
2007-03-27 23:16:27 +00:00
Russell Bryant
d1403e32e2 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
2007-03-27 23:02:12 +00:00
Russell Bryant
a2fc7b9e36 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
2007-03-27 18:17:47 +00:00
Steve Murphy
bd5967ea0c 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
2007-03-27 18:16:32 +00:00
Russell Bryant
8fdf6e3c47 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
2007-03-27 18:05:46 +00:00
Russell Bryant
c0aca26f30 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
2007-03-27 16:20:53 +00:00
Christian Richter
10760fce2c 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
2007-03-27 15:00:10 +00:00
Tilghman Lesher
0220349ca4 Oops, this should be case insensitive
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 21:45:44 +00:00
Steve Murphy
1f08db56c5 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
2007-03-26 21:41:32 +00:00
Tilghman Lesher
ec028bd1b2 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
2007-03-26 21:37:41 +00:00
Steve Murphy
85cdf6218e 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
2007-03-26 20:06:12 +00:00
Joshua Colp
fd950a2955 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
2007-03-26 19:34:14 +00:00
Russell Bryant
d036212872 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
2007-03-26 18:33:50 +00:00
Russell Bryant
3d052c0ca1 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
2007-03-26 18:28:29 +00:00
Joshua Colp
a541ea96e1 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
2007-03-26 18:13:06 +00:00
Russell Bryant
cd3238d543 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
2007-03-26 17:53:07 +00:00
Russell Bryant
fa97f6c381 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
2007-03-26 17:45:55 +00:00
Steve Murphy
19e8d3fdcb 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
2007-03-26 17:38:29 +00:00
Nadi Sarrar
980b0bc785 * 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
2007-03-26 15:25:53 +00:00
Joshua Colp
ca9872278b 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
2007-03-26 15:16:29 +00:00
Joshua Colp
3b6f376425 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
2007-03-24 01:39:44 +00:00
Steve Murphy
70cc3c63d3 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
2007-03-23 16:11:15 +00:00
Steve Murphy
23c28f5aff 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
2007-03-23 16:09:01 +00:00
Kevin P. Fleming
cf58b2ba46 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
2007-03-22 23:40:01 +00:00
Kevin P. Fleming
34f55a9bf6 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
2007-03-22 23:34:22 +00:00
Steve Murphy
cb3e449d9b 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
2007-03-22 14:40:53 +00:00