Steve Murphy
26cab38b64
Some tweaks to satisfy CDR bug 8796, where being in 'h' extension louses up the dst field
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@62737 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-05-02 20:10:32 +00:00
Steve Murphy
7bcc4569bb
Fixed a typo introduced via 9156
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57825 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-05 14:53:57 +00:00
Steve Murphy
6752748d87
further refinement in wording of goto documentation, as per 9156, goto not proceeding to next instruction
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57458 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-03-02 16:39:33 +00:00
Steve Murphy
84ab66498f
a small documentation update, to reflect reality in the goto doc strings, as per 9156, Goto does not proceed to next prio if jump fails
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@57118 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-28 19:12:41 +00:00
Tilghman Lesher
bc926d7f33
No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was wrong
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-02-01 19:13:53 +00:00
Russell Bryant
f9db7779f0
Fix a bunch of places where pthread_attr_init() was called, but
...
pthread_attr_destroy() was not.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53045 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-31 21:25:11 +00:00
Kevin P. Fleming
808bcff9d0
minor documentation clarification
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@50561 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-01-12 14:34:15 +00:00
Jason Parker
e247b8ab33
Playback() wasn't setting PLAYBACKSTATUS under several circumstances.
...
Playback() returns -1 on missing args - so should Background()
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43800 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-27 19:35:09 +00:00
Matt O'Gorman
942768c022
fixes some verbose vs debug issues. patch from bug 2617
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@43269 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-09-19 16:21:08 +00:00
Russell Bryant
034a919e1f
Fix a few issues related to the handling of channel variables
...
- in pbx_builtin_serialize_variables(), the variable list traversal would stop
on a variables with empty name/values, which is not appropriate
- When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of
AST_LIST_REMOVE
- During masquerading, when copying the variables list from one channel to the
other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list.
It leaves the tail pointer of the list invalid. Introduce a new macro,
AST_LIST_APPEND_LIST that appends a list properly.
(issue #7802 , softins)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@40994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-08-24 19:41:26 +00:00
Russell Bryant
1eb2822b3b
don't set state to BUSY if the channel is already in the UP state
...
(issue #7376 , backported from trunk)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@34655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 21:03:58 +00:00
Russell Bryant
4fb3d5bf31
remove duplicate mutex_unlock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33813 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 12:40:40 +00:00
Russell Bryant
0cce2fe2e9
fix another place where a frame does not get free'd
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@33548 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:21:23 +00:00
Kevin P. Fleming
75ca02dbaa
backport some mutex initialization and linked list handling fixes from trunk
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 17:15:23 +00:00
Tilghman Lesher
d5a7d2e170
Bug 7196 - month range did not work
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@29394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 14:34:34 +00:00
Russell Bryant
d3d73f3499
add missing locking of the dialplan functions list in the "show functions"
...
CLI command
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@23951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01 15:12:32 +00:00
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
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
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
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
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
Joshua Colp
d31a0d9e7b
Issue #6780 - ast_pbx_outgoing_cdr_failed description fix. (Reported and fixed by casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@14191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-22 20:59:21 +00:00
Russell Bryant
d3080cc1ae
add locking to protect the list of global dialplan variables
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@12646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-12 19:26:27 +00:00
Russell Bryant
e27d844918
now that CDR is a loadable module, don't depend on it elsewhere (issue #6460 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@9581 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-11 18:15:00 +00:00
Russell Bryant
64b1d91701
add a modified fix to prevent writing outside of the provided workspace when
...
calculating a substring (issue #6271 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-22 02:05:41 +00:00
Russell Bryant
ff83f7c6ed
temporarily revert substring fix pending the result of the discussion in issue #6271
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 23:43:14 +00:00
Russell Bryant
87c0cd2667
prevent the possibility of writing outside of the available workspace (issue #6271 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@8412 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 23:17:06 +00:00
Russell Bryant
bbb59b8c5e
fix locking error - lock instead of unlock
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7960 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 04:19:21 +00:00
Kevin P. Fleming
8452f6b494
ensure that hangups while incoming calls are in early state are handled properly (issue #5919 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7451 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-13 05:14:27 +00:00
Kevin P. Fleming
d8c58ca6c8
initialize the buffer before using it...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-08 01:05:43 +00:00
Kevin P. Fleming
43f7956422
ensure that hints are allowed to use global variable references
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-07 20:46:55 +00:00
Kevin P. Fleming
5fbe566524
inherit channel variables into channels created by Page() application (issue #5888 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-02 00:51:15 +00:00
Russell Bryant
5e3f4186da
fix hint case sensitivity (issue #5856 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30 07:22:42 +00:00
Kevin P. Fleming
a563eab49a
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Russell Bryant
d8dfa4434d
finish merging doxygen updates from issue #5605
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-14 19:00:38 +00:00
Kevin P. Fleming
ba349963a8
issue #5673
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 00:32:45 +00:00
Russell Bryant
9b037b4872
clean up descriptions for built-in applications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7046 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-09 21:48:59 +00:00
Kevin P. Fleming
580d6f3482
issue #5664
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-09 01:51:46 +00:00
Kevin P. Fleming
9b03ffc513
issue #2720
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 23:37:53 +00:00
Kevin P. Fleming
0941c32d38
issue #5569 minus lock.h changes
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 04:13:19 +00:00
Kevin P. Fleming
2ea48ce114
issue #5583
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 01:50:35 +00:00
Russell Bryant
7d4a5abb1d
Convert some built-in applications to use new args parsing macros.
...
Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6987 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 21:00:35 +00:00
Kevin P. Fleming
426360e389
major update to arg/option parsing APIs and documentation
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-03 21:19:11 +00:00
Kevin P. Fleming
8fb55e2478
fix various bugs related to list handling of channel variables (issue #5548 )
...
use nolock lists for channel variables, since no locks are needed (these lists are either temporary or protected by the channel's own lock)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-31 15:34:11 +00:00
Russell Bryant
3332a8acd1
clean up a lot of doxygen errors and warnings (issue #5522 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6865 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 23:11:36 +00:00
Russell Bryant
a736096e0b
change ast_strlen_zero to also check for the string to be defined
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6862 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 18:54:24 +00:00
Russell Bryant
6324072247
more doxygenification (issue #5513 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 13:03:17 +00:00
Mark Spencer
0b36348b12
Allow limitation by loadavg not just calls (should be BSD friendly)...
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 03:58:32 +00:00
Russell Bryant
3453e3efa5
Doxygen documentation update from oej (issue #5505 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-24 20:12:06 +00:00