bweschke
fb49b06821
This is part 2/2 of the patches for #7090 . Adds one-step call parking to /trunk via builtin functions and 'k' 'K' application options added to app_dial. This also resolves #6340 .
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29467 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 16:43:43 +00:00
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
russell
2350e6d4d0
add DEBUG_CHANNEL_LOCKS to menuselect
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29465 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 16:34:45 +00:00
file
b6724cffb4
Add PICKUPMARK support to app_directed_pickup (issue #7104 reported by thaeger)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29463 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 16:08:23 +00:00
file
35ef7f8d42
don't stop recording until hangup (no terminator) (issue #7168 reported by julien23)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29435 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 15:48:22 +00:00
bweschke
a05ec3ad37
Add UniqueID to the leave manager event.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29434 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 15:28:28 +00:00
crichter
0430160715
added callcounters for incoming and outgoing calls
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29411 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 15:02:03 +00:00
tilghman
be87942d3b
Merged revisions 29398 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r29398 | tilghman | 2006-05-22 09:59:59 -0500 (Mon, 22 May 2006) | 2 lines
Bug 7194 - spelling fix
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29407 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 15:01:36 +00:00
tilghman
020354b8e7
Blocked revisions 29394 via svnmerge
...
........
r29394 | tilghman | 2006-05-22 09:34:34 -0500 (Mon, 22 May 2006) | 2 lines
Bug 7196 - month range did not work
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29395 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 14:39:10 +00:00
tilghman
96ba011628
Escaping commas within fields isn't always desireable.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29364 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 03:40:31 +00:00
rizzo
e332760b29
remove code duplication generating some ast_verbose messages .
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29363 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 03:16:38 +00:00
rizzo
2d459d8576
use functional form of time()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29335 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 02:51:04 +00:00
rizzo
d9e528a6dc
use the functional form of time(), and mark XXX a couple of places
...
with dubious assignments.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29334 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 02:43:24 +00:00
rizzo
69a748dbaa
more constifications
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29333 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 02:31:58 +00:00
rizzo
084259dc27
various constification of function arguments to prevent erroneous
...
usage and to ease understanding of the function themselves.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29332 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 02:27:33 +00:00
rizzo
1ae0120254
the msg argument of the various transmi_response*() functions is const.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29331 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 02:22:39 +00:00
rizzo
a6a515d43e
mark const the 'header' argument of gettag
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29330 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 02:19:14 +00:00
rizzo
0d170ae655
mark const the source of copy_request
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29329 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 02:17:52 +00:00
rizzo
3fa7f1af6c
fix indentation to make a table more readable
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29328 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 02:16:04 +00:00
rizzo
d049133c40
simplify register_peer_exten() removing some duplicated code.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29315 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 02:02:57 +00:00
rizzo
5029123572
use strsep() to trim away ;xxx from SIP messages.
...
Note that in a couple of places the code overwrites the string
in the buffer - mark the two places with XXX but do not fix the
bug yet.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29299 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 01:27:52 +00:00
rizzo
4dd7f46cb9
use a more compact method to trim the trailing ;... from SIP lines.
...
These are just the first two instances, there are many more to replace.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29298 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 01:08:41 +00:00
rizzo
e7368045c2
annotate const parameters of copy_header()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29268 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 00:46:04 +00:00
rizzo
99d77e94c0
src is const in parse_copy()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 00:32:36 +00:00
rizzo
4b2c4b1533
minor logic simplification in get_sip_pvt_byid_locked()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29266 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 00:29:12 +00:00
rizzo
c730d49e31
simplify logic in function create_addr()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29265 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 00:17:46 +00:00
rizzo
68560819c3
simplify logic in realtime_peer(), removing an unnecessary
...
initialization, an extra variable (newpeername) and a
variable newpeername, and an 'else' branch.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29264 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-22 00:07:48 +00:00
rizzo
a2f8bfa50e
strcmp() is the right function to use here, not strncmp().
...
On passing simplify an ast_cli message nearby.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29234 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21 23:54:28 +00:00
bweschke
335e27bbde
Merged revisions 29196 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r29196 | bweschke | 2006-05-21 10:16:59 -0500 (Sun, 21 May 2006) | 3 lines
When an application that is executed via applicationmap and exits non-zero, make sure that we pass through the correct return value from the application to make sure a segfault doesn't occur by a bridge trying to continue when it should not. Also, when executing applications via applicationmap, make sure that the application is executed against the channel whose DTMF caused it to be fired off in the first place. (part 1/2 of #7090 - this is the only fix that will be applied to both 1.2 and /trunk) acunningham and blitzrage on testing...
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29197 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21 15:25:31 +00:00
russell
941e1558d3
put a bunch of defines in enums, and convert comments to doxygen format
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29195 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21 15:13:19 +00:00
russell
75cee17a40
remove a CLI command that has been marked deprecated since before Asterisk 1.0
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29164 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21 14:06:37 +00:00
rizzo
dc6a86eb64
remove an unused variable, and while at it
...
add some very minor optimizations.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29129 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-21 09:56:38 +00:00
russell
93d28409df
remove unused variable
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29095 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 22:37:18 +00:00
russell
e0162250d9
Add support for logging CDR recrods to a radius server (issue #6639 , phsultan)
...
- with contributions from miconda, jcollie, and sb
- branch maintained by oej
Thanks everyone!
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29094 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 22:30:05 +00:00
russell
eb4fd3a539
fix the possibility of writing one byte past the end of a buffer.
...
(issue #7189 , Mithraen)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29053 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 19:54:14 +00:00
russell
e92fd19917
add some code optimizations, see the report for an explanation
...
(issue #7105 , Mithraen)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29018 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 13:37:11 +00:00
russell
27c5f21d71
- add a UserEvent action that allows a manager client to "broadcast" an event
...
to all connected manager clients
- update the UserEvent application to use the application argument parsing
macros and to allow headers to be specified as pipe delimeted arguments
(issue #5324 , original patch by outtolunc, committed patch by Corydon)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@29017 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 13:29:22 +00:00
kpfleming
83b19113e3
Merged revisions 28968 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r28968 | kpfleming | 2006-05-19 21:35:53 -0500 (Fri, 19 May 2006) | 2 lines
don't allow queue member devices to ring longer than the total queue timeout (issue #6423 , reported and patched by bcnit)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28970 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 02:51:53 +00:00
russell
6e7e4d9fa8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28967 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 02:32:54 +00:00
russell
a0994f4447
remove an unused variable, and default the user to asterisk if not specified
...
in the config file (issue #7153 , Mithraen)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28936 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 01:35:12 +00:00
russell
1649bd82aa
various fixes regarding coding guidelines issues
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28935 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 01:29:08 +00:00
russell
a6cd0e53d7
fix up another place where the code made assumptions about how space for
...
variables would be allocatted on the stack
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28934 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 01:28:14 +00:00
kpfleming
4d2d177093
Merged revisions 28896 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r28896 | kpfleming | 2006-05-19 19:55:31 -0500 (Fri, 19 May 2006) | 2 lines
don't try to predict where the compiler will place things on the stack... put them in the right place explicitly (issues #7029 and #7100 , maybe others)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28903 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 01:01:20 +00:00
russell
c028a942f9
if a hostname is not specified, connect over a unix socket instead of
...
connecting to localhost (issue #7145 , Mithraen)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28897 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 00:57:04 +00:00
russell
e9b1b115e3
fix the build of func_realtime and aelparse with MTX_PROFILE enabled
...
(issue #7187 , #7188 , casper)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28895 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 00:41:36 +00:00
russell
1972f752e7
defaults.h must be listed as a dependency after the cleantest because if it
...
forces a make clean, it has to be regenerated. This fixes the problem that
people have been seeing where the build would fail complaining about defaults.h
not being present.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28894 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-20 00:36:18 +00:00
kpfleming
e92fdac6ad
attributes need trailing CR-LF
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28863 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 23:08:47 +00:00
russell
c48b7bc0a9
allow chan_h323 to build (issue #7006 , casper)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28834 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 22:55:09 +00:00
kpfleming
a0488b0c75
let's use the proper variable here, instead of segfaulting (don't know how this worked for anyone at all)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28833 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 22:55:02 +00:00
russell
da313b1c57
Make the new behavior where the timestamp is checked on the call file before
...
deleting it optional, defaulting to the old behavior, where it is always
deleted (issue #6750 , jcollie)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28832 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-19 22:51:44 +00:00