Archived
14
0
Fork 0
Commit graph

496 commits

Author SHA1 Message Date
file
1229c58da0 Be gone unused res! (issue #7238 reported by casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30804 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30 16:10:10 +00:00
file
ce4f895996 attended transfer use transferer context first and set who is transfering at the beginning (issue #6752 reported by moy -- minor mods done by myself)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30548 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-26 17:59:29 +00:00
file
cb0181db21 Add the video stream for AGI function STREAM FILE (issue #5392 reported by areski -- minor mods by me)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30547 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-26 17:43:11 +00:00
russell
d54f8741c7 allow setting a channel variable to disable sending SIGHUP to the AGI process
(issue #6491, original patch by juggie, channel variable patch by corydon,
 committed patch modified to change variable name and update documentation)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30337 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 19:01:26 +00:00
russell
04a4a825d5 Add the ability to retrieve the exit code of the forked AGI process. If there
is an error executing the AGI script, or the AGI script itself returns a
non-zero value, the AGISTATUS variable will now be set to FAILURE instead of
SUCCESS.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30328 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 18:31:19 +00:00
russell
d4f2c0ca2a - add support for setting an AGISTATUS variable that indicates successful
execution, failure, or if the channel requested hangup.
- only return -1 from the application if the application requested hangup. If
  there was just a failure in execution of the AGI, just set the status
  variable appropriately and move on in the dialplan.
(issue #7121, original patch by Alessandro Polverini, updated patch by srt,
 committed patch is heavily modified to allow still returning -1 on hangup)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30272 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25 16:44:22 +00:00
mogorman
5a97785f12 reset timeout on reconnect.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30039 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24 19:59:04 +00:00
kpfleming
8e2e5ae7ff Merged revisions 29973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29973 | kpfleming | 2006-05-24 11:59:20 -0500 (Wed, 24 May 2006) | 2 lines

support video recording via AGI 'RECORD FILE' command (issue #7068)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-24 17:02:54 +00:00
mogorman
a50b49b23e get rid of that transport sillyness
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29848 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 21:28:14 +00:00
mogorman
b3ea494fb5 hmm still need a way to get rid of connections
later on.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29847 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 21:18:07 +00:00
mogorman
7c5f693cf4 fixes bug where server goes away.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29825 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 20:25:23 +00:00
mogorman
ec8ef55d83 allows for configurable answer timeout on attended transfer
patch 0006763 with minor changes.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29766 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 18:23:05 +00:00
mogorman
14dbdd6228 finish cleaning up some more stuff before russell
gets a chance to.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29708 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 16:43:58 +00:00
russell
1e942c53c1 remove another excess "debug" message
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29707 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 16:37:46 +00:00
bweschke
ce91a8566d Merged revisions 29696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29696 | bweschke | 2006-05-23 11:58:24 -0400 (Tue, 23 May 2006) | 3 lines

 Fix a potential leak and correct (hopefully) a segfault under certain conditions. #6784 (vovan and perry testing)


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29706 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 16:37:40 +00:00
russell
fd300d4738 remove an unnecessary error message that is really an old debug message
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29704 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-23 16:33:04 +00:00
mogorman
38b24efed1 asterisk-xmpp merge in
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29553 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 21:12:30 +00:00
file
4169faaaf3 Merged revisions 29512 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29512 | file | 2006-05-22 17:15:04 -0300 (Mon, 22 May 2006) | 2 lines

Use the correct language when playing the transfer sound (issue #7109 reported by casper)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29514 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 20:19:00 +00:00
bweschke
fb49b06821 This is part 2/2 of the patches for #7090. Adds one-step call parking to /trunk via builtin functions and 'k' 'K' application options added to app_dial. This also resolves #6340.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29467 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 16:43:43 +00:00
bweschke
335e27bbde Merged revisions 29196 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29196 | bweschke | 2006-05-21 10:16:59 -0500 (Sun, 21 May 2006) | 3 lines

 When an application that is executed via applicationmap and exits non-zero, make sure that we pass through the correct return value from the application to make sure a segfault doesn't occur by a bridge trying to continue when it should not. Also, when executing applications via applicationmap, make sure that the application is executed against the channel whose DTMF caused it to be fired off in the first place. (part 1/2 of #7090 - this is the only fix that will be applied to both 1.2 and /trunk) acunningham and blitzrage on testing...


........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21 15:25:31 +00:00
russell
882e6a716f when displaying the list of registered music on hold classes, only show
the format if the mode is not "files", because the field has no meaning
in that case


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28445 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 03:11:35 +00:00
kpfleming
c07b27172b revert bogus change
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28395 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18 21:11:43 +00:00
oej
8a515c92e7 Add missing argument to ast_carefulwrite
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28393 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-18 21:01:38 +00:00
russell
da3cf563ba - The recent change to linklists.h broke the build on linux for some reason.
So, I have removed all of the uses of AST_LIST_HEAD_INIT and replaced them
   with the equivalent static initializations.
 - On passing, fix a memory leak in the unload_module() function of chan_agent.
   The agents list mutex was never destroyed, and the elements in the agents
   list were not freed.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26990 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-11 20:07:44 +00:00
russell
56b2ca57c5 use the channel lock wrappers (issue #7128)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26526 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 15:17:58 +00:00
russell
d99b677f35 remove almost all of the checks of the result from ast_strdupa() or alloca().
As it turns out, all of these checks were useless, because alloca will never
return NULL.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26451 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 13:22:15 +00:00
kpfleming
f1898a71f1 various doxygen fixes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26170 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 16:24:07 +00:00
russell
bccc6a110e remove a check of the result of ast_mutex_lock
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25891 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-09 07:28:01 +00:00
file
1c7d723a5b Incorrect log statement when playing transfer sounds (issue #7008 reported and fixed by nathan)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25444 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-08 11:22:00 +00:00
russell
dfaf45ecc8 move ast_carefulwrite from manager.c to utils.c so that cli.c and
res_agi.c no longer depend on manager.h (issue #6397, casper)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25026 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-05 21:01:39 +00:00
bweschke
efada3b700 Correct call parking behavior when there is no courtesytone specified. #6306 (murf)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24605 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-03 21:39:24 +00:00
tilghman
11ac93dfa1 Merged revisions 24019 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r24019 | tilghman | 2006-05-01 15:44:24 -0500 (Mon, 01 May 2006) | 2 lines

Bug 6864 - drop realtime priority on ALL external processes

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24053 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01 21:48:30 +00:00
kpfleming
d58d0a1f88 remove macro defined that is no longer needed
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23737 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 17:53:37 +00:00
russell
06fbbd1989 a bunch of conversion to ast_channel_*lock (issue #7058)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23355 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 14:50:18 +00:00
russell
c9833020fc - convert lists to use linked list macros
- instead of allocating a frame on the stack every time the music on hold
  generator is called, put a frame in the mohdata structure.  Also, initialize
  the parts of the frame that will never change when the mohdata struct is
  allocatted and only change the necessary parts in the generator function.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23334 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 13:15:05 +00:00
russell
31a8ac0fd5 - don't create duplicate log messages
- note when the data part of the tech/data pair is missing not only when using
  the app version, but the exten version as well
- instead of logging syntax errors, just output them to the CLI


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23284 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 05:02:17 +00:00
rizzo
40a5624b85 add reload() (bug 9981)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-29 04:55:47 +00:00
kpfleming
29f496ef12 Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:11:45 +00:00
rizzo
fd45704e44 move wait_and_stream to ast_wait_and_stream() because equivalent
code is replicated in way too many places not to have a global
function for that.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22075 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 20:28:32 +00:00
rizzo
476c6e351d more strncpy/ast_copy_string replacement.
On passing, simplify code by using strsep() as appropriate



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22045 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 18:26:54 +00:00
rizzo
a89ea8a93a more strncpy/ast_copy_string replacement
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22044 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 18:13:21 +00:00
rizzo
ff4e44ae7c comment a possible memory leak
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 16:18:12 +00:00
rizzo
165f152886 merge some common code into a function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21986 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 16:04:25 +00:00
rizzo
3b87fbc500 more NULL "" equivalence in cid fields.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21835 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 11:02:28 +00:00
rizzo
7096ffbc6a more NULL / "" equivalence for CID fields.
Mark an inconsistency in empty string handling.



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21819 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 10:47:07 +00:00
russell
184bfd1c04 update res_odbc to support pooled connections
(from tilghman's developer branch, res_odbc_rewrite)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21181 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 18:16:32 +00:00
rizzo
a07c757961 simplify the flow of builtin_atxfer().
There is still a lot of similarity with builtin_blindtransfer()
which should be removed by definining functions for the common
pieces of code (eg in the first part).



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21097 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-18 13:05:48 +00:00
tilghman
b55a1f4981 Merged revisions 20966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r20966 | tilghman | 2006-04-17 12:00:16 -0500 (Mon, 17 Apr 2006) | 2 lines

Bug 6544 - when we remove a music class, the thread servicing it should die

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@21002 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 17:17:41 +00:00
oej
b26611b4e7 - Doxygen formatting
Please place a Doxygen todo marker before things that needs to be checked up later
  by someone - it's like /*! \todo We really need to implement this in C++ */

- option_debug checking before logging to DEBUG channel


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20790 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-17 04:31:21 +00:00
rizzo
371effe8a5 preparation for reduction of the nesting of a large function
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20733 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-16 23:05:42 +00:00