aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/pbx_dundi.c
AgeCommit message (Collapse)AuthorFilesLines
2006-03-30as discussed with Mark a few weeks ago, the 'newstack' argumentrizzo1-2/+2
in pbx_exec is always 1 so it can be removed. This change also takes away ast_exec_extension(), and lets all switch functions (exists, canmatch, exec, matchmore) all use the same prototype, which makes the code a bit cleaner. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16558 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28- remove an unnecessary cast and recomputation of (timeout - now);rizzo1-20/+13
- remove useless recomputations of strlen(word) in a loop, and normalize the form of complete_peer_helper(); - move LOCAL_USER_ADD() to after the verification of arguments, thus removing the need for one LOCAL_USER_REMOVE() call. The three chunks of the patch are fully disjoint. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15581 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23add 'consumed' argument to ast_get_time_t, so callers can know how many ↵kpfleming1-7/+4
characters were used in the parser update pbx_dundi to use ast_get_time_t eliminate some compiler warnings git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10871 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-23Fix a few compile warnings (turned errors) and disable -Werror on the markster1-2/+6
normal build. If people want this they can turn it on, and don't anyone turn it on by default until you fix building on GCC 4.x git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15remove the uses of the deprecated STANDARD_LOCAL_USERrussell1-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-13remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADDrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9800 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-12major dialplan functions updatekpfleming1-17/+7
deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL() git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9674 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11Merged revisions 9609 via svnmerge from russell1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r9609 | russell | 2006-02-11 14:23:20 -0500 (Sat, 11 Feb 2006) | 2 lines fix memory leak from not destroying the scheduler context on module unload ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18constify arguments in more places where strings should not be modified ↵russell1-2/+2
(issue #6286) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17remove some more deprecated (pre-1.2) stuffkpfleming1-87/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8157 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-26Merged revisions 7634 via svnmerge from russell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7634 | russell | 2005-12-26 13:19:12 -0500 (Mon, 26 Dec 2005) | 2 lines cast time_t to an int in printf/scanf (issue #5635) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7635 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04convert most of the option_*'s to a single ast_flags structure. Also, fix somerussell1-1/+1
formatting, remove some unnecessary casts, and other little code cleanups. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming1-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08make app_queue 1.2 jump compliant (issue #5580)russell1-0/+1
add missing includes of stdio.h remove some unused and duplicate headers git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7026 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5648kpfleming1-15/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7011 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06issue #5605russell1-0/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-31fix various bugs related to list handling of channel variables (issue #5548)kpfleming1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@6900 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24Doxygen documentation update from oej (issue #5505)russell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18clean up DUNDiLookup applicationrussell1-60/+150
implement 'b' option to bypass DUNDi cache for the lookup add DUNDILOOKUP dialplan function to eventually replace the application mark DUNDiLookup application as deprecated don't register all of the DUNDi goodies until after everything has initialized git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6825 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18fix typokpfleming1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6823 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14update MANY more files with proper copyright/license info (thanks Ian!)kpfleming1-5/+18
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07remove useless buffer initializations (issue #5134)kpfleming1-75/+75
convert pbx_dundi to use ast_copy_string) (issue #5134) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6540 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-02use native-sign characters for strings (issue #5105)kpfleming1-12/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6507 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-15add a library of timeval manipulation functions, and change a large number ↵kpfleming1-26/+17
of usses to use the new functions (bug #4504) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-21make query cache time configurable (bug #4524)kpfleming1-10/+19
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5946 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07header ordering fixes for FreeBSD (pending a global merge into asterisk.h) ↵kpfleming1-1/+1
(bug #4484) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5876 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06more file version tagskpfleming1-20/+25
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-25Change define __OSX__ to more appropriate __Darwin__ (in light of Darwin ↵twisted1-2/+2
being open sourced, and able to run on x86, OSX isn't really suitable) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5769 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-08Fix gethostname calls (bug #4198, with mods)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5600 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-29don't use '%i' at all, since we have no current use cases that need non ↵kpfleming1-4/+4
base-10 parsing (bug #4110) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5533 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21use double-quotes instead of angle-brackets for non-system include files ↵kpfleming1-20/+20
(bug #4058) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-13ensure that the random number generator(s) are always seeded with a ↵kpfleming1-3/+0
different value during Asterisk startup don't reinitialize random number generators in other modules (bug #4017) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5459 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04Rework channel structure to eliminate "pvt" portion of channel (bug #3573)markster1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-04Fix build on OpenBSD and fix small typo. (Bug #3502)twisted1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4959 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-01Add dundi show peers summary stats (bug #3474)markster1-5/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4939 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-25Merge config updates (bug #3406)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4889 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-21update copyright headers for 2005russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4868 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-10More flagification, courtesy drumkilla (bug #3280)markster1-66/+65
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4748 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-06Fix DUNDi segfaultmarkster1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4693 f38db490-d61c-443f-a65b-d21fe96a405b
2005-01-01List improvements from kpfleming (bugs #3166,#3140)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4629 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-23Speed up ast_list macros (bug #3135)markster1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4546 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-19Merge twisted's OSX compat fix (bug #3090)markster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4483 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-14Merge slimey's Solaris compatibility (with small mods) (bug #2740)markster1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-11Fix leaky fd issue (bug #2832)markster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4199 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-06Add features (incomplete, highly experimental), fix DundiLookup app, debug ↵markster1-2/+20
improvements (bug #2800) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4167 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-03Fix "killa" console issuemarkster1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4156 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-02Fix locking issuesmarkster1-2/+30
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4148 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-29Oopsies...markster1-5/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4128 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-29Make retrans timer less aggressivemarkster1-4/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4127 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-29Complete DUNDi push (first pass) supportmarkster1-42/+212
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4125 f38db490-d61c-443f-a65b-d21fe96a405b