Mark Michelson
d8d6d5e35b
Remove an odd redundant comparison
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150253 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 22:30:23 +00:00
Mark Michelson
c40adb92e4
Change configure script to search for openais in
...
both /usr/lib and /usr/lib64 since some distros
place 64-bit libraries only in the /usr/lib64
directory.
(closes issue #13721 )
Reported by: jcollie
Patches:
0007-Look-in-64bit-dirs-for-openais.patch uploaded by jcollie (license 412)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150210 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 21:23:38 +00:00
Mark Michelson
4d983e34cf
INVITES with proxy auth were sent with a different branch
...
than what was in the invite_branch of a sip_pvt, meaning
that if a CANCEL were sent later, the branch in the CANCEL
would not match the branch in the latest INVITE sent out, leading
to some endpoints responding to the CANCEL with a 481.
(closes issue #13714 )
Reported by: fnordian
Patches:
invite_branch.patch uploaded by fnordian (license 110)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150207 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 20:57:18 +00:00
Richard Mudgett
de9c5d4c42
Merged revisions 150124 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r150124 | rmudgett | 2008-10-16 10:56:06 -0500 (Thu, 16 Oct 2008) | 1 line
Fix memory leak found by customer
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150125 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 16:04:45 +00:00
Terry Wilson
15264cfcd0
This is nolonger needed
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150121 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 15:48:49 +00:00
Terry Wilson
c9fbf2eec5
func_strings isn't a dependency of this module anymore
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 15:41:40 +00:00
Kevin P. Fleming
2f3193ec70
ensure that type=peer entries are only matched on IP/port, not on name (after oej audits all the calls to find_peer() to make sure that forcenamematch is set correctly in each case)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 15:02:10 +00:00
Olle Johansson
11a94d5b01
Doxygen addition
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 15:00:30 +00:00
Olle Johansson
1d2ef991e2
Add some notes on problems with the TCP/TLS implementation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 13:52:23 +00:00
Kevin P. Fleming
4ca2b3836a
return this logic to where it used to be, *after* the dialog->needdestroy flag has been determined to be set; otherwise, we generate these debug messages every time we inspect every active dialog
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 13:28:56 +00:00
Kevin P. Fleming
1e56eb7e87
some additional debugging tools added at SIPit23:
...
- move all setting of 'needdestroy' on dialog structures into the history
- report all tags involved when a pedantic check fails on a REFER
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 13:23:23 +00:00
Kevin P. Fleming
33c9f5c8c1
inter-module dependencies should be included in the source code, not just in sample config files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 08:56:35 +00:00
Kevin P. Fleming
18609210ba
correct file name in message
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 08:31:13 +00:00
Kevin P. Fleming
109a17ae79
support relative paths in musiconhold.conf, which makes moh work by default when Asterisk was configured using --prefix and 'make samples' is run
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-16 08:30:32 +00:00
BJ Weschke
ab2fd439d4
Blocking 149840 from coming forward.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 21:36:39 +00:00
Mark Michelson
e701f8ee2d
Make the sip_proxy struct reference counted. This is
...
necessary to allow for a sip_pvt to maintain a reference
to a sip_peer's outboundproxy even after the peer has
been freed.
(closes issue #13700 )
Reported by: fnordian
Patches:
13700.patch uploaded by putnopvut (license 60)
Tested by: fnordian
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149802 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 20:55:42 +00:00
BJ Weschke
f0f42874a7
Merged revisions 149683 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r149683 | bweschke | 2008-10-15 14:28:54 -0400 (Wed, 15 Oct 2008) | 4 lines
An update to the documentation/example of agents.conf.sample with the correct parameter for this feature as defined in chan_agent.c
(closes issue #13709 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149756 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 20:14:20 +00:00
Tilghman Lesher
1f0433327f
Permit data fields to contain more than 255 characters.
...
(closes issue #13631 )
Reported by: seanbright
Patches:
20081015__bug13631.diff.txt uploaded by Corydon76 (license 14)
Tested by: blitzrage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149687 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 19:07:39 +00:00
Tilghman Lesher
8460fd9bfd
Only set buf to blank before the goto.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 17:16:00 +00:00
Tilghman Lesher
a8775172aa
When using MALLOC_DEBUG, codec_lpc10 leaks memory, because it matches a library
...
malloc() with an ast_free (which, of course, doesn't match up with known
allocated memory, so the free fails).
(closes issue #13702 )
Reported by: eliel
Patches:
codec_lpc10_lpcini.c uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 16:41:54 +00:00
Tilghman Lesher
1c5e6fc18b
Minor spacing change
...
(closes issue #13697 )
Reported by: alecdavis
Patches:
app_echo.bug13697.103249.diff.txt uploaded by alecdavis (license 585)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149588 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 15:30:21 +00:00
Olle Johansson
216673ad76
Adding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
...
We're going to try to get time to fix this and kpfleming believes that there's code in ao2
so that we can solve it...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 13:52:13 +00:00
Kevin P. Fleming
f00735b317
Merged revisions 149452 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r149452 | kpfleming | 2008-10-15 12:30:40 +0200 (Wed, 15 Oct 2008) | 3 lines
fix some problems when parsing SIP messages that have the maximum number of headers or body lines that we support
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 11:26:36 +00:00
Kevin P. Fleming
8fb0564c4d
reverting this change... had not read the commit list yet, didn't realize the code had been upgraded
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149427 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 10:16:29 +00:00
Kevin P. Fleming
87b8602128
do complete version check for SpanDSP, since the app_fax code is not compatible with 0.0.6 yet
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149426 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 09:59:12 +00:00
Kevin P. Fleming
8e33548633
building this module depends on res_agi being built as well
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 08:55:47 +00:00
Olle Johansson
7fa8f65425
Fixing sytax errors ;-)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-15 07:45:09 +00:00
Mark Michelson
dc36a357d2
When specifying an invalid timeout to Dial, take it
...
to mean that no timeout is desired.
(closes issue #13625 )
Reported by: atis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 23:57:46 +00:00
Mark Michelson
63b894e391
Merged revisions 149266 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r149266 | mmichelson | 2008-10-14 18:43:58 -0500 (Tue, 14 Oct 2008) | 4 lines
Change this warning to an error message. Suggestion
comes from Sean Bright. Thanks Sean!
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149271 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 23:44:44 +00:00
Mark Michelson
83663de0ed
Merged revisions 149207 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r149207 | mmichelson | 2008-10-14 18:10:26 -0500 (Tue, 14 Oct 2008) | 9 lines
Call register_peer_exten even in the case that the peer's
IP/port does not change.
(closes issue #13309 )
Reported by: dimas
Patches:
v2-13309.patch uploaded by dimas (license 88)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 23:15:04 +00:00
Mark Michelson
29a8fe20c8
Merged revisions 149204 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r149204 | mmichelson | 2008-10-14 18:00:01 -0500 (Tue, 14 Oct 2008) | 12 lines
Add a tolerance period for sync-triggered audiohooks
so that if packetization of audio is close (but not equal)
we don't end up flushing the audiohooks over small
inconsistencies in synchronization.
Related to issue #13005 , and solves the issue
for most people who were experiencing the problem.
However, a small number of people are still experiencing
the problem on long calls, so I am not closing
the issue yet
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149205 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 23:04:44 +00:00
Mark Michelson
184fe6f87b
Merged revisions 149200 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r149200 | mmichelson | 2008-10-14 17:40:42 -0500 (Tue, 14 Oct 2008) | 12 lines
Update the queue with the correct number of calls and
whether the call was completed within the service level
when a transfer takes place. This way, we do not "break"
the leastrecent and fewestcalls strategies by not logging
a call until after the transferred call has ended.
(closes issue #13395 )
Reported by: Marquis
Patches:
app_queue.c.transfer.patch uploaded by Marquis (license 32)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149201 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 22:41:13 +00:00
Tilghman Lesher
d5837ba8c2
Add additional memory debugging to several core APIs, and fix several memory
...
leaks found with these changes.
(Closes issue #13505 , closes issue #13543 )
Reported by: mav3rick, triccyx
Patches:
20081001__bug13505.diff.txt uploaded by Corydon76 (license 14)
Tested by: mav3rick, triccyx
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 22:38:06 +00:00
Mark Michelson
c6caf2a06f
Merged revisions 149130 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r149130 | mmichelson | 2008-10-14 15:49:02 -0500 (Tue, 14 Oct 2008) | 7 lines
Don't allow reserved characters to be used in register
lines in sip.conf.
(closes issue #13570 )
Reported by: putnopvut
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 21:08:48 +00:00
Tilghman Lesher
f7a5a731bd
Merged revisions 149061 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r149061 | tilghman | 2008-10-14 15:09:06 -0500 (Tue, 14 Oct 2008) | 6 lines
Check correct values in the return of ast_waitfor(); also, get rid of a
possible memory leak.
(closes issue #13658 )
Reported by: explidous
Patch by: me
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 20:16:48 +00:00
Leif Madsen
f813260584
Add missing documentation for SipShowRegistry action and RegistryEntry event.
...
(closes issue #13342 )
Reported and patch by: Laureano
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:35:54 +00:00
Leif Madsen
56b1207065
Blocked revisions 148990 via svnmerge
...
........
r148990 | lmadsen | 2008-10-14 15:05:12 -0400 (Tue, 14 Oct 2008) | 4 lines
Add in some missing updates to the CHANGES file for sip.conf
(closes issue #13100 )
Reported and patch by: gknispel_proformatique
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:21:54 +00:00
Tilghman Lesher
e818109d73
Merged revisions 148987 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r148987 | tilghman | 2008-10-14 14:03:08 -0500 (Tue, 14 Oct 2008) | 2 lines
Some compilers warn, some don't. Fixing.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 19:03:44 +00:00
Tilghman Lesher
5bf164e901
App is ignoring 'p' parameter -- initial pause.
...
(closes issue #13617 )
Reported by: alecdavis
Patches:
app_sms.13oct.diff.txt uploaded by alecdavis (license 585)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 18:58:19 +00:00
Tilghman Lesher
7bdb6c3ea5
Merged revisions 148916 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r148916 | tilghman | 2008-10-14 12:41:08 -0500 (Tue, 14 Oct 2008) | 4 lines
Ensure that mail headers are 7-bit clean, even when UTF-8 characters are used
in headers like 'Subject' and 'To'.
Closes AST-107.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 17:46:48 +00:00
Mark Michelson
4d9965856b
Merged revisions 148912 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r148912 | mmichelson | 2008-10-14 12:33:38 -0500 (Tue, 14 Oct 2008) | 9 lines
Deadlock prevention in chan_local.
(closes issue #13676 )
Reported by: tacvbo
Patches:
13676.patch uploaded by putnopvut (license 60)
Tested by: tacvbo
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 17:38:06 +00:00
Tilghman Lesher
6d5409e23d
API differences in spandsp 0.0.6pre1 and higher
...
(closes issue #13688 )
Reported by: irroot
Patches:
app_fax-span6.patch uploaded by irroot (license 52) with minor modifications by me
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 15:15:45 +00:00
Joshua Colp
f230048cd3
Fix reference count issue that Russell brought up in SIP MWI NOTIFY support. Bump the reference count up before we add it to the scheduler, duh.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 15:00:41 +00:00
Doug Bailey
5d2a169fb1
Allow MWI registration for all configured lines.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 14:18:46 +00:00
Kevin P. Fleming
6ccc37dec9
fix some references to the owner of a private structure that may not be present
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 11:31:40 +00:00
Kevin P. Fleming
845c910e03
Merged revisions 148736 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r148736 | kpfleming | 2008-10-14 12:30:54 +0200 (Tue, 14 Oct 2008) | 3 lines
on Ubuntu (at least), recent versions of ld in binutils delete all debugging symbols when -x is supplied; since the reasons why -x is being passed are lost in the mists of time, remove it so debugging will work properly
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148738 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 10:33:14 +00:00
Kevin P. Fleming
b616f924c6
this structure should be static
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 10:32:01 +00:00
Kevin P. Fleming
90e01fcb0b
ensure that *all* fields in the req structure are cleared out before reusing it; has_to_tag was not cleared, which caused the second incoming call over a TCP socket to fail if pedantic checking was enabled
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148695 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 09:31:50 +00:00
Olle Johansson
7877ed93bb
Adding some clarifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 09:16:59 +00:00
Kevin P. Fleming
b17413c992
Merged revisions 148611 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r148611 | kpfleming | 2008-10-14 02:54:41 -0500 (Tue, 14 Oct 2008) | 3 lines
it would be nice if this message printing code had actually been tested before it was committed...
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@148612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-14 08:06:45 +00:00