qwell
ecd7ce6f49
Correctly use defined return values in (some) load_module functions.
...
(issue #11096 )
Patches:
chan_agent.c.patch uploaded by eliel (license 64)
chan_local.c.patch uploaded by eliel (license 64)
chan_features.c.patch uploaded by eliel (license 64)
chan_zap.c.patch uploaded by eliel (license 64)
res_monitor.c.patch uploaded by eliel (license 64)
res_realtime.c.patch uploaded by eliel (license 64)
res_crypto.c.patch uploaded by eliel (license 64)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87202 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-26 21:37:02 +00:00
qwell
7756b987a0
Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86820 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-22 20:05:18 +00:00
qwell
d542122e6a
Convert NEW_CLI to AST_CLI.
...
Closes issue #11039 , as suggested by seanbright.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86536 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-19 18:29:40 +00:00
russell
4c29367323
Add jitterbuffer support for chan_local. To enable it, you use the 'j' option
...
in the Dial command. The 'j' option _must_ be used in conjunction with the 'n'
option.
This feature will allow you to use the existing jitterbuffer implementation to
put a jitterbuffer on incoming SIP calls connecting to Asterisk applications by
putting a local channel in the middle.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85097 f38db490-d61c-443f-a65b-d21fe96a405b
2007-10-09 15:10:14 +00:00
qwell
ab51c0d7fa
(issue #10724 )
...
Reported by: eliel
Patches:
res_features.c.patch uploaded by eliel (license 64)
res_agi.c.patch uploaded by seanbright (license 71)
res_musiconhold.c.patch uploaded by seanbright (license 71)
pbx.c.patch uploaded by moy (license 222)
logger.c.patch uploaded by moy (license 222)
frame.c.patch uploaded by moy (license 222)
manager.c.patch uploaded by moy (license 222)
http.c.patch uploaded by moy (license 222)
dnsmgr.c.patch uploaded by moy (license 222)
res_realtime.c.patch uploaded by eliel (license 64)
res_odbc.c.patch uploaded by seanbright (license 71)
res_jabber.c.patch uploaded by eliel (license 64)
chan_local.c.patch uploaded by eliel (license 64)
chan_agent.c.patch uploaded by eliel (license 64)
chan_alsa.c.patch uploaded by eliel (license 64)
chan_features.c.patch uploaded by eliel (license 64)
chan_sip.c.patch uploaded by eliel (license 64)
RollUp.1.patch (includes all of the above patches) uploaded by seanbright (license 71)
Convert many CLI commands to the NEW_CLI format.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82930 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-18 22:43:45 +00:00
russell
b9f37c0e99
convert various places that access the channel lock directly to use the channel lock wrappers
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82728 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-17 22:59:36 +00:00
qwell
75e0fdb010
Merged revisions 79902 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #10485 )
........
r79902 | qwell | 2007-08-17 12:44:22 -0500 (Fri, 17 Aug 2007) | 4 lines
Re-add the setting of callerid name and number.
Issue 10485, reported by and fix explained by paradise.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79903 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-17 17:45:01 +00:00
file
2ca342ce99
Merged revisions 79174 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r79174 | file | 2007-08-13 11:18:04 -0300 (Mon, 13 Aug 2007) | 4 lines
(closes issue #10437 )
Reported by: haklin
Don't set the callerid name and number a second time on a newly created channel. ast_channel_alloc itself already sets it and setting it twice would cause a memory leak.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@79175 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-13 14:22:46 +00:00
russell
b3ceaa6a9e
Convert code that checks the _softhangup member of ast_channel directory to use
...
the ast_check_hangup() funciton. This function takes scheduled hangups into
account.
(closes issue #10230 , patch by Juggie)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@77858 f38db490-d61c-443f-a65b-d21fe96a405b
2007-08-01 15:39:54 +00:00
tilghman
fd0b69a4e7
Merge the dialplan_aesthetics branch. Most of this patch simply converts applications
...
using old methods of parsing arguments to using the standard macros. However, the big
change is that the really old way of specifying application and arguments separated by
a comma will no longer work (e.g. NoOp,foo|bar). Instead, the way that has been
recommended since long before 1.0 will become the only method available (e.g. NoOp(foo,bar).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76703 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-23 19:51:41 +00:00
murf
77f799ff1e
After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75983 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-19 23:24:27 +00:00
murf
cdfb9990ad
via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@75400 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-17 19:40:29 +00:00
oej
5638666a77
Implementation of a feature that will disable "missed calls" counters on SIP phones.
...
If the call is answered by another phone, other phones won't display the call as "missed".
You can also add an option to the dial command so that you can have a "followme"
scenario and not count the calls as "missed" when you cancel the call.
Thanks to Ramon and Frank for feedback on this feature.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@74024 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-09 08:27:37 +00:00
file
aec54ca7a6
Merged revisions 73319 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r73319 | file | 2007-07-05 10:27:40 -0300 (Thu, 05 Jul 2007) | 10 lines
Merged revisions 73318 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r73318 | file | 2007-07-05 10:26:02 -0300 (Thu, 05 Jul 2007) | 2 lines
Actually check to make sure a PBX was started on one of the Local channels instead of blindly assuming it was. (issue #10112 reported by makoto)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@73320 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-05 13:28:41 +00:00
russell
f042431847
Add a massive set of changes for converting to use the ast_debug() macro.
...
(issue #9957 , patches from mvanbaak, caio1982, critch, and dimas)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@69327 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-14 19:39:12 +00:00
tilghman
eb5d461ed4
Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@67864 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-06 21:20:11 +00:00
murf
c9a9959fcb
Merged revisions 64193 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r64193 | murf | 2007-05-14 07:58:42 -0600 (Mon, 14 May 2007) | 1 line
As per 9570, worrisome CDR warnings have been removed, that are either not helpful, or not relevant.
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64208 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-14 14:13:45 +00:00
russell
597a4c356a
Update the device state functionality of chan_local such that it will return
...
NOT_INUSE or INUSE when Local channels are in use as opposed to just UNKNOWN.
It will still return INVALID if the extension doesn't exist at all.
(issue #8048 , patch from tim_ringenbach)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@62673 f38db490-d61c-443f-a65b-d21fe96a405b
2007-05-02 15:46:49 +00:00
murf
0b50472037
Merged revisions 60989 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r60989 | murf | 2007-04-09 12:32:07 -0600 (Mon, 09 Apr 2007) | 1 line
This is a big improvement over the current CDR fixes. It may still need refinement, but this won't have as many folks bothered.
This also adds the mods from 1.4/r.61136;
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@61152 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-10 05:41:34 +00:00
tilghman
142f7a1969
Merged revisions 60847 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r60847 | tilghman | 2007-04-08 21:42:48 -0500 (Sun, 08 Apr 2007) | 10 lines
Merged revisions 60846 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r60846 | tilghman | 2007-04-08 21:37:18 -0500 (Sun, 08 Apr 2007) | 2 lines
Bug 9505 - If the return value for local_queue_frame is set, then p->lock is no longer valid.
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@60848 f38db490-d61c-443f-a65b-d21fe96a405b
2007-04-09 02:44:37 +00:00
file
05ce2aee3b
Merged revisions 57318 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r57318 | file | 2007-03-01 17:21:44 -0500 (Thu, 01 Mar 2007) | 10 lines
Merged revisions 57317 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57317 | file | 2007-03-01 17:19:32 -0500 (Thu, 01 Mar 2007) | 2 lines
Don't even attempt to optimize things when a proxy channel is involved. It will just explode in weird and unexplaineable ways. (issue #9175 reported by clegall_proformatique)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@57319 f38db490-d61c-443f-a65b-d21fe96a405b
2007-03-01 22:23:26 +00:00
russell
f91595d103
Merged revisions 51311 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r51311 | russell | 2007-01-19 11:49:38 -0600 (Fri, 19 Jan 2007) | 23 lines
Merge the changes from the /team/group/vldtmf_fixup branch.
The main bug being addressed here is a problem introduced when two SIP
channels using SIP INFO dtmf have their media directly bridged. So, when a
DTMF END frame comes into Asterisk from an incoming INFO message, Asterisk
would try to emulate a digit of some length by first sending a DTMF BEGIN
frame and sending a DTMF END later timed off of incoming audio. However,
since there was no audio coming in, the DTMF_END was never generated. This
caused DTMF based features to no longer work.
To fix this, the core now knows when a channel doesn't care about DTMF BEGIN
frames (such as a SIP channel sending INFO dtmf). If this is the case, then
Asterisk will not emulate a digit of some length, and will instead just pass
through the single DTMF END event.
Channel drivers also now get passed the length of the digit to their digit_end
callback. This improves SIP INFO support even further by enabling us to put
the real digit duration in the INFO message instead of a hard coded 250ms.
Also, for an incoming INFO message, the duration is read from the frame and
passed into the core instead of just getting ignored.
(issue #8597 , maybe others...)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51314 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19 18:06:03 +00:00
russell
4299f89c9b
Constify a bunch of usage strings for CLI commands.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48306 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-06 07:35:31 +00:00
file
630a8583c3
Merged revisions 47751 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47751 | file | 2006-11-16 13:29:12 -0500 (Thu, 16 Nov 2006) | 10 lines
Merged revisions 47750 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47750 | file | 2006-11-16 13:26:50 -0500 (Thu, 16 Nov 2006) | 2 lines
Because of the way chan_local is written we should be extra careful and make sure our callback functions have a tech_pvt. (issue #8275 reported by mflorell)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47752 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-16 18:32:27 +00:00
file
558f435de4
Merged revisions 47712 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r47712 | file | 2006-11-15 17:31:17 -0500 (Wed, 15 Nov 2006) | 10 lines
Merged revisions 47711 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r47711 | file | 2006-11-15 17:29:30 -0500 (Wed, 15 Nov 2006) | 2 lines
Make sure that the pvt structure exists before trying to do fixup on Local channels. (issue #7937 reported by mada123, fix by alamantia with mods by me)
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47713 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-15 22:32:51 +00:00
murf
4d6996c27a
A fair number of changes for the sake of bug 7506
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47290 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07 21:47:49 +00:00
file
c347b4f11c
Merged revisions 47287 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47287 | file | 2006-11-07 15:14:58 -0500 (Tue, 07 Nov 2006) | 2 lines
This is not the commit you are looking for...
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47288 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07 20:16:02 +00:00
file
7f6ad058e5
Merged revisions 47284 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47284 | file | 2006-11-07 15:08:52 -0500 (Tue, 07 Nov 2006) | 2 lines
Make MOH work as it did before in chan_local, without this then it can go funky when transfers and MOH are involved. (issue #7671 reported by jmls)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47285 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-07 20:12:30 +00:00
tilghman
278341b071
Merged revisions 47051 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47052 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-02 23:16:09 +00:00
file
6168fe1800
Merged revisions 43697 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43697 | file | 2006-09-26 16:19:33 -0400 (Tue, 26 Sep 2006) | 2 lines
Strip options off the argument passed for devicestate in chan_local. (issue #8034 reported by pcardozo)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43698 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-26 20:20:34 +00:00
tilghman
2a2a143966
Lots more removal of deprecated things
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43452 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-21 21:59:12 +00:00
kpfleming
5aacb6a82d
merge qwell's CLI verbification work
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43212 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-18 19:54:18 +00:00
file
16dbc5a69a
Use flags instead of variables on the private structure for things
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42338 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 21:11:07 +00:00
file
3c9e62aa1e
Code cleaning/updates/potential bug fixes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@42311 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-07 19:50:59 +00:00
file
3f22aa53af
Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41507 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-31 01:59:02 +00:00
russell
53f8d43e29
Merge team/russell/frame_caching
...
There are some situations in Asterisk where ast_frame and/or iax_frame
structures are rapidly allocatted and freed (at least 50 times per second
for one call).
This code significantly improves the performance of ast_frame_header_new(),
ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping
a thread-local cache of these structures and using frames from the cache
whenever possible instead of calling malloc/free every time.
This commit also converts the ast_frame and iax_frame structures to use the
linked list macros.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@41278 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-29 20:50:36 +00:00
kpfleming
8b0c007ad9
merge new_loader_completion branch, including (at least):
...
- 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-21 02:11:39 +00:00
bweschke
9576e0c524
Quit early and print a LOG_WARNING if we are trying to check devicestate on a Local channel that's been improperly defined.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34463 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-16 12:55:18 +00:00
kpfleming
82c3d943f0
make Local channel return sensible device state values
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34162 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-14 22:39:19 +00:00
kpfleming
fa53f105f6
Merged revisions 33638 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33638 | kpfleming | 2006-06-12 11:03:29 -0500 (Mon, 12 Jun 2006) | 2 lines
only allow chan_local to masquerade the outbound channel onto its owner, instead of the other way around (this will ensure that group variables on the outbound channel as preserved)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33643 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-12 16:07:32 +00:00
kpfleming
73c525e6e2
simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@32846 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-07 18:54:56 +00:00
file
2ab75628b1
Merged revisions 29464 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r29464 | file | 2006-05-22 13:33:03 -0300 (Mon, 22 May 2006) | 2 lines
Preserve presentation bit when going through chan_local (issue #7002 reported by acunningham)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29466 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 16:36:13 +00:00
oej
7f88b5234e
Adding send_text capability to chan_local
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28520 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 08:20:01 +00:00
oej
37e912b541
First stab at supporting video in chan_local
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28502 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 08:03:28 +00:00
oej
c45866947a
Add simple devicestate for chan_local
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28484 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 07:56:56 +00:00
kpfleming
91ad35ce54
ensure that control frames with payload can be sent to channel drivers via ->indicate()
...
update iax2_indicate to pass control frame payload to the connected channel
add an API call for sending an indication with payload, and use it for control frames with payload
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@26417 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-10 12:24:11 +00:00
rizzo
a64824fdc0
replace strncpy with ast_copy_string.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22016 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-21 17:53:39 +00:00
rizzo
3664249356
This rather large commit changes the way modules are loaded.
...
As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely. Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@20003 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-14 14:08:19 +00:00
kpfleming
e4880150b1
since the module API is changing, it's a good time to const-ify the description() and key() return values
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@18552 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-08 22:01:19 +00:00
tilghman
e0ba99b7f5
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@17627 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-05 17:44:44 +00:00
rizzo
fd244115bb
minor cleanup: localize a variable and replace i++; i++ with i +=2;
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16652 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-31 10:13:22 +00:00
tilghman
45d876ed93
Bug 6387 - janitor cleanup for linked lists
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9349 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10 00:20:43 +00:00
bweschke
3d8a107846
Don't set a global variable if the channel you're trying to set CHANLOCALSTATUS on has gone away already.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9139 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-03 22:38:38 +00:00
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
bd5352e51f
remove some more local declarations of null frames
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9004 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-31 17:57:12 +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
bweschke
5918a9a15f
Fix compiler warning.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8135 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-17 18:31:03 +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
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
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
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
b3f0f77145
issue #5604
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7031 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08 20:38:10 +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
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
markster
4eb55953fc
Perform some extra checks before performing masquerades
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6830 f38db490-d61c-443f-a65b-d21fe96a405b
2005-10-19 03:45:49 +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
d241cec9d1
formatting cleanups (bug #4786 , with minor mods)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6193 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-25 18:09:04 +00:00
russell
72af60b3e6
define an AST_MAX_CONTEXT for use instead of AST_MAX_EXTENSION
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6076 f38db490-d61c-443f-a65b-d21fe96a405b
2005-07-10 23:49:57 +00:00
kpfleming
6589a68fcb
don't use locks when reading usecounts (reading only, not writing)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5994 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-24 02:15:04 +00:00
kpfleming
4ea1c9335e
header ordering fixes for FreeBSD (pending a global merge into asterisk.h) (bug #4484 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5876 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-07 17:06:33 +00:00
kpfleming
6f0f46299c
more file version tags
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5866 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 22:12:19 +00:00
kpfleming
09f3094700
another round of version tag updates, along with 'show version files' pattern filtering
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5865 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-06 21:09:59 +00:00
kpfleming
31e8dcf4fe
use double-quotes instead of angle-brackets for non-system include files (bug #4058 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5490 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21 06:02:45 +00:00
markster
d55d17a494
Fix a bunch of const stuff, merge queue changes, add experimental "hybrid" DTMF mode
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5293 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-28 20:48:24 +00:00
markster
5600806d82
Inherit variables across local channel (bug #3769 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5180 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-16 04:01:28 +00:00
markster
14d18c3d7a
If we're only queueing audio, don't queue when we really want to engage the masquerade
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5145 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05 04:35:23 +00:00
markster
8ba4898a1e
Rework channel structure to eliminate "pvt" portion of channel (bug #3573 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5137 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-04 06:47:24 +00:00
markster
44ee08e9d9
Fix queue URL passing (bug #3543 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5104 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-28 06:06:42 +00:00
markster
a744f1e9fc
Fix native agent transfer, add UPGRADE.txt for notes about backwards compatibility issues upgrading from Asterisk 1.0 to current CVS head
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5031 f38db490-d61c-443f-a65b-d21fe96a405b
2005-02-14 23:20:01 +00:00
markster
f975cf1ad6
Fix use count for agent/local (bug #2996 et al)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4425 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-11 04:46:49 +00:00
markster
bf6699ffaa
Add features (incomplete, highly experimental), fix DundiLookup app, debug improvements (bug #2800 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4167 f38db490-d61c-443f-a65b-d21fe96a405b
2004-11-06 21:33:01 +00:00
markster
e2c75a92f9
Pass concept of status back, permit "leaveempty" to work with static agents who are not loggedon (bug #2719 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4106 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-26 22:25:43 +00:00
markster
3129534c8a
Fix chan_local debug message (bug #2725 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4101 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-26 03:01:52 +00:00
markster
d3403a17ea
First pass at making transfer work within agent (not tested, shouldn't break anything that currently worked)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4061 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-23 12:19:47 +00:00
markster
cfe24c16a1
Major PBX revamps (including labels, update examples)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3886 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-03 04:19:59 +00:00
markster
6868babd22
Huge callerid rework (might break H.323, others)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3874 f38db490-d61c-443f-a65b-d21fe96a405b
2004-10-02 00:58:31 +00:00
markster
ba055c5312
First pass at properly handling account codes in forwarding
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3418 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-12 14:46:10 +00:00
citats
00b34f3e0a
Remove pthread.h from source. We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3276 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 18:49:00 +00:00
markster
ae5c80e1de
Merge major BSD mutex and symbol conflict patches (bug #1816 ) (link patch still pending)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3273 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 17:42:14 +00:00
markster
2fbbfca4f4
Can't check outbound without having lock (bug #1886 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3269 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-22 04:54:52 +00:00
markster
7d00f23ad4
Merge FreeBSD locking fixes (bug #1411 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3176 f38db490-d61c-443f-a65b-d21fe96a405b
2004-06-09 01:45:08 +00:00
markster
7a2dce0de7
Propagate language properly across chan_local (bug #1663 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2992 f38db490-d61c-443f-a65b-d21fe96a405b
2004-05-17 15:52:33 +00:00
markster
b837107b6b
Get rid of all that old needlock garbage now that we're using recursive mutexes
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2644 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-06 22:17:32 +00:00
jeremy
09acc271c7
Change 'show locals' into 'local show channels' to follow other channel methods. Bug #1255
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2496 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-20 13:26:52 +00:00
markster
c7e3614859
Populated RDNIS
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2457 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-18 20:33:55 +00:00
markster
ae986bb6bc
Add support for parking with IAX2
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2318 f38db490-d61c-443f-a65b-d21fe96a405b
2004-03-04 01:11:25 +00:00
markster
f3a293b990
Elminate unused code/warnings (bug #934 )
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2085 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-28 21:06:03 +00:00
markster
bfdfae9365
Really fix chan local races (I hope)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1813 f38db490-d61c-443f-a65b-d21fe96a405b
2003-12-02 15:52:37 +00:00
markster
a05adac17e
Handle without context
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1620 f38db490-d61c-443f-a65b-d21fe96a405b
2003-10-08 02:21:09 +00:00