]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
18 years agoavoid sending a disconnect when we already received one.
Christian Richter [Tue, 20 Mar 2007 09:18:06 +0000 (09:18 +0000)] 
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

18 years agoAdd a note to the security file that the Asterisk CLI and log files may contain
Russell Bryant [Wed, 14 Mar 2007 16:38:48 +0000 (16:38 +0000)] 
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

18 years agofixed the crypt_keys stuff
Christian Richter [Tue, 13 Mar 2007 12:58:32 +0000 (12:58 +0000)] 
fixed the crypt_keys stuff

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58850 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoadded method standard_dec for dialing out on groups, to avoid conflicts, which caused...
Christian Richter [Tue, 13 Mar 2007 11:58:16 +0000 (11:58 +0000)] 
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

18 years agoIssue #9229 - No port in request URI on register to non default SIP ports (neelakantan)
Olle Johansson [Tue, 13 Mar 2007 11:45:52 +0000 (11:45 +0000)] 
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

18 years agoWe can't use the assembler version of fetchadd_int under Intel Macs. (issue #9254...
Joshua Colp [Mon, 12 Mar 2007 16:49:49 +0000 (16:49 +0000)] 
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

18 years agoIf we are unable to lookup the host in a c line we have to abort, otherwise the previ...
Joshua Colp [Fri, 9 Mar 2007 20:46:43 +0000 (20:46 +0000)] 
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

18 years agowe can free channel 31 as well, since we can occupy it
Christian Richter [Fri, 9 Mar 2007 14:43:58 +0000 (14:43 +0000)] 
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

18 years agoOnly print out debug message if the definition that makes the variables shows up...
Joshua Colp [Thu, 8 Mar 2007 16:04:58 +0000 (16:04 +0000)] 
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

18 years agoFix a problem where the Asterisk channel name could be that of the wrong IAX2
Russell Bryant [Wed, 7 Mar 2007 18:17:07 +0000 (18:17 +0000)] 
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

18 years agoFix a misplaced block of code in the 1.2 version of the patch to fix issue #8977
Russell Bryant [Wed, 7 Mar 2007 00:27:04 +0000 (00:27 +0000)] 
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

18 years agoIf the channels acquired using the manager Redirect action are not up, then
Russell Bryant [Wed, 7 Mar 2007 00:20:13 +0000 (00:20 +0000)] 
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

18 years agoFix for 9220: Eyebeam cannot renew subscriptions for presence info. Reason: re-SUBSCR...
Steve Murphy [Tue, 6 Mar 2007 22:52:52 +0000 (22:52 +0000)] 
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

18 years agoChange error message to proper message
Olle Johansson [Tue, 6 Mar 2007 20:33:21 +0000 (20:33 +0000)] 
Change error message to proper message

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@58052 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years ago Cleanup the Makefile so that we only attempt to include a file when we're building...
BJ Weschke [Tue, 6 Mar 2007 15:17:16 +0000 (15:17 +0000)] 
 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

18 years agosubdirs like misdn and h323 should be cleaned by the clean target from channels/Makef...
Christian Richter [Mon, 5 Mar 2007 23:18:49 +0000 (23:18 +0000)] 
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

18 years agoMake create_dirpath use our standard for return values. -1 is failure, 0 is success...
Joshua Colp [Mon, 5 Mar 2007 17:49:18 +0000 (17:49 +0000)] 
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

18 years agoFixed a typo introduced via 9156
Steve Murphy [Mon, 5 Mar 2007 14:53:57 +0000 (14:53 +0000)] 
Fixed a typo introduced via 9156

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57825 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agofixed another place where the out_cause was hardcoded to 16
Christian Richter [Sun, 4 Mar 2007 10:39:50 +0000 (10:39 +0000)] 
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

18 years agoMemory leak of a list, if call recording was abandoned
Tilghman Lesher [Sat, 3 Mar 2007 06:36:55 +0000 (06:36 +0000)] 
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

18 years agofixed typo
Christian Richter [Fri, 2 Mar 2007 18:32:51 +0000 (18:32 +0000)] 
fixed typo

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57523 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIf a SIP message comes in and goes to a method handler that requires additional value...
Joshua Colp [Fri, 2 Mar 2007 17:02:46 +0000 (17:02 +0000)] 
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

18 years agofurther refinement in wording of goto documentation, as per 9156, goto not proceeding...
Steve Murphy [Fri, 2 Mar 2007 16:39:33 +0000 (16:39 +0000)] 
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

