Commit Graph

10000 Commits

Author SHA1 Message Date
Russell Bryant
c9c41a0b85 Prevent an infinite loop when config processing gets to a jitterbuffer option
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-11-01 16:39:09 +00:00
Jason Parker
b12229c1ff Fix "core show translation" output. Issue #8243, patch by Damin.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 22:02:15 +00:00
Kevin P. Fleming
f532d2f198 add an API so that translators can activate/deactivate themselves when needed
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 21:47:48 +00:00
Kevin P. Fleming
160a0448c2 revert changes that were the wrong way to address this... proper fix coming
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 21:36:17 +00:00
Kevin P. Fleming
f725940328 let's set the seen flag early enough to actually make a difference...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46712 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 21:25:20 +00:00
Kevin P. Fleming
59186bb2d2 don't re-do setup operations for translators that can dynamically register themselves
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 21:23:06 +00:00
Tilghman Lesher
93e3d1157b Blocked revisions 46662 via svnmerge
........
r46662 | tilghman | 2006-10-31 09:46:04 -0600 (Tue, 31 Oct 2006) | 3 lines

Move thread-unsafe initializer to the module loading code; add the
corresponding function to the module unload to fix a memory leak.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 15:49:15 +00:00
Olle Johansson
d318976f4d Issue #8089 - Fix the ENUM support (picking one record by number). Thanks otmar!
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 10:56:20 +00:00
Olle Johansson
9ab1cc22a4 Support ;rport when we're supposed to support ;rport. Issue #7473.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46628 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 10:26:16 +00:00
Olle Johansson
56f2cab81c If peer fails ACL check, fail peer at REGISTER
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46606 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 09:17:53 +00:00
Olle Johansson
83d0334d53 Block my messing around in the 1.2 branch...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 09:07:40 +00:00
Olle Johansson
cdb0c64271 Fix T38 too. Thanks, tgrman !
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 08:28:38 +00:00
Russell Bryant
134c4dcadd Start Asterisk later in the boot process to ensure it starts after stuff like
MySQL (issue #8253, Alric)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46563 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:30:53 +00:00
Russell Bryant
e998b2b609 Merged revisions 46560 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46560 | russell | 2006-10-31 01:18:36 -0500 (Tue, 31 Oct 2006) | 3 lines

When handling the case where the hostname is just an IPV4 numeric address,
be sure to set the address type.  (issue #8247, alexr)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:19:56 +00:00
Russell Bryant
f124a6d1fc Merged revisions 46557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46557 | russell | 2006-10-31 01:13:09 -0500 (Tue, 31 Oct 2006) | 3 lines

fix some copy/paste bugs in the checking of arguments for the 
"control stream file" AGI command (issue #8255, mnicholson)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 06:14:13 +00:00
Russell Bryant
68720145e3 Add a small tweak to the code that checks to see whether destination formats
are translatable based on the source format.  If we have already determined
that there is no translation path in one direction, don't bother checking the
other direction.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31 05:55:07 +00:00
Matt O'Gorman
29d2282f0a spelling typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46528 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 22:25:43 +00:00
Matt O'Gorman
f94fd0ff04 formatting fix.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 22:22:34 +00:00
Kevin P. Fleming
d8817c0d3c when unregistering a translator, don't rebuild the translation matrix unless needed
when filtering formats out of an offer, ensure we check for translation ability in both directions


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46526 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 22:19:55 +00:00
Kevin P. Fleming
c874ff482b ensure that items removed from a list are always unlinked from the list (next pointer set to NULL)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 21:46:07 +00:00
Joshua Colp
aa8099e50f Don't explicitly link in crypt as it is not used on some platforms.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 21:09:13 +00:00
Joshua Colp
a7e0a4d143 We need to lock the pvt structure during retransmission as another worker thread may be doing something as well.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 18:13:07 +00:00
Olle Johansson
86c973f71f Issue #8246 - Doxygen fixes from kshumard.
An extra big thankyou is given to everyone that contributes to doxygen!

		THANK YOU!



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 16:27:34 +00:00
Olle Johansson
e93e64a005 Bind RTCP to the same IP as RTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-30 16:09:05 +00:00
Olle Johansson
9213317979 Issue #7869 - Stop retransmission of 302 redirects (imported from 1.2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 19:31:58 +00:00
Olle Johansson
4456e58811 Issue #7608 - Notifications sent with wrong content-type (imported from 1.2, modified)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 19:12:18 +00:00
Olle Johansson
e8350b836b Backport of patch for #7828 that was reported for trunk, but obviously
exists in 1.4 too. 


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 17:16:38 +00:00
Olle Johansson
0ff30203f9 Restoring the old logic, since working around it and fixing it seemed too complicated.
- The SIP_OUTGOING flag indicates the direction of the last transaction in the dialog.
- The initreq stores the last request in the dialog, the request that opened the 
  latest transaction.

Please now retry all the 1.4 bug reports with mixed to/from headers, tags etc
in ACK, BYE, CANCEL. Thanks!


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-29 08:45:05 +00:00
Olle Johansson
b1b2177079 Accepting a message twice may be misinterpreted...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46389 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-28 20:25:18 +00:00
Olle Johansson
5c59f2f5f5 - 183 is not reliable message...
- Error should not have SDP


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-28 19:08:58 +00:00
Joshua Colp
08b2a8e886 Don't build muted on OpenBSD, it is not supported.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46377 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-28 16:37:44 +00:00
Russell Bryant
0ed3384fb1 move the copy of the default settings to the global settings back out of
process_zap, so that they aren't overwritten when process_zap is called
multiple times


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 19:03:32 +00:00
Olle Johansson
5a2abaee46 Put some doxygen pressure on Christian :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 18:29:21 +00:00
Russell Bryant
d7f9b5f912 We should always be using _exit() after a fork() or vfork() instead of exit().
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes.  (issue #7971, Nick Gavrikov)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 17:39:31 +00:00
Russell Bryant
cc818055b5 Blocked revisions 46361 via svnmerge
........
r46361 | russell | 2006-10-27 12:36:07 -0500 (Fri, 27 Oct 2006) | 5 lines

We should always be using _exit() after a fork() or vfork() instead of exit().
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes.  (issue #7971, Nick Gavrikov)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 17:37:20 +00:00
Russell Bryant
b588d56fc8 Instead of iterating all of the options once to look for jitterbuffer options,
and then again for everything else, move the processing of jitterbuffer
options into the main loop so that there are no erroneous messages about
ignoring unknown options.  (issue #8226)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 15:32:40 +00:00
Christian Richter
b03054fdfc Merged revisions 46350 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46350 | crichter | 2006-10-27 11:24:01 +0200 (Fr, 27 Okt 2006) | 1 line

fixed a bug which caused chan_misdn to try to allocate 2 times the same channel on high load, which then caused instability of mISDN. removed a useless function from isdn_lib.c
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 10:03:23 +00:00
Christian Richter
f7a6f0efa2 fixed not compile issue, which was just introduced
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 09:58:44 +00:00
Christian Richter
6964f148ba Merged revisions 46176 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46176 | crichter | 2006-10-25 10:41:59 +0200 (Mi, 25 Okt 2006) | 1 line

added nttimeout option to configure wether we disconnect calls on NT timeouts or not during an overlapdial session
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-27 09:49:20 +00:00
Jason Parker
f10529efed Fix small formatting issue, that causes misaligned line
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 20:25:44 +00:00
Olle Johansson
bd1891aa6d Block patch that only applies to 1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 20:12:07 +00:00
Jason Parker
2894a00816 Merged revisions 46337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r46337 | qwell | 2006-10-26 12:47:52 -0500 (Thu, 26 Oct 2006) | 2 lines

oops - somebody forgot to change this - long ago, probably.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46340 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 17:57:56 +00:00
Jason Parker
9a370f9ac1 grammar check
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 17:38:05 +00:00
Olle Johansson
8d3f730595 Corrections to changes
(Multiparking is not included)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 16:38:56 +00:00
Russell Bryant
3cb7bcd6d7 - If the source has no audio or no video portion, do not call powerof() to
get the format index.
- Don't run through the audio and video loops if there is no audio or video
  portion of the source
If 0 is passed to powerof, it will return -1.  This value of -1 was then being
used as an array index in these loops, which caused a crash on some systems.
Other than this issue, this code works as we expected it to.  If a format is
not in the source, and we have to translation path to it, it is not offered in
the list of acceptable destination formats.
(fixes issue #8231)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 16:31:05 +00:00
Kevin P. Fleming
58f292feae update to reflect G.722 addition
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 12:15:58 +00:00
Russell Bryant
10a3540c54 update backtrace documentation to reflect changes in 1.4 (issue #8230, kshumard)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 04:18:00 +00:00
Mark Spencer
72146fab32 Fix config comment code preservation code (thanks murf!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46287 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-26 01:37:40 +00:00
Olle Johansson
77e12e971c Old todo note - Don't add Contact header on BYE and Cancel
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46276 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-25 20:14:57 +00:00
Russell Bryant
020e4f9725 regenerate configure script
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-25 19:24:11 +00:00