Joshua Colp
d2d8052741
don't stop recording until hangup (no terminator) (issue #7168 reported by julien23)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29435 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 15:48:22 +00:00
BJ Weschke
d1fc8d4687
Add UniqueID to the leave manager event.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 15:28:28 +00:00
Christian Richter
19d46333bf
added callcounters for incoming and outgoing calls
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 15:02:03 +00:00
Tilghman Lesher
5a8e7415c7
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: https://origsvn.digium.com/svn/asterisk/trunk@29407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 15:01:36 +00:00
Tilghman Lesher
115e950b2c
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: https://origsvn.digium.com/svn/asterisk/trunk@29395 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 14:39:10 +00:00
Tilghman Lesher
9e81cc3e0c
Escaping commas within fields isn't always desireable.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29364 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 03:40:31 +00:00
Luigi Rizzo
76c47813fe
remove code duplication generating some ast_verbose messages .
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29363 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 03:16:38 +00:00
Luigi Rizzo
9bb0bfbebc
use functional form of time()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29335 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:51:04 +00:00
Luigi Rizzo
82dbf5a4c1
use the functional form of time(), and mark XXX a couple of places
...
with dubious assignments.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29334 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:43:24 +00:00
Luigi Rizzo
afe7c46924
more constifications
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29333 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:31:58 +00:00
Luigi Rizzo
322aff00c6
various constification of function arguments to prevent erroneous
...
usage and to ease understanding of the function themselves.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:27:33 +00:00
Luigi Rizzo
ba195ee2d4
the msg argument of the various transmi_response*() functions is const.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:22:39 +00:00
Luigi Rizzo
75c6b453a3
mark const the 'header' argument of gettag
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:19:14 +00:00
Luigi Rizzo
1a709886e3
mark const the source of copy_request
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:17:52 +00:00
Luigi Rizzo
c76882a94a
fix indentation to make a table more readable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29328 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:16:04 +00:00
Luigi Rizzo
3ade391d1d
simplify register_peer_exten() removing some duplicated code.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29315 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 02:02:57 +00:00
Luigi Rizzo
734535011a
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: https://origsvn.digium.com/svn/asterisk/trunk@29299 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 01:27:52 +00:00
Luigi Rizzo
8414445108
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: https://origsvn.digium.com/svn/asterisk/trunk@29298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 01:08:41 +00:00
Luigi Rizzo
917182e286
annotate const parameters of copy_header()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29268 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:46:04 +00:00
Luigi Rizzo
27f4fb4990
src is const in parse_copy()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:32:36 +00:00
Luigi Rizzo
564ca6394a
minor logic simplification in get_sip_pvt_byid_locked()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:29:12 +00:00
Luigi Rizzo
15b7465cd2
simplify logic in function create_addr()
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:17:46 +00:00
Luigi Rizzo
a234f92337
simplify logic in realtime_peer(), removing an unnecessary
...
initialization, an extra variable (newpeername) and a
variable newpeername, and an 'else' branch.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29264 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 00:07:48 +00:00
Luigi Rizzo
94d3a99089
strcmp() is the right function to use here, not strncmp().
...
On passing simplify an ast_cli message nearby.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29234 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 23:54:28 +00:00
BJ Weschke
4733732b61
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: https://origsvn.digium.com/svn/asterisk/trunk@29197 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 15:25:31 +00:00
Russell Bryant
99f3f45625
put a bunch of defines in enums, and convert comments to doxygen format
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29195 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 15:13:19 +00:00
Russell Bryant
3adeececd7
remove a CLI command that has been marked deprecated since before Asterisk 1.0
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29164 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 14:06:37 +00:00
Luigi Rizzo
ab5b298805
remove an unused variable, and while at it
...
add some very minor optimizations.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29129 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-21 09:56:38 +00:00
Russell Bryant
4b49f667d2
remove unused variable
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29095 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:37:18 +00:00
Russell Bryant
1fcc86d905
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: https://origsvn.digium.com/svn/asterisk/trunk@29094 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 22:30:05 +00:00
Russell Bryant
ed0b86c916
fix the possibility of writing one byte past the end of a buffer.
...
(issue #7189 , Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29053 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 19:54:14 +00:00
Russell Bryant
b88c06b8b5
add some code optimizations, see the report for an explanation
...
(issue #7105 , Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 13:37:11 +00:00
Russell Bryant
9d53a3e7f5
- 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: https://origsvn.digium.com/svn/asterisk/trunk@29017 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 13:29:22 +00:00
Kevin P. Fleming
db55898c0d
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: https://origsvn.digium.com/svn/asterisk/trunk@28970 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 02:51:53 +00:00
Russell Bryant
0056379829
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 02:32:54 +00:00
Russell Bryant
d8f4a04acc
remove an unused variable, and default the user to asterisk if not specified
...
in the config file (issue #7153 , Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 01:35:12 +00:00
Russell Bryant
f1a97c3b3f
various fixes regarding coding guidelines issues
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28935 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 01:29:08 +00:00
Russell Bryant
bdc30b8d9d
fix up another place where the code made assumptions about how space for
...
variables would be allocatted on the stack
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 01:28:14 +00:00
Kevin P. Fleming
df6767fa52
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: https://origsvn.digium.com/svn/asterisk/trunk@28903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 01:01:20 +00:00
Russell Bryant
0523e82f46
if a hostname is not specified, connect over a unix socket instead of
...
connecting to localhost (issue #7145 , Mithraen)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28897 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 00:57:04 +00:00
Russell Bryant
3d022d073a
fix the build of func_realtime and aelparse with MTX_PROFILE enabled
...
(issue #7187 , #7188 , casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 00:41:36 +00:00
Russell Bryant
ebe974e9e4
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: https://origsvn.digium.com/svn/asterisk/trunk@28894 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-20 00:36:18 +00:00
Kevin P. Fleming
6d92d53d41
attributes need trailing CR-LF
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28863 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 23:08:47 +00:00
Russell Bryant
0debd3dec2
allow chan_h323 to build (issue #7006 , casper)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28834 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 22:55:09 +00:00
Kevin P. Fleming
429360320d
let's use the proper variable here, instead of segfaulting (don't know how this worked for anyone at all)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28833 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 22:55:02 +00:00
Russell Bryant
004885c2fa
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: https://origsvn.digium.com/svn/asterisk/trunk@28832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 22:51:44 +00:00
Russell Bryant
4a8ed5c136
we have to build local copies of aelflex.o, aelbison.o, and pbx_ael.o as well
...
to make sure aelparse doesn't use versions of these objects compiled with astmm
support (issue #7122 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28796 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 19:46:10 +00:00
Kevin P. Fleming
42e2cf61d8
Merged revisions 28794 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r28794 | kpfleming | 2006-05-19 14:39:55 -0500 (Fri, 19 May 2006) | 2 lines
use the specified 'subscribecontext' for a peer rather than the context found via the target domain (domain contexts are for calls, not for subscriptions) (issue #7122 , reported by raarts)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 19:43:33 +00:00
Joshua Colp
f6107d6826
Fix tab completion when you just do a plain tab without entering anything, and also fix show application tab completion. (issue #7089 reported by blitzrage)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 19:35:16 +00:00
Russell Bryant
c91382a0a0
Merged revisions 28790 via svnmerge from
...
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r28790 | russell | 2006-05-19 15:18:41 -0400 (Fri, 19 May 2006) | 3 lines
fix the build of smsq with -Werror. I learned something new about format
strings from this patch! (issue #7141 , Mithraen)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-19 19:19:27 +00:00