Kevin P. Fleming [Mon, 18 Sep 2006 22:14:09 +0000 (22:14 +0000)]
don't need two copies of this
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43239
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 18 Sep 2006 22:05:53 +0000 (22:05 +0000)]
a little cleanup and simplification, and remove ON_FIRST_USE mode since nobody uses it
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43237
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 18 Sep 2006 22:02:04 +0000 (22:02 +0000)]
u_intXX_t is silly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43236
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 18 Sep 2006 21:24:50 +0000 (21:24 +0000)]
Only use alloca.h on OSes that have it.
Reported by jontow on IRC in #asterisk-dev
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43230
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 18 Sep 2006 20:13:14 +0000 (20:13 +0000)]
Merging patch from 1.2 - Issue #7682
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43221
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 18 Sep 2006 19:58:27 +0000 (19:58 +0000)]
always use fork() when available
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43216
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 18 Sep 2006 19:57:09 +0000 (19:57 +0000)]
We have autoconf...let's actually use it.
(note, M4 wasn't used, so...bye)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43215
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 18 Sep 2006 19:56:44 +0000 (19:56 +0000)]
Issue #7351 - sending CANCEL when the call at some point has been in UP state is wrong.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43214
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 18 Sep 2006 19:54:46 +0000 (19:54 +0000)]
revert this since, since some unnamed platforms are silly about it :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43213
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 18 Sep 2006 19:54:18 +0000 (19:54 +0000)]
merge qwell's CLI verbification work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 18 Sep 2006 19:30:10 +0000 (19:30 +0000)]
handle config.guess name for FreeBSD properly
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43208
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 18 Sep 2006 19:20:24 +0000 (19:20 +0000)]
it appears that current Mac OS/X does not need the poll compatibility module at all, and platforms that do need it also need -DPOLLCOMPAT (or they wouldn't have compiled at all)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43207
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Mon, 18 Sep 2006 19:08:40 +0000 (19:08 +0000)]
escape some quotes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43205
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 18 Sep 2006 17:37:44 +0000 (17:37 +0000)]
Reference will be kept in the application component only right now. In the future this should be expanded to the channel driver (just like all the other channel drivers) (issue #7975 reported by andrewt)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43199
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Mon, 18 Sep 2006 16:36:14 +0000 (16:36 +0000)]
seperate jingle and gtalk so it will be easier to track
changes in both of the moving specs. Currently chan_gtalk is
compatible with the latest gtalk/libjingle version, and chan_jingle
needs a lot of work.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43185
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Mon, 18 Sep 2006 15:54:57 +0000 (15:54 +0000)]
minor performance improvement for platforms where -fPIC and -fpic are actually different (has no effect on x86/x86-64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43166
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Mon, 18 Sep 2006 15:44:18 +0000 (15:44 +0000)]
Clarified the meaning of the callwaiting variable in the zapata.conf file.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43165
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 18 Sep 2006 15:32:08 +0000 (15:32 +0000)]
Blocked revisions 43163 via svnmerge
........
r43163 | file | 2006-09-18 11:30:26 -0400 (Mon, 18 Sep 2006) | 2 lines
Add deprecation notice about app_math (issue #7957 reported by k-egg)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43164
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 18 Sep 2006 15:15:33 +0000 (15:15 +0000)]
Use a better check to ensure database connection is up (pointer to connection must exist, and connection must report status being ok) (issue #7955 reported by sorg)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43162
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Mon, 18 Sep 2006 15:07:59 +0000 (15:07 +0000)]
Merged revisions 43159 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43159 | file | 2006-09-18 11:05:39 -0400 (Mon, 18 Sep 2006) | 2 lines
Add number unobtainable tone for New Zealand (issue #7969 reported by nic_bellamy)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43161
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 18 Sep 2006 14:53:54 +0000 (14:53 +0000)]
Remove the suggestion of realtime hints, since that functionality will not be available until post-1.4
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43147
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Mon, 18 Sep 2006 05:40:17 +0000 (05:40 +0000)]
Improve documentation of users.conf items.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43135
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sun, 17 Sep 2006 23:04:48 +0000 (23:04 +0000)]
remove a bit of redundant code
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43123
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sun, 17 Sep 2006 22:24:27 +0000 (22:24 +0000)]
Skinny hold support.
Original patch by wedhorn, with modifications by me.
Issue #7588
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43111
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Sun, 17 Sep 2006 21:58:04 +0000 (21:58 +0000)]
Get rid of all the useless (and confusing) typedefs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43099
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 17 Sep 2006 14:00:39 +0000 (14:00 +0000)]
Merged revisions 43072 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43072 | tilghman | 2006-09-17 08:54:34 -0500 (Sun, 17 Sep 2006) | 3 lines
Directory used the wrong context for delivery of 0- and *- keypresses
(according to Directory's own documentation) - Issue 7965
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43075
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 16 Sep 2006 23:53:58 +0000 (23:53 +0000)]
merge markster's usersconf branch with some slight changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43052
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Sat, 16 Sep 2006 21:45:35 +0000 (21:45 +0000)]
Fix the dtmf dialtone thing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43039
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 16 Sep 2006 08:10:55 +0000 (08:10 +0000)]
Merged revisions 43019 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43019 | tilghman | 2006-09-16 02:57:04 -0500 (Sat, 16 Sep 2006) | 2 lines
When a realtime peer expires, reset the ipaddress in the realtime database back to 0 (Issue 6656)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43024
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 16 Sep 2006 05:43:54 +0000 (05:43 +0000)]
Merged revisions 43003 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r43003 | tilghman | 2006-09-15 23:44:02 -0500 (Fri, 15 Sep 2006) | 2 lines
When the marked user enters the conference, we should no longer timeout
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43008
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Fri, 15 Sep 2006 17:16:00 +0000 (17:16 +0000)]
Many Solaris fixes - this moves some of the stuff from utils.c to strcompat.c
Every OS uses strcompat now - this was done on purpose.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42982
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Anthony LaMantia [Fri, 15 Sep 2006 05:00:27 +0000 (05:00 +0000)]
reveting modifaction to __ast_module_user_remove
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42965
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 14 Sep 2006 22:18:07 +0000 (22:18 +0000)]
Merged revisions 42946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42946 | tilghman | 2006-09-14 17:16:31 -0500 (Thu, 14 Sep 2006) | 2 lines
Error message references wrong argument (Issue 7951)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42947
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 14 Sep 2006 13:57:40 +0000 (13:57 +0000)]
Revise documentation to state that mpg123 for music on hold is deprecated.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42929
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 13 Sep 2006 22:45:44 +0000 (22:45 +0000)]
Tweak changes that went in on revision 42891
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42910
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Wed, 13 Sep 2006 19:52:20 +0000 (19:52 +0000)]
Blocked revisions 42892 via svnmerge
........
r42892 | tilghman | 2006-09-13 14:51:24 -0500 (Wed, 13 Sep 2006) | 2 lines
Backport bugfix patch from 7918 to 1.2 - msg_cfg destroyed before used
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42893
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Anthony LaMantia [Wed, 13 Sep 2006 19:27:27 +0000 (19:27 +0000)]
small fix for 7944
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42891
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Tue, 12 Sep 2006 20:33:09 +0000 (20:33 +0000)]
use strcpy instead of sprintf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42858
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Tue, 12 Sep 2006 17:45:42 +0000 (17:45 +0000)]
i dont know how msg_cfg got moved around but its all good again
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42842
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 12 Sep 2006 14:22:55 +0000 (14:22 +0000)]
Issue #7924 - cmaj - Turn off silence suppression if no channel owner
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42827
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 12 Sep 2006 14:17:33 +0000 (14:17 +0000)]
Issue #7928 - Don't send both 404 and 503. Fix by phsultan with a small fix by me, myself or I.
Thanks, Philippe!
(This was caused by my changes to the transaction handling)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42826
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Tue, 12 Sep 2006 00:32:18 +0000 (00:32 +0000)]
If we've found a T38 SDP line, stop looking for more on the very same line
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42802
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 11 Sep 2006 22:17:46 +0000 (22:17 +0000)]
Merged revisions 42783 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42783 | tilghman | 2006-09-11 16:47:23 -0500 (Mon, 11 Sep 2006) | 4 lines
When paging, only wait 5 seconds for the marked user to enter the conference.
After that, assume the paging already completed by the time the channel entered
the conference and drop back out. (Issue 7275)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42788
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 11 Sep 2006 19:49:10 +0000 (19:49 +0000)]
More formatting fixes and doxygen stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42770
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 11 Sep 2006 19:27:11 +0000 (19:27 +0000)]
Add comment
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42769
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 11 Sep 2006 19:24:35 +0000 (19:24 +0000)]
- Use enum for send-request reliability flags
- Make re-invites CRITICAL
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42768
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 11 Sep 2006 19:14:58 +0000 (19:14 +0000)]
More formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42767
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 11 Sep 2006 19:04:33 +0000 (19:04 +0000)]
More formatting/doxygen updates to keep me occupied
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42766
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 11 Sep 2006 18:45:10 +0000 (18:45 +0000)]
Ignore this. Only whitespace fixes while being bored.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42753
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 11 Sep 2006 18:14:02 +0000 (18:14 +0000)]
Change from "r" as a variable name to "dialog". "r" is commonly used for registrations,
not dialogs, in other places of the code...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42752
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Mon, 11 Sep 2006 18:06:44 +0000 (18:06 +0000)]
Use Timer T1 for dialog timeouts/destruction
(If you have qualify=yes, we will use the actual roundtrip time)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42751
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 11 Sep 2006 17:02:37 +0000 (17:02 +0000)]
More spelling fixes (issue 7930)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42735
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 11 Sep 2006 16:41:49 +0000 (16:41 +0000)]
Merged revisions 42716 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42716 | tilghman | 2006-09-11 11:39:06 -0500 (Mon, 11 Sep 2006) | 2 lines
Spelling/grammar fixes (Issue 7929)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42717
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Anthony LaMantia [Mon, 11 Sep 2006 16:00:53 +0000 (16:00 +0000)]
small fix for issue 007926
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42715
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Mon, 11 Sep 2006 14:41:35 +0000 (14:41 +0000)]
Merged revisions 42697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42697 | tilghman | 2006-09-11 09:40:13 -0500 (Mon, 11 Sep 2006) | 2 lines
Two grammar issues (bug 7927)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42698
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Russell Bryant [Mon, 11 Sep 2006 04:17:23 +0000 (04:17 +0000)]
fix minor typo in coding guidelines
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42684
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Voicetronix Support [Mon, 11 Sep 2006 03:29:08 +0000 (03:29 +0000)]
Board numbers and channel numbers are now 0 based, since vpb driver
version 3.0 (released December 2005)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42671
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Sun, 10 Sep 2006 20:28:03 +0000 (20:28 +0000)]
Uhm, make Zap actually work again. Did anybody actually test that code?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42654
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sun, 10 Sep 2006 17:35:08 +0000 (17:35 +0000)]
If the leading underscore is not stripped before comparison,
pbx_builtin_getvar_helper() will never find the associated variable.
(Bug 7892)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42638
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Sat, 9 Sep 2006 21:51:07 +0000 (21:51 +0000)]
In trunk, ast_fileexists now returns 0 for failure, instead of -1, as it did
in 1.2. This corrected a longstanding confusion about the return value.
Unfortunately, it broke this app in the process. (Issue 7906)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42621
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sat, 9 Sep 2006 20:25:45 +0000 (20:25 +0000)]
Merged revisions 42600 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42600 | file | 2006-09-09 16:24:19 -0400 (Sat, 09 Sep 2006) | 2 lines
Only truly consider the channel in the same format if the format matches the raw format OR if a translation path already exists to translate between them. (issue #7887 reported by softins & issue #7803 reported by alvaro_palma_aste). Thanks goes to stubert for giving me access to a box and showing me a scenario where this occured.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42601
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sat, 9 Sep 2006 19:12:52 +0000 (19:12 +0000)]
Optimize a bit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42583
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Sat, 9 Sep 2006 18:07:59 +0000 (18:07 +0000)]
It's another round of RTP updates!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42569
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 9 Sep 2006 15:09:16 +0000 (15:09 +0000)]
Add reference to the latest trademark policy on digium.com
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42555
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 9 Sep 2006 12:44:36 +0000 (12:44 +0000)]
Don't destruct sessions prematurely. Especially not when we want reliable retransmissions...
If this works properly, we might have to check 1.2 to implement a backport.
The theory is that if you get a final reply in a session, it is ok to destroy the session.
If you send a final reply, you need to keep the session open for potential retransmits
from the other side. If you send a HANGUP/CANCEL, wait to the other side confirms
or until you have a timeout. If you send HANGUP/CANCEL/ACK reliably, don't destroy
the session so that you cancel the needed retransmits.
I will have to change the timer to 64*T1, but that will be a separate patch. That will
mean that if we know the roundtrip time, we can destroy sessions quicker.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42537
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 9 Sep 2006 12:25:18 +0000 (12:25 +0000)]
importing rev 42535 from 1.2 (which by mistake was actually imported from svn trunk)
- Maybe the first circular commit?
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42536
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 9 Sep 2006 12:01:59 +0000 (12:01 +0000)]
Don't destroy pvt prematurely. Wait for answer or timeout.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42531
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 9 Sep 2006 12:00:19 +0000 (12:00 +0000)]
Clear proper flag
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42521
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Olle Johansson [Sat, 9 Sep 2006 11:45:55 +0000 (11:45 +0000)]
Add warning about res_adsi not being optional to menuselect
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42519
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Sat, 9 Sep 2006 03:27:21 +0000 (03:27 +0000)]
more makefile tweaks to keep targets from being run when they don't need to be
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42505
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Fri, 8 Sep 2006 22:54:28 +0000 (22:54 +0000)]
Get rid of ugly tmp directory, although I really should
fix the way imap accesses its temporary voice files.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42491
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Fri, 8 Sep 2006 21:33:32 +0000 (21:33 +0000)]
minor performance improvement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42477
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 8 Sep 2006 18:53:41 +0000 (18:53 +0000)]
Merged revisions 42452 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42452 | file | 2006-09-08 14:50:43 -0400 (Fri, 08 Sep 2006) | 2 lines
Swap spies during masquerading
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42453
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Fri, 8 Sep 2006 16:44:38 +0000 (16:44 +0000)]
As per discussion on bug 7862, the problem wasn't the fact that the documentation differed from behavior, but rather that users are used to REGEX having that space after the double quote in 1.2.x. So, in keeping with history, I investigated a little deeper, and discovered that the change in behavior was due to the modification of the function to use the AST_DECLARE_APP_ARGS and AST_NONSTANDARD_APP_ARGS() to parse the args. The code to skip the blank was left out. So, what I did was add code to throw out the first blank (space or tab) after the double quote, IF IT IS THERE. If not, nothing is done.Verbage is added to the function description saying that the space is optional, and skipped if it is there. If a space is desired, then the documentation advises putting two spaces there. This should make it compatible for 1.2 users, and not mess up new users who are used to using it with no space. It WILL mess up new users who WANT a space. Hopefully, they will double check the doc strings for this func and add the extra space. Hopefully, this class of new user is very small.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42423
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Fri, 8 Sep 2006 16:08:36 +0000 (16:08 +0000)]
Merged revisions 42421 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42421 | tilghman | 2006-09-08 11:06:17 -0500 (Fri, 08 Sep 2006) | 2 lines
Jump logic was backwards: goto returns 0 if it succeeds, and we should jump if authentication fails. (Bug #7907)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42422
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 8 Sep 2006 04:38:43 +0000 (04:38 +0000)]
Blocked revisions 42402 via svnmerge
........
r42402 | file | 2006-09-08 00:37:07 -0400 (Fri, 08 Sep 2006) | 2 lines
Use ast_best_codec to set the read/write format
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42403
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 8 Sep 2006 03:51:26 +0000 (03:51 +0000)]
Formatting fixes for chan_oss (issue #7808 reported by Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42389
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 8 Sep 2006 03:46:33 +0000 (03:46 +0000)]
Formatting fixes for chan_alsa (issue #7807 reported by Mithraen with more mods done by myself)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42388
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 8 Sep 2006 02:54:45 +0000 (02:54 +0000)]
whentohangup is already in seconds, just need to convert to milliseconds
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42374
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Fri, 8 Sep 2006 02:00:45 +0000 (02:00 +0000)]
Destroy msg_cfg after it's used, not before (issue #7618 reported by wvolz with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42373
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Tilghman Lesher [Thu, 7 Sep 2006 23:15:43 +0000 (23:15 +0000)]
Merged revisions 42355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42355 | tilghman | 2006-09-07 18:12:29 -0500 (Thu, 07 Sep 2006) | 2 lines
Format vulnerability fix - allowing the user to specify a format is not a good idea (Bug 7811)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42356
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 7 Sep 2006 21:11:07 +0000 (21:11 +0000)]
Use flags instead of variables on the private structure for things
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42338
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matthew Fredrickson [Thu, 7 Sep 2006 20:05:37 +0000 (20:05 +0000)]
Make sure we give a little warning about the echotraining option
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42324
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 7 Sep 2006 19:50:59 +0000 (19:50 +0000)]
Code cleaning/updates/potential bug fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42311
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 7 Sep 2006 18:54:36 +0000 (18:54 +0000)]
Minor cleanup and make sure the tmp variable is clean
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42298
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 7 Sep 2006 17:09:55 +0000 (17:09 +0000)]
Use lower case 'x' instead of a UTF-8 character (issue #7888 reported by flefoll)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42284
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Thu, 7 Sep 2006 17:05:51 +0000 (17:05 +0000)]
protect curhst and curusr
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42283
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 7 Sep 2006 16:51:11 +0000 (16:51 +0000)]
Convert some warnings into debug messages since they can exist under perfectly normal circumstances that the user shouldn't care about (issue #7894 reported by stephen_dredge)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42264
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 7 Sep 2006 16:42:04 +0000 (16:42 +0000)]
minor wording fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42263
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 7 Sep 2006 16:40:15 +0000 (16:40 +0000)]
Set the variable even if the caller disconnects (issue #7896 reported by jsmith)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42262
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Thu, 7 Sep 2006 16:33:02 +0000 (16:33 +0000)]
Merged revisions 42260 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42260 | file | 2006-09-07 12:30:44 -0400 (Thu, 07 Sep 2006) | 2 lines
Let's use the same thing we use in other places to calculate our time for ast_cond_timedwait (issue #7697 reported by bn999)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42261
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Matt O'Gorman [Thu, 7 Sep 2006 16:14:53 +0000 (16:14 +0000)]
patch to fix several things wrong with voicemail
imap storage.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42259
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Mark Spencer [Thu, 7 Sep 2006 15:35:52 +0000 (15:35 +0000)]
Comment out default from extensions.ael
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42244
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 7 Sep 2006 04:23:00 +0000 (04:23 +0000)]
With respect to bug 7862, the syntax and description are misleading to users. the syntax included a space after the double quotes between the regex and the data to match. I removed this from the function doc, and added some verbage to make this crystal clear, I hope.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42224
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Steve Murphy [Thu, 7 Sep 2006 03:35:42 +0000 (03:35 +0000)]
Made changes corresponding to those in 1.2 here in main/logger.c for bug 7544.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42208
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Kevin P. Fleming [Thu, 7 Sep 2006 00:41:27 +0000 (00:41 +0000)]
don't try to get the length of the string in the ast_dynamic_str object unless we know there is actually one there
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42185
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 6 Sep 2006 21:37:12 +0000 (21:37 +0000)]
Fix a small typo, to make app_followme.c show properly in "show version files"
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42170
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Jason Parker [Wed, 6 Sep 2006 21:00:37 +0000 (21:00 +0000)]
This one's for you, mog
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42154
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Joshua Colp [Wed, 6 Sep 2006 20:04:17 +0000 (20:04 +0000)]
Merged revisions 42148 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42148 | file | 2006-09-06 16:02:59 -0400 (Wed, 06 Sep 2006) | 2 lines
Don't close the second file descriptor if it's the same as the first one, as it will have already been closed elsewhere and could cause massive panic. (issue #7699 reported by bn999)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42149
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
Christian Richter [Wed, 6 Sep 2006 18:02:25 +0000 (18:02 +0000)]
fixed pipe consuming bug when using chanIsAvail (#7878), also moved a debug log to the very begining of misdn_hangup.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42126
65c4cc65-6c06-0410-ace0-
fbb531ad65f3