dect
/
asterisk
Archived
13
0
Fork 0
Commit Graph

197 Commits

Author SHA1 Message Date
kpfleming 21d21f89c0 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: http://svn.digium.com/svn/asterisk/trunk@9060 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-01 23:05:28 +00:00
russell b55d2bd3ea define a global null_frame object so when queueing a null frame, you don't
have to allocate one on the stack


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31 17:18:58 +00:00
markster df81c56d13 Merge Rizzo's waitfor update (bug #4584)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8877 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-30 03:13:33 +00:00
russell 3570632ce1 use arg parsing macros in the AGENT dialplan function (issue #6236, with small mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8676 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25 19:06:37 +00:00
russell 5b838d569d store agent_pvt list using linked list macros (issue #6342)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8664 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-25 18:12:55 +00:00
russell 252fb982f4 on this pass, only remove duplicate log messages
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8403 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 20:57:06 +00:00
russell b14bdc5a12 revert my pass through the tree to remove checks of the result of ast_strdupa
(revisions 8378 through 8381)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8387 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 17:50:04 +00:00
russell 7d76672828 remove some useless checks of the result of ast_strdupa
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8378 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-21 08:01:24 +00:00
oej e04a0e3cf1 More doxygen updates
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8315 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-20 00:18:42 +00:00
russell c6643537f1 constify arguments in more places where strings should not be modified (issue #6286)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8203 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-18 22:17:31 +00:00
bweschke 0aa698481f Code cleanup spawned from an earlier commit today r8063. Standardize manager event responses and queue_log behavior on callbacklogoff.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8071 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-14 03:25:38 +00:00
mogorman f94feca2c5 Made chan_agent code parsing more robust and
implemented new macro code. from 6228.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8064 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13 18:30:49 +00:00
bweschke 5af8c4e9eb Implement the autologoffunavail option in chan_agent (#6038 with some minor mods)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8063 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13 18:23:30 +00:00
mogorman d52d4a92ea added some minor changes from bug 6046 thanks ppyy
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8049 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13 06:43:27 +00:00
russell f931a23477 fix spelling errors (issue #6227)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8048 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-13 06:11:41 +00:00
mogorman 19b72c2cb8 Added option for limiting a user from logging in
as multiple agents at same time. bug 6046 thanks
ppyy


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8021 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 19:07:18 +00:00
mogorman ab478d7949 removed unused variable and config parsing for it
as to bug 6219


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8010 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-12 16:00:04 +00:00
russell 15ce8e0e1e Merged revisions 7986 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7986 | russell | 2006-01-11 14:08:53 -0500 (Wed, 11 Jan 2006) | 2 lines

move variable to correct scope (issue #6197)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7987 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 19:13:33 +00:00
russell 305867a9e0 convert some channels to use the memory allocation wrappers.
(This is being added to the janitor projects list.)


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7954 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-11 01:20:29 +00:00
kpfleming 039a5e8137 Merged revisions 7829 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7829 | kpfleming | 2006-01-05 18:21:00 -0600 (Thu, 05 Jan 2006) | 2 lines

update agent persistence when an agent gets logged off by autologoff

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7830 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-06 00:23:19 +00:00
kpfleming c19ded3f50 Merged revisions 7809 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7809 | kpfleming | 2006-01-04 18:58:29 -0600 (Wed, 04 Jan 2006) | 2 lines

send device state updates for auto-logoff of agents as well

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7810 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-05 00:58:48 +00:00
russell ab6566173e update doxygen docs to specify authors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7682 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-30 21:18:06 +00:00
russell ac9d70ac12 Merged revisions 7634 via svnmerge from
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-26 18:35:28 +00:00
bweschke 293834e491 Bug #6040 - Documentation correction
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7579 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-21 19:44:51 +00:00
russell 59d6c7a704 add AGENT function, similar to SIPPEER or IAXPEER (issue #5531)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7554 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-20 19:56:52 +00:00
kpfleming 7c789eb820 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: http://svn.digium.com/svn/asterisk/trunk@7457 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-13 06:00:17 +00:00
tilghman 3365b1cc9f Bug 5858 - Make the chanvars.c functions return a 'const char *'
This should prevent us from unintentionally changing variable
values when they're returned from pbx_builtin_getvar_helper.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7304 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-03 19:25:33 +00:00
kpfleming 907b53f827 Merged revisions 7265-7266,7268-7275 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7265 | oej | 2005-12-01 17:18:14 -0600 (Thu, 01 Dec 2005) | 2 lines

Changing bug report address to the Asterisk issue tracker

........
r7266 | kpfleming | 2005-12-01 17:18:29 -0600 (Thu, 01 Dec 2005) | 3 lines

Makefile 'update' target now supports updating from Subversion repositories (issue #5875)
remove support for 'patches' subdirectory, it's no longer useful

........
r7268 | kpfleming | 2005-12-01 17:34:58 -0600 (Thu, 01 Dec 2005) | 2 lines

ensure channel's scheduling context is freed (issue #5788)

........
r7269 | kpfleming | 2005-12-01 17:49:44 -0600 (Thu, 01 Dec 2005) | 2 lines

don't block waiting for the Festival server forever when it goes away (issue #5882)

........
r7270 | kpfleming | 2005-12-01 18:26:12 -0600 (Thu, 01 Dec 2005) | 2 lines

allow variables to exist on both 'halves' of the Local channel (issue #5810)

........
r7271 | kpfleming | 2005-12-01 18:28:48 -0600 (Thu, 01 Dec 2005) | 2 lines

protect agent_bridgedchannel() from segfaulting when there is no bridged channel (issue #5879)

........
r7272 | kpfleming | 2005-12-01 18:39:00 -0600 (Thu, 01 Dec 2005) | 3 lines

properly handle password changes when mailbox is last line of config file and not followed by a newline (issue #5870)
reformat password changing code to conform to coding guidelines (issue #5870)

........
r7273 | kpfleming | 2005-12-01 18:42:40 -0600 (Thu, 01 Dec 2005) | 2 lines

allow previous context-searching behavior to be used if desired (issue #5899)

........
r7274 | kpfleming | 2005-12-01 18:51:15 -0600 (Thu, 01 Dec 2005) | 2 lines

inherit channel variables into channels created by Page() application (issue #5888)

........
r7275 | oej | 2005-12-01 18:52:13 -0600 (Thu, 01 Dec 2005) | 2 lines

Bug #5907. Improve SIP INFO DTMF debugging output. (1.2 & Trunk)

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7276 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-02 01:01:11 +00:00
kpfleming 24c1e3c222 git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b 2005-11-29 18:24:39 +00:00
kpfleming d0b521d57c more header include simplification
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7023 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 04:02:35 +00:00
russell 63348802e6 don't loop forever on an invalid options string (issue #5629)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6989 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 22:17:47 +00:00
russell d3ddc001a2 issue #5605
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6979 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-06 15:09:47 +00:00
kpfleming ae35e4e069 major update to arg/option parsing APIs and documentation
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6953 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-03 21:19:11 +00:00
kpfleming 81880bfe3d fix remaining breakage from yesterday's changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6881 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 17:22:34 +00:00
kpfleming b5a5584d98 use new app-argument macros, and try to fix yesterday's breakage
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6880 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-28 17:11:20 +00:00
russell ee234bbb3e Remove unnecessary checks before calls to ast_strlen_zero. Also, change
some places where strlen is used instead of ast_strlen_zero


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-27 02:19:37 +00:00
russell faf0b5b506 fix up arguments to AgentCallbackLogin so that the options string and the
specified extension do not conflict.  This also makes the application not
assume that the extension is numeric.  While we're at it, include some code
cleanup - strcpy to ast_copy_string, and cleanups to LOCAL_USER handling.


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6856 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-26 16:16:05 +00:00
russell 2c3b3edc86 Doxygen documentation update from oej (issue #5505)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-24 20:12:06 +00:00
kpfleming 73f73e1e7c support sending text through agent channels (issue #5295)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6787 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-14 00:46:13 +00:00
kpfleming 27e10bbabd properly display connected channel name in 'agents' manager action for non-callback agents (issue #5235)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6766 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 21:59:25 +00:00
markster 46795cc986 Fix seg in chan_agent (bug #5402)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6757 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-13 16:29:49 +00:00
kpfleming 10cd869155 don't check 'acknowledged' for setting lastdisc, since it's guaranteed to be zero at this point (issue #5254)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6736 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-05 21:27:38 +00:00
markster 83fdaa72f7 Remove possibility of manager deadlocks from manager actions
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6687 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-28 23:10:14 +00:00
kpfleming cbc14aac77 fix some buglets in 'agents' Manager action (issue #5235)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6657 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-26 02:04:07 +00:00
kpfleming 95fe2b8fd4 update MANY more files with proper copyright/license info (thanks Ian!)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6596 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 20:46:50 +00:00
kpfleming b99c57bb4a more documentation (issue #5174)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6583 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 02:12:37 +00:00
kpfleming 664813210f ensure that agent channels don't get seized during login (issue #5020)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6577 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 00:59:51 +00:00
kpfleming c0cb6a4581 ensure that the AGENTBYCALLERID_* variable is cleared when an agent logs in to a different device (issue #5213)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6575 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 00:39:05 +00:00
kpfleming 2753fbf686 partial formatting cleanup
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6574 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-14 00:28:06 +00:00
kpfleming 6611c7c9cc add doxygen documentation (issue #5133)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6536 f38db490-d61c-443f-a65b-d21fe96a405b
2005-09-07 20:44:57 +00:00