Commit graph

315 commits

Author SHA1 Message Date
Kevin P. Fleming
cf15740eaf remove support for BYEXTENSION (which nobody even knows about anymore)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18977 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-10 23:01:22 +00:00
Kevin P. Fleming
f10f427d49 since the module API is changing, it's a good time to const-ify the description() and key() return values
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-08 22:01:19 +00:00
Olle Johansson
7089dc1341 Issue #6899 - remove OSP support code from chan_sip.c and app_dial.c
- implement all functions through internal APIs in res_osp.c and app_osplookup.c
(homesick)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18369 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-07 19:11:22 +00:00
Luigi Rizzo
1fd898bd84 convert a couple of applications to the new module style
(STATIC_MODULE) to show what needs to be changed.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-06 09:24:02 +00:00
Luigi Rizzo
6c232811c0 as discussed with Mark a few weeks ago, the 'newstack' argument
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: https://origsvn.digium.com/svn/asterisk/trunk@16558 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-30 21:29:39 +00:00
Matt O'Gorman
a5ece3388a Janitor work converting !ast_strlen_zero(a)?a:b
to S_OR functions. from bug note 6805 with minor
modifications.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-27 19:31:54 +00:00
Russell Bryant
fc9d3ba21b Merged revisions 13550 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@13587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-19 10:11:29 +00:00
Russell Bryant
686b512e23 Merged revisions 12927 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@12928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-14 18:42:56 +00:00
Russell Bryant
a0d438fb6c remove the uses of the deprecated STANDARD_LOCAL_USER
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-15 20:11:56 +00:00
Kevin P. Fleming
a16ae226b6 use string fields for some stuff in ast_channel
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: https://origsvn.digium.com/svn/asterisk/trunk@9060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-02-01 23:05:28 +00:00
Russell Bryant
32026d6f49 don't redefine the localuser struct for additional use specific to the module (issue #6216)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-26 20:28:52 +00:00
Kevin P. Fleming
210d4679ee Merged revisions 8608 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@8609 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-25 01:52:58 +00:00
Russell Bryant
4414f45393 on this pass, only remove duplicate log messages
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 20:57:06 +00:00
Russell Bryant
9fa6eb5e07 revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 17:50:04 +00:00
Russell Bryant
7ad681adc8 remove lots of useless checks of the result of ast_strdupa
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8379 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-21 08:13:12 +00:00
Kevin P. Fleming
5af944427f suppress compiler warning
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 20:49:39 +00:00
Olle Johansson
95144f75a5 - Logging clean up
- Whitespace removed and added, formatting fixed


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8136 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-17 18:54:56 +00:00
Matt O'Gorman
169eeb8599 Added forward context option from 5497
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-13 19:09:05 +00:00
Russell Bryant
2eb7eecdd0 conversions to memory allocation wrappers (issue #6210)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 22:41:34 +00:00
Russell Bryant
384aefa772 Merged revisions 7957 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@7958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-01-11 03:13:45 +00:00
Russell Bryant
a725468381 update doxygen docs to specify authors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-30 21:18:06 +00:00
Mark Spencer
0d32a85be1 Major RTP fixes for using inbound SDP on outbound connection, get rid of
old local rtp stuff...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-20 17:52:31 +00:00
Kevin P. Fleming
b7b2317d81 Merged revisions 7448-7449,7451,7453 via svnmerge from
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: https://origsvn.digium.com/svn/asterisk/trunk@7457 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-13 06:00:17 +00:00
Russell Bryant
ec05153ac4 convert most of the option_*'s to a single ast_flags structure. Also, fix some
formatting, remove some unnecessary casts, and other little code cleanups.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04 20:40:46 +00:00
Kevin P. Fleming
2c65582b66 remove extraneous svn:executable properties
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29 18:24:39 +00:00
Mark Spencer
aab82dc3d2 Record DIALEDTIME on incomplete calls, update description (bug #5862)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7198 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-25 19:59:46 +00:00
Russell Bryant
6801852c65 issue #5850
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-25 14:13:54 +00:00
Russell Bryant
0702130ed1 fix a typo in the RetryDial description
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-14 10:24:59 +00:00
Kevin P. Fleming
50ab28bd94 issue #5720
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-12 01:33:10 +00:00
Russell Bryant
45c7589284 update the descriptions of a couple more apps
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7073 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 15:52:55 +00:00
Russell Bryant
78d740290a more cleanups to application descriptions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-11 13:34:38 +00:00
Kevin P. Fleming
0ac4bbfdd9 issue #5602
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-08 01:05:52 +00:00
Kevin P. Fleming
f09c6bc78e application doc update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-07 22:01:22 +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
Russell Bryant
31a804b97c issue #5605
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 15:09:47 +00:00
Mark Spencer
535ed63c6f Dial janitor patch (bug #5613)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-06 05:00:42 +00:00
Kevin P. Fleming
2bebbca579 flags usage simplification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-03 21:40:36 +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
8f0a6a7d4f uhh... oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-02 21:50:03 +00:00
Kevin P. Fleming
ce50837d70 upgrade Dial() app to use API-based argument/option parsing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6946 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-02 21:46:52 +00:00
Russell Bryant
5187de9ab6 remove unnecessary checks before calls to ast_strlen_zero
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-26 19:48:14 +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
Russell Bryant
b4e0cedf94 fix up help text (issue #5479)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-20 16:42:53 +00:00
Russell Bryant
4aa7912057 Massive cleanups to applications for LOCAL_USER handling and some other things.
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: https://origsvn.digium.com/svn/asterisk/trunk@6832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-19 18:19:02 +00:00
Russell Bryant
29829640bf it's a good idea to unregister everything before calling STANDARD_HANGUP_LOCALUSERS
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-18 22:52:21 +00:00
Kevin P. Fleming
57a8f5d82c ensure Dial() options are sorted in help output (issue #5386)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6784 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-14 00:11:50 +00:00
Kevin P. Fleming
7215e4179d add auto-monitor support (issue #5411)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-13 23:14:19 +00:00
Kevin P. Fleming
350aaac04b properly report hangupcause when ast_request() fails for the last (or only) target of a dial operation (issue #5394, different fix)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6735 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-10-05 21:18:28 +00:00
Kevin P. Fleming
5da915dcfd update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-14 20:46:50 +00:00
Kevin P. Fleming
1e854ea773 remove useless buffer initializations (issue #5134)
convert pbx_dundi to use ast_copy_string) (issue #5134)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6540 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 21:01:31 +00:00
Kevin P. Fleming
e0f02b46f1 convert a bunch of apps to use ast_goto_if_exists() (issue #5138)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-09-07 19:13:00 +00:00
Mark Spencer
5d4d2fdfd4 Add SIP video fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-30 02:12:09 +00:00
Mark Spencer
3c6e6c9c96 Be sure not to leak frames in certain cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-08-03 20:17:53 +00:00
Kevin P. Fleming
5cc0413c54 add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6224 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-26 16:29:56 +00:00
Kevin P. Fleming
0313d0b9c5 add privacy/screening functionality to app_dial (bug #752)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-12 03:23:31 +00:00
Mark Spencer
80f67ad1fa Pass along proceeding and progress even when overlap mode is not on
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6072 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-10 16:05:59 +00:00
Matthew Fredrickson
f6f9cac028 Change level of message in case of write on hung up channel (Bug #4651)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-08 19:10:39 +00:00
Russell Bryant
91ee5d5ddd more fun with ast_copy_string
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-07 23:32:37 +00:00
Russell Bryant
52ef5c7d30 add function to convert a cause code to a string
create MAX_MUSICCLASS instead of using MAX_LANGUAGE


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6024 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-07-05 17:16:17 +00:00
Kevin P. Fleming
c0b1e88e8a the last round of file version tags
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5867 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-06 22:39:32 +00:00
Mark Spencer
df349078da Fix dial to not seg when closing ')' is missing (bug #4410)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-02 17:12:04 +00:00
Russell Bryant
367fd1d3cf fix the one digit exit extension for RetryDial
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-06-01 18:02:46 +00:00
Kevin P. Fleming
0858dad2ad return CHANUNAVAIL for unregistered peers, not CONGESTION (bug #4276)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 00:09:09 +00:00
Kevin P. Fleming
8634ef9e4a don't use '%i' at all, since we have no current use cases that need non base-10 parsing (bug #4110)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5533 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 17:00:33 +00:00
Kevin P. Fleming
bced63033d make 'goto' APIs aware of auto-processing loops, so they know exactly when to set the requested priority or one priority lower
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-29 15:04:26 +00:00
Kevin P. Fleming
a1d24f740f help text cleanups (bug #4072, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5508 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-27 01:50:53 +00:00
Kevin P. Fleming
1f9ab2380a use double-quotes instead of angle-brackets for non-system include files (bug #4058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-21 06:02:45 +00:00
Mark Spencer
b5c7781d9f Add 'n' option to dial for "nojump" (bug #4034)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-15 05:30:27 +00:00
Russell Bryant
42da18ec5f just formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5465 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-13 16:43:26 +00:00
Mark Spencer
922d62c39d Add calling party DTMF (bug #3994)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-11 02:46:25 +00:00
Mark Spencer
e87a53037e Forward text frames before answer (bug #3717)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-09 18:54:58 +00:00
Matthew Fredrickson
b81f233e68 Merging in xylome's beaerer capabilty patch (bug 3547)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-04-01 17:00:50 +00:00
Mark Spencer
1719cd39d3 Add 'G' option to dial (bug #3786)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5196 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-03-17 22:39:04 +00:00
Mark Spencer
34e8ed636d Fix queue URL passing (bug #3543)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5104 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-28 06:06:42 +00:00
Mark Spencer
233e26b112 Fix SetVar (bug #3668) and g + transfer (#3650)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-26 03:57:10 +00:00
Mark Spencer
41453ebf74 Copy/paste errors (bug #3559, #3560)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5007 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-11 06:53:18 +00:00
Mark Spencer
fa48657020 Fix typos in app_dial (bug #3536)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4995 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-09 22:59:46 +00:00
Mark Spencer
73b299843e Add "Dial" event to link callerid, src and destination channel (bug #3494)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4981 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-07 15:19:34 +00:00
Mark Spencer
e95da4b9f7 Oops (first one of these in a while)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4956 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-03 04:21:07 +00:00
Mark Spencer
a43b8ec753 REname 'p' option to 'o' (bug #3490)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-03 03:30:41 +00:00
Mark Spencer
026c03b527 Add new 'p' flag to Dial for preserve callerid (bug #3490)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-02 20:35:25 +00:00
Mark Spencer
6ed8f15260 Allow hints to have names (bug #3471)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-02-01 01:53:25 +00:00
Mark Spencer
87cf6b3ec2 Fix 'g' flag (bug #3465)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-30 17:57:44 +00:00
Mark Spencer
1f7c871993 Set dialed peer number properly when ringing multiple channels (bug #3437)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-27 16:33:12 +00:00
Russell Bryant
0c30452423 update copyright headers for 2005
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-21 07:06:25 +00:00
Mark Spencer
8a1906619f Fix typos (bug #3381)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-20 22:59:50 +00:00
Mark Spencer
e983edd221 Fix small app_dial issue (bug #3368)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-18 16:47:33 +00:00
Mark Spencer
cd2ef5b548 Merge anthm's RetryDial with changes (bug #3313)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4828 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-18 03:12:53 +00:00
Mark Spencer
840f035827 Merge hold patch (bug #1840)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4823 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-17 12:37:55 +00:00
Mark Spencer
b6b393c1b9 Give outbound channels callerid of their extension *after* calling (bug #2489)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4810 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-16 07:58:51 +00:00
Anthony Minessale II
b730f9435c fix bug 3329 (monitor flags)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-12 18:14:47 +00:00
Mark Spencer
92eb0c2018 More flagification, courtesy drumkilla (bug #3280)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4748 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-10 14:46:59 +00:00
Mark Spencer
51cab9e7cc Make queue support channel variable inheritance (bug #3274)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-08 17:23:29 +00:00
Mark Spencer
51880b7ddc Fix typo for blind transfer (bug #3259)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-06 17:19:54 +00:00
Mark Spencer
95e75f4354 More flag on dial tweaks (bug #3254, take two)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-06 02:59:20 +00:00
Mark Spencer
8e3722ceee More flagification (bug #3254)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4685 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-05 23:05:49 +00:00
Mark Spencer
526622d6e0 Merge Tony's attended # transfer with changes (bug #3241)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-05 19:56:47 +00:00
Mark Spencer
7568d9a4ef Merge OSP updates from matt nicholson (with changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-05 15:15:12 +00:00
Mark Spencer
e7d4ae8efa Make features configurable and easier to implement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4650 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-01-04 04:01:40 +00:00
Mark Spencer
d021bc7327 Allow moh class to be specified (bug #3199)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4600 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-30 01:17:07 +00:00
Mark Spencer
526fc0afe9 Set normal clearing for answered calls (bug #3165)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-28 23:18:31 +00:00
Mark Spencer
d6471bec31 Merge Olle's comment patch (bug #3097)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-19 21:13:41 +00:00
Mark Spencer
cadb8d010b Merge russell's flag macro patch (with slight mods) (bug #3046)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-16 03:15:20 +00:00
Mark Spencer
0e5cec5e09 fix DIALSTATUS issue (bug #2989)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4438 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-12 04:58:07 +00:00
Mark Spencer
4429bce838 Add missing free's in rare circumstances (bug #2985)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-12-06 17:12:21 +00:00
Mark Spencer
3050320746 Implement max # of forwards (bug #2942, different strategy)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-28 22:08:44 +00:00
Mark Spencer
d456e6ba54 Little dial typo fix and make WaitExten continue if nothing entered and there is a step n+1
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-22 22:40:06 +00:00
Mark Spencer
d7da317979 Add improved macro functionality (bug #2905)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4317 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-22 22:11:10 +00:00
Mark Spencer
0e35816160 Little fixups for busy
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-21 20:38:32 +00:00
Mark Spencer
7f445141f2 Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4307 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-21 20:27:21 +00:00
Mark Spencer
a50dd88d24 Display cause code for failure to get channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-21 20:25:45 +00:00
Mark Spencer
36f1b37542 Add OUTBOUND_GROUP support (bug #2530)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-07 21:49:43 +00:00
Mark Spencer
94994626b6 Pass through flash hook
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4158 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-03 22:37:55 +00:00
Mark Spencer
2f5cd4a95c Fix small typo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-01 14:48:07 +00:00
Mark Spencer
668001f9c8 Make channel variables inheritable by _ (bug #928)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4141 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-11-01 02:23:28 +00:00
Mark Spencer
b8885530f4 Pass redirecting number on PRI calls (bug #2763)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4134 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-31 23:34:22 +00:00
Mark Spencer
6b9d24b54a Oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-28 14:25:50 +00:00
Mark Spencer
8a13712e45 Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4106 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-26 22:25:43 +00:00
Mark Spencer
c608e97005 Do not send progress when "ringing" only flag is set (bug #2553)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-07 18:28:49 +00:00
Mark Spencer
8dd03ff284 Move populate TNS/Presentation/TON from calling channel
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 01:05:11 +00:00
Mark Spencer
04fc29c8b2 Huge callerid rework (might break H.323, others)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-10-02 00:58:31 +00:00
Mark Spencer
78531a0f32 Handle arbitrary long dial sequences (like what we need at Astricon)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-22 05:19:06 +00:00
Matthew Fredrickson
8a12240f73 macro support in the dial command
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-09-10 02:31:30 +00:00
Mark Spencer
cab4557006 When detecting a hairpin, redirect to the appropriate local extension (bug #1974)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-08-27 03:16:16 +00:00
Mark Spencer
bf70a01da6 Merge alternate hangup and meetme patches from Matt N.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3529 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-28 19:25:14 +00:00
Mark Spencer
bb75fcc4db Copy account code and flags form incoming to outgoing channel for purposes of local stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-22 03:51:54 +00:00
Mark Spencer
b5ad8c24be Make '*' count as cancel (bug #2098)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3487 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-20 22:24:15 +00:00
Mark Spencer
24a5704798 Update dial documentation (bug #2096)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3481 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-19 19:47:21 +00:00
Mark Spencer
569b95352a rename "parking" to "features" in preparation for some more (possibly post 1.0) feature additions
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-17 20:58:01 +00:00
Mark Spencer
4d32c46126 Merge rgagnon's pedantic string checks (apps a-m, bug #2035)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3428 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-14 07:22:30 +00:00
Mark Spencer
f78179c374 Publish DIALEDTIME and ANSWEREDTIME in case people want to know them
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3425 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-14 01:10:24 +00:00
Mark Spencer
dd293ed6fe First pass at properly handling account codes in forwarding
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3418 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-12 14:46:10 +00:00
Mark Spencer
851fce9568 Make ringing clearer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-08 09:20:14 +00:00
Mark Spencer
432bb121f3 Cleanups to the ordering of events in dial, don't freak out on the wrong codec
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3385 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-07 16:02:13 +00:00
Mark Spencer
1d473f25dd Add outgoing OSP support (SIP only at this point)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-25 03:59:07 +00:00
Mark Spencer
2187465cae Set ${DIALSTATUS} from app_dial, make zap return BUSY on a phone that is busy, update macro-stdexten to demo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3282 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-23 03:16:58 +00:00
James Golovich
f5c18f62a1 Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 19:32:52 +00:00
Mark Spencer
5546e32355 Merge major BSD mutex and symbol conflict patches (bug #1816) (link patch still pending)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 17:42:14 +00:00
Mark Spencer
8b2b0278c9 Make sure outgoing is not NULL
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-22 13:53:45 +00:00
Mark Spencer
2efcb2e331 Don't stop moh until after announcement finishes (bug #789)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3262 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-21 18:28:35 +00:00
Mark Spencer
502e74e5db Fix app_dial buglet
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-21 13:30:58 +00:00
Anthony Minessale II
b168dcdddf I don't know what this last update was for but app_dial.c was broken
so I added these 2 variable defs to make it compile right to spare
all the end users...


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-21 12:55:53 +00:00
Mark Spencer
585afa7e8e Add promiscuous redirect option
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3254 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-21 06:11:56 +00:00
James Golovich
a054fec8ef Typo in comment in app_dial.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3244 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-20 06:24:25 +00:00
Mark Spencer
bec994b037 Merge Matt's work
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3204 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-14 19:43:41 +00:00
Anthony Minessale II
cc36c3d475 fix D() issue with to short of a duration
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-06-06 02:30:10 +00:00
Mark Spencer
194fe2a4a5 Copy hangup cause at end of a good call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-22 23:17:33 +00:00
Mark Spencer
61ce929656 Merge Mike's announcement enhancements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3020 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-20 00:29:09 +00:00
James Golovich
36f888e06e Clarify app_dial documentation regarding transfers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3006 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-18 18:27:55 +00:00
James Golovich
46b24e8a27 Code cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2919 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-05-07 21:14:55 +00:00