aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
AgeCommit message (Collapse)AuthorFilesLines
2006-04-11 Minor cleanups and error handling for app_dial #6935 (casper)bweschke1-30/+38
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19253 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-11normalize code preparing for loader changesrizzo1-3/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@19220 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-10remove support for BYEXTENSION (which nobody even knows about anymore)kpfleming1-11/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18977 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08since the module API is changing, it's a good time to const-ify the ↵kpfleming1-2/+2
description() and key() return values git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-07Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c oej1-4/+0
- implement all functions through internal APIs in res_osp.c and app_osplookup.c (homesick) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18369 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-06convert a couple of applications to the new module stylerizzo1-5/+8
(STATIC_MODULE) to show what needs to be changed. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17791 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30as discussed with Mark a few weeks ago, the 'newstack' argumentrizzo1-1/+1
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-27Janitor work converting !ast_strlen_zero(a)?a:bmogorman1-2/+2
to S_OR functions. from bug note 6805 with minor modifications. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@15283 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-19Merged revisions 13550 via svnmerge from russell1-3/+5
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r13550 | russell | 2006-03-19 04:59:55 -0500 (Sun, 19 Mar 2006) | 4 lines revert the change made in revision 12927 in favor of keeping the original behavior of the option. The documentation has now been updated to reflect the actual behavior. (issue #6523) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@13587 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-14Merged revisions 12927 via svnmerge from russell1-1/+0
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r12927 | russell | 2006-03-14 13:41:05 -0500 (Tue, 14 Mar 2006) | 3 lines when using the G() option to Dial, fix sending the called channel to 1 priority beyond what was specified (issue #6523) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12928 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-15remove the uses of the deprecated STANDARD_LOCAL_USERrussell1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10241 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01use string fields for some stuff in ast_channelkpfleming1-5/+6
const-ify some more APIs remove 'type' field from ast_channel, in favor of the one in the channel's tech structure allow string field module users to specify the 'chunk size' for pool allocations update chan_alsa to be compatible with recent const-ification patches git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-26don't redefine the localuser struct for additional use specific to the ↵russell1-7/+8
module (issue #6216) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8742 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25Merged revisions 8608 via svnmerge from kpfleming1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r8608 | kpfleming | 2006-01-24 19:50:52 -0600 (Tue, 24 Jan 2006) | 2 lines ensure hangup cause code is handled properly when channel does not return a frame (issue #6346) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8609 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21on this pass, only remove duplicate log messagesrussell1-4/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21revert my pass through the tree to remove checks of the result of ast_strduparussell1-1/+10
(revisions 8378 through 8381) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21remove lots of useless checks of the result of ast_strduparussell1-10/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8379 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17suppress compiler warningkpfleming1-1/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8148 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17- Logging clean upoej1-84/+88
- Whitespace removed and added, formatting fixed git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8136 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13Added forward context option from 5497mogorman1-1/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11conversions to memory allocation wrappers (issue #6210)russell1-5/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7991 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11Merged revisions 7957 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7957 | russell | 2006-01-10 22:12:44 -0500 (Tue, 10 Jan 2006) | 2 lines fix a little typo ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7958 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30update doxygen docs to specify authorsrussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20Major RTP fixes for using inbound SDP on outbound connection, get rid of markster1-10/+17
old local rtp stuff... git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7551 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-13Merged revisions 7448-7449,7451,7453 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7448 | kpfleming | 2005-12-12 22:25:14 -0600 (Mon, 12 Dec 2005) | 2 lines use the stream's current point when pausing/unpausing, instead of elapsed time (which doesn't work when the stream has been skipped forward or backward) (issue #5897) ........ r7449 | kpfleming | 2005-12-12 22:43:38 -0600 (Mon, 12 Dec 2005) | 2 lines only report AGENT_IDLE for callback mode agents when they are actually idle (issue #5902) ........ r7451 | kpfleming | 2005-12-12 23:14:27 -0600 (Mon, 12 Dec 2005) | 2 lines ensure that hangups while incoming calls are in early state are handled properly (issue #5919) ........ r7453 | kpfleming | 2005-12-12 23:53:00 -0600 (Mon, 12 Dec 2005) | 2 lines restore ability of caller to hangup calls that are still ringing (issue #5839) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7457 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04convert most of the option_*'s to a single ast_flags structure. Also, fix somerussell1-2/+2
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-25Record DIALEDTIME on incomplete calls, update description (bug #5862)markster1-6/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7198 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-25issue #5850russell1-4/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7195 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-14fix a typo in the RetryDial descriptionrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7095 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-12issue #5720kpfleming1-5/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7083 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11update the descriptions of a couple more appsrussell1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7073 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-11more cleanups to application descriptionsrussell1-84/+114
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7072 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5602kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7006 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-07application doc updatekpfleming1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6992 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06Convert some built-in applications to use new args parsing macros.russell1-1/+1
Change ast_cdr_reset to take a pointer to an ast_flags structure instead of an integer for flags. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6987 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06issue #5605russell1-0/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06Dial janitor patch (bug #5613)markster1-8/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6970 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03flags usage simplificationkpfleming1-125/+108
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6955 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03major update to arg/option parsing APIs and documentationkpfleming1-26/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-02uhh... oopskpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6947 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-02upgrade Dial() app to use API-based argument/option parsingkpfleming1-363/+255
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6946 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26remove unnecessary checks before calls to ast_strlen_zerorussell1-12/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6864 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-20fix up help text (issue #5479)russell1-5/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6834 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19Massive cleanups to applications for LOCAL_USER handling and some other things.russell1-12/+21
In general, LOCAL_USER_ADD/REMOVE should be the first/last thing called in an application. An exception is if there is some *fast* setup code that might halt the execution of the application, such as checking to see if an argument exists. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6832 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-18it's a good idea to unregister everything before calling ↵russell1-4/+11
STANDARD_HANGUP_LOCALUSERS git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6828 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14ensure Dial() options are sorted in help output (issue #5386)kpfleming1-40/+40
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6784 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13add auto-monitor support (issue #5411)kpfleming1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6773 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-05properly report hangupcause when ast_request() fails for the last (or only) ↵kpfleming1-0/+2
target of a dial operation (issue #5394, different fix) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6735 f38db490-d61c-443f-a65b-d21fe96a405b