Commit Graph

15217 Commits

Author SHA1 Message Date
Tilghman Lesher
c6595f5201 Blocked revisions 111132 via svnmerge
........
r111132 | tilghman | 2008-03-26 14:58:09 -0500 (Wed, 26 Mar 2008) | 2 lines

Simplify new macro, simplify configfile logic, now that list is sorted

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 20:03:31 +00:00
Joshua Colp
c61c83eedb Merged revisions 111130 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111130 | file | 2008-03-26 16:56:40 -0300 (Wed, 26 Mar 2008) | 14 lines

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

........
r111129 | file | 2008-03-26 16:55:08 -0300 (Wed, 26 Mar 2008) | 6 lines

Update autosupport script.
(closes issue #12310)
Reported by: angler
Patches:
      autosupport.diff uploaded by angler (license 106)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:57:54 +00:00
Kevin P. Fleming
477bf823b0 Merged revisions 111127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111127 | kpfleming | 2008-03-26 14:52:27 -0500 (Wed, 26 Mar 2008) | 18 lines

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

................
r111126 | kpfleming | 2008-03-26 14:51:24 -0500 (Wed, 26 Mar 2008) | 10 lines

Merged revisions 111125 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r111125 | kpfleming | 2008-03-26 14:49:30 -0500 (Wed, 26 Mar 2008) | 2 lines

update UPGRADE notes to document usage of the script

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:53:12 +00:00
Mark Michelson
b0951fcb92 Merged revisions 111123 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111123 | mmichelson | 2008-03-26 14:39:23 -0500 (Wed, 26 Mar 2008) | 12 lines

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

........
r111121 | mmichelson | 2008-03-26 14:37:36 -0500 (Wed, 26 Mar 2008) | 4 lines

This code change is made just for clarification. It does exactly
the same thing as before. It just doesn't look as wrong.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111124 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:41:24 +00:00
Joshua Colp
ff7deea0b5 Blocked revisions 111083 via svnmerge
........
r111083 | file | 2008-03-26 16:29:26 -0300 (Wed, 26 Mar 2008) | 4 lines

Add expiry value to the sip show subscriptions CLI command.
(closes issue #12025)
Reported by: agx

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:30:50 +00:00
Mark Michelson
2b6b4258cb Merged revisions 111067 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111067 | mmichelson | 2008-03-26 14:26:23 -0500 (Wed, 26 Mar 2008) | 17 lines

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

........
r111049 | mmichelson | 2008-03-26 14:22:16 -0500 (Wed, 26 Mar 2008) | 9 lines

Add a lock to the vm_state structure and use the lock around mail_open calls
to prevent concurrent access of the same mailstream. This, along with trunk's
ability to configure TCP timeouts for IMAP storage will help to prevent
crashes and hangs when using voicemail with IMAP storage.

(closes issue #10487)
Reported by: ewilhelmsen


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:27:10 +00:00
Tilghman Lesher
74a9e05d76 Blocked revisions 111036 via svnmerge
........
r111036 | tilghman | 2008-03-26 14:19:31 -0500 (Wed, 26 Mar 2008) | 2 lines

Add a linkedlist macro that maintains a sorted list

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111041 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:20:30 +00:00
Jason Parker
213cab59ec Blocked revisions 111028 via svnmerge
........
r111028 | qwell | 2008-03-26 14:16:31 -0500 (Wed, 26 Mar 2008) | 4 lines

Only try to detect silence when we actually need to, instead of...always.

If this is wrong, I'd love to hear why.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111029 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:16:54 +00:00
Jason Parker
5f0c300242 Blocked revisions 111022 via svnmerge
........
r111022 | qwell | 2008-03-26 14:05:51 -0500 (Wed, 26 Mar 2008) | 23 lines

Large cleanup of DSP code

Per comments from dimas:
1. The code now generates DTMF_BEGIN frames in addition to DTMF_END ones.

2. "quelching" rewritten - now each detector (MF/DTMF/generic tone) may mark fragment of a frame for suppression (squelching, muting) with a call to mute_fragment. Actual muting happens only once at the very end of ast_dsp_process where all marked fragments are zeroed. This way every detector sees original data in the frame without any piece of a frame being zeroed by a detector which was run before.

3. DTMF detector tries to "mute" one block before and one block after the block where actual tone was detected. Muting of previois block is something new for this patch. Obviously this operation is not always possible - if current frame does not contain data for previous block - it is too late. But at least we make our best.
Muting of next block was already done by the old code but it only affects part of the next block which is in the frame being processed. New code keeps this information in state structures so it will mute proper number of samples in the next frame(s) too.

4. Removed ast_dsp_digitdetect and ast_dsp_getdigits APIs because these are not used.

5. DSP API extended a bit - ast_dsp_was_muted() function added which returns true if DSP code was muting any fragment in the last frame. chan_zap uses this function to decide it needs to turn on confmute on the channel.
This is to replace AST_FRAME_DTMF 'm'/'u' (mute/unmute) functionality.


(closes issue #11968)
Reported by: dimas
Patches:
      v2-11968-dsp.patch uploaded by dimas (license 88)
      v4-11968-zap.patch uploaded by dimas (license 88)
Tested by: dimas, qwell

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111027 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:09:01 +00:00
Kevin P. Fleming
7d84d643e0 Merged revisions 111025 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111025 | kpfleming | 2008-03-26 14:08:00 -0500 (Wed, 26 Mar 2008) | 18 lines

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

................
r111024 | kpfleming | 2008-03-26 14:06:56 -0500 (Wed, 26 Mar 2008) | 10 lines

Merged revisions 111019 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r111019 | kpfleming | 2008-03-26 13:58:37 -0500 (Wed, 26 Mar 2008) | 2 lines

add a script to make getting the iLBC source code simple for end users

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111026 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:08:22 +00:00
Joshua Colp
6506b05636 Merged revisions 111021 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111021 | file | 2008-03-26 16:05:42 -0300 (Wed, 26 Mar 2008) | 12 lines

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

........
r111020 | file | 2008-03-26 16:04:35 -0300 (Wed, 26 Mar 2008) | 4 lines

If we are requested to authenticate a reinvite make sure that it contains T38 SDP if need be.
(closes issue #11995)
Reported by: fall

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 19:06:49 +00:00
Joshua Colp
838e70cdfa Merged revisions 111017 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r111017 | file | 2008-03-26 15:42:52 -0300 (Wed, 26 Mar 2008) | 12 lines

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

........
r110628 | file | 2008-03-25 11:37:35 -0300 (Tue, 25 Mar 2008) | 4 lines

Add an option (transmit_silence) which transmits silence during both Record() and DTMF generation. The reason this is an option is that in order to transmit silence we have to setup a translation path. This may not be needed/wanted in all cases.
(closes issue #10058)
Reported by: tracinet

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 18:44:32 +00:00
Tilghman Lesher
c9b2181168 Blocked revisions 111012-111013 via svnmerge
........
r111012 | tilghman | 2008-03-26 13:39:06 -0500 (Wed, 26 Mar 2008) | 3 lines

Add the "config reload <conffile>" command, which allows you to tell Asterisk
to reload any file that references a given configuration file.

........
r111013 | tilghman | 2008-03-26 13:41:27 -0500 (Wed, 26 Mar 2008) | 2 lines

Oops, fix this, too

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@111016 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 18:42:31 +00:00
Kevin P. Fleming
28154344e7 Merged revisions 110963 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110963 | kpfleming | 2008-03-26 12:44:09 -0500 (Wed, 26 Mar 2008) | 10 lines

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

........
r110962 | kpfleming | 2008-03-26 12:43:02 -0500 (Wed, 26 Mar 2008) | 2 lines

add note that the user will need to enable codec_ilbc to get it to build

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 17:44:35 +00:00
Donny Kavanagh
ea128d010a Merged revisions 110911 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110911 | juggie | 2008-03-26 13:24:54 -0400 (Wed, 26 Mar 2008) | 8 lines

update documentation to reflect the changes in the way configure detects net-snmp.

(closes issue #12067)
Reported by: juggie
Patches:
      12067_snmp_doc.patch uploaded by juggie (license 24)
Tested by: juggie

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 17:35:25 +00:00
Kevin P. Fleming
085ef90375 Merged revisions 110881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110881 | kpfleming | 2008-03-26 10:10:28 -0700 (Wed, 26 Mar 2008) | 18 lines

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

................
r110880 | kpfleming | 2008-03-26 09:42:35 -0700 (Wed, 26 Mar 2008) | 10 lines

Merged revisions 110869 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r110869 | kpfleming | 2008-03-26 08:53:46 -0700 (Wed, 26 Mar 2008) | 2 lines

due to licensing restrictions, we cannot distribute the source code for iLBC encoding and decoding... so remove it, and add instructions on how the user can obtain it themselves

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 17:15:06 +00:00
Joshua Colp
fbe5770d1d Merged revisions 110726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110726 | jpeeler | 2008-03-25 17:02:57 -0300 (Tue, 25 Mar 2008) | 2 lines

This one line change makes an if inside a for loop (in realtime_peer) check all the ast_variables the loop was intending to test rather than just the first one.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 15:33:21 +00:00
Joshua Colp
f0320a42b9 Blocked revisions 110639 via svnmerge
........
r110639 | mmichelson | 2008-03-25 12:44:01 -0300 (Tue, 25 Mar 2008) | 3 lines

Oops here too. I need to stop coding for a while...


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 15:31:28 +00:00
Mark Michelson
4cd89a7e8f Merged revisions 110831 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110831 | mmichelson | 2008-03-25 19:02:31 -0500 (Tue, 25 Mar 2008) | 6 lines

This ensures that the manager interface is not enabled by default. Prior to this
change, it was possible to start Asterisk with the manager interface enabled, then
either comment out the enabled option or make manager.conf unopenable and the manager
interface would still be enabled.


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-26 00:03:12 +00:00
Jason Parker
ac941589fe Merged revisions 110780 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110780 | qwell | 2008-03-25 17:51:55 -0500 (Tue, 25 Mar 2008) | 14 lines

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

........
r110779 | qwell | 2008-03-25 17:51:17 -0500 (Tue, 25 Mar 2008) | 6 lines

Make file access in cdr_custom similar to cdr_csv.

Fixes issue #12268.

Patch borrowed from r82344

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 22:52:24 +00:00
Jeff Peeler
e9f4445378 This one line change makes an if inside a for loop (in realtime_peer) check all the ast_variables the loop was intending to test rather than just the first one.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110778 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 22:11:03 +00:00
Tilghman Lesher
362eda6282 Merged revisions 110691 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110691 | tilghman | 2008-03-25 12:46:34 -0500 (Tue, 25 Mar 2008) | 6 lines

Update sample configurations to make virtual hosting more obvious.
(closes issue #11969)
 Reported by: pprindeville
 Patches: 
       acme-virtualpbx.1.6.patch uploaded by pprindeville (license 347)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 17:47:41 +00:00
Tilghman Lesher
46d5e9c5c9 Merged revisions 110689 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110689 | tilghman | 2008-03-25 12:40:28 -0500 (Tue, 25 Mar 2008) | 6 lines

Update the sample configuration, to use Macro less (since it's now deprecated).
(closes issue #12293)
 Reported by: pprindeville
 Patches: 
       bugid-0012293.1.6.patch uploaded by pprindeville (license 347)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 17:41:20 +00:00
Mark Michelson
913e19eb60 Oops.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 15:43:24 +00:00
Mark Michelson
6f5612a7b0 Merged revisions 110636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110636 | mmichelson | 2008-03-25 10:41:33 -0500 (Tue, 25 Mar 2008) | 15 lines

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

........
r110635 | mmichelson | 2008-03-25 10:40:33 -0500 (Tue, 25 Mar 2008) | 7 lines

When reverting a commit, I accidentally left in this bit which was an experiment
to see what would happen. It passed the compile test, and I didn't notice I had
left this change in too.

So this is a revert of a revert...sort of.


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 15:42:50 +00:00
Joshua Colp
ffde763e29 Blocked revisions 110625 via svnmerge
........
r110625 | oej | 2008-03-25 07:54:07 -0300 (Tue, 25 Mar 2008) | 6 lines

Use the "Server" header when responding to SIP requests.
(closes issue #12278)
Reported by: rjain
Patches: 
      chan_sip.c.diff uploaded by rjain (license 226)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 15:39:31 +00:00
Joshua Colp
deb2cfeb5f Blocked revisions 110444 via svnmerge
........
r110444 | tilghman | 2008-03-20 22:44:38 -0300 (Thu, 20 Mar 2008) | 2 lines

Add note of the added Directory options, from commit 110237 (closes issue #7151)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110633 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 15:26:38 +00:00
Joshua Colp
9abb24214c Blocked revisions 110631 via svnmerge
........
r110631 | file | 2008-03-25 12:18:41 -0300 (Tue, 25 Mar 2008) | 4 lines

Add a special dialplan variable to chan_sip which will cause an audio file to be played upon completion of an attended transfer.
(closes issue #9239)
Reported by: sunder

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110632 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 15:20:23 +00:00
Joshua Colp
be093c0508 Merged revisions 110629 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110629 | file | 2008-03-25 11:39:45 -0300 (Tue, 25 Mar 2008) | 12 lines

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

........
r110628 | file | 2008-03-25 11:37:35 -0300 (Tue, 25 Mar 2008) | 4 lines

Add an option (transmit_silence) which transmits silence during both Record() and DTMF generation. The reason this is an option is that in order to transmit silence we have to setup a translation path. This may not be needed/wanted in all cases.
(closes issue #10058)
Reported by: tracinet

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110630 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-25 14:42:35 +00:00
Mark Michelson
4b6fe33940 Blocked revisions 110621 via svnmerge
........
r110621 | mmichelson | 2008-03-24 15:14:07 -0500 (Mon, 24 Mar 2008) | 11 lines

Remove the "Event: registration" header from Asterisk-generated
SIP REGISTER requests. rjain points out that RFC 3265 specifies
that the Event: header is not a valid header for REGISTER requests
and that the "registration" value is not defined at IANA.

(closes issue #12279)
Reported by: rjain
Patches:
      chan_sip.c.diff uploaded by rjain (license 226)


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110622 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-24 20:14:28 +00:00
Mark Michelson
1a433add7a Merged revisions 110619 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110619 | mmichelson | 2008-03-24 14:19:37 -0500 (Mon, 24 Mar 2008) | 23 lines

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

........
r110618 | mmichelson | 2008-03-24 14:17:41 -0500 (Mon, 24 Mar 2008) | 15 lines

This is a revert for revision 108288. The reason is that that revision
was not for an actual bug fix per se, and so it really should not have been in 1.4 in
the first place. Plus, people who compile with DO_CRASH are more likely
to encounter a crash due to this change. While I think the usage of DO_CRASH
in ast_sched_del is a bit absurd, this sort of change is beyond the scope of 1.4
and should be done instead in a developer branch based on trunk 
so that all scheduler functions are fixed at once.

I also am reverting the change to trunk and 1.6 since they also suffer from
the DO_CRASH potential.

(closes issue #12272)
Reported by: qq12345


........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110620 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-24 19:20:30 +00:00
Russell Bryant
1ed7dc48f3 Merged revisions 110615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110615 | russell | 2008-03-24 12:36:04 -0500 (Mon, 24 Mar 2008) | 10 lines

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

........
r110614 | russell | 2008-03-24 12:34:56 -0500 (Mon, 24 Mar 2008) | 2 lines

Turn a NOTICE into a DEBUG message.

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-24 17:36:23 +00:00
Joshua Colp
00bf34e216 Merged revisions 110610 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110610 | file | 2008-03-24 12:28:25 -0300 (Mon, 24 Mar 2008) | 6 lines

Only print out the set_address_from_contact host verbose message if debugging is enabled on the dialog.
(closes issue #12280)
Reported by: rjain
Patches:
      chan_sip.c.diff uploaded by rjain (license 226)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-24 15:29:38 +00:00
Jason Parker
5519fd72b9 Merged revisions 110578 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110578 | qwell | 2008-03-21 16:52:06 -0500 (Fri, 21 Mar 2008) | 1 line

Update to 1.4.11 core sounds.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-21 21:52:47 +00:00
Joshua Colp
dbd1692779 Blocked revisions 110542 via svnmerge
........
r110542 | file | 2008-03-21 14:58:59 -0300 (Fri, 21 Mar 2008) | 2 lines

Merge over ast_audiohook_volume branch. This adds API calls for use by developers to adjust the volume on a channel.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110543 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-21 18:00:06 +00:00
Russell Bryant
6aa9c04ee9 Merged revisions 110499 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110499 | russell | 2008-03-21 10:24:43 -0500 (Fri, 21 Mar 2008) | 3 lines

Note that the TCP and TLS support is currently considered experimental and
is subject to change while we work out the remaining issues.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110501 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-21 15:25:06 +00:00
Jason Parker
57d3a27f1b Merged revisions 110475 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110475 | qwell | 2008-03-21 09:36:17 -0500 (Fri, 21 Mar 2008) | 15 lines

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

........
r110474 | qwell | 2008-03-21 09:32:52 -0500 (Fri, 21 Mar 2008) | 7 lines

Don't attempt to do optimizations of gsm on mips platforms either.

(closes issue #12270)
Reported by: zandbelt
Patches:
      026-gsm-mips.patch uploaded by zandbelt (license 33)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-21 14:36:43 +00:00
Russell Bryant
4cc349589c Merged revisions 110396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110396 | russell | 2008-03-20 18:14:13 -0500 (Thu, 20 Mar 2008) | 17 lines

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

........
r110395 | russell | 2008-03-20 18:13:56 -0500 (Thu, 20 Mar 2008) | 9 lines

Shorten the ast_waitfor() timeout from 500 ms to 50 ms in the autoservice thread.
This really should not make a difference except in very rare cases.  That case would
be that all of the channels in autoservice are not generating any frames.  In that
case, this change reduces the potential amount of time that a thread waits in
ast_autoservice_stop() for the autoservice thread to wrap back around to the beginning
of its loop.

(closes issue #12266, reported by dimas)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 23:14:26 +00:00
Russell Bryant
2adbae37a8 Merged revisions 110339 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110339 | russell | 2008-03-20 17:02:20 -0500 (Thu, 20 Mar 2008) | 3 lines

Use the correct buffer for g722tolin16_sample.  This shouldn't have caused any
problems, but Qwell noticed the typo here.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 22:02:46 +00:00
Russell Bryant
573e35bba1 Merged revisions 110337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110337 | russell | 2008-03-20 16:55:50 -0500 (Thu, 20 Mar 2008) | 22 lines

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

................
r110336 | russell | 2008-03-20 16:54:58 -0500 (Thu, 20 Mar 2008) | 14 lines

Merged revisions 110335 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r110335 | russell | 2008-03-20 16:53:27 -0500 (Thu, 20 Mar 2008) | 6 lines

Fix some very broken code that was introduced in 1.2.26 as a part of the security
fix.  The dnsmgr is not appropriate here.  The dnsmgr takes a pointer to an address
structure that a background thread continuously updates.  However, in these cases,
a stack variable was passed.  That means that the dnsmgr thread would be continuously
writing to bogus memory.

........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110338 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 21:56:22 +00:00
Russell Bryant
5f3c8c12e6 Merged revisions 110303 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110303 | russell | 2008-03-20 15:08:26 -0500 (Thu, 20 Mar 2008) | 8 lines

Fix a bug when using zaptel timing for playing back files that have a sample rate
other than 8 kHz.  The issue here is that format modules give a "whennext" sample
value, which is used to calculate when to set a timer for to retrieve the next
frame.  However, the zaptel timer operates on 8 kHz samples, so this must be taken
into account.

(another part of issue #12164, reported by milazzo and jsmith, patch by me)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 20:10:27 +00:00
Mark Michelson
f56d9c2483 Merged revisions 110272 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110272 | mmichelson | 2008-03-20 13:01:36 -0500 (Thu, 20 Mar 2008) | 3 lines

Add missing unlock


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 18:02:42 +00:00
Russell Bryant
951a25d277 Blocked revisions 110270 via svnmerge
........
r110270 | russell | 2008-03-20 12:45:29 -0500 (Thu, 20 Mar 2008) | 2 lines

Remove astobj.h from some places where it wasn't needed

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 17:45:57 +00:00
Russell Bryant
30f7c61f66 Merged revisions 110268 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r110268 | russell | 2008-03-20 12:41:22 -0500 (Thu, 20 Mar 2008) | 27 lines

Add some fixes that I made in regards to wideband codec handling to get
G.722 music on hold working for me.

(issue #12164, reported by milazzo and jsmith, patches by me)

res/res_musiconhold.c:
 - I moved a single line so that the sample queue update happened before
   ast_write().  The reason that this was a bug is that the G.722 frame
   originally says it has 320 samples in it (which is correct).  However,
   when the frame is written to a channel that uses RTP, main/rtp.c modifies
   the frame to cut the number of samples in half before it sends it on
   the wire.  This is to account for the stupid incorrect G.722 spec that
   makes it so we have to lie about the number of samples with RTP.  I should
   probably go and re-work the RTP code so it doesn't modify the frame so
   that a bug like this won't happen in the future.  However, this change to
   MOH is harmless.

main/channel.c:
 - I made two fixes in regards to generator timing.  Generators use samples
   for timing.  However, this code assumed 8 kHz samples.  In one case, it was
   a hard coded 160 samples, that is now written as the sample rate / 50.  The
   other place was dealing with timing a generator based on frames coming from
   the other direction.  However, that would have only worked if the sample
   rates for the formats in both directions were the same.  The code now takes
   into account that the sample rates may differ, and scales the generator
   samples accordingly.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 17:41:45 +00:00
Tilghman Lesher
386038d8d0 Blocked revisions 110237 via svnmerge
........
r110237 | tilghman | 2008-03-20 00:06:12 -0500 (Thu, 20 Mar 2008) | 2 lines

Upgrade the sounds version, and add several directory enhancements

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 05:45:34 +00:00
Tilghman Lesher
1bd1dddfb6 Blocked revisions 110211 via svnmerge
........
r110211 | tilghman | 2008-03-19 22:14:59 -0500 (Wed, 19 Mar 2008) | 2 lines

Fix recent trunk breakage

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110217 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-20 03:19:49 +00:00
Russell Bryant
631b48efba Merged revisions 110164 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
r110164 | russell | 2008-03-19 17:58:33 -0500 (Wed, 19 Mar 2008) | 13 lines

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

........
r110163 | russell | 2008-03-19 17:57:59 -0500 (Wed, 19 Mar 2008) | 5 lines

Fix a bug where when calls on the trunk side hang up while on hold, the state
is not properly reflected.

(closes issue #11990, reported by anakaoka, patched by me)

........

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110165 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-19 23:00:23 +00:00
Jason Parker
e740375bb7 Blocked revisions 110161 via svnmerge
........
r110161 | qwell | 2008-03-19 17:25:34 -0500 (Wed, 19 Mar 2008) | 5 lines

Rename DSP_FEATURE_DTMF_DETECT, because we are *NOT* only detecting DTMF digits.
This was very misleading.

Early cleanup for issue #11968

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-19 22:27:44 +00:00
Jason Parker
780688bc19 Blocked revisions 110132 via svnmerge
........
r110132 | qwell | 2008-03-19 16:56:15 -0500 (Wed, 19 Mar 2008) | 1 line

Rename very poorly named function to reflect what it actually does.  This was causing quite a bit of confusion for me...
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-19 21:57:58 +00:00
Jeff Peeler
851dde73ac marking rev 110087 from trunk as not applying
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@110088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-03-19 21:06:46 +00:00