18 years agoDon't even attempt to optimize things when a proxy channel is involved. It will just...
Joshua Colp [Thu, 1 Mar 2007 22:19:32 +0000 (22:19 +0000)] 
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

18 years agoa small documentation update, to reflect reality in the goto doc strings, as per...
Steve Murphy [Wed, 28 Feb 2007 19:12:41 +0000 (19:12 +0000)] 
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

18 years agoFix a few more issues with the agent logoff CLI command. (issue #9123 reported by...
Joshua Colp [Wed, 28 Feb 2007 18:55:45 +0000 (18:55 +0000)] 
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

18 years agofixed bugs.digium.com bugs: #9157 and bugs.beronet.com bugs: #302, #303, #304
Christian Richter [Wed, 28 Feb 2007 16:09:27 +0000 (16:09 +0000)] 
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

18 years agoObey the clearglobalvars option in extensions reload (or dialplan reload depending...
Joshua Colp [Mon, 26 Feb 2007 20:05:02 +0000 (20:05 +0000)] 
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

18 years agoEnsure that lock.h is included in utils.c with AST_API_MODULE defined so that
Russell Bryant [Mon, 26 Feb 2007 00:34:31 +0000 (00:34 +0000)] 
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

18 years agoIssue 9130 - If prev is the last item on the channel list, then evaluating
Tilghman Lesher [Sun, 25 Feb 2007 14:38:03 +0000 (14:38 +0000)] 
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

18 years agoFix up a couple more signal handlers to not do bad things that could cause
Russell Bryant [Fri, 23 Feb 2007 23:20:55 +0000 (23:20 +0000)] 
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

18 years agoDon't destroy mutexes before unregistering all of the entry points from the core.
Russell Bryant [Fri, 23 Feb 2007 20:17:56 +0000 (20:17 +0000)] 
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

18 years agoAlways defer Agent logoff if any channels are up until they hang up. (issue #9123...
Joshua Colp [Thu, 22 Feb 2007 23:19:25 +0000 (23:19 +0000)] 
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

18 years agoOnly change the original or clone channel if it's the channel behind the proxy channe...
Joshua Colp [Thu, 22 Feb 2007 18:44:24 +0000 (18:44 +0000)] 
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

18 years agoIf we receive a frame that is not in any of the negotiated formats, then drop
Russell Bryant [Thu, 22 Feb 2007 00:53:25 +0000 (00:53 +0000)] 
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

18 years agoChange naughty warning message to provide useful information. If a write now fails...
Joshua Colp [Wed, 21 Feb 2007 20:32:16 +0000 (20:32 +0000)] 
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

18 years agouse new tag version script
Kevin P. Fleming [Wed, 21 Feb 2007 14:03:11 +0000 (14:03 +0000)] 
use new tag version script

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55868 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix random crashes when using the MeetMe application. This patch converts list
Russell Bryant [Wed, 21 Feb 2007 00:19:14 +0000 (00:19 +0000)] 
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

18 years agoDefer clearing callback information if channels are up until they are hung up. This...
Joshua Colp [Tue, 20 Feb 2007 22:39:14 +0000 (22:39 +0000)] 
Defer clearing callback information if channels are up until they are hung up. This ensures the hangup process goes smoothly and no channels get hung in limbo. (issue #8088 reported by kebl0155)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55669 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoConvert a tab to spaces so that the documentation is printed out properly
Russell Bryant [Tue, 20 Feb 2007 19:49:50 +0000 (19:49 +0000)] 
Convert a tab to spaces so that the documentation is printed out properly
aligned.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55588 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoforcename and forcegreetings options should check to see if the recording already...
Tilghman Lesher [Mon, 19 Feb 2007 18:09:09 +0000 (18:09 +0000)] 
forcename and forcegreetings options should check to see if the recording already exists

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55434 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDocumentation update (#9053, jsmith)
Olle Johansson [Sun, 18 Feb 2007 12:32:13 +0000 (12:32 +0000)] 
Documentation update (#9053, jsmith)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55277 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue #9020 - SIP message retransmission time too short.
Olle Johansson [Sun, 18 Feb 2007 10:36:11 +0000 (10:36 +0000)] 
Issue #9020 - SIP message retransmission time too short.

Backporting fix implemented in 1.4, where we have a minimum level
for the T1 timer.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55249 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAnswer the channel before recording privacy information. (issue #8926 reported by...
Joshua Colp [Sat, 17 Feb 2007 03:53:45 +0000 (03:53 +0000)] 
Answer the channel before recording privacy information. (issue #8926 reported by lmamane)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55153 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAllow chan_sip to handle attended transfers from a SIP phone that is sitting behind...
Joshua Colp [Sat, 17 Feb 2007 01:09:50 +0000 (01:09 +0000)] 
Allow chan_sip to handle attended transfers from a SIP phone that is sitting behind chan_agent. Yes folks, all it took was one line of code. (issue #8784 reported by pzieba)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55073 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoRevert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4,
Russell Bryant [Fri, 16 Feb 2007 22:48:22 +0000 (22:48 +0000)] 
Revert the change I did in revisions 54955, 54969, and 54970, in 1.2, 1.4,
and trunk.  I decided that once a conference is created from meetme.conf,
it is acceptable behavior that the pin can not be changed until the
conference goes away.  I also added a note in meetme.conf to describe this
behavior.

We still have another issue in 1.4 and trunk where some conferences with no
users don't go away.  That is the real bug that needs to be addressed here.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@55005 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDo not send indications through ast_indicate in chan_agent but instead go directly...
Joshua Colp [Fri, 16 Feb 2007 22:13:45 +0000 (22:13 +0000)] 
Do not send indications through ast_indicate in chan_agent but instead go directly to the technology. This way when indications are emulated they happen on the Agent channel and do not screw up formats on the channels. (issue #8439 reported by punkgode)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@54999 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFor conferences that are configured in meetme.conf, check the configuration
Russell Bryant [Fri, 16 Feb 2007 20:56:58 +0000 (20:56 +0000)] 
For conferences that are configured in meetme.conf, check the configuration
file every time someone joins the conference instead of only when the
conference is first created.  This is to ensure that changes to the pin
numbers in the config file are always honored.  (issue #9073)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@54955 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue #9069 - If we open with TH we should not close with /TD. (seanbright)
Olle Johansson [Fri, 16 Feb 2007 11:38:03 +0000 (11:38 +0000)] 
Issue #9069 - If we open with TH we should not close with /TD. (seanbright)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@54771 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoUse a separate variable to indicate execution should continue instead of the return...
Joshua Colp [Thu, 15 Feb 2007 16:14:40 +0000 (16:14 +0000)] 
Use a separate variable to indicate execution should continue instead of the return value. (issue #8842 reported by pluto70)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@54622 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@54438 65c4cc65-6c06...
Olle Johansson [Wed, 14 Feb 2007 18:40:44 +0000 (18:40 +0000)] 
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@54438 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoWhen handling glare on a PRI, move the requested channel rather than hang up the...
Matthew Fredrickson [Wed, 14 Feb 2007 16:25:49 +0000 (16:25 +0000)] 
When handling glare on a PRI, move the requested channel rather than hang up the old one. Fix for 8957 and 9011.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@54373 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMake sure that outbound calls are applied to the peer.
Olle Johansson [Tue, 13 Feb 2007 18:35:43 +0000 (18:35 +0000)] 
Make sure that outbound calls are applied to the peer.
This fixes some issues with "hints not working", but only in 1.2.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@54179 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoensure channelcount is cleared before we enumerate transcoders, so 'reload' doesn...
Kevin P. Fleming [Thu, 8 Feb 2007 22:17:49 +0000 (22:17 +0000)] 
ensure channelcount is cleared before we enumerate transcoders, so 'reload' doesn't double the channel count

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53658 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue 9003 - If fullname is empty, quote() passes back "\""
Tilghman Lesher [Thu, 8 Feb 2007 13:36:10 +0000 (13:36 +0000)] 
Issue 9003 - If fullname is empty, quote() passes back "\""

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53529 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix a few potential memory leaks with realtime users and peers. (issue #8999 reported...
Joshua Colp [Wed, 7 Feb 2007 15:38:48 +0000 (15:38 +0000)] 
Fix a few potential memory leaks with realtime users and peers. (issue #8999 reported by bsmithurst)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53357 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue 7440 - Macro called from Macro from the h extension exits prematurely
Tilghman Lesher [Wed, 7 Feb 2007 15:30:02 +0000 (15:30 +0000)] 
Issue 7440 - Macro called from Macro from the h extension exits prematurely

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53354 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIssue 8987 - Status could return two responses (mnicholson)
Tilghman Lesher [Tue, 6 Feb 2007 06:58:28 +0000 (06:58 +0000)] 
Issue 8987 - Status could return two responses (mnicholson)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53245 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd a proper newline at the end of this sample config file.
Jason Parker [Tue, 6 Feb 2007 00:08:34 +0000 (00:08 +0000)] 
Add a proper newline at the end of this sample config file.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53224 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoRevert some changes that accidentally got committed as a part of another fix.
Russell Bryant [Sat, 3 Feb 2007 20:39:45 +0000 (20:39 +0000)] 
Revert some changes that accidentally got committed as a part of another fix.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53134 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoset the DIALSTATUS variable to contain "INVALIDARGS" when the dial application
Russell Bryant [Sat, 3 Feb 2007 20:38:13 +0000 (20:38 +0000)] 
set the DIALSTATUS variable to contain "INVALIDARGS" when the dial application
exits early because of invalid arguments instead of just leaving it empty.
(issue #8975)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53133 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoPass the glob expanded filename to process_text_line so that error messages contain...
Joshua Colp [Fri, 2 Feb 2007 16:58:09 +0000 (16:58 +0000)] 
Pass the glob expanded filename to process_text_line so that error messages contain the actual filename, not the original include one. (issue #8959 reported by tzafrir)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53117 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix a small typo. Synopsis lines shouldn't have a newline
Jason Parker [Thu, 1 Feb 2007 23:14:09 +0000 (23:14 +0000)] 
Fix a small typo.  Synopsis lines shouldn't have a newline

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53107 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoCopy noncodeccapability over to the joint variable so that telephone-event will get...
Joshua Colp [Thu, 1 Feb 2007 22:21:56 +0000 (22:21 +0000)] 
Copy noncodeccapability over to the joint variable so that telephone-event will get transmitted in the sent INVITE.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53103 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't negotiate RFC2833 when not configured to do so. (issue #8799 reported by mdu113)
Joshua Colp [Thu, 1 Feb 2007 21:47:11 +0000 (21:47 +0000)] 
Don't negotiate RFC2833 when not configured to do so. (issue #8799 reported by mdu113)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53095 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years ago- Make sure we release call from call counter before we destroy call (maybe #7744...
Olle Johansson [Thu, 1 Feb 2007 21:12:52 +0000 (21:12 +0000)] 
- Make sure we release call from call counter before we destroy call (maybe #7744 and more)
- Backported by accident from 1.4

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53090 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoReturn previous behavior of having MOH pick up where it was left off. (issue #8672...
Joshua Colp [Thu, 1 Feb 2007 21:03:10 +0000 (21:03 +0000)] 
Return previous behavior of having MOH pick up where it was left off. (issue #8672 reported by sinistermidget)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53084 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoBug 8965 - Allow FIELDQTY to work with both variables and dialplan functions
Tilghman Lesher [Thu, 1 Feb 2007 20:07:35 +0000 (20:07 +0000)] 
Bug 8965 - Allow FIELDQTY to work with both variables and dialplan functions

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53074 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoNo wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was...
Tilghman Lesher [Thu, 1 Feb 2007 19:13:53 +0000 (19:13 +0000)] 
No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was wrong

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53069 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix a bunch of places where pthread_attr_init() was called, but
Russell Bryant [Wed, 31 Jan 2007 21:25:11 +0000 (21:25 +0000)] 
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53045 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoupdate to match modified transcoder API
Kevin P. Fleming [Wed, 31 Jan 2007 18:58:47 +0000 (18:58 +0000)] 
update to match modified transcoder API

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53044 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoUse the proper format string to print unsigned values in the rtp debug output.
Russell Bryant [Wed, 31 Jan 2007 17:41:51 +0000 (17:41 +0000)] 
Use the proper format string to print unsigned values in the rtp debug output.
(issue #8954, wmis)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53039 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoallow codec_zap to build again, now that transcoder support is in zaptel 1.2
Kevin P. Fleming [Wed, 31 Jan 2007 17:28:15 +0000 (17:28 +0000)] 
allow codec_zap to build again, now that transcoder support is in zaptel 1.2

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53034 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't print a message indicating that we don't know what to do with a proceeding
Russell Bryant [Tue, 30 Jan 2007 19:41:52 +0000 (19:41 +0000)] 
Don't print a message indicating that we don't know what to do with a proceeding
control frame in ast_request_and_dial().  We just need to ignore it.
(reported by JerJer on #asterisk-dev)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52954 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoThe SIGHUP handler was implemented to allow admins to send SIGHUP to a running
Russell Bryant [Tue, 30 Jan 2007 17:12:04 +0000 (17:12 +0000)] 
The SIGHUP handler was implemented to allow admins to send SIGHUP to a running
Asterisk process to reload the configuration.  However, doing the actual reload
in the signal handler itself is a very bad thing to do, because the reload
process includes calling non-reentrant functions such as malloc/calloc/etc.
If Asterisk is running in the background, then the reload will happen
immediately.  However, if running in console mode, the reload doesn't work
until something is typed at the console.  That sort of defeats the purpose,
but I don't see an easy way to get around it at this point.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52903 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoComment out the parts in the Makefile that make codec_zap get built. It will
Russell Bryant [Tue, 30 Jan 2007 15:35:23 +0000 (15:35 +0000)] 
Comment out the parts in the Makefile that make codec_zap get built.  It will
not yet build against zaptel 1.2, so I am disabling it to prevent further bug
reports until it gets merged.
(issue #8940)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52857 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agofixed some possible segfaults. also fixed an very important bug which occurs on high...
Christian Richter [Tue, 30 Jan 2007 14:38:08 +0000 (14:38 +0000)] 
fixed some possible segfaults. also fixed an very important bug which occurs on high load (when calls are very fast generated)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52843 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix the extraction of the timestamp from video frames. It was using the
Russell Bryant [Tue, 30 Jan 2007 00:15:06 +0000 (00:15 +0000)] 
Fix the extraction of the timestamp from video frames.  It was using the
mapping for a mini-frame instead of a video-frame, which caused it to
get invalid data.
(issue #8795, mihai)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52762 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoNow that filename is part of the structure and since it comes before postprocess...
Joshua Colp [Mon, 29 Jan 2007 23:39:39 +0000 (23:39 +0000)] 
Now that filename is part of the structure and since it comes before postprocess... we have to add it to our postprocess line. (reported on asterisk-dev by Boris Bakchiev)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52716 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoUse the correct zaptel header file location.
Jason Parker [Mon, 29 Jan 2007 16:48:26 +0000 (16:48 +0000)] 
Use the correct zaptel header file location.

Currently, this will not build - transcoder support will be added to zaptel later today.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52503 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMake COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. ...
Joshua Colp [Sat, 27 Jan 2007 02:09:10 +0000 (02:09 +0000)] 
Make COMPLETECALLER and COMPLETEAGENT output to queue_log follow documentation. (issue #7677 reported by amilcar)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52415 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMake the last context entry read in the dominant one. (issue #8918 reported by pj)
Joshua Colp [Sat, 27 Jan 2007 00:03:23 +0000 (00:03 +0000)] 
Make the last context entry read in the dominant one. (issue #8918 reported by pj)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52360 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAllow dequeueing of frames with negative timestamp by moving jitterbuffer frames...
Joshua Colp [Thu, 25 Jan 2007 19:15:29 +0000 (19:15 +0000)] 
Allow dequeueing of frames with negative timestamp by moving jitterbuffer frames check to jb_next. (issue #8546 reported by harmen)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52264 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoAdd another note about audio files being played back to each bridged party. (issue...
Joshua Colp [Thu, 25 Jan 2007 01:48:52 +0000 (01:48 +0000)] 
Add another note about audio files being played back to each bridged party. (issue #8718 reported by ppyy)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52162 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix a seg fault when running this application with no arguments from AGI.
Russell Bryant [Thu, 25 Jan 2007 00:39:50 +0000 (00:39 +0000)] 
Fix a seg fault when running this application with no arguments from AGI.
(issue #8905, junky)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52137 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoupdated check_expr via 8322 (refactoring of expression checking impl); elfring contri...
Steve Murphy [Wed, 24 Jan 2007 17:43:50 +0000 (17:43 +0000)] 
updated check_expr via 8322 (refactoring of expression checking impl); elfring contributed a nice code reorg, I contributed some time to get it working again, better messages

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@52002 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agofixed the busy problem (dialstatus was not busy when we called a busy extension)
Christian Richter [Wed, 24 Jan 2007 10:48:09 +0000 (10:48 +0000)] 
fixed the busy problem (dialstatus was not busy when we called a busy extension)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51966 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix an issue related to synchronization of recordings when using Monitor().
Russell Bryant [Wed, 24 Jan 2007 00:57:28 +0000 (00:57 +0000)] 
Fix an issue related to synchronization of recordings when using Monitor().
The bug is a miscalculation of the amount to seek the stream for writing to
disk when the number of samples coming in and out of a channel do not match up.
(issue #8298, #8887, report and patch by guillecabeza, patch files created and
 testing done by whoiswes)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51843 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDon't set a new value for the END_ variable on the channel before using the
Russell Bryant [Wed, 24 Jan 2007 00:17:50 +0000 (00:17 +0000)] 
Don't set a new value for the END_ variable on the channel before using the
old value.  If you do, it will lead to accessing a memory address that has
been free()'d.  (issue #8895, arkadia)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51828 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoYield before reading from zaptel timing source under Solaris so that other threads...
Joshua Colp [Tue, 23 Jan 2007 01:41:35 +0000 (01:41 +0000)] 
Yield before reading from zaptel timing source under Solaris so that other threads get a chance to do things. (issue #7875 reported by bob)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51512 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMerge codec_zap support for the transcoder card. This is a standalone codec
Russell Bryant [Mon, 22 Jan 2007 19:39:30 +0000 (19:39 +0000)] 
Merge codec_zap support for the transcoder card.  This is a standalone codec
module so it will not affect anything else.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51410 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMove filestream creation to Mixmonitor loop. This will prevent a blank file from...
Joshua Colp [Mon, 22 Jan 2007 19:08:52 +0000 (19:08 +0000)] 
Move filestream creation to Mixmonitor loop. This will prevent a blank file from being created if no frames ever pass through to be recorded. (issue #7589 reported by steve_mcneil)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51406 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoExplicitly declare what codecs are supported by default globally since using a bitmas...
Joshua Colp [Mon, 22 Jan 2007 16:23:03 +0000 (16:23 +0000)] 
Explicitly declare what codecs are supported by default globally since using a bitmask for all may include ones we don't need. (issue #8357 reported by gknispel_proformatique)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51359 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoFix a memory leak on command line tab completion. The container for the
Russell Bryant [Fri, 19 Jan 2007 16:44:09 +0000 (16:44 +0000)] 
Fix a memory leak on command line tab completion.  The container for the
matches was freed, but the individual matches themselves were not.
(issue #8851, arkadia)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51300 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoissue 7877: chan_zap module reload does not use default/initialized values on subsequ...
Dwayne M. Hubbard [Thu, 18 Jan 2007 23:47:10 +0000 (23:47 +0000)] 
issue 7877: chan_zap module reload does not use default/initialized values on subsequent loads.  Reset configuration variables to default values prior to parsing configuration file.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51271 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agosupport echo cancellers that can handle 64ms or 128ms of echo cancellation
Kevin P. Fleming [Thu, 18 Jan 2007 23:35:35 +0000 (23:35 +0000)] 
support echo cancellers that can handle 64ms or 128ms of echo cancellation

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51269 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoIf a timezone is not specified, assume localtime (instead of gmtime) (Issue #7748)
Tilghman Lesher [Thu, 18 Jan 2007 21:11:34 +0000 (21:11 +0000)] 
If a timezone is not specified, assume localtime (instead of gmtime) (Issue #7748)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51255 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoDocument all the fields, including the indication that "uniqueid" should not be renamed.
Tilghman Lesher [Thu, 18 Jan 2007 17:42:17 +0000 (17:42 +0000)] 
Document all the fields, including the indication that "uniqueid" should not be renamed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51235 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoMove the check for a failure of ast_channel_alloc() to before locking the
Russell Bryant [Wed, 17 Jan 2007 21:17:21 +0000 (21:17 +0000)] 
Move the check for a failure of ast_channel_alloc() to before locking the
pvt structure again.  Otherwise, on a failure, this will cause a deadlock.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51197 65c4cc65-6c06-0410-ace0-fbb531ad65f3

18 years agoWhen ast_strip_quoted was called with a zero-length string, it would treat a
Tilghman Lesher [Wed, 17 Jan 2007 20:52:21 +0000 (20:52 +0000)] 
When ast_strip_quoted was called with a zero-length string, it would treat a
NULL as if it were the quoting character (and would thus return the string
in memory immediately following the passed-in string).

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@51194 65c4cc65-6c06-0410-ace0-fbb531ad65f3