Russell Bryant
437b439c61
Add some files to the utils directory svn:ignore and Makefile clean target
...
(closes issue #10808 , reported by mvanbaak)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-25 08:09:01 +00:00
Tilghman Lesher
ddc6f8100e
Permit custom locations for astdb and the keys directory (though default to the current locations) (Closes issue #10267 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83726 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24 22:06:19 +00:00
Tilghman Lesher
463cda30cf
Merged revisions 83695 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83695 | tilghman | 2007-09-24 12:22:08 -0500 (Mon, 24 Sep 2007) | 4 lines
In the source, keys are relative to the datadir, not varlib (which is the same
in most cases, but it's good to be accurate).
Closes issue #10811
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24 17:29:02 +00:00
Dwayne M. Hubbard
0f53904918
merged jcmoore's patch for configurable SDP origin-field username and session field, closes issue# 10795
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24 17:10:14 +00:00
Mark Michelson
2d95565f53
interface_exists_global was never returning 1. Most likely an error from my merge on Friday.
...
(closes issue #10817 , reported and patched by snar, patch simplified by me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24 17:00:57 +00:00
Tilghman Lesher
e0b566d770
Blocked revisions 83653 via svnmerge
...
........
r83653 | tilghman | 2007-09-24 11:37:52 -0500 (Mon, 24 Sep 2007) | 2 lines
Oops. Removed the unworkable workaround. This note should never have been in the release.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24 16:42:48 +00:00
Tilghman Lesher
7abaa82162
Merged revisions 83637 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83637 | tilghman | 2007-09-24 10:17:06 -0500 (Mon, 24 Sep 2007) | 3 lines
Making change to group splitting, as discussed on the -dev list. The main
effect of this will be to permit Set(GROUP([cat])=), i.e. unsetting a group.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-24 16:40:12 +00:00
Steve Murphy
4f013699e2
Merged revisions 83589 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83589 | murf | 2007-09-22 13:39:16 -0600 (Sat, 22 Sep 2007) | 1 line
This closes issue #10788 -- The exact same fixes are made here for the first arg in the for(arg1; arg2; arg3) {} statement, as were done for the 3rd arg. It can now be an assignment that will embedded in a Set() app, or a macro call, or an app call.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83590 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22 19:54:10 +00:00
Steve Murphy
f2b38cf2f3
Merged revisions 83558 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83558 | murf | 2007-09-22 10:41:43 -0600 (Sat, 22 Sep 2007) | 1 line
This closes issue #10788 -- the 3rd arg in the for statement is now wrapped in Set() only if there's an '=' in that string. Otherwise, if it begins with '&', then a Macro call is generated; otherwise it is made into an app call. A bit more accomodating, keeps the new guys happy, and the guys with ael-1 code should be happy, too
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22 17:39:37 +00:00
Matthew Fredrickson
996ad72669
Fix potential point of confusion
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22 17:37:07 +00:00
Tilghman Lesher
1b949d24c0
Fix build of check_expr and hashtest2 when DEBUG_THREADLOCAL is defined
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22 14:45:42 +00:00
Tilghman Lesher
02c997c64c
Add the MeetmeList and Reload manager commands, which supplement the need to have Command privilege. (closes issue #10736 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83532 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22 14:03:48 +00:00
Tilghman Lesher
48f56ba8b4
Fixes for FreeBSD... testing for every conceivable math function now
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-22 02:07:53 +00:00
Russell Bryant
0b0c36ff6a
Fix compilation errors in CLI command updates to SS7 CLI commands
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21 19:55:03 +00:00
Matthew Fredrickson
3f6e33c41a
Add an SS7 readme for setup and use of libss7 and asterisk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83499 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21 19:54:07 +00:00
Tilghman Lesher
b88902639a
Fix some areas where we were still using '|' for an argument delimiter (closes issue #10793 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83484 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21 18:41:36 +00:00
Russell Bryant
e5c12bcf62
Update app_queue to use commas as application argument separators.
...
(closes issue #10793 , snar)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21 18:27:56 +00:00
Tilghman Lesher
2fc1f89c30
Fix cdr_manager, such that if the config file is created past load, it'll
...
start logging (and conversely, if the config file is destroyed or deactivated,
the logging is disabled). Reported by Juggie via IRC, fix by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83466 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21 17:36:17 +00:00
Russell Bryant
9f64905d4e
Merged revisions 83432 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83432 | russell | 2007-09-21 09:37:20 -0500 (Fri, 21 Sep 2007) | 4 lines
gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of
changes gets all of Asterisk (minus chan_alsa for now) to compile with gcc 4.2.
(closes issue #10774 , patch from qwell)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83433 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21 14:40:10 +00:00
Tilghman Lesher
78a94595f6
Check for the presence of trunc and round, and make the ISOC99 detection a little more sane (closes issue #10776 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83431 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21 14:25:51 +00:00
Joshua Colp
ab333a003c
Blocked revisions 83400 via svnmerge
...
........
r83400 | file | 2007-09-21 10:34:32 -0300 (Fri, 21 Sep 2007) | 4 lines
Fix video under certain circumstances. It would have been possible for the formats on the channel to not contain the video format.
(closes issue #10782 )
Reported by: cwhuang
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83401 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-21 13:36:02 +00:00
Jason Parker
857f785a40
More NEW_CLI conversions.
...
(issue #10724 )
Patches:
app_playback.c.patch uploaded by moy (license 222)
app_minivm.c.patch uploaded by eliel (license 64)
astmm.c.patch uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83381 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 23:14:30 +00:00
Mark Michelson
dd3ef30d67
Oops. Getting rid of svnmerge-integrated and automerge stuff
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 21:37:28 +00:00
Mark Michelson
25763e2573
Merging changes from queue_refcount_trunk into trunk. Refcounted queues now in place.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 21:21:28 +00:00
Russell Bryant
5cbdfc9925
Merged revisions 83348 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83348 | russell | 2007-09-20 16:16:48 -0500 (Thu, 20 Sep 2007) | 4 lines
When daemonizing, don't change working directory to "/". It makes it not be
able to do a core dump when not running as uid=root.
(closes issue #10766 , xrg)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 21:17:39 +00:00
Russell Bryant
922de69e41
Merged revisions 83316 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83316 | russell | 2007-09-20 16:01:20 -0500 (Thu, 20 Sep 2007) | 3 lines
Change safe_asterisk to explicitly ask for /bin/bash, as it uses bashisms.
(closes issue #10772 , reported by culrich)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 21:02:17 +00:00
Russell Bryant
86e254caba
trivial formatting change
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 19:45:00 +00:00
Russell Bryant
06fd2e1a05
trivial formatting change
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 19:42:33 +00:00
Russell Bryant
2d7b84b2cf
minor spelling fixes in a comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 19:32:18 +00:00
Russell Bryant
f8911d2bbc
minor grammar fix
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83295 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 19:22:10 +00:00
Russell Bryant
79088ae5bc
fix spelling in a comment
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83294 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 19:17:16 +00:00
Russell Bryant
2fde4885db
trivial formatting change
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83293 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 19:11:31 +00:00
Jason Parker
c11e64c727
Fix a trivial typo, to test our new commit bot
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 19:05:16 +00:00
Jason Parker
dfc4e39e47
Merged revisions 83246 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83246 | qwell | 2007-09-20 12:09:14 -0500 (Thu, 20 Sep 2007) | 8 lines
If # is pressed after dialing an extension in DISA, stop trying to collect more digits.
(closes issue #10754 )
Reported by: atis
Patches:
app_disa.c.branch.patch uploaded by atis (license 242)
app_disa.c.trunk.patch uploaded by atis (license 242)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 17:10:14 +00:00
Joshua Colp
b24f4a86bb
Merged revisions 83232 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83232 | file | 2007-09-20 13:25:30 -0300 (Thu, 20 Sep 2007) | 7 lines
Make sure the minimum T1 timer value is obeyed in all cases.
(closes issue #10768 )
Reported by: flefoll
Patches:
chan_sip.c.trunk.83071.retrans-patch uploaded by flefoll (license 244)
chan_sip.c.br14.83070.retrans-patch uploaded by flefoll (license 244)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 16:28:00 +00:00
Russell Bryant
6aa1638d8a
Don't start the event processing thread until after forking.
...
(reported by Simon on the -dev list, thanks!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83233 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 16:27:07 +00:00
Joshua Colp
2d5aaf250a
Merged revisions 83230 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83230 | file | 2007-09-20 13:17:24 -0300 (Thu, 20 Sep 2007) | 7 lines
Fix a minor spelling error.
(closes issue #10769 )
Reported by: flefoll
Patches:
chan_sip.c.trunk.83071.inita-patch uploaded by flefoll (license 244)
chan_sip.c.br14.83070.inita-patch uploaded by flefoll (license 244)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 16:19:45 +00:00
Joshua Colp
6489076887
Fix memory leaks in pbx_dundi, cdr_pgsql, and the configuration file parser.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83229 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-20 16:10:57 +00:00
Jason Parker
ac5332c674
More conversions to NEW_CLI
...
(issue #10724 )
Patches:
chan_zap.c.patch uploaded by moy (license 222)
app_queue.c.patch uploaded by eliel (license 64)
app_voicemail.c.patch uploaded by eliel (license 64)
app_meetme.c.patch uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83213 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 23:16:51 +00:00
Joshua Colp
2f0dba3010
Clean up code in cdr_csv. (Are you sensing a theme for me today?)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83183 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 20:06:31 +00:00
Joshua Colp
c1d1440e59
Clean up code in res_adsi.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83182 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 20:01:34 +00:00
Russell Bryant
2897a41de8
put the channel in autoservice when executing func_shell
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83181 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 19:54:58 +00:00
Russell Bryant
3a31b40b6f
Merged revisions 83179 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83179 | russell | 2007-09-19 14:50:48 -0500 (Wed, 19 Sep 2007) | 5 lines
The System() and TrySystem() applications can take a substantial amount of
time to execute while not servicing the channel. So, put the channel in
autoservice while the command is being executed.
(closes issue #10726 , reported by mnicholson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83180 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 19:51:47 +00:00
Russell Bryant
3f26b8e8cf
Merged revisions 83177 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83177 | russell | 2007-09-19 14:34:25 -0500 (Wed, 19 Sep 2007) | 4 lines
Using curl can take a substantial amount of time, so the channel should be
autoserviced while waiting for it to complete.
(closes issue #10725 , reported by mnicholson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83178 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 19:36:34 +00:00
Russell Bryant
86e640bf77
Merged revisions 83175 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83175 | russell | 2007-09-19 14:13:29 -0500 (Wed, 19 Sep 2007) | 8 lines
When handling a reload of chan_iax2, don't use an ao2_callback() to POKE all
peers. Instead, use an iterator. By using an iterator, the peers container
is not locked while the POKE is being done. It can cause a deadlock if the
peers container is locked because poking a peer will try to lock pvt structs,
while there is a lot of other code that will hold a pvt lock when trying to
go lock the peers container.
(reported to me directly by Loic Didelot. Thank you for the debug info!)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 19:14:58 +00:00
Joshua Colp
d65b2ac1ee
Fix indentation in app_db.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83157 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 17:22:42 +00:00
Joshua Colp
367b241620
Clean up code in app_authenticate.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83156 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 17:20:43 +00:00
Joshua Colp
ed4b51a85e
Clean up code in app_adsiprog.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 17:14:02 +00:00
Russell Bryant
fc1fdac8f2
Merged revisions 83121 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83121 | russell | 2007-09-19 10:10:14 -0500 (Wed, 19 Sep 2007) | 4 lines
Fix up another potential race condition. Do the loop decrementing use count
on events with the eventq protected from being changed.
(reported on IRC by Ivan)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 15:11:12 +00:00
Joshua Colp
463c49e345
DISA only needs to know about the end of DTMF, not the beginning/duration.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-09-19 15:08:43 +00:00