Tilghman Lesher
08c29fea9f
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.2@59299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-29 15:33:10 +00:00
Tilghman Lesher
7ca5863965
Oops
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:36:49 +00:00
Tilghman Lesher
43ac3f119b
Fix a few remaining bad mmap(2) return values
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59280 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:31:20 +00:00
Russell Bryant
653b6f22c5
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.2@59277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 23:19:41 +00:00
Russell Bryant
ec9fb9a970
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.2@59258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 18:04:02 +00:00
Christian Richter
4a5d66f867
fixed #9355
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59252 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-27 13:56:15 +00:00
Nadi Sarrar
681c63cd92
mISDN >= 1.2 provides a dsp pipeline for i.e. echo cancellation modules, make chan_misdn use it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-26 10:21:56 +00:00
Joshua Colp
9593ae4269
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.2@59194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-24 01:35:49 +00:00
Steve Murphy
714e570302
Ugh. that was dumb. Fixed an error.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-23 16:07:45 +00:00
Steve Murphy
fe9bbc5dfc
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.2@59186 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-23 15:57:26 +00:00
Joshua Colp
0b4eeda153
Indicate the filename changed when it is changed. (issue #9311 reported by jsmith)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59086 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-21 18:03:20 +00:00
Christian Richter
74b331c4d0
modified a loglevel
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59063 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 09:23:22 +00:00
Christian Richter
79c08e3a46
avoid sending a disconnect when we already received one.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-20 09:18:06 +00:00
Russell Bryant
ae319d34d5
Add a note to the security file that the Asterisk CLI and log files may contain
...
sensitive information, and that people should keep this in mind.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58896 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-14 16:38:48 +00:00
Christian Richter
0939887739
fixed the crypt_keys stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 12:58:32 +00:00
Christian Richter
3b2e8feab4
added method standard_dec for dialing out on groups, to avoid conflicts, which caused issues with some ISDN providers
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 11:58:16 +00:00
Olle Johansson
7158b80498
Issue #9229 - No port in request URI on register to non default SIP ports (neelakantan)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-13 11:45:52 +00:00
Joshua Colp
6af97b5d59
We can't use the assembler version of fetchadd_int under Intel Macs. (issue #9254 reported by darrell budic)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-12 16:49:49 +00:00
Joshua Colp
5941cc916c
If we are unable to lookup the host in a c line we have to abort, otherwise the previous data is gone and we will (potentially) have no data when all is said and done.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-09 20:46:43 +00:00
Christian Richter
c0cf86d6c8
we can free channel 31 as well, since we can occupy it
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-09 14:43:58 +00:00
Joshua Colp
130b54f4b7
Only print out debug message if the definition that makes the variables shows up was actually defined. (issue #9233 reported by serginuez)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-08 16:04:58 +00:00
Russell Bryant
c072213569
Fix a problem where the Asterisk channel name could be that of the wrong IAX2
...
user for a call. This is because the first step of choosing this name is to
look for an IAX2 peer that happens to have the same IP/port number that this
call is coming from and assuming that is it. However, this is not always
correct. So, I have made it change this name after authentication happens
since at that point, we have an exact match.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58242 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-07 18:17:07 +00:00
Russell Bryant
6f098541d0
Fix a misplaced block of code in the 1.2 version of the patch to fix issue #8977
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-07 00:27:04 +00:00
Russell Bryant
7c9bc7fd0d
If the channels acquired using the manager Redirect action are not up, then
...
don't attempt to do anything with them. It could lead to weird behavior,
including crashes. (issue #8977 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-07 00:20:13 +00:00
Steve Murphy
c7c8b06817
Fix for 9220: Eyebeam cannot renew subscriptions for presence info. Reason: re-SUBSCRIBE requests don't include Accept headers, which the rfc says are optional (to put it tersely), (it uses MAY), and luckily, the sip_pvt struct has the format info stored, so we simply leave it if the format is set, and the accept header null.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 22:52:52 +00:00
Olle Johansson
7d74199c6f
Change error message to proper message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 20:33:21 +00:00
BJ Weschke
75ce9f86b8
Cleanup the Makefile so that we only attempt to include a file when we're building and not 'clean'ing so 'make clean' completes successfully. chan_h323 maintainer: please check to make sure I haven't broken your build target. From: jsmith in #asterisk-dev
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-06 15:17:16 +00:00
Christian Richter
58818031b1
subdirs like misdn and h323 should be cleaned by the clean target from channels/Makefile as well
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 23:18:49 +00:00
Joshua Colp
c17a4c7f53
Make create_dirpath use our standard for return values. -1 is failure, 0 is success. (issue #9205 reported by ballares)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 17:49:18 +00:00
Steve Murphy
7bcc4569bb
Fixed a typo introduced via 9156
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 14:53:57 +00:00
Christian Richter
dfcff16e09
fixed another place where the out_cause was hardcoded to 16
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-04 10:39:50 +00:00
Tilghman Lesher
12a38f8e56
Memory leak of a list, if call recording was abandoned
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57648 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-03 06:36:55 +00:00
Christian Richter
a9252f4549
fixed typo
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 18:32:51 +00:00
Joshua Colp
6bf891f353
If a SIP message comes in and goes to a method handler that requires additional values that may not be present then send back an error.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 17:02:46 +00:00
Steve Murphy
6752748d87
further refinement in wording of goto documentation, as per 9156, goto not proceeding to next instruction
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 16:39:33 +00:00
Joshua Colp
4d5bf84ce1
Don't even attempt to optimize things when a proxy channel is involved. It will just explode in weird and unexplaineable ways. (issue #9175 reported by clegall_proformatique)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-01 22:19:32 +00:00
Steve Murphy
84ab66498f
a small documentation update, to reflect reality in the goto doc strings, as per 9156, Goto does not proceed to next prio if jump fails
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 19:12:41 +00:00
Joshua Colp
c8a883fd2f
Fix a few more issues with the agent logoff CLI command. (issue #9123 reported by arbrandes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 18:55:45 +00:00
Christian Richter
93c0385bc0
fixed bugs.digium.com bugs: #9157 and bugs.beronet.com bugs: #302 , #303 , #304
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 16:09:27 +00:00
Joshua Colp
7312a2eb3d
Obey the clearglobalvars option in extensions reload (or dialplan reload depending on your version). (issue #9146 reported by ramonpeek)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@56850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 20:05:02 +00:00
Russell Bryant
2e64cf06e5
Ensure that lock.h is included in utils.c with AST_API_MODULE defined so that
...
the implementations will be properly included when the AST_INLINE_API functions
are not going to be inlined. (issue #9124 , festr)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@56729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-26 00:34:31 +00:00
Tilghman Lesher
87c0a12a03
Issue 9130 - If prev is the last item on the channel list, then evaluating
...
additional conditions (e.g. name prefix) will cause a NULL dereference.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@56684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-25 14:38:03 +00:00
Russell Bryant
1c26e1c717
Fix up a couple more signal handlers to not do bad things that could cause
...
various undesirable results. The other day, I made Asterisk deadlock by
hitting Control-C because of a bad signal handler. Now, signal handlers
just set a flag and write to an alert pipe for the flag to be handled. Then,
there is another thread that is monitoring for these flags. If being run in
console mode, it is just the main thread. If Asterisk is in the background,
a thread is created to do it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@56504 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 23:20:55 +00:00
Russell Bryant
4fb7eb1b7b
Don't destroy mutexes before unregistering all of the entry points from the core.
...
Also, fix a potential memory leak from not destroying the locks for all of the
possible call numbers (about 32k of them).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@56406 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-23 20:17:56 +00:00
Joshua Colp
ca7fbd749e
Always defer Agent logoff if any channels are up until they hang up. (issue #9123 reported by arbrandes)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@56279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 23:19:25 +00:00
Joshua Colp
c966ea6e2d
Only change the original or clone channel if it's the channel behind the proxy channel, not if it's just a regular bridged channel.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@56230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 18:44:24 +00:00
Russell Bryant
c9d26b5a89
If we receive a frame that is not in any of the negotiated formats, then drop
...
it. (potentially issue #8781 and SPD-12)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@56010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-22 00:53:25 +00:00
Joshua Colp
aa54a5f91b
Change naughty warning message to provide useful information. If a write now fails on a channel in meetme it will tell you the channel name instead of spitting out the wrong error message.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 20:32:16 +00:00
Kevin P. Fleming
50feace3ca
use new tag version script
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 14:03:11 +00:00
Russell Bryant
602c5bb8c3
Fix random crashes when using the MeetMe application. This patch converts list
...
handling to use the linked list macros and most importantly, implements
reference counting on the ast_conference objects. The reference counting was
first backported from 1.4. However, that code has some problems that caused
the reference count to never hit zero. Those problems are fixed in this patch
and will be resolved in 1.4 and trunk next, with a different patch.
(issues #7647 , #9073 , #9106 , BE-115).
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55750 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-21 00:19:14 +00:00