Commit Graph

8353 Commits

Author SHA1 Message Date
Christian Richter 3fb070853b fixed bug that we've lost the orginator of the call.. now we can hear to disconnect indications again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 15:29:01 +00:00
Joshua Colp 6137943e4c Blocked revisions 27767 via svnmerge
........
r27767 | file | 2006-05-17 12:17:04 -0300 (Wed, 17 May 2006) | 2 lines

OSPNext does not handle success/failure correctly (issue #7147 reported and fixed by eborgstrom)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 15:19:29 +00:00
Olle Johansson 33729e6954 Block TRANSFER_CONTEXT patch for 1.2 only, since is already implemented in siptransfer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27724 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 09:29:55 +00:00
Olle Johansson 770a4a30c5 Use pointer instead of un-needed buffer. Thanks Kevin!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 06:18:09 +00:00
Tilghman Lesher ffe4dedf29 Merged revisions 27636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27636 | tilghman | 2006-05-16 21:19:50 -0500 (Tue, 16 May 2006) | 2 lines

Bug 7125 - Fix race condition between resequencing and leaving a message

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-17 02:27:17 +00:00
Joshua Colp d2da48b156 Inherit channel variables when call forwarding through chan_local (issue #7095 reported by raarts)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27595 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 23:39:29 +00:00
Kevin P. Fleming c3dce57d95 mark RTP sessions that are not carrying DTMF
allow native bridging of RTP sessions that are not carrying DTMF even when the bridge needs to listen to DTMF (when SIP INFO is used for DTMF, for example)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 22:11:02 +00:00
Kevin P. Fleming ca8f9083c0 clean up some compiler warnings (no reason to use signed integers for buffer lengths, ever)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27524 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 21:45:15 +00:00
Matthew Fredrickson 99648dd713 Add option for enabling and disabling echo cancellation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 21:43:20 +00:00
Tilghman Lesher 912f9f9dc7 Argument macro janitor for func_odbc, fixes #7171
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 21:14:01 +00:00
Olle Johansson eeb2184920 Send a=recvonly when put on hold, otherwise a=sendrecv to indicate that we want two streams.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27479 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 20:13:10 +00:00
Kevin P. Fleming 50a91c69c3 make this app actually compile
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27478 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 20:09:30 +00:00
Kevin P. Fleming e140c0ba9f Merged revisions 27468 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27468 | kpfleming | 2006-05-16 15:05:17 -0500 (Tue, 16 May 2006) | 2 lines

don't leak frames when deferring DTMF or dropping duplicate ANSWER frames (issue #7041, slightly different fix, reported/patched by clausf)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 20:08:29 +00:00
Olle Johansson 28d9dc7997 Typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27437 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 19:21:20 +00:00
Olle Johansson 185cebac91 Adding check of option_debug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 19:20:50 +00:00
Olle Johansson e4c0a90649 Show all formats for an active SIP call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27396 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 18:06:27 +00:00
Christian Richter a309a2db9f fixed very bad memory overwrite which leaded to segfaults on some systems. removed redundant buffer betweend mISDN reading thread and ast_read in favour of the already existing pipe, this clarifies the way a voice frame takes between mISDN and asterisk a lot. centralized debugging of NumberPlan. removed a compiler warning.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 14:34:21 +00:00
Olle Johansson c625a539be One sipfrag attachment is enough...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 12:44:04 +00:00
Olle Johansson ea510a4cf9 - Format fixes
- Adding if(option_debug) in front of complicated debug messages...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27305 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 12:42:59 +00:00
Russell Bryant 43afee3a0c return the result of the cli command registration
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 03:18:57 +00:00
Russell Bryant 8047e8067e fix bogus patch to allow setting the CDR amaflags. (The original patch in
issue #7166 was fine.)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-16 03:18:22 +00:00
Matt O'Gorman dd0ee63009 allow func_cdr to set amaflags patch provided by
bug 7166


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-15 19:46:26 +00:00
Joshua Colp 80a705c121 Make sure that the channel is answered before doing SpeechBackground. (issue #josh-wait-I-dont-have-issue-numbers)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27194 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-15 15:30:21 +00:00
Russell Bryant 51d5b1fdb2 simplify conference user list handling
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13 11:06:34 +00:00
Russell Bryant a3ed43f0dc Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now be
defined in buildopts.h. Also, remove a few more stray spaces in the gcc commands. 


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13 10:54:40 +00:00
Russell Bryant cec3a958e4 remove some stuff handled by configure and menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13 10:43:11 +00:00
Russell Bryant 2062ab078e remove unnecessary INCLUDE variable which was currently added to ASTCFLAGS
before it was ever set.  This removes another stray space in the gcc
commands  :)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27128 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13 10:37:26 +00:00
Tilghman Lesher 06882b4232 Merged revisions 27093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27093 | tilghman | 2006-05-12 23:08:29 -0500 (Fri, 12 May 2006) | 2 lines

Bug 7134 - File descriptor leak with ODBC storage of voicemail

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-13 04:18:25 +00:00
Tilghman Lesher 9fd91e0829 Merged revisions 27051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27051 | tilghman | 2006-05-11 18:02:57 -0500 (Thu, 11 May 2006) | 2 lines

Bug 7086 - pbx_checkcondition substitution, so that arbitrary strings are true (for regex)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 23:16:27 +00:00
Russell Bryant ad8ff708de fix the build with astmm (issue #7139)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 21:24:54 +00:00
Russell Bryant 8a390e342a use config.status instead of include/autoconfig.h as the dependency
for menuselect


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 20:29:00 +00:00
Luigi Rizzo b91ce5a738 set correct type for lock initializers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 20:21:11 +00:00
Russell Bryant f9c578a8a0 - The recent change to linklists.h broke the build on linux for some reason.
So, I have removed all of the uses of AST_LIST_HEAD_INIT and replaced them
   with the equivalent static initializations.
 - On passing, fix a memory leak in the unload_module() function of chan_agent.
   The agents list mutex was never destroyed, and the elements in the agents
   list were not freed.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 20:07:44 +00:00
Luigi Rizzo 126ce7882c oops, missing ! in matchcid...
this should fix bug #7142



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 20:03:52 +00:00
Luigi Rizzo 46a9459d57 remove a now useless debugging message about loading new-style modules.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 15:51:43 +00:00
Luigi Rizzo 1f0d723c1e properly initialize non-static locks.
(Thanks Dinesh for tracking the bug and fixing it)



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 15:50:25 +00:00
Luigi Rizzo 2b8bc286ef cast sockaddr_in to sockaddr because we need that.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26952 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 15:25:21 +00:00
Mark Spencer c696006923 Go ahead and merge STUN mods for RTP in preparation for some STUN
support in SIP.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26920 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 14:56:52 +00:00
Luigi Rizzo 87e909476d simplify determine_firstline_parts
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 14:55:34 +00:00
Luigi Rizzo f3e6fa56ab remove last instance of add_blank_header()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 14:47:12 +00:00
Luigi Rizzo b87aea8d60 remove almost all useless instances of add_blank_header() but one,
for which i need to investigate a bit more (but i am almost 100%
sure that one is also useless).
I do the commit in two steps so it is easier to track the problem.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26915 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 14:35:06 +00:00
Olle Johansson 5237a0e06d - Use systemname for realm in sip, if we have no configuration for realm
- Optionally send systemname in manager (cool when you have a manager proxy)
- Use systemname in CLI prompt


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26884 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 13:54:00 +00:00
Kevin P. Fleming 76347c8d31 various minor cleanups
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26877 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 13:15:10 +00:00
Kevin P. Fleming 74cd80b1a4 use the proper method to get out of the bridge loop
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:37:39 +00:00
Russell Bryant 1a8f3dd2d2 forcing a dist-clean in the cleantest was a bad idea. Just change the script
that generates buildopts.h to handle old menuselect.makeopts files


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:28:37 +00:00
Kevin P. Fleming a541309599 initialize the bridge result to 'no result', so that we can check for code paths that set it to AST_BRIDGE_COMPLETE inside the loop (thanks Oskar!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:28:22 +00:00
Luigi Rizzo 945ec73b09 remove trailing space
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26848 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:26:39 +00:00
Luigi Rizzo 589241e300 remove a duplicate prototype
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:26:00 +00:00
Luigi Rizzo 96478ea3a2 remove duplicated code in add_header
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:22:18 +00:00
Russell Bryant 476c7a53e1 add messages at the bottom of the menu for each of the defines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-11 10:20:16 +00:00