aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_followme.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-15Ensure FollowMe sets language in channels it creates.tilghman1-0/+4
Also, not in the original bug report, but related fields are accountcode and musicclass, and the inheritance of datastores. (closes issue #15372) Reported by: Romik Patches: 20090828__issue15372.diff.txt uploaded by tilghman (license 14) Tested by: cervajs git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@218577 f38db490-d61c-443f-a65b-d21fe96a405b
2009-08-10AST-2009-005tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@211528 f38db490-d61c-443f-a65b-d21fe96a405b
2009-05-05Fix a bug where the followme application would continue trying numbers after ↵file1-4/+4
the caller hung up. (closes issue #13624) Reported by: sgenyuk git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@192429 f38db490-d61c-443f-a65b-d21fe96a405b
2009-03-29Ensure targs variable is fully initialized.russell1-1/+1
(closes issue #14758) Reported by: tim_ringenbach git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@184842 f38db490-d61c-443f-a65b-d21fe96a405b
2008-12-18Do not crash if we are not passed in a followme id.file1-6/+10
(closes issue #14106) Reported by: ys Patches: app_followme.c.2.diff uploaded by ys (license 281) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@165537 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-18Fix a crash in the end_bridge_callback of app_dial andmmichelson1-0/+6
app_followme which would occur at the end of an attended transfer. The error occurred because we initially stored a pointer to an ast_channel which then was hung up due to a masquerade. This commit adds a "fixup" callback to the bridge_config structure to allow for end_bridge_callback_data to be changed in the case that a new channel pointer is needed for the end_bridge_callback. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@157305 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-09Use static functions here instead of nested ones. This requires a smallseanbright1-21/+22
change to the ast_bridge_config struct as well. To understand the reason for this change, see the following post: http://gcc.gnu.org/ml/gcc-help/2008-11/msg00049.html git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@155553 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-31Add end_bridge_callback for app_follome and add AUTOLOOP flag to res_featurestwilson1-10/+24
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@153270 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-13Fix a couple uses of sprintf. The second one could actually cause an overflowrussell1-2/+2
of a stack buffer. It's not a security issue though, it only depends on your configuration. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@108469 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-05Add a control frame to indicate the source of media has changed. Depending ↵file1-0/+4
on the underlying technology it may need to change some things. (closes issue #12148) Reported by: jcomellas git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@106235 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-22Add more dependencies on chan_local and add a note to the description of ↵oej1-0/+4
chan_local so that people don't disable it in menuselect just to clean up. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@99594 f38db490-d61c-443f-a65b-d21fe96a405b
2008-01-11Ensure the return value of ast_bridge_call is passed back up as the ↵file1-1/+0
application return value. This is needed for transfers to function so the PBX core knows to continue execution. (closes issue #10327) Reported by: kkiely git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@98219 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30Return 1.4 to a state where it builds. Changing the arguments to a function ↵file1-2/+2
and not changing where they are used is bad, mmmk? git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@87534 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-30 Fix issue where the recorded name wasn't getting removed correctly. bweschke1-5/+10
(closes issue #11115) Reported by: davevg Patches: followme-v3.diff git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@87514 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-04Rather than attempt to play a file, we can just check whether it exists.qwell1-5/+1
Issue 10634, patch by me, testing by pabelanger, sanity checked by bweschke git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@81455 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-22 Fix a problem with flag recognition. bweschke1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@65408 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-18 Don't return a non-zero return code if the profile doesn't exist, to match ↵bweschke1-1/+1
what the documentation says it already does. (#9307 Reported by kkiely) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59035 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-28Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)file1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@43933 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-20A few misses from constificationtilghman1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43366 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-06Fix a small typo, to make app_followme.c show properly in "show version files"qwell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-05- Free allocated memory before returning from functionoej1-207/+194
- Fix bad formatting - Add some comments (more needed to understand what's going on) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42058 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31everything that loads a config that needs a config file to runmogorman1-1/+2
now reports AST_MODULE_LOAD_DECLINE when loading if config file is not there, also fixed an error in res_config_pgsql where it had a non static function when it should. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-25/+22
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-07remove some extraneous 'followme' in prompt nameskpfleming1-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@39206 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-19merge Russell's 'hold_handling' branch, finally implementing music-on-hold ↵kpfleming1-4/+1
handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09there is no reason to define our own 'maximum path length' when the POSIX ↵kpfleming1-18/+18
headers already define one for us git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33351 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-08Doxygen updateoej1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32990 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07fix a typo in an option name in config parsingrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32884 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify the loop that iterates through the categories in followme.conf andrussell1-4/+4
don't try to read the general section as a followme profile git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32878 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07fix an incorrect usage of scanf, where it should be using sscanf, instead,russell1-2/+3
which was causing asterisk to hang when loading this module (reported by blitzrage on IRC) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32867 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07simplify autoconfig include mechanism (make tholo happy he can use lint ↵kpfleming1-4/+3
again :-) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06oops.russell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32720 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06move a variable declaration to the beginning of a blockrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32703 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06use sizeof to determine the size of a bufferrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32702 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06use sizeof to get the size of a bufferrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32701 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 More updates.bweschke1-2/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32700 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06make a global list head staticrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32699 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 More cleanup.bweschke1-8/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32698 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06move a declaration to the beginning of a blockrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32697 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 Don't leak memory.bweschke1-2/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32696 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06allocate an int on the stack instead of with ast_callocrussell1-25/+12
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32695 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06All better now!bweschke1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32694 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 If the recorded file is found, don't actually start to play it.bweschke1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32633 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06fix some compiler warnings about variables used before initializationkpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32604 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-06 Introducing app_followme into /trunk! bweschke1-0/+1133
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32499 f38db490-d61c-443f-a65b-d21fe96a405b