Commit Graph

6792 Commits

Author SHA1 Message Date
Kevin P. Fleming
9d5f3974d3 properly handle brace-wrapped strings in variable/function references in the dialplan
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@21237 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 23:31:10 +00:00
Tilghman Lesher
e6b64adab2 Bug 6984 - off by one error in Random()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@21037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-18 06:26:04 +00:00
Tilghman Lesher
6abf8e5e92 Bug 6544 - when we remove a music class, the thread servicing it should die
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@20966 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-17 17:00:16 +00:00
Kevin P. Fleming
0c108cb1ec uncomment files that actually do exist (oops)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@20037 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 17:21:09 +00:00
Kevin P. Fleming
2939ab99bd update text to match actual prompts being distributed (thanks to Kinsey in the support department for reviewing all the prompts!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@20034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-14 17:00:32 +00:00
Tilghman Lesher
4bea5adcbf Bug 6947 - Allow vm broadcasts to more than 256 characters worth of mailboxes
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19891 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-13 20:37:50 +00:00
Kevin P. Fleming
bd9026f975 oops... let's not set a variable and then immediately overwrite it while assuming its old value will magically return
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-13 17:40:21 +00:00
Tilghman Lesher
9a13dc9d99 Bug 6957 - variable names beginning with CALLERID weren't substituted correctly
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19768 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-13 15:56:35 +00:00
Tilghman Lesher
829bf52765 Bug 6490 - telco intercept should report NOANSWER instead of CHANUNAVAIL
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 22:39:59 +00:00
Tilghman Lesher
b224ed93ca Bug 6061 - Fix ODBC storage of VM on PGSQL and MSSQL
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 22:24:46 +00:00
Kevin P. Fleming
c3d195a2b3 don't create a 'voicemail' symlink in the sounds directory; app_voicemail has not needed it since January of 2005 (issue #6613)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 21:58:47 +00:00
Tilghman Lesher
aea2d73afa Bug 6097 - possible descriptor leak
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 21:55:51 +00:00
Kevin P. Fleming
5bc6b3b6fd don't call the originating device as part of the Page() operation (issue #6932)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 21:50:18 +00:00
Kevin P. Fleming
58c3bdc8f1 simplify spy queue flushing logic, and always force a flush when one side gets full, even if the other side is not empty (issue #6457)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19347 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 21:35:52 +00:00
Kevin P. Fleming
6f7efa99d5 don't destroy the entire dialplan during 'reload', just atomically replace it like 'extensions reload' does (issue #6047)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19345 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 21:14:42 +00:00
Joshua Colp
fb912bc629 Minor linked lists bug fix. When you're dealing with swapping entries around a lot it can cause a seg fault.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 20:46:38 +00:00
Kevin P. Fleming
95dc3bba01 handle call time limit properly when warning is requested _after_ call would hae already ended (issue #6356)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 20:11:01 +00:00
BJ Weschke
83b525e2cb When using the silence detector in ast_play_and_record() and ast_play_and_prepend(), the truncation code never gets called to remove the detected silence, because the value of res is zero when control gets to that point. #6903 w/some mods (softins)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@19008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-11 01:05:01 +00:00
BJ Weschke
4a40420978 Don't say that we can pass an 'exten' argument in the documentation of Park() when we really cannot. #6902 (opsys)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18866 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 17:29:51 +00:00
Tilghman Lesher
08cc142495 Bug 6914 - .txt file fails to rename on operator out
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18494 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 19:20:45 +00:00
Tilghman Lesher
48d13f84a5 Bug 6913 - fix for possible buffer overflow
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 22:07:38 +00:00
Olle Johansson
7b12d67e50 - Fix cause codes
- Add cause code for incompatible formats


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18260 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 14:16:41 +00:00
Olle Johansson
d98317c7ad - Fix possible minor memory leak in chan_sip
- Return proper cause code on memory allocation error



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18250 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 13:47:32 +00:00
Kevin P. Fleming
ce8275960e fix typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 22:15:20 +00:00
Kevin P. Fleming
a6e5c98723 small fix... don't try to check conference details if it couldn't be created or found
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 22:09:54 +00:00
Kevin P. Fleming
60df6b45d2 don't try to support 'i' or 'r' options if chan_zap is not loaded, and warn the user when they attempt to use them (issue #6675)
update application help text to more clearly define when Zaptel and chan_zap are required


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@18087 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 22:04:58 +00:00
Russell Bryant
235212182e move continue out of block that checks verbose level (issue #6880)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 17:24:25 +00:00
Joshua Colp
831a96aac1 Update email address to my Digium one
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17905 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 17:00:10 +00:00
Joshua Colp
bdea273046 Unlock channel on failure so that ast_mutex_destroy doesn't throw a fit (issue #6647 reported by casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 20:01:19 +00:00
Olle Johansson
f08096e951 Issue #6654: Enum crash on ADDRESS record, possibly bad record, but still a crash
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17489 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-05 06:50:35 +00:00
Olle Johansson
d5a3b59ccf Issue #6878 - Unhide DNDstate manager events (thanks casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 18:28:14 +00:00
Olle Johansson
457bdd22bb Issue #6882 - move "res=-1" out of verbosity block, minor code cleanups (casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 17:59:18 +00:00
Matt O'Gorman
43fde6acce Adds documentation to show what the w flag.
Patch from Ian Kinner at Digium.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-04 15:24:50 +00:00
Olle Johansson
adf51ade80 Issue 6870 - document that parking lots need to be numeric
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03 20:38:11 +00:00
Olle Johansson
65f95fee51 Issue #6848 take two - Use the tag provided by the SUBSCRIBE request when sending NOTIFY
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17147 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03 20:22:21 +00:00
Olle Johansson
bca4868578 Ugly patch to avoid hangup causes in non-final responses
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@17074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-03 17:49:17 +00:00
Russell Bryant
9a729f7aff move a NULL check to before the first time the pointer is dereferenced (issue #6832)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 19:11:26 +00:00
Russell Bryant
d125a1a278 fix the situation where bindport is specified but bindaddr is not (issue #6616)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 18:42:09 +00:00
Kevin P. Fleming
6c0ac0721e ensure that hint watchers (subscribers) cannot be added or removed while the dialplan is being modified
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-31 18:24:22 +00:00
Tilghman Lesher
65acfca5af Bug 6853 - Manager fixes: 1) extra ActionID, 2) missing colon
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 22:56:35 +00:00
Tilghman Lesher
3585625b40 Bug 6849 - trivial typo fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 22:46:06 +00:00
Joshua Colp
c43f01c211 Add another check for 64-bit goodness (issue #6850 reported by evilbunny)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:44:03 +00:00
Joshua Colp
52aa07e2b2 Do not exceed the array size for maximum allowed moh files. (issue #6842)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 17:55:28 +00:00
Olle Johansson
b97c1529fc Set initial value on adsipark
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 01:34:53 +00:00
Olle Johansson
0a48c19845 Typo fix.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 01:28:41 +00:00
Olle Johansson
8aa27f2c5c Typo (Issue 6839, casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16303 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 00:28:59 +00:00
Tilghman Lesher
0bb7b71572 Bug 6830 - Let GosubIf work with the same conditions as a GotoIf (change in API approved by Russell)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 19:11:18 +00:00
Tilghman Lesher
ac1e4d72dd Bug 6835 - Updates to GotoIf help text
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 14:10:23 +00:00
Russell Bryant
ecf158b51e tell unsetenv for solaris to return the result of the setenv call
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 04:15:11 +00:00
Olle Johansson
8d417967ce Issue #6823
- Portability issue with the registration port number patch from yesterday.
  Be compatible with more systems than OS/X :-)
  Thanks Rizzo for the advice.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@15898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-29 00:58:49 +00:00