Tilghman Lesher [Wed, 2 Apr 2008 19:34:52 +0000 (19:34 +0000)]
Make MISDN generate channel rename events when the name changes.
(closes issue #11142)
Reported by: julianjm
Patches:
chan_misdn_tmpchan_trunk_v1.diff uploaded by julianjm (license 99)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112520
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 2 Apr 2008 17:36:49 +0000 (17:36 +0000)]
Merged revisions 112468 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r112468 | mmichelson | 2008-04-02 12:36:04 -0500 (Wed, 02 Apr 2008) | 13 lines
Fix a race condition in the manager. It is possible that a new manager event
could be appended during a brief time when the manager is not waiting for input.
If an event comes during this period, we need to set an indicator that there is an
event pending so that the manager doesn't attempt to wait forever for an event that
already happened.
(closes issue #12354)
Reported by: bamby
Patches:
manager_race_condition.diff uploaded by bamby (license 430)
(comments added by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112469
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 2 Apr 2008 15:26:51 +0000 (15:26 +0000)]
Since the SIP request structure gets reused multiple times with TCP handling we have to clear the debug state or else we will keep spitting out debug even after it has been turned off.
(closes issue #12169)
Reported by: pj
Patches:
12169-debugoff-2.diff uploaded by qwell (license 4)
Tested by: pj
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112431
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Wed, 2 Apr 2008 15:25:48 +0000 (15:25 +0000)]
Re-add HTTP post support by moving to res_http_post.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112426
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 2 Apr 2008 14:32:43 +0000 (14:32 +0000)]
Merged revisions 112393 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r112393 | mmichelson | 2008-04-02 09:32:00 -0500 (Wed, 02 Apr 2008) | 6 lines
Ensure that there is no timeout if none is specified.
(closes issue #12349)
Reported by: johnlange
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112394
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Tue, 1 Apr 2008 22:55:28 +0000 (22:55 +0000)]
Added dnsmgr status output for sip show registry.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112360
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 1 Apr 2008 22:45:10 +0000 (22:45 +0000)]
Bumped across another test set for the new exten pattern matcher, which revealed a problem with the CANMATCH/MATCHMORE modes. Direct matches were getting in the way. Fixed.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112357
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 1 Apr 2008 22:25:45 +0000 (22:25 +0000)]
Fix a typo that prevented configuration of non-dynamic peers.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112351
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Tue, 1 Apr 2008 22:07:30 +0000 (22:07 +0000)]
Existing DNS manager lookups extended to check for SRV records.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112321
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Tue, 1 Apr 2008 20:02:19 +0000 (20:02 +0000)]
(closes issue #12298)
Reported by: falves11
Patches:
12298.patch1 uploaded by murf (license 17)
Tested by: murf
I have hopes that the changes made over the last few days will
finalize and solidify this code. While there are bound to be
small tweaks still needed, I feel that the job (at last) is
somewhat completed. Finally, I had a chance to comprehend how
the scoring of extension patterns was done in the previous
version, and I've come very close to using the exact same
criteria in the new pattern matching code. The left-right
sorting is now replicated in the trie structure itself, such
that the first match found will the 'best' match. Compared
the results against 1.4 for several extensions. Replicated
falves11's setup and it works. Used some devious patterns
provided by jsmith, supplemented with a few of my own.
Looks good.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112289
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 1 Apr 2008 18:27:08 +0000 (18:27 +0000)]
Minor formatting cleanup.
(closes issue #12343)
Reported by: travishein
Patches:
app_voicemail_code_convention.patch uploaded by travishein (license 385)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112252
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 1 Apr 2008 18:24:56 +0000 (18:24 +0000)]
More voicemail doxygen additions/cleanup.
(issue #12343)
Reported by: travishein
Patches:
app_voicemail_code_documentation.patch uploaded by travishein (license 385)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112241
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 1 Apr 2008 18:23:40 +0000 (18:23 +0000)]
Fix last commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112234
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 1 Apr 2008 18:06:13 +0000 (18:06 +0000)]
Merged revisions 112209 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r112209 | file | 2008-04-01 15:02:43 -0300 (Tue, 01 Apr 2008) | 4 lines
Disable Packet2Packet bridging when we need to feed DTMF frames into the core. Some implementations do not like how we switch between things.
(closes issue #12212)
Reported by: bamby
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112210
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Tue, 1 Apr 2008 17:53:08 +0000 (17:53 +0000)]
This adds DNS SRV record support to DNS manager. If there is a SRV record for a given domain, the hostname and port listed in the SRV record will be used. If no SRV record exists or a SRV lookup is not attempted, the DNS lookup on the specified domain will be performed as normal. Chan_sip has been modified to take advantage of the new SRV support.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112207
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 1 Apr 2008 17:48:52 +0000 (17:48 +0000)]
Merged revisions 112204 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r112204 | file | 2008-04-01 14:43:46 -0300 (Tue, 01 Apr 2008) | 4 lines
Do not pass audio until the remote side has indicated they are providing early media, or if the channel has been answered.
(closes issue #11823)
Reported by: SDamm
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112205
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 1 Apr 2008 17:24:45 +0000 (17:24 +0000)]
Demote a log message down to a warning.
(closes issue #12345)
Reported by: caio1982
Patches:
limit_msg.diff uploaded by caio1982 (license 22)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112155
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 1 Apr 2008 17:23:19 +0000 (17:23 +0000)]
Merged revisions 112138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r112138 | mmichelson | 2008-04-01 12:21:21 -0500 (Tue, 01 Apr 2008) | 10 lines
Initialize the __res_state structure used for dns purposes
to all 0's prior to using it. This is due to valgrind's complaints
on issue #12284 as well as an excerpt found in "Description" portion
of the online man page found here:
http://www.iti.cs.tu-bs.de/cgi-bin/UNIXhelp/man-cgi?res_nquery+3RESOLV
(pertains to issue #12284 but does not necessarily close it)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112148
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 1 Apr 2008 16:50:37 +0000 (16:50 +0000)]
Merged revisions 112125 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r112125 | file | 2008-04-01 13:45:14 -0300 (Tue, 01 Apr 2008) | 5 lines
Ensure that we do not exceed the hold's maximum size with a single frame.
(closes issue #12047)
Reported by: fabianoheringer
Tested by: fabianoheringer
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112126
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 1 Apr 2008 16:35:04 +0000 (16:35 +0000)]
Now that zaptel trunk has been removed, add the PSTN deprecation notice to chan_zap, as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112124
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 31 Mar 2008 22:16:34 +0000 (22:16 +0000)]
I missed a place when this define was changed.
(closes issue #12334)
Reported by: ovi
Patches:
12334-asterisk.patch uploaded by dimas (license 88)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112071
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 31 Mar 2008 21:48:30 +0000 (21:48 +0000)]
Merged revisions 112068 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r112068 | qwell | 2008-03-31 16:48:05 -0500 (Mon, 31 Mar 2008) | 5 lines
Fix a silly infinite loop when choosing an invalid option.
(closes issue #12315)
Reported by: jmls
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112069
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Mon, 31 Mar 2008 21:01:59 +0000 (21:01 +0000)]
Yeah, simplify that logic a bit...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112035
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Mon, 31 Mar 2008 20:45:05 +0000 (20:45 +0000)]
Handle blank prefix= in http.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@112033
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 31 Mar 2008 17:14:58 +0000 (17:14 +0000)]
Ensure configure gets run on a clean checkout.
(closes issue #12197)
Reported by: juggie
Patches:
12197.diff uploaded by juggie (license 24)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111998
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 31 Mar 2008 16:37:13 +0000 (16:37 +0000)]
This fixes a high fence violation that MALLOC_DEBUG reported to me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111996
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 31 Mar 2008 14:20:39 +0000 (14:20 +0000)]
Initialize all these here tmp pointers at declaration. They confused some compilers a wee bit.
(closes issue #12333)
Reported by: ovi
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111961
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 28 Mar 2008 22:50:46 +0000 (22:50 +0000)]
Make some notes about common usage of pbx_builtin_getvar_helper() that is not
thread-safe.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111909
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 28 Mar 2008 22:45:43 +0000 (22:45 +0000)]
Note a minor race condition that I noticed while reviewing Jeff's changes
to this code.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111908
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 28 Mar 2008 21:46:02 +0000 (21:46 +0000)]
Merged revisions 111856 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r111856 | qwell | 2008-03-28 16:45:35 -0500 (Fri, 28 Mar 2008) | 12 lines
Allow gsm to compile correctly on x86 with gcc4 optimizations.
(closes issue #11243)
Reported by: whiskerp
Patches:
11243-maybe-asm.diff uploaded by qwell (license 4)
Tested by: Seggy (IRC)
Note: While I did write this patch, I would not have found this if fossil
had not reported and fixed issue #12253. A huge thanks to him for helping
to (indirectly) find the problem here.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111857
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Fri, 28 Mar 2008 20:03:16 +0000 (20:03 +0000)]
This time the fix is proper for issue 12284. I have tested it thoroughly and found
that valgrind no longer complains and that calls do complete correctly.
The fix is along the same lines as before: Make sure the final null terminator gets copied
into the new sip_request's data pointer. Without it, parse_request will read and potentially
write past the end of the string, causing potential crashes.
(closes issue #12284...for real this time!)
reported by falves11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111811
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Fri, 28 Mar 2008 19:14:51 +0000 (19:14 +0000)]
Temporary revert of 111662. It's causing lots of trouble and appears to not be
the proper solution to the problem reported anyway.
(related to issue #12884)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111777
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 28 Mar 2008 19:08:35 +0000 (19:08 +0000)]
Replace magic number size from msgArray array with a define.
(same patch as before, I just split this part out)
(close issue #12326)
Reported by: travishein
Patches:
app_voicemail_code_documentation.patch uploaded by travishein (license 385)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111774
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 28 Mar 2008 19:06:54 +0000 (19:06 +0000)]
Add a bit of doxygen documentation for app_voicemail.
(issue #12326)
Reported by: travishein
Patches:
app_voicemail_code_documentation.patch uploaded by travishein (license 385)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111773
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 28 Mar 2008 17:57:12 +0000 (17:57 +0000)]
Merged revisions 111720 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r111720 | qwell | 2008-03-28 12:55:05 -0500 (Fri, 28 Mar 2008) | 1 line
Remove unimplemented softkeys. Prompted by issue #12325.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111721
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Fri, 28 Mar 2008 16:36:59 +0000 (16:36 +0000)]
The copy_request function did not take into account the necessary null terminator
for the string to be copied into. This resulted in parse_request reading invalid
memory beyond the end of the string, and in some cases led to crashes. Thanks
to falves11 for providing the valgrind output which led to the closure of this issue.
(closes issue #12284)
Reported by: falves11
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111662
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 28 Mar 2008 16:20:59 +0000 (16:20 +0000)]
Merged revisions 111658 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r111658 | qwell | 2008-03-28 11:19:56 -0500 (Fri, 28 Mar 2008) | 8 lines
The file size of WAV49 does not need to be an even number.
(closes issue #12128)
Reported by: mdu113
Patches:
12128-noevenlength.diff uploaded by qwell (license 4)
Tested by: qwell, mdu113
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111659
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 28 Mar 2008 14:37:28 +0000 (14:37 +0000)]
Merged revisions 111605 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r111605 | tilghman | 2008-03-28 09:35:45 -0500 (Fri, 28 Mar 2008) | 3 lines
Update debugging text, since Valgrind eliminated the --log-file-exactly option.
(Closes issue #12320)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111606
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 28 Mar 2008 00:55:47 +0000 (00:55 +0000)]
Forgetting to unregister a manager action is bad, mmmk?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111565
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Fri, 28 Mar 2008 00:12:52 +0000 (00:12 +0000)]
Fix a crash that would happen when attempting to unload the app_queue module.
The problem was that when the refcount on the queue hit 0, the destructor was
called, and inside the destructor, another function was called which would increase
the refcount back to 1 again and then decrease it again back to 0 for every member
in the queue. This meant that the destructor was being recursively called, leading
to a double free of the queue. This is now fixed by making sure to unlink the
queue from the queues container prior to the final unref of the queue.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111533
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Thu, 27 Mar 2008 22:10:25 +0000 (22:10 +0000)]
Fix another little http problem. In making it match coding guidelines, a comparison was dropped
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111500
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 27 Mar 2008 21:25:55 +0000 (21:25 +0000)]
comment cleanup and iron out a really dumb mistake in handling the '.'-wildcard in the new exten pattern matcher.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111497
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 27 Mar 2008 19:26:45 +0000 (19:26 +0000)]
Merged revisions 111442 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r111442 | tilghman | 2008-03-27 14:23:12 -0500 (Thu, 27 Mar 2008) | 6 lines
For FreeBSD, at least, the ifa_addr element could be NULL.
(closes issue #12300)
Reported by: festr
Patches:
acl.c.patch uploaded by festr (license 443)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111443
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 27 Mar 2008 13:29:41 +0000 (13:29 +0000)]
Merged revisions 111391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r111391 | murf | 2008-03-27 07:03:28 -0600 (Thu, 27 Mar 2008) | 9 lines
These small documentation updates made in response to a query in
asterisk-users, where a user was using Playback, but needed the
features of Background, and had no idea that Background existed,
or that it might provide the features he needed. I thought the
best way to avert these kinds of queries was to provide "See Also"
references in all three of "Background", "Playback", "WaitExten".
Perhaps a project to do this with all related apps is in order.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111410
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 27 Mar 2008 04:47:12 +0000 (04:47 +0000)]
Merged revisions 111341 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r111341 | murf | 2008-03-26 21:21:05 -0600 (Wed, 26 Mar 2008) | 15 lines
(closes issue #12302)
Reported by: pj
Tested by: murf
These changes will set a channel variable ~~EXTEN~~ just before generating code
for a switch, with the value of ${EXTEN}. The exten is marked as having a switch,
and ever after that, till the end of the exten, we substitute any ${EXTEN}
with ${~~EXTEN~~} instead in application arguments; (and the ${EXTEN: also).
The reason for this, is that because switches are coded using
separate extensions to provide pattern matching, and
jumping to/from these switch extensions messes up the ${EXTEN} value,
which blows the minds of users.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111360
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 27 Mar 2008 00:27:35 +0000 (00:27 +0000)]
But we can change the API here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111295
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Thu, 27 Mar 2008 00:25:56 +0000 (00:25 +0000)]
Merged revisions 111280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r111280 | qwell | 2008-03-26 19:25:13 -0500 (Wed, 26 Mar 2008) | 1 line
Put this flag back so we don't change the API.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111285
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 26 Mar 2008 23:27:33 +0000 (23:27 +0000)]
Merged revisions 111245 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r111245 | qwell | 2008-03-26 18:26:33 -0500 (Wed, 26 Mar 2008) | 9 lines
Remove excessive smoother optimization that was causing audio glitches (small "pops")
after (about 200ms later) an "incorrectly" sized frame was received.
While it would be very nice to keep this as optimized as possible, it makes no sense
for the smoother to be dropping random bits of audio like this. Isn't that the
whole point of a smoother?
Closes issue #12093.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111246
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Terry Wilson [Wed, 26 Mar 2008 21:23:29 +0000 (21:23 +0000)]
Stupid strcasecmp function :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111213
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 26 Mar 2008 20:34:05 +0000 (20:34 +0000)]
Oops, missed one
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111185
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 26 Mar 2008 19:58:09 +0000 (19:58 +0000)]
Simplify new macro, simplify configfile logic, now that list is sorted
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111132
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 26 Mar 2008 19:56:40 +0000 (19:56 +0000)]
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/trunk@111130
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 26 Mar 2008 19:52:27 +0000 (19:52 +0000)]
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/trunk@111127
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 26 Mar 2008 19:39:23 +0000 (19:39 +0000)]
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/trunk@111123
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 26 Mar 2008 19:29:26 +0000 (19:29 +0000)]
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/trunk@111083
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 26 Mar 2008 19:26:23 +0000 (19:26 +0000)]
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/trunk@111067
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 26 Mar 2008 19:19:31 +0000 (19:19 +0000)]
Add a linkedlist macro that maintains a sorted list
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111036
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 26 Mar 2008 19:16:31 +0000 (19:16 +0000)]
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/trunk@111028
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 26 Mar 2008 19:08:00 +0000 (19:08 +0000)]
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/trunk@111025
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 26 Mar 2008 19:05:51 +0000 (19:05 +0000)]
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/trunk@111022
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 26 Mar 2008 19:05:42 +0000 (19:05 +0000)]
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/trunk@111021
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 26 Mar 2008 18:42:52 +0000 (18:42 +0000)]
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/trunk@111017
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 26 Mar 2008 18:41:27 +0000 (18:41 +0000)]
Oops, fix this, too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111013
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 26 Mar 2008 18:39:06 +0000 (18:39 +0000)]
Add the "config reload <conffile>" command, which allows you to tell Asterisk
to reload any file that references a given configuration file.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@111012
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 26 Mar 2008 17:44:09 +0000 (17:44 +0000)]
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/trunk@110963
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Donny Kavanagh [Wed, 26 Mar 2008 17:28:49 +0000 (17:28 +0000)]
revert something dumb, because i was running svn diff in a subfolder not the root of trunk, before doing my commit and did not see it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110930
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Donny Kavanagh [Wed, 26 Mar 2008 17:24:54 +0000 (17:24 +0000)]
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/trunk@110911
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Wed, 26 Mar 2008 17:10:28 +0000 (17:10 +0000)]
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/trunk@110881
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Wed, 26 Mar 2008 00:02:31 +0000 (00:02 +0000)]
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/trunk@110831
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Tue, 25 Mar 2008 22:51:55 +0000 (22:51 +0000)]
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/trunk@110780
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Tue, 25 Mar 2008 20:02:57 +0000 (20:02 +0000)]
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/trunk@110726
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 25 Mar 2008 17:46:34 +0000 (17:46 +0000)]
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/trunk@110691
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Tue, 25 Mar 2008 17:40:28 +0000 (17:40 +0000)]
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/trunk@110689
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 25 Mar 2008 15:44:01 +0000 (15:44 +0000)]
Oops here too. I need to stop coding for a while...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110639
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Tue, 25 Mar 2008 15:41:33 +0000 (15:41 +0000)]
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/trunk@110636
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 25 Mar 2008 15:18:41 +0000 (15:18 +0000)]
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/trunk@110631
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Tue, 25 Mar 2008 14:39:45 +0000 (14:39 +0000)]
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/trunk@110629
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 25 Mar 2008 10:54:07 +0000 (10:54 +0000)]
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/trunk@110625
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Mon, 24 Mar 2008 20:14:07 +0000 (20:14 +0000)]
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/trunk@110621
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Mon, 24 Mar 2008 19:19:37 +0000 (19:19 +0000)]
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/trunk@110619
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 24 Mar 2008 17:36:04 +0000 (17:36 +0000)]
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/trunk@110615
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 24 Mar 2008 15:28:25 +0000 (15:28 +0000)]
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/trunk@110610
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 21 Mar 2008 21:52:06 +0000 (21:52 +0000)]
Update to 1.4.11 core sounds.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110578
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 21 Mar 2008 17:58:59 +0000 (17:58 +0000)]
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/trunk@110542
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Fri, 21 Mar 2008 15:24:43 +0000 (15:24 +0000)]
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/trunk@110499
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 21 Mar 2008 14:36:17 +0000 (14:36 +0000)]
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/trunk@110475
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 21 Mar 2008 01:44:38 +0000 (01:44 +0000)]
Add note of the added Directory options, from commit 110237 (closes issue #7151)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110444
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 20 Mar 2008 23:14:13 +0000 (23:14 +0000)]
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/trunk@110396
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 20 Mar 2008 22:02:20 +0000 (22:02 +0000)]
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/trunk@110339
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 20 Mar 2008 21:55:50 +0000 (21:55 +0000)]
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/trunk@110337
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 20 Mar 2008 20:08:26 +0000 (20:08 +0000)]
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/trunk@110303
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Michelson [Thu, 20 Mar 2008 18:01:36 +0000 (18:01 +0000)]
Add missing unlock
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110272
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 20 Mar 2008 17:45:29 +0000 (17:45 +0000)]
Remove astobj.h from some places where it wasn't needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110270
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Thu, 20 Mar 2008 17:41:22 +0000 (17:41 +0000)]
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/trunk@110268
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 20 Mar 2008 05:06:12 +0000 (05:06 +0000)]
Upgrade the sounds version; add several directory enhancements:
1) Number of digits to enter can now be configured
2) The digits can now match on both first AND last name, instead of only one or the other
(Closes issue #7151)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110237
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 20 Mar 2008 03:14:59 +0000 (03:14 +0000)]
Fix recent trunk breakage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110211
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Wed, 19 Mar 2008 22:58:33 +0000 (22:58 +0000)]
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/trunk@110164
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 19 Mar 2008 22:25:34 +0000 (22:25 +0000)]
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/trunk@110161
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 19 Mar 2008 21:56:15 +0000 (21:56 +0000)]
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/trunk@110132
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jeff Peeler [Wed, 19 Mar 2008 21:05:24 +0000 (21:05 +0000)]
This change adds DNS manager support for registrations not referencing a peer entry. It looks like there is support for DNS manager for realtime peers as well, however it is not implemented correctly. The improper usage occurs when ast_dnsmgr_lookup is called with one of the arguments being an address from the stack to be continually updated. The variable from the stack will go out of scope and dnsmgr will continue to try and update the memory there, causing possible stack corruption. This problem will be worked on next as well as adding DNS manager support for peer entries.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110087
65c4cc65-6c06-0410-ace0-
fbb531ad65f3