tilghman
5e53d26887
Issue 9970 - Ensure directory exists before trying to write an output file
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71268 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-24 16:20:18 +00:00
murf
efe111a8bb
Merged revisions 71230 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r71230 | murf | 2007-06-22 21:29:48 -0600 (Fri, 22 Jun 2007) | 1 line
This patch is meant to fix 8433; where clid and src are lost via bridging.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71231 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-23 03:32:59 +00:00
tilghman
f21270c8c9
Code cleanups
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71190 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 19:53:57 +00:00
file
78ce48e120
Use stat to determine whether the file exists or not. (issue #10038 reported by Mike Anikienko)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71158 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 16:19:53 +00:00
file
19ab5f94b5
Behold the magic of casting!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71146 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 16:14:00 +00:00
murf
c0200463dc
Merged revisions 71063 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r71063 | murf | 2007-06-22 08:10:24 -0600 (Fri, 22 Jun 2007) | 1 line
My conditions for merging amaflags info was naive; DOCUMENTATION is the default, although null is possible; theft of user-settable fields is not good. Just copy them, leave them alone.
This is for bug 10016. (plus a small fix to rtp, to elim a compiler warning (dev mode))
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71093 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 15:15:35 +00:00
qwell
87786050a2
Merged revisions 71068 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r71068 | qwell | 2007-06-22 10:00:30 -0500 (Fri, 22 Jun 2007) | 12 lines
Merged revisions 71065 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4 lines
Fix a few silly usages of ast_playstream() - it only ever returns 0...
Issue 10035
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71069 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 15:03:32 +00:00
bbryant
59b29501f4
Merged revisions 71066 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r71066 | bbryant | 2007-06-22 09:53:08 -0500 (Fri, 22 Jun 2007) | 18 lines
Merged revisions 71064 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r71064 | bbryant | 2007-06-22 09:39:34 -0500 (Fri, 22 Jun 2007) | 10 lines
Fixed infinite loop when controlling terminal was lost
and return value of input function wasn't checked for
errors. This would cause 100% cpu to be taken up.
(closes issue #9654 , issue #10010 )
Reported by: mnicholson, and eserra
Idea for the patch from mnicholson, patched by me
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71067 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 14:56:36 +00:00
tilghman
ed2b193e6c
Issue 9990 - New API ast_mkdir, which creates parent directories as necessary (and is faster than an outcall to mkdir -p)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71040 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 04:35:12 +00:00
qwell
de3fbdf969
Nothing to see here.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71024 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 04:13:08 +00:00
russell
972f877bc5
Merged revisions 71003 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r71003 | russell | 2007-06-21 22:14:41 -0500 (Thu, 21 Jun 2007) | 3 lines
Fix a small typo which ... well ... completely broke chan_iax2. oops!
(issue #9937 , patch by me)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@71004 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-22 03:15:34 +00:00
qwell
176dfa7845
Add manager events for RTCP statistics.
...
Also adds a new "reporting" permission for manager, since it can be incredibly spammy.
This permission was discussed on the -dev mailing list some months back.
Issue 8613, patch by johann8384, with some minor changes by me.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70961 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 23:07:20 +00:00
murf
bdbc3c31dd
Merged revisions 70949 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r70949 | murf | 2007-06-21 16:34:41 -0600 (Thu, 21 Jun 2007) | 9 lines
Merged revisions 70948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70948 | murf | 2007-06-21 16:29:50 -0600 (Thu, 21 Jun 2007) | 1 line
This little fix is in response to bug 10016, but may not cure it. The code is wrong, clearly. In a situation where you set the CDR's amaflags, and then ForkCDR, and then set the new CDR's amaflags to some other value, you will see that all CDRs have had their amaflags changed. This is not good. So I fixed it.
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70951 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 22:41:05 +00:00
file
92dc7fb75d
Merged revisions 70899 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r70899 | file | 2007-06-21 17:40:19 -0400 (Thu, 21 Jun 2007) | 10 lines
Merged revisions 70898 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70898 | file | 2007-06-21 17:37:55 -0400 (Thu, 21 Jun 2007) | 2 lines
Don't explode if the gain option is specified without a value. (issue #9274 reported by mfarver)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70900 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 21:41:45 +00:00
russell
6128082778
Merged revisions 70883 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70883 | russell | 2007-06-21 16:14:53 -0500 (Thu, 21 Jun 2007) | 3 lines
Put the thread reading from the socket back in the idle list if it deferred the
processing of a full frame to another thread
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70887 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 21:16:36 +00:00
russell
fd11fb4061
Merged revisions 70866 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70866 | russell | 2007-06-21 16:07:04 -0500 (Thu, 21 Jun 2007) | 5 lines
If a full frame is received while one of the iax2 threads is in the middle
of handling a full frame for the same call, queue it up for processing by that
same thread later instead of dropping it.
(issue #9937 , patch by me)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70877 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 21:12:03 +00:00
murf
6d32e21f95
Merged revisions 70841 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r70841 | murf | 2007-06-21 14:19:36 -0600 (Thu, 21 Jun 2007) | 9 lines
Merged revisions 70804 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70804 | murf | 2007-06-21 13:13:17 -0600 (Thu, 21 Jun 2007) | 1 line
it was pointed out that the cdr_custom config load could get a lock, and under certain circumstances, would never release it. I also noted that the situation where more than one mapping spec was warned about, but did not ignore further mappings as it had promised. I think I have fixed both situations.
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70857 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 20:28:04 +00:00
mmichelson
de86d8ae8d
Merged revisions 70808 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70808 | mmichelson | 2007-06-21 14:49:44 -0500 (Thu, 21 Jun 2007) | 4 lines
When volgain is used don't leave a temporary file behind.
(Closes Issue 8514, Reported and patched by ulogic, code reviewed by Jason Parker)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70809 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 19:54:40 +00:00
kpfleming
e64f1d801e
when we are building modules that other modules depend on, create preprocessor defines (in buildopts.h) marking that those modules were built
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70794 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 19:08:09 +00:00
russell
482901f04e
Merge changes from team/russell/sla_reload
...
* Add support for the reload of sla.conf
(closes issue #9481 , patch by me)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70783 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 18:40:20 +00:00
mattf
ff79be5e32
Remove deprecated function call
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70769 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 18:03:46 +00:00
file
9277a2a3fc
Expand AGISTATUS variable to include NOTFOUND which is set when the AGI file could not be found. (issue #9285 reported by srdjan)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70731 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 15:58:05 +00:00
file
1034354f34
Merged revisions 70727 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70727 | file | 2007-06-21 11:22:39 -0400 (Thu, 21 Jun 2007) | 2 lines
Do not Packet2Packet bridge if packetization settings do not allow it. (issue #9117 reported by phsultan)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70729 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 15:25:13 +00:00
russell
1762a860c6
Merged revisions 70726 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70726 | russell | 2007-06-21 10:21:16 -0500 (Thu, 21 Jun 2007) | 2 lines
Remove a couple of duplicate unlocks
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70728 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 15:23:36 +00:00
file
ca0ddd9d7a
Merged revisions 70677 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70677 | file | 2007-06-21 09:58:36 -0400 (Thu, 21 Jun 2007) | 2 lines
Fix building with ODBC storage enabled. (issue #10025 reported by denisgalvao)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70678 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 14:00:47 +00:00
murf
bcf9c108a2
Merged revisions 70656 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70656 | murf | 2007-06-21 07:00:39 -0600 (Thu, 21 Jun 2007) | 1 line
Via complaints aired in asterisk-users, I submit these changes, which allow cdr updates to see macro context/exten, whether hung up or not
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70676 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-21 13:18:12 +00:00
qwell
b46a50d87a
Merged revisions 70612 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70612 | qwell | 2007-06-20 18:32:39 -0500 (Wed, 20 Jun 2007) | 4 lines
Fix some potential memory leaks in cdr_pgsql.
Issue 10020, patch by me, with credit to prashant_jois for pointing out the problem.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70613 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 23:33:49 +00:00
mmichelson
2c3c35ec2b
Removed an extraneous debug message I'd left in my previous commit
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70611 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 23:31:42 +00:00
tilghman
f718745448
Fix trunk brokenness; also, optimize application registration
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70610 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 23:31:08 +00:00
murf
764df68426
Cleaning up a small disaster I created earlier
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70607 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 23:26:07 +00:00
qwell
e5bfda136f
Merged revisions 70560 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70560 | qwell | 2007-06-20 17:55:21 -0500 (Wed, 20 Jun 2007) | 1 line
Fix a stupid mistake in my last cdr_pgsql race condition fix
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70561 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 22:55:47 +00:00
qwell
724553d96f
Merged revisions 70554 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70554 | qwell | 2007-06-20 17:31:35 -0500 (Wed, 20 Jun 2007) | 4 lines
Fix a race condition in cdr_pgsql that can occur when reloading the module.
Issue 10022, patch by me, with credit to prashant_jois for finding the bug.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70555 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 22:32:57 +00:00
file
8c86ab1126
Merged revisions 70552 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r70552 | file | 2007-06-20 18:22:20 -0400 (Wed, 20 Jun 2007) | 10 lines
Merged revisions 70551 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70551 | file | 2007-06-20 18:20:16 -0400 (Wed, 20 Jun 2007) | 2 lines
Don't overwrite the configured username setting upon a REGISTER. (issue #8565 reported by jsmith)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70553 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 22:24:47 +00:00
murf
5d0ac5c2e1
As per 9228, now app_queue should have the proper machinery to do gosubs.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70531 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 21:38:49 +00:00
mmichelson
c346de7673
Main fix: Fixing a bug which caused VoiceMailMain to always report that
...
you had 0 messages when using IMAP storage.
Secondary fixes: adding locks to list access in several places
Big thanks to Russell Bryant for helping out with this.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70530 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 21:31:26 +00:00
qwell
488577d707
Merged revisions 70494 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70494 | qwell | 2007-06-20 15:53:16 -0500 (Wed, 20 Jun 2007) | 4 lines
Make sure we clear the previously dialed number if it did not exist.
Issue 9958.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70495 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 20:54:08 +00:00
qwell
30a0d3c9d3
Revert the change made in revision 45474, since this causes other issues.
...
Issue 10021.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70493 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 20:41:06 +00:00
murf
a5df6622bc
This finishes the changes for making Macro args LOCAL to the call, and allowing users to declare local variables.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70461 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 20:10:19 +00:00
tilghman
b3e46a45e6
Merged revisions 70445 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r70445 | tilghman | 2007-06-20 14:29:23 -0500 (Wed, 20 Jun 2007) | 10 lines
Merged revisions 70444 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70444 | tilghman | 2007-06-20 14:25:54 -0500 (Wed, 20 Jun 2007) | 2 lines
Issue 9997 - Timelimit times out the wrong channel
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70446 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 19:30:31 +00:00
russell
f24f847ba3
Merged revisions 70397 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r70397 | russell | 2007-06-20 13:46:49 -0500 (Wed, 20 Jun 2007) | 13 lines
Merged revisions 70396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r70396 | russell | 2007-06-20 13:45:38 -0500 (Wed, 20 Jun 2007) | 5 lines
Fix a problem where an established call would not be properly disconnected
when a PRI disconnect is received depending on which cause code was received.
(issue #9588 , original patch by softins, updated patch from jtexter3, and some
additional feedback from mhardeman)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70398 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 18:48:34 +00:00
file
c677d2618b
Merged revisions 70360 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70360 | file | 2007-06-20 13:52:57 -0400 (Wed, 20 Jun 2007) | 2 lines
Put the speex packetization values back in but disable it when setting up the smoother.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70361 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 17:55:09 +00:00
tilghman
535b46fc6f
Merge work to make U(...) option work for Dial
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70358 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 17:35:08 +00:00
oej
321b9a2a98
Show TDD status in "zap show channels"
...
Inspired by work at Omnitor in Sweden
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70310 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 14:33:34 +00:00
tilghman
2ba8d2aa3b
Oops, shouldn't have taken that last shortcut (also add some checks)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70291 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 13:00:45 +00:00
tilghman
202f059c3c
Another method of doing local variables, hopefully a little closer to what codefreeze had in mind
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70272 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 05:47:05 +00:00
tilghman
baf55d3e88
Local variables for codefreeze
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70253 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 04:36:23 +00:00
russell
5165d44cf6
Merged revisions 70164 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70164 | russell | 2007-06-19 19:03:22 -0500 (Tue, 19 Jun 2007) | 2 lines
don't delete the backtrace in ast_grab_core
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70234 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 02:13:53 +00:00
file
cd91134c5f
Merged revisions 70198 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r70198 | file | 2007-06-19 20:24:36 -0400 (Tue, 19 Jun 2007) | 2 lines
Don't do packetization/smoother stuff with speex, it doesn't work.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70199 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-20 00:26:18 +00:00
murf
31787d7234
Added a little verbage to CHANGES
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70162 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19 23:38:54 +00:00
murf
1fc1c3e6c9
Via bug9228, no way to create macros via AEL, and some of the apps allow you to call macros..., I modded the apps that allow macro calls to allow gosubs calls also, to make them AEL compliant.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@70161 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-19 23:36:34 +00:00