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
Joshua Colp
dd0b891e57
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
2006-09-07 18:54:36 +00:00
Joshua Colp
34eb4f54ba
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
2006-09-07 17:09:55 +00:00
Matt O'Gorman
36935ffc42
protect curhst and curusr
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 17:05:51 +00:00
Joshua Colp
53cf63c33a
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
2006-09-07 16:51:11 +00:00
Kevin P. Fleming
e8ca23608d
minor wording fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 16:42:04 +00:00
Joshua Colp
bc5dd43635
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
2006-09-07 16:40:15 +00:00
Joshua Colp
8a2dd45283
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
2006-09-07 16:33:02 +00:00
Matt O'Gorman
1dc7c62ed4
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
2006-09-07 16:14:53 +00:00
Mark Spencer
47d8e14871
Comment out default from extensions.ael
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-07 15:35:52 +00:00
Steve Murphy
a7b5ef30e7
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
2006-09-07 04:23:00 +00:00
Steve Murphy
11a7e38930
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
2006-09-07 03:35:42 +00:00
Kevin P. Fleming
d5f812e0b1
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
2006-09-07 00:41:27 +00:00
Jason Parker
f0e0963b2e
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
2006-09-06 21:37:12 +00:00
Jason Parker
e3bc4c81f9
This one's for you, mog
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06 21:00:37 +00:00
Joshua Colp
31cc08295c
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
2006-09-06 20:04:17 +00:00
Christian Richter
b1fca65c77
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
2006-09-06 18:02:25 +00:00
Steve Murphy
7c9b6e1d29
These small app documentation changes to app_dial and app_read will hopefully avert any more 7544 type bug reports\!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42111 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06 17:14:50 +00:00
Joshua Colp
ca2b4d407a
Make this module fit the guidelines better
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06 17:05:48 +00:00
Joshua Colp
e77c51f5c6
Merged revisions 42086 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42086 | file | 2006-09-06 11:55:20 -0400 (Wed, 06 Sep 2006) | 2 lines
Make realtime regseconds work as people expected (0 on registration expiration or release, and actual on normal state) (issue #7684 reported by kshumard)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-06 15:58:21 +00:00
Olle Johansson
228d50806c
- Free allocated memory before returning from function
...
- Fix bad formatting
- Add some comments (more needed to understand what's going on)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42058 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-05 20:36:27 +00:00
Joshua Colp
826da1d7b1
Blocked revisions 42054 via svnmerge
...
........
r42054 | file | 2006-09-05 16:02:48 -0400 (Tue, 05 Sep 2006) | 2 lines
Merge in last round of spy fixes. This should hopefully eliminate all the issues people have been seeing by distinctly separating what each component (core/spy) is responsible for. Core is responsible for adding a spy to a channel, feeding frames to the spy, removing the spy from a channel, and telling the spy to stop. Spy is responsible for reading frames in, and cleaning up after itself.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-05 20:03:53 +00:00
Tilghman Lesher
bfef0a23ff
Missing field terminator
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-05 17:23:50 +00:00
Joshua Colp
4a7947501e
Minor tweak - we need to lock the channel when we are removing the spy from it.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42021 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-05 17:01:02 +00:00
Jason Parker
4ba458e352
Merged revisions 42014 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r42014 | qwell | 2006-09-05 09:27:46 -0700 (Tue, 05 Sep 2006) | 4 lines
Small typo in zapata.conf.sample
Reported by ppyy in 7881
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42015 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-05 16:38:22 +00:00
Olle Johansson
bd4e57a873
Make sure we handle CANCEL/ACK properly (imported with mods from 1.2)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-04 15:57:26 +00:00
Joshua Colp
bc5924120d
Remove old unused functions
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-04 03:18:12 +00:00
Joshua Colp
49cfc19f0a
Use tabs instead of spaces (I <3 tabs -- this is for you Qwell)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-03 23:45:03 +00:00