]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
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

18 years agoAdd documentation walkthrough on getting Postgres to work with voicemail (from Issue...
Tilghman Lesher [Tue, 16 Jan 2007 21:50:04 +0000 (21:50 +0000)] 
Add documentation walkthrough on getting Postgres to work with voicemail (from Issue 8513)

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

18 years agoPostgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)
Tilghman Lesher [Tue, 16 Jan 2007 21:26:06 +0000 (21:26 +0000)] 
Postgres driver doesn't like a NULL pointer when retrieving the length (Bug 8513)

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

18 years agoReturn previous behavior. ParkedCalls will be able to do DTMF based transfers again...
Joshua Colp [Tue, 16 Jan 2007 17:36:50 +0000 (17:36 +0000)] 
Return previous behavior. ParkedCalls will be able to do DTMF based transfers again. trunk however will get an option to allow this to be set on/off. (issue #8804 reported by nortex)

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

18 years agoAdd none as a valid callgroup/pickupgroup option. I consider it a bug that it would...
Joshua Colp [Tue, 16 Jan 2007 05:53:31 +0000 (05:53 +0000)] 
Add none as a valid callgroup/pickupgroup option. I consider it a bug that it would inherit it all the way down and not have any way to reset it to nothing - so that's why it is in 1.2. (issue #8296 reported by gkloepfer)

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

18 years agoCheck return value before dereferencing (Bug 8822)
Tilghman Lesher [Mon, 15 Jan 2007 23:09:02 +0000 (23:09 +0000)] 
Check return value before dereferencing (Bug 8822)

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

18 years agoSolves issue with forwarding voicemails from folders other than inbox.
Matt O'Gorman [Mon, 15 Jan 2007 20:44:53 +0000 (20:44 +0000)] 
Solves issue with forwarding voicemails from folders other than inbox.
patch by anthonyl.

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

18 years agoBug 8814 - db should look for its header using a relative path, instead of the system...
Tilghman Lesher [Sun, 14 Jan 2007 05:01:16 +0000 (05:01 +0000)] 
Bug 8814 - db should look for its header using a relative path, instead of the system path (Fixes FreeWRT)

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

18 years agominor documentation clarification
Kevin P. Fleming [Fri, 12 Jan 2007 14:34:15 +0000 (14:34 +0000)] 
minor documentation clarification

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

18 years agoIssue #8793 bad response for Unsupported Extension (different fix).
Olle Johansson [Thu, 11 Jan 2007 18:11:09 +0000 (18:11 +0000)] 
Issue #8793 bad response for Unsupported Extension (different fix).

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

18 years agowhen we get L2 UP, the L1 is UP definitely too, so we set the L1 state up as well.
Christian Richter [Thu, 11 Jan 2007 14:45:38 +0000 (14:45 +0000)] 
when we get L2 UP, the L1 is UP definitely too, so we set the L1 state up as well.

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

18 years ago* more additions to make the RESTART message work
Christian Richter [Thu, 11 Jan 2007 13:27:52 +0000 (13:27 +0000)] 
* more additions to make the RESTART message work
* added fix for misdn_call to allow SETUPs with empty
  extensions, replaced the strtok_r functions with strsep for that
  (inspired by Sandro Cappellazzo, thanks)

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

18 years agomore fixes regarding warnings for gcc-4 and first additions for the restart Informati...
Christian Richter [Wed, 10 Jan 2007 09:51:00 +0000 (09:51 +0000)] 
more fixes regarding warnings for gcc-4 and first additions for the restart Information element, in the first step we initiate a restart with a CLI command

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

18 years agoAdd another return value to dial_exec_full that indicates execution is going to conti...
Joshua Colp [Wed, 10 Jan 2007 04:51:06 +0000 (04:51 +0000)] 
Add another return value to dial_exec_full that indicates execution is going to continuing at a new extension/context/priority and to just let it slide. (issue #8598 reported by jon)

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

18 years agoMake the number that represents the major version number a single digit instead
Russell Bryant [Wed, 10 Jan 2007 02:16:45 +0000 (02:16 +0000)] 
Make the number that represents the major version number a single digit instead
of 2.  Using two digits makes it an octal number when put into version.h, which
breaks the compilation of any out of tree module that checks the version for
any version after 1.2.7 (reported by Matteo Brancaleoni on the asterisk-dev
mailing list, who gave credit to vihai for pointing it out)

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

18 years agoThe advent of realtime has enabled people to use commas in the fullname field.
Tilghman Lesher [Tue, 9 Jan 2007 13:30:04 +0000 (13:30 +0000)] 
The advent of realtime has enabled people to use commas in the fullname field.
This could cause an issue with sending voicemails, when the field is unquoted.
(Issue 8595)

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

18 years agomake gcc 4 happy, remove some warnings
Christian Richter [Mon, 8 Jan 2007 08:37:08 +0000 (08:37 +0000)] 
make gcc 4 happy, remove some warnings

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

18 years agoEnsure we use the default refresh value of 60 if the remote server does not send...
Joshua Colp [Mon, 8 Jan 2007 05:10:07 +0000 (05:10 +0000)] 
Ensure we use the default refresh value of 60 if the remote server does not send one. (issue #8746 reported by maethor)

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

18 years agoIf openstream fails, then we crash (Issue 8564)
Tilghman Lesher [Sun, 7 Jan 2007 21:43:10 +0000 (21:43 +0000)] 
If openstream fails, then we crash (Issue 8564)

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

18 years agoensure that threads which are supposed to be detached (because we aren't going to...
Kevin P. Fleming [Fri, 5 Jan 2007 16:56:40 +0000 (16:56 +0000)] 
ensure that threads which are supposed to be detached (because we aren't going to wait on them) are created properly

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

18 years agoconverted a lot of 256 to PATH_MAX and some white space fixes.
Matt O'Gorman [Thu, 4 Jan 2007 17:45:16 +0000 (17:45 +0000)] 
converted a lot of 256 to PATH_MAX and some white space fixes.

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

18 years agogood catch russell sorry i missed that.
Matt O'Gorman [Thu, 4 Jan 2007 16:48:43 +0000 (16:48 +0000)] 
good catch russell sorry i missed that.
fix magic number with proper sizeof

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

18 years agoWhen using ODBC_STORAGE VoicemailMain doesn't create the
Matt O'Gorman [Wed, 3 Jan 2007 23:22:47 +0000 (23:22 +0000)] 
When using ODBC_STORAGE VoicemailMain doesn't create the
subdirectories for a mailbox such as the INBOX directory.

this patch solves that problem, was written by anthony
be-125

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

18 years ago* Added check for bridging in misdn_call to avoid setting echocancellation
Christian Richter [Wed, 3 Jan 2007 08:24:00 +0000 (08:24 +0000)] 
* Added check for bridging in misdn_call to avoid setting echocancellation
  when 2 mISDN channels are involved and when bridging is set. That lead
  to a kernel panic before under different situations, because we switched
  about 2 times between hardware bridging and echocancelation
* readded MISDN_URATE variable which got lost before, this should make app_v110
  work again
* fixed typo

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

18 years agoadded check for channel ranges in the set/empty channel functions. set pmp_l1_check...
Christian Richter [Tue, 2 Jan 2007 10:07:22 +0000 (10:07 +0000)] 
added check for channel ranges in the set/empty channel functions. set pmp_l1_check default to no. added misdn restart pid cli command. added cleaning of channel when we send a RELEASE_COMPLETE.

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

18 years agolocation of the bug posting guidelines has changed
Kevin P. Fleming [Fri, 29 Dec 2006 00:32:32 +0000 (00:32 +0000)] 
location of the bug posting guidelines has changed

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

18 years agoIssue 8596: Set CAN_BYE flag for 100 trying too
Olle Johansson [Wed, 27 Dec 2006 15:43:52 +0000 (15:43 +0000)] 
Issue 8596: Set CAN_BYE flag for 100 trying too

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

18 years agoFix an error introduced by copying and pasting the handling of the >= operator
Russell Bryant [Mon, 25 Dec 2006 05:19:48 +0000 (05:19 +0000)] 
Fix an error introduced by copying and pasting the handling of the >= operator
for the MATH function.  If a single equal sign was used as an operator, the
function would treat it is as if it were the >= operator.  Now, it properly
handles it as an invalid operator.
(issue #8665, patch by tempest1)

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

18 years agoCheck for the proper return value on an error in a call to mmap().
Russell Bryant [Sun, 24 Dec 2006 07:23:07 +0000 (07:23 +0000)] 
Check for the proper return value on an error in a call to mmap().
This was reported by Andy Wang on the asterisk-dev list.  Thanks!

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

18 years agoRemove a couple of misplaced dots in log messages. This was reported by
Russell Bryant [Sun, 24 Dec 2006 06:47:29 +0000 (06:47 +0000)] 
Remove a couple of misplaced dots in log messages.  This was reported by
Andrea Spadaccini on the asterisk-dev mailing list.

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

18 years agoAdd new silence sound files to the spec for Redhat. (issue #8652 reported by alvaro_p...
Joshua Colp [Thu, 21 Dec 2006 20:25:01 +0000 (20:25 +0000)] 
Add new silence sound files to the spec for Redhat. (issue #8652 reported by alvaro_palma_aste)

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

18 years agoFree localuser structure when we fail to dial (issue #8612 reported by rizzo)
Joshua Colp [Tue, 19 Dec 2006 21:10:26 +0000 (21:10 +0000)] 
Free localuser structure when we fail to dial (issue #8612 reported by rizzo)

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

18 years agowhen we reject a channel, because it's in use already, we shouldn't process the setup...
Christian Richter [Tue, 19 Dec 2006 13:08:51 +0000 (13:08 +0000)] 
when we reject a channel, because it's in use already, we shouldn't process the setup anymore. made the channel allocation a bit easier and more understandable, removed a few unused lines

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

18 years agowhen our PTP Partner sends us a SETUP with a preselected channel we just accept it...
Christian Richter [Mon, 18 Dec 2006 10:19:39 +0000 (10:19 +0000)] 
when our PTP Partner sends us a SETUP with a preselected channel we just accept it, even when we're NT. added some checks for segfaults.

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

18 years agoIssue #8592 - handle 504 as 503 - congestion
Olle Johansson [Fri, 15 Dec 2006 10:51:53 +0000 (10:51 +0000)] 
Issue #8592 - handle 504 as 503 - congestion

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

18 years agoremoved FIXUP state. added check for channel allocation conflict when we create a...
Christian Richter [Thu, 14 Dec 2006 13:03:49 +0000 (13:03 +0000)] 
removed FIXUP state. added check for channel allocation conflict when we create a setup while the other site creates a setup on the same channel, besides the check we resolve this conflict.

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

18 years agoThis small patch fixes bug 8541, where the L option to the Dial app wasn't working...
Steve Murphy [Wed, 13 Dec 2006 04:23:17 +0000 (04:23 +0000)] 
This small patch fixes bug 8541, where the L option to the Dial app wasn't working right. A similar bug (8386) was filed and fixed earlier, but an intervening bug fix to a DTMF problem broke the L() code in a different way. Hopefully, everything is happy now.

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

18 years agoadd silence files
Kevin P. Fleming [Tue, 12 Dec 2006 05:11:13 +0000 (05:11 +0000)] 
add silence files

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

18 years agothe english language can be a tricky beast
Matt O'Gorman [Mon, 11 Dec 2006 23:00:04 +0000 (23:00 +0000)] 
the english language can be a tricky beast

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

18 years agoapp_externalivr needs a real silence file, and additional
Matt O'Gorman [Mon, 11 Dec 2006 21:55:43 +0000 (21:55 +0000)] 
app_externalivr needs a real silence file, and additional
changes to add silence files into core instead of extra
patch provided by bug 8177 with minor additions.

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

18 years agoWhen doing a fork() and exec(), two problems existed (Issue 8086):
Tilghman Lesher [Mon, 11 Dec 2006 00:33:59 +0000 (00:33 +0000)] 
When doing a fork() and exec(), two problems existed (Issue 8086):
1) Ignored signals stayed ignored after the exec().
2) Signals could possibly fire between the fork() and exec(), causing Asterisk
signal handlers within the child to execute, which caused nasty race conditions.

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

18 years agoThis version applies the patch suggested by stevens in bug 7836 (make inbound channel...
Steve Murphy [Sun, 10 Dec 2006 02:14:13 +0000 (02:14 +0000)] 
This version applies the patch suggested by stevens in bug 7836 (make inbound channel RINGING state consistent with other channels).

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

18 years agoUse locking when accessing the registrations list. This list is not actually
Russell Bryant [Sat, 9 Dec 2006 15:45:37 +0000 (15:45 +0000)] 
Use locking when accessing the registrations list.  This list is not actually
used very often, so the likelihood of there being a problem is pretty small,
but still possible.  For example, if the CLI command to list the registrations
was called at the same time that a reload was occurring and the registrations
list was getting destroyed and rebuilt, a crash could occur.

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

18 years agoEnsure that the file position is not incremented beyond the total number of
Russell Bryant [Thu, 7 Dec 2006 18:14:13 +0000 (18:14 +0000)] 
Ensure that the file position is not incremented beyond the total number of
files available for playback.  (issue #8539, ulogic)

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

18 years agoFix the name of the rtignoreregexpire option in the sample configuration file.
Russell Bryant [Wed, 6 Dec 2006 16:05:54 +0000 (16:05 +0000)] 
Fix the name of the rtignoreregexpire option in the sample configuration file.
(issue #8526, arkadia)

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

18 years agoadded the export and import of the MISDN_ADDRESS_COMPLETE Variable to inidcate wether...
Christian Richter [Wed, 6 Dec 2006 15:48:45 +0000 (15:48 +0000)] 
added the export and import of the MISDN_ADDRESS_COMPLETE Variable to inidcate wether the extension is already completely dialed or if there might come additional digits by information elements. also added some docs for that.

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

18 years agoIssue #8528 - make sure we don't delete the dialog too quickly after receiving
Olle Johansson [Wed, 6 Dec 2006 15:42:41 +0000 (15:42 +0000)] 
Issue #8528 - make sure we don't delete the dialog too quickly after receiving
a 487. Move 487 handling into handle_response_invite where it really
belongs and don't add an ALREADYGONE flag to the dialog.

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

18 years agochanged a few debugs to higher debug levels
Christian Richter [Wed, 6 Dec 2006 14:35:25 +0000 (14:35 +0000)] 
changed a few debugs to higher debug levels

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

18 years agoDon't add Contact header on BYE, CANCEL, MESSAGE requests
Olle Johansson [Wed, 6 Dec 2006 12:14:40 +0000 (12:14 +0000)] 
Don't add Contact header on BYE, CANCEL, MESSAGE requests
(Bye, Cancel backported from 1.4, MESSAGE bug reported to me by Gunnar at Omnitor)

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

18 years agoOnly set the ALREADYGONE flag once in handle_response()
Olle Johansson [Tue, 5 Dec 2006 17:59:15 +0000 (17:59 +0000)] 
Only set the ALREADYGONE flag once in handle_response()

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

18 years agoIf the recording in the database is too large, it will fail to retrieve with
Tilghman Lesher [Tue, 5 Dec 2006 01:26:08 +0000 (01:26 +0000)] 
If the recording in the database is too large, it will fail to retrieve with
an mmap error.  Not too sure why this doesn't happen when we put it in the
database, also, but since that doesn't seem to be broken, I'm not going to fix
it (at least until someone reports it).  Solution is to ask for the file in
smaller chunks.  (Bug 8385)

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

18 years agoRevert change from 8016 - this breaks other stuff... Needs further review.
Jason Parker [Mon, 4 Dec 2006 21:20:34 +0000 (21:20 +0000)] 
Revert change from 8016 - this breaks other stuff...  Needs further review.

Tip: When you've reported a bug about something and somebody has put up a
patch for it..  It's not a good idea to open a completely new bug and say that
something is broken because of the patch in the other bug - PLEASE mention
something in the bug where the patch was actually created.

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

18 years agoFix an issue where a message isn't saved correctly when using ODBC storage and review...
Jason Parker [Mon, 4 Dec 2006 19:06:26 +0000 (19:06 +0000)] 
Fix an issue where a message isn't saved correctly when using ODBC storage and reviewing a message.

Issue 8016 - patch by sokhapkin.

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

18 years agoIf the generic bridge tells us not to retry, and we have a frame to spit out then...
Joshua Colp [Mon, 4 Dec 2006 18:14:46 +0000 (18:14 +0000)] 
If the generic bridge tells us not to retry, and we have a frame to spit out then break the bridge. Props to markit in #asterisk-bugs for bringing this up.

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

18 years agoif Dial() is going to send music-on-hold to the calling party, it has to send PROGRES...
Kevin P. Fleming [Fri, 1 Dec 2006 23:30:59 +0000 (23:30 +0000)] 
if Dial() is going to send music-on-hold to the calling party, it has to send PROGRESS first to ensure that the reverse audio path has been setup first (BE-106)

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

18 years agoFix a small typo - issue 8848, reported by pabelanger
Jason Parker [Fri, 1 Dec 2006 20:19:10 +0000 (20:19 +0000)] 
Fix a small typo - issue 8848, reported by pabelanger

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

18 years agoIssue 8319 - noriyuki - nonce-count updated *after* use
Olle Johansson [Thu, 30 Nov 2006 20:47:53 +0000 (20:47 +0000)] 
Issue 8319 - noriyuki - nonce-count updated *after* use

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

18 years agoDon't write AST_FRAME_NULL or AST_FRAME_IAX frames out to the channel driver. (issue...
Joshua Colp [Thu, 30 Nov 2006 20:27:29 +0000 (20:27 +0000)] 
Don't write AST_FRAME_NULL or AST_FRAME_IAX frames out to the channel driver. (issue #8390 reported by hselasky)

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

18 years agoOnly print out debug message if bridged channel is not NULL. (issue #8412 reported...
Joshua Colp [Thu, 30 Nov 2006 20:06:43 +0000 (20:06 +0000)] 
Only print out debug message if bridged channel is not NULL. (issue #8412 reported by jubilex)

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

18 years agoDo not listen for DTMF on the bridge that comes into existence when ParkedCall is...
Joshua Colp [Thu, 30 Nov 2006 19:04:11 +0000 (19:04 +0000)] 
Do not listen for DTMF on the bridge that comes into existence when ParkedCall is executed. This means native bridging can now occur for this. (issue #8406 reported by kebl0155)

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

18 years agoPrint certain CDR messages out at the NOTICE level versus WARNING since they can...
Joshua Colp [Thu, 30 Nov 2006 18:42:45 +0000 (18:42 +0000)] 
Print certain CDR messages out at the NOTICE level versus WARNING since they can occur when used with the CDR applications and are perfectly fine. (issue #8367 reported by dartvader)

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

18 years agoRemember the pointer to the allocated block of memory so that we can free it and...
Joshua Colp [Thu, 30 Nov 2006 18:17:54 +0000 (18:17 +0000)] 
Remember the pointer to the allocated block of memory so that we can free it and not cause a memory leak. (issue #8449 reported by arkadia)

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

18 years agoDocument 'port' for SIP peers, came up because of the current mailing list thread...
Joshua Colp [Thu, 30 Nov 2006 17:55:23 +0000 (17:55 +0000)] 
Document 'port' for SIP peers, came up because of the current mailing list thread. (issue #8450 reported by blitzrage)

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

18 years agoDo proper test and don't leave dialogs hanging...
Olle Johansson [Thu, 30 Nov 2006 09:05:07 +0000 (09:05 +0000)] 
Do proper test and don't leave dialogs hanging...

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

18 years agoIf the frame was duplicated before writing out then we need to free it. (issue #8429...
Joshua Colp [Wed, 29 Nov 2006 16:47:10 +0000 (16:47 +0000)] 
If the frame was duplicated before writing out then we need to free it. (issue #8429 reported by edguy3)

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

18 years agoAccording to the research I have done we never needed to include compiler.h in the...
Joshua Colp [Tue, 28 Nov 2006 16:56:01 +0000 (16:56 +0000)] 
According to the research I have done we never needed to include compiler.h in the first place so let's not! (issue #8430 reported by edguy3)

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

18 years agoUse the proper function to get the new message count instead of always using the...
Joshua Colp [Mon, 27 Nov 2006 18:03:57 +0000 (18:03 +0000)] 
Use the proper function to get the new message count instead of always using the filesystem. (issue #8421 reported by slimey)

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

18 years agoRandom MOH wasn't really random (bug 8381)
Tilghman Lesher [Mon, 27 Nov 2006 17:15:54 +0000 (17:15 +0000)] 
Random MOH wasn't really random (bug 8381)

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

18 years agoDo not reference the freed outgoing structure in the debug message. (issue #8425...
Joshua Colp [Mon, 27 Nov 2006 15:30:37 +0000 (15:30 +0000)] 
Do not reference the freed outgoing structure in the debug message. (issue #8425 reported by arkadia)

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

18 years agoChange some logging levels. Not having hints is not an ERROR, but still should be...
Olle Johansson [Fri, 24 Nov 2006 14:33:27 +0000 (14:33 +0000)] 
Change some logging levels. Not having hints is not an ERROR, but still should be reported.

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

18 years agofixed a litle bug regarding HOLD/RETRIEVE. beatufied some logs, changed some loglevel...
Christian Richter [Thu, 23 Nov 2006 16:10:23 +0000 (16:10 +0000)] 
fixed a litle bug regarding HOLD/RETRIEVE. beatufied some logs, changed some loglevels. changed the default value of block_on_alarm

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

18 years agoRemove unused variable (rizzo)
Olle Johansson [Thu, 23 Nov 2006 10:54:40 +0000 (10:54 +0000)] 
Remove unused variable (rizzo)

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

18 years agoThis is the fix for bug 8386, wherein the time-limit args to dial didn't work correctly
Steve Murphy [Wed, 22 Nov 2006 02:19:09 +0000 (02:19 +0000)] 
This is the fix for bug 8386, wherein the time-limit args to dial didn't work correctly

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

18 years agoFailing to trap -1 error from mmap causes segfault (Issue 8385)
Tilghman Lesher [Mon, 20 Nov 2006 19:59:07 +0000 (19:59 +0000)] 
Failing to trap -1 error from mmap causes segfault (Issue 8385)

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

18 years agoDon't forget to byte swap if we are exiting the smoother feed early. (issue #8287...
Joshua Colp [Mon, 20 Nov 2006 19:50:21 +0000 (19:50 +0000)] 
Don't forget to byte swap if we are exiting the smoother feed early. (issue #8287 reported by arturs)

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

18 years agoFree history items at the end of use of the temporary SIP pvt structure. (issue ...
Joshua Colp [Mon, 20 Nov 2006 16:16:22 +0000 (16:16 +0000)] 
Free history items at the end of use of the temporary SIP pvt structure. (issue #8383 reported by benh)

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

18 years agoJust to be safe, disable all the scheduled items after deleting a scheduler entry...
Olle Johansson [Mon, 20 Nov 2006 10:17:36 +0000 (10:17 +0000)] 
Just to be safe, disable all the scheduled items after deleting a scheduler entry (rizzo)

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

18 years agobackport proper channel_find_locked behavior from 1.4 branch (noted by Steve Davies...
Kevin P. Fleming [Fri, 17 Nov 2006 19:02:09 +0000 (19:02 +0000)] 
backport proper channel_find_locked behavior from 1.4 branch (noted by Steve Davies on asterisk-dev list)

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

18 years agoFix a couple of typos in applications.. Initially spotted by mrobinson.
Jason Parker [Thu, 16 Nov 2006 23:16:35 +0000 (23:16 +0000)] 
Fix a couple of typos in applications..  Initially spotted by mrobinson.

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