Commit Graph

14861 Commits

Author SHA1 Message Date
Kevin P. Fleming
b2fabfdb4c Merged revisions 107373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r107373 | kpfleming | 2008-03-11 06:36:51 -0500 (Tue, 11 Mar 2008) | 19 lines

Merged revisions 107352 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107352 | kpfleming | 2008-03-11 06:04:29 -0500 (Tue, 11 Mar 2008) | 11 lines

fix up various compiler warnings found with gcc-4.3:

- the output of flex includes a static function called 'input' that is not used, so for the moment we'll stop having the compiler tell us about unused variables in the flex source files (a better fix would be to improve our flex post-processing to remove the unused function)

- main/stdtime/localtime.c makes assumptions about signed integer overflow, and gcc-4.3's improved optimizer tries to take advantage of handling potential overflow conditions at compile time; for now, suppress these optimizations until we can fiure out if the code needs improvement

- main/udptl.c has some references to uninitialized variables; in one case there was no bug, but in the other it was certainly possibly for unexpected behavior to occur

- main/editline/readline.c had an unused variable


........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107374 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-11 11:39:32 +00:00
Terry Wilson
c9411643ea Merged revisions 107292 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r107292 | twilson | 2008-03-10 20:09:46 -0500 (Mon, 10 Mar 2008) | 10 lines

Merged revisions 107290 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107290 | twilson | 2008-03-10 19:59:18 -0500 (Mon, 10 Mar 2008) | 2 lines

If we fail to alloc a channel, we should re-lock the pvt structure before returning.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-11 01:27:23 +00:00
Steve Murphy
e261ad9b4c Merged revisions 107019 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r107019 | murf | 2008-03-10 08:55:21 -0600 (Mon, 10 Mar 2008) | 1 line

way back in July, in r.75706, a fix was made ot the strftime usages, which was good, but in this case, the check for a nil time was accidentally removed, and now it is restored, to keep timevals like '1969-12-31 17:00:00' from showing up in the cdrs. No idea what databases will do with this. No bugs filed as yet, but it felt like a bug.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-10 23:46:02 +00:00
Tilghman Lesher
109b374629 Blocked revisions 107231 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r107231 | tilghman | 2008-03-10 16:48:20 -0500 (Mon, 10 Mar 2008) | 6 lines

