Joshua Colp
10e6fbc3bc
Tweak changes that went in on revision 42891
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42910 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-13 22:45:44 +00:00
Tilghman Lesher
5a77011673
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
2006-09-13 19:52:20 +00:00
Anthony LaMantia
09d8972be6
small fix for 7944
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-13 19:27:27 +00:00
Russell Bryant
25b0e3a148
use strcpy instead of sprintf
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-12 20:33:09 +00:00
Matt O'Gorman
a3a8442e5c
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
2006-09-12 17:45:42 +00:00
Olle Johansson
948533a791
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
2006-09-12 14:22:55 +00:00
Olle Johansson
50b6a222ef
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
2006-09-12 14:17:33 +00:00
Olle Johansson
d970a07b1c
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
2006-09-12 00:32:18 +00:00
Tilghman Lesher
979ef8d2ed
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
2006-09-11 22:17:46 +00:00
Olle Johansson
da55c166dc
More formatting fixes and doxygen stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 19:49:10 +00:00
Olle Johansson
d37002287b
Add comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42769 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 19:27:11 +00:00
Olle Johansson
8868c4e1ca
- 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
2006-09-11 19:24:35 +00:00
Olle Johansson
31fa147b76
More formatting
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42767 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 19:14:58 +00:00
Olle Johansson
4c081033b6
More formatting/doxygen updates to keep me occupied
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42766 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 19:04:33 +00:00
Olle Johansson
421f2b076d
Ignore this. Only whitespace fixes while being bored.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42753 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 18:45:10 +00:00
Olle Johansson
2984fbc068
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
2006-09-11 18:14:02 +00:00
Olle Johansson
e7b882961e
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
2006-09-11 18:06:44 +00:00
Tilghman Lesher
cfaf938f21
More spelling fixes (issue 7930)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 17:02:37 +00:00
Tilghman Lesher
091e1aed8d
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
2006-09-11 16:41:49 +00:00
Anthony LaMantia
ef879455f5
small fix for issue 007926
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42715 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 16:00:53 +00:00
Tilghman Lesher
b0666488f3
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
2006-09-11 14:41:35 +00:00
Russell Bryant
723448c1f1
fix minor typo in coding guidelines
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-11 04:17:23 +00:00
Voicetronix Support
e02897acd4
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
2006-09-11 03:29:08 +00:00
Mark Spencer
59c861bc5e
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
2006-09-10 20:28:03 +00:00
Tilghman Lesher
237fbf35fc
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
2006-09-10 17:35:08 +00:00
Tilghman Lesher
9e397b6bba
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
2006-09-09 21:51:07 +00:00
Joshua Colp
0f3eaaf703
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
2006-09-09 20:25:45 +00:00
Joshua Colp
d2a359e57f
Optimize a bit
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09 19:12:52 +00:00
Joshua Colp
10e361763c
It's another round of RTP updates!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09 18:07:59 +00:00
Olle Johansson
a2af69ed6f
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
2006-09-09 15:09:16 +00:00
Olle Johansson
5a622d032e
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
2006-09-09 12:44:36 +00:00
Olle Johansson
01714e962b
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
2006-09-09 12:25:18 +00:00
Olle Johansson
d0cbbaf8d7
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
2006-09-09 12:01:59 +00:00
Olle Johansson
562b491a85
Clear proper flag
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-09 12:00:19 +00:00
Olle Johansson
cf22a4526c
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
2006-09-09 11:45:55 +00:00
Kevin P. Fleming
be29512d1e
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
2006-09-09 03:27:21 +00:00
Matt O'Gorman
f4434eba6f
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
2006-09-08 22:54:28 +00:00
Kevin P. Fleming
c63fe750bb
minor performance improvement
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-08 21:33:32 +00:00
Joshua Colp
160cea6139
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
2006-09-08 18:53:41 +00:00
Steve Murphy
4c937339e5
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
2006-09-08 16:44:38 +00:00
Tilghman Lesher
ae6795f3ec
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
2006-09-08 16:08:36 +00:00
Joshua Colp
b1418f26d2
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
2006-09-08 04:38:43 +00:00
Joshua Colp
ac9e94d0ee
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
2006-09-08 03:51:26 +00:00
Joshua Colp
fd9f37a63f
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
2006-09-08 03:46:33 +00:00
Joshua Colp
d597b76c36
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
2006-09-08 02:54:45 +00:00
Joshua Colp
62e58282eb
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
2006-09-08 02:00:45 +00:00
Tilghman Lesher
fa12b3c774
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
2006-09-07 23:15:43 +00:00
Joshua Colp
082f59ff03
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
2006-09-07 21:11:07 +00:00
Matthew Fredrickson
75822388a4
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
2006-09-07 20:05:37 +00:00
Joshua Colp
0b93665a71
Code cleaning/updates/potential bug fixes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 19:50:59 +00:00