(closes issue #6019)
 Reported by: ssokol
 Patches: 
       20080304__bug6019.diff.txt uploaded by Corydon76 (license 14)
 Tested by: putnopvut

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107232 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-10 22:02:33 +00:00
Jason Parker
3d33906019 Merged revisions 107177 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r107177 | qwell | 2008-03-10 15:28:33 -0500 (Mon, 10 Mar 2008) | 13 lines

Merged revisions 107173 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107173 | qwell | 2008-03-10 15:27:08 -0500 (Mon, 10 Mar 2008) | 5 lines

Make sure to reenable echo can after a "failed" (canceled, etc) three-way call.

(closes issue #11335)
Reported by: rebuild

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-10 20:29:21 +00:00
Russell Bryant
95289aa843 Merged revisions 107162 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r107162 | russell | 2008-03-10 15:17:37 -0500 (Mon, 10 Mar 2008) | 16 lines

Merged revisions 107161 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107161 | russell | 2008-03-10 15:17:11 -0500 (Mon, 10 Mar 2008) | 8 lines

Fix another bug specifically related to asynchronous call origination.  Once the
PBX is started on the channel using ast_pbx_start(), then the ownership of the
channel has been passed on to another thread.  We can no longer access it in this
code.  If the channel gets hung up very quickly, it is possible that we could
access a channel that has been free'd.

(inspired by BE-386)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-10 20:18:13 +00:00
Russell Bryant
bf658f9798 Merged revisions 107159 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r107159 | russell | 2008-03-10 15:05:12 -0500 (Mon, 10 Mar 2008) | 17 lines

Merged revisions 107158 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107158 | russell | 2008-03-10 15:04:27 -0500 (Mon, 10 Mar 2008) | 9 lines

Fix some bugs related to originating calls.  If the code failed to start a PBX
on the channel (such as if you set a call limit based on the system's load
average), then there were cases where a channel that has already been free'd
using ast_hangup() got accessed.  This caused weird memory corruption and
crashes to occur.

(fixes issue BE-386)
(much debugging credit goes to twilson, final patch written by me)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107160 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-10 20:05:37 +00:00
Russell Bryant
9d24a5691f Merged revisions 107103 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r107103 | russell | 2008-03-10 12:13:34 -0500 (Mon, 10 Mar 2008) | 10 lines

Merged revisions 107102 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107102 | russell | 2008-03-10 12:13:17 -0500 (Mon, 10 Mar 2008) | 2 lines

Resolve a compiler warning.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-10 17:13:54 +00:00
Russell Bryant
8d28aa58f6 Merged revisions 107100 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r107100 | russell | 2008-03-10 11:59:13 -0500 (Mon, 10 Mar 2008) | 11 lines

Merged revisions 107099 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107099 | russell | 2008-03-10 11:58:57 -0500 (Mon, 10 Mar 2008) | 3 lines

Fix a race condition where the generator can go away
(closes issue #12175, reported by edantie, patched by me)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107101 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-10 16:59:33 +00:00
Mark Michelson
1036d0869d Merged revisions 107068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r107068 | mmichelson | 2008-03-10 10:45:13 -0500 (Mon, 10 Mar 2008) | 10 lines

app_queue has now been doxygenified thanks to snuffy! The ony thing I changed
was the way that locks are referenced, since the old 1.2 names were still used
in the comments.

(closes issue #11997)
Reported by: snuffy
Patches:
      bug_11997_queue_doxy.diff uploaded by snuffy (license 35)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-10 15:46:39 +00:00
Joshua Colp
1b56c4ce2d Merged revisions 107017 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r107017 | file | 2008-03-10 11:36:16 -0300 (Mon, 10 Mar 2008) | 15 lines

Merged revisions 107016 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r107016 | file | 2008-03-10 11:33:02 -0300 (Mon, 10 Mar 2008) | 7 lines

Move where unanswered CDRs are dropped to the CDR core, not everything uses app_dial.
(closes issue #11516)
Reported by: ys
Patches:
      branch_1.4_cdr.diff uploaded by ys (license 281)
Tested by: anest, jcapp, dartvader

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@107018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-10 14:38:01 +00:00
Matthew Fredrickson
3be8b59e7c Make sure we don't start a call on a channel that has already started a call
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106997 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-08 17:54:59 +00:00
Kevin P. Fleming
0eea9ee544 Merged revisions 106946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106946 | kpfleming | 2008-03-08 10:03:48 -0600 (Sat, 08 Mar 2008) | 10 lines

Merged revisions 106945 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106945 | kpfleming | 2008-03-08 09:59:42 -0600 (Sat, 08 Mar 2008) | 2 lines

don't generate D-Channel "up" and "down" messages unless the channel state is actually changing; also, generate the "up" message when an implicit "up" occurs due to reception of a normal event when we thought the channel was "down"

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-08 16:14:57 +00:00
Russell Bryant
265c460d19 Merged revisions 106896 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106896 | russell | 2008-03-07 16:52:46 -0600 (Fri, 07 Mar 2008) | 10 lines

Merged revisions 106895 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106895 | russell | 2008-03-07 16:51:23 -0600 (Fri, 07 Mar 2008) | 2 lines

Only start the SLA thread if SLA has actually been configured.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 22:53:06 +00:00
Joshua Colp
254ea518ef Merged revisions 106789 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106789 | file | 2008-03-07 15:33:09 -0400 (Fri, 07 Mar 2008) | 12 lines

Merged revisions 106788 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106788 | file | 2008-03-07 15:32:00 -0400 (Fri, 07 Mar 2008) | 4 lines

Ignore source update control frame.
(closes issue #12168)
Reported by: plack

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106790 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 19:34:45 +00:00
Russell Bryant
b48e9a1f08 Merged revisions 106707 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106707 | russell | 2008-03-07 11:17:30 -0600 (Fri, 07 Mar 2008) | 16 lines

Merged revisions 106704 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106704 | russell | 2008-03-07 11:16:58 -0600 (Fri, 07 Mar 2008) | 8 lines

Change a warning message to a debug message.  This is happening quite frequently,
and it is not worth spamming users with these messages unless we are pretty confident
that it should never happen.  As it stands today, it _will_ and _does_ happen and
until that gets cleaned up a reasonable amount on the development side, let's not
spam the logs of everyone else.

(closes issue #12154)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 17:18:31 +00:00
Russell Bryant
9a6ac737ae Merged revisions 106684 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r106684 | russell | 2008-03-07 10:31:48 -0600 (Fri, 07 Mar 2008) | 2 lines

fix example usage

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 16:32:13 +00:00
Tilghman Lesher
061a42ab6f Merged revisions 106654 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106654 | tilghman | 2008-03-07 10:26:07 -0600 (Fri, 07 Mar 2008) | 11 lines

Merged revisions 106635 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106635 | tilghman | 2008-03-07 10:22:11 -0600 (Fri, 07 Mar 2008) | 3 lines

Warn the user when a temporary greeting exists
(Closes issue #11409)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 16:27:22 +00:00
Tilghman Lesher
d334a88e36 Merged revisions 106607 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106607 | tilghman | 2008-03-07 09:22:34 -0600 (Fri, 07 Mar 2008) | 11 lines

Merged revisions 106606 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106606 | tilghman | 2008-03-07 09:20:52 -0600 (Fri, 07 Mar 2008) | 3 lines

Properly initialize rtp->schedid
(Closes issue #12154)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106608 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 15:24:00 +00:00
Tilghman Lesher
fd382738e3 Merged revisions 106553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106553 | tilghman | 2008-03-07 00:54:47 -0600 (Fri, 07 Mar 2008) | 14 lines

Merged revisions 106552 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106552 | tilghman | 2008-03-07 00:36:33 -0600 (Fri, 07 Mar 2008) | 6 lines

Safely use the strncat() function.
(closes issue #11958)
 Reported by: norman
 Patches: 
       20080209__bug11958.diff.txt uploaded by Corydon76 (license 14)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 06:57:44 +00:00
Russell Bryant
591f6c5012 Merged revisions 106518 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r106518 | russell | 2008-03-06 19:19:02 -0600 (Thu, 06 Mar 2008) | 1 line

minor text changes
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106520 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 01:19:22 +00:00
Russell Bryant
ef1ad01921 Merged revisions 106507 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r106507 | russell | 2008-03-06 19:15:36 -0600 (Thu, 06 Mar 2008) | 2 lines

Add updated SMDI documentation that I had only sitting in my email ... oops

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 01:15:50 +00:00
Russell Bryant
ccf90e8186 Merged revisions 106501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r106501 | russell | 2008-03-06 18:24:58 -0600 (Thu, 06 Mar 2008) | 28 lines

Merge changes from team/russell/g722-sillyness ...

Fix a number of other places where the number of samples in a G722 frame was
not properly handled because of various reasons.

main/rtp.c:
 - When a G722 frame is read from the smoother, the number of samples in the
   frame must be divided by 2 before being sent out over the network.  Even
   though G722 is 16 kHz, an error in some previous spec has made it so that
   we have to list the number of samples such as if it was 8 kHz.

main/file.c:
 - When scheduling the next time to expect a frame, take into account that the
   format of the file we're reading from may not be 8 kHz.

codecs/codec_g722.c:
 - When converting from G722 to slinear, g722_decode() expects its samples
   parameter to be in the silly (real samples / 2) format.  Make it so.
 - When converting from slinear to G722, properly set the number of samples in
   the frame to be the number of bytes of output * 2.

formats/format_pcm.c:
 - This format module handles G722, among a number of other formats.  However,
   the read() and seek() functions did not account for the fact that G722 has
   2 samples per byte.

(closes issue #12130, reported by rickross, patched by me)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106502 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-07 00:25:48 +00:00
Mark Michelson
29e469fabc Merged revisions 106438 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106438 | mmichelson | 2008-03-06 16:11:26 -0600 (Thu, 06 Mar 2008) | 16 lines

Merged revisions 106437 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106437 | mmichelson | 2008-03-06 16:10:07 -0600 (Thu, 06 Mar 2008) | 8 lines

Quell an annoying message that is likely to print every single time that 
ast_pbx_outgoing_app is called. The reason is that __ast_request_and_dial
allocates the cdr for the channel, so it should be expected that the channel
will have a cdr on it.

Thanks to joetester on IRC for pointing this out


........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 22:16:55 +00:00
Jason Parker
3b548ed386 Merged revisions 106439 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r106439 | qwell | 2008-03-06 16:11:30 -0600 (Thu, 06 Mar 2008) | 8 lines

Fix file playback in many cases.

(closes issue #12115)
Reported by: pj
Patches:
      v2-fileexists.patch uploaded by dimas (license 88) (with modifications by me)
Tested by: dimas, qwell, russell

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 22:15:03 +00:00
Donny Kavanagh
69b6111450 Merged revisions 106399 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r106399 | juggie | 2008-03-06 14:31:50 -0500 (Thu, 06 Mar 2008) | 9 lines

trivial fix for an agi error when attempting to use EAGI on a dead/hungup channel, we now print an error that makes sense 
given our removal of deadagi as an actual application.

(closes issue #12161)
Reported by: explidous
Patches:
      res_agi_12161.patch uploaded by juggie (license 24)
Tested by: juggie

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 20:39:49 +00:00
Tilghman Lesher
8abd853f7f Merged revisions 106346 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r106346 | tilghman | 2008-03-05 23:21:39 -0600 (Wed, 05 Mar 2008) | 7 lines

Missing braces, fix parsing
(closes issue #12112)
 Reported by: cyrenity
 Patches: 
       res_config_ldap.patch-03-03-2008 uploaded by cyrenity (license 416)
 Tested by: cyrenity, Corydon76

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106359 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 05:25:05 +00:00
Tilghman Lesher
dff3671f09 Merged revisions 106329 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106329 | tilghman | 2008-03-05 22:45:16 -0600 (Wed, 05 Mar 2008) | 10 lines

Merged revisions 106328 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106328 | tilghman | 2008-03-05 22:40:06 -0600 (Wed, 05 Mar 2008) | 2 lines

Upgrade to the next release of sounds

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 04:46:17 +00:00
Russell Bryant
3969f432af Blocked revisions 106250 via svnmerge
........
r106250 | qwell | 2008-03-05 17:21:52 -0600 (Wed, 05 Mar 2008) | 1 line

Add a cmenuselect/cmenuconfig, to force curses.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106320 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:23:05 +00:00
Russell Bryant
b4088e0fef Blocked revisions 106240 via svnmerge
........
r106240 | russell | 2008-03-05 16:50:00 -0600 (Wed, 05 Mar 2008) | 5 lines

Add the nmenuselect makefile targets.  This is a newt menuselect interface which
is much sexier than the curses one that was written by seanbright.  :)

(issue #12139)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106319 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:22:44 +00:00
Russell Bryant
90046983f7 Merged revisions 106239 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106239 | file | 2008-03-05 16:43:22 -0600 (Wed, 05 Mar 2008) | 12 lines

Merged revisions 106235 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106235 | file | 2008-03-05 18:32:10 -0400 (Wed, 05 Mar 2008) | 4 lines

Add a control frame to indicate the source of media has changed. Depending on the underlying technology it may need to change some things.
(closes issue #12148)
Reported by: jcomellas

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:22:20 +00:00
Russell Bryant
16456f61f6 Merged revisions 106238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r106238 | russell | 2008-03-05 16:40:58 -0600 (Wed, 05 Mar 2008) | 11 lines

Merged revisions 106237 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r106237 | russell | 2008-03-05 16:37:09 -0600 (Wed, 05 Mar 2008) | 3 lines

Fix a potential deadlock and a few different potential crashes.
(closes issue #12145, reported by thiagarcia, patched by me)

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:21:24 +00:00
Russell Bryant
3f996ba1b3 Blocked revisions 106236 via svnmerge
........
r106236 | mmichelson | 2008-03-05 16:33:05 -0600 (Wed, 05 Mar 2008) | 11 lines

Adding the Atxfer manager command. With this, you may initiate
an attended transfer over AMI

(closes issue #10585)
Reported by: ornati
Patches:
      atxfer-trunk-r90428.diff uploaded by ornati (license 210)
	  (with modifications from me)
Tested by: putnopvut


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:20:55 +00:00
Russell Bryant
a3a7672808 Merged revisions 106186 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r106186 | mvanbaak | 2008-03-05 15:19:06 -0600 (Wed, 05 Mar 2008) | 7 lines

document var_metric usage to prevent bugreports that are actually configuration issues

(closes issue #12151)
Reported by: caio1982
Patches:
      DB_metric3.diff uploaded by caio1982 (license 22)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:20:35 +00:00
Russell Bryant
0fe91ba8d9 Blocked revisions 106179 via svnmerge
................
r106179 | mvanbaak | 2008-03-05 15:15:57 -0600 (Wed, 05 Mar 2008) | 12 lines

Blocked revisions 106178 via svnmerge

........
r106178 | mvanbaak | 2008-03-05 22:12:36 +0100 (Wed, 05 Mar 2008) | 5 lines

document var_metric so no bugreports will come in when it's actually a configuration issue.
(issue #12151)
Reported and patched by: caio1982
1.4 patch by me

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106314 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:20:00 +00:00
Russell Bryant
717e0179cf Blocked revisions 106110 via svnmerge
........
r106110 | file | 2008-03-05 10:39:22 -0600 (Wed, 05 Mar 2008) | 2 lines

Fix code up to what it was meant to be.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106313 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:18:05 +00:00
Russell Bryant
24d1a5334f Blocked revisions 106072 via svnmerge
........
r106072 | tilghman | 2008-03-05 10:23:44 -0600 (Wed, 05 Mar 2008) | 7 lines

Create a centralized configuration option for silencethreshold
(closes issue #11236)
 Reported by: philipps
 Patches: 
       20080218__bug11236.diff.txt uploaded by Corydon76 (license 14)
 Tested by: philipps

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106312 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:17:33 +00:00
Russell Bryant
3e8a42c9c3 Blocked revisions 105984 via svnmerge
........
r105984 | russell | 2008-03-04 22:34:29 -0600 (Tue, 04 Mar 2008) | 3 lines

 - simplify a few statements with ARRAY_LEN()
 - constify the stregy int to string mappings array

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:16:57 +00:00
Russell Bryant
78393c6698 Merged revisions 105933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r105933 | russell | 2008-03-04 19:54:16 -0600 (Tue, 04 Mar 2008) | 13 lines

Merged revisions 105932 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r105932 | russell | 2008-03-04 19:52:18 -0600 (Tue, 04 Mar 2008) | 5 lines

Fix a bug that I just noticed in the RTP code.  The calculation for setting the
len field in an ast_frame of audio was wrong when G.722 is in use.  The len field
represents the number of ms of audio that the frame contains.  It would have
set the value to be twice what it should be.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106310 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:16:30 +00:00
Russell Bryant
51f5f4470a Merged revisions 105899 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r105899 | russell | 2008-03-04 18:45:39 -0600 (Tue, 04 Mar 2008) | 3 lines

Fix the SHARED() read callback to properly unlock the channel.  This function
could not have worked, as it left the channel locked in all cases.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106309 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:15:54 +00:00
Russell Bryant
b66de7ac7b Merged revisions 105864 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r105864 | mmichelson | 2008-03-04 17:24:56 -0600 (Tue, 04 Mar 2008) | 5 lines

There are several places in manager.c where BUFSIZ is used for a buffer
which will contain nowhere near that amount of data. This makes these buffers
more reasonably sized.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:15:30 +00:00
Russell Bryant
e09e677a81 Merged revisions 105841 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r105841 | tilghman | 2008-03-04 17:10:45 -0600 (Tue, 04 Mar 2008) | 2 lines

Fix minor misuses of snprintf

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:15:02 +00:00
Russell Bryant
9c09333526 Merged revisions 105840 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r105840 | tilghman | 2008-03-04 17:04:29 -0600 (Tue, 04 Mar 2008) | 2 lines

Whitespace changes only

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:14:32 +00:00
Russell Bryant
908eddfe58 Merged revisions 105804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r105804 | russell | 2008-03-04 16:28:03 -0600 (Tue, 04 Mar 2008) | 2 lines

add a destroy API call for a server instance

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:13:54 +00:00
Russell Bryant
36f5261290 Merged revisions 105785 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r105785 | russell | 2008-03-04 16:23:21 -0600 (Tue, 04 Mar 2008) | 2 lines

More public API name changes to use an appropriate ast_ prefix

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:13:10 +00:00
Russell Bryant
78a863b9a2 Merged revisions 105773 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r105773 | russell | 2008-03-04 16:15:18 -0600 (Tue, 04 Mar 2008) | 2 lines

Rename public object server_instance to ast_tcptls_server_instance

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:11:09 +00:00
Russell Bryant
c6f570d433 Merged revisions 105734 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r105734 | russell | 2008-03-04 14:36:16 -0600 (Tue, 04 Mar 2008) | 6 lines

Fix some bugs in the SIP tcp helper thread.
 - fix a spot where a lock wouldn't get unlocked in an error condition
 - call ast_mutex_destroy() on the lock before freeing its memory

(related to issue #11972)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:10:33 +00:00
Russell Bryant
28f18301fd Merged revisions 105733 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r105733 | twilson | 2008-03-04 14:32:55 -0600 (Tue, 04 Mar 2008) | 2 lines

Set username to default to the category name if it isn't overridden by a usernmae= setting in users.conf

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:10:08 +00:00
Russell Bryant
83942c273a Merged revisions 105677 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r105677 | file | 2008-03-04 12:11:38 -0600 (Tue, 04 Mar 2008) | 10 lines

Merged revisions 105676 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r105676 | file | 2008-03-04 14:10:34 -0400 (Tue, 04 Mar 2008) | 2 lines

In addition to setting the marker bit let's change our ssrc so they know for sure it is a different source.

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:08:11 +00:00
Russell Bryant
b11caafd7e Merged revisions 105675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r105675 | file | 2008-03-04 12:08:42 -0600 (Tue, 04 Mar 2008) | 16 lines

Merged revisions 105674 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r105674 | file | 2008-03-04 14:05:28 -0400 (Tue, 04 Mar 2008) | 8 lines

When a new source of audio comes in (such as music on hold) make sure the marker bit gets set.
(closes issue #10355)
Reported by: wdecarne
Patches:
      10355.diff uploaded by file (license 11)
(closes issue #11491)
Reported by: kanderson

........

................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@106299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-06 00:07:09 +00:00