asterisk/asterisk.git
14 years agoremove a CLI command that has been marked deprecated since before Asterisk 1.0
Russell Bryant [Sun, 21 May 2006 14:06:37 +0000 (14:06 +0000)]
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

14 years agoremove an unused variable, and while at it
Luigi Rizzo [Sun, 21 May 2006 09:56:38 +0000 (09:56 +0000)]
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

14 years agoremove unused variable
Russell Bryant [Sat, 20 May 2006 22:37:18 +0000 (22:37 +0000)]
remove unused variable

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29095 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd support for logging CDR recrods to a radius server (issue #6639, phsultan)
Russell Bryant [Sat, 20 May 2006 22:30:05 +0000 (22:30 +0000)]
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

14 years agofix the possibility of writing one byte past the end of a buffer.
Russell Bryant [Sat, 20 May 2006 19:54:14 +0000 (19:54 +0000)]
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

14 years agoadd some code optimizations, see the report for an explanation
Russell Bryant [Sat, 20 May 2006 13:37:11 +0000 (13:37 +0000)]
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

14 years ago- add a UserEvent action that allows a manager client to "broadcast" an event
Russell Bryant [Sat, 20 May 2006 13:29:22 +0000 (13:29 +0000)]
- 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

14 years agoMerged revisions 28968 via svnmerge from
Kevin P. Fleming [Sat, 20 May 2006 02:51:53 +0000 (02:51 +0000)]
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

14 years agogit-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28967 65c4cc65-6c06-0410...
Russell Bryant [Sat, 20 May 2006 02:32:54 +0000 (02:32 +0000)]
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28967 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove an unused variable, and default the user to asterisk if not specified
Russell Bryant [Sat, 20 May 2006 01:35:12 +0000 (01:35 +0000)]
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

14 years agovarious fixes regarding coding guidelines issues
Russell Bryant [Sat, 20 May 2006 01:29:08 +0000 (01:29 +0000)]
various fixes regarding coding guidelines issues

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28935 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix up another place where the code made assumptions about how space for
Russell Bryant [Sat, 20 May 2006 01:28:14 +0000 (01:28 +0000)]
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

14 years agoMerged revisions 28896 via svnmerge from
Kevin P. Fleming [Sat, 20 May 2006 01:01:20 +0000 (01:01 +0000)]
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

14 years agoif a hostname is not specified, connect over a unix socket instead of
Russell Bryant [Sat, 20 May 2006 00:57:04 +0000 (00:57 +0000)]
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

14 years agofix the build of func_realtime and aelparse with MTX_PROFILE enabled
Russell Bryant [Sat, 20 May 2006 00:41:36 +0000 (00:41 +0000)]
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

14 years agodefaults.h must be listed as a dependency after the cleantest because if it
Russell Bryant [Sat, 20 May 2006 00:36:18 +0000 (00:36 +0000)]
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

14 years agoattributes need trailing CR-LF
Kevin P. Fleming [Fri, 19 May 2006 23:08:47 +0000 (23:08 +0000)]
attributes need trailing CR-LF

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28863 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoallow chan_h323 to build (issue #7006, casper)
Russell Bryant [Fri, 19 May 2006 22:55:09 +0000 (22:55 +0000)]
allow chan_h323 to build (issue #7006, casper)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28834 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agolet's use the proper variable here, instead of segfaulting (don't know how this worke...
Kevin P. Fleming [Fri, 19 May 2006 22:55:02 +0000 (22:55 +0000)]
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

14 years agoMake the new behavior where the timestamp is checked on the call file before
Russell Bryant [Fri, 19 May 2006 22:51:44 +0000 (22:51 +0000)]
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

14 years agowe have to build local copies of aelflex.o, aelbison.o, and pbx_ael.o as well
Russell Bryant [Fri, 19 May 2006 19:46:10 +0000 (19:46 +0000)]
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

14 years agoMerged revisions 28794 via svnmerge from
Kevin P. Fleming [Fri, 19 May 2006 19:43:33 +0000 (19:43 +0000)]
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

14 years agoFix tab completion when you just do a plain tab without entering anything, and also...
Joshua Colp [Fri, 19 May 2006 19:35:16 +0000 (19:35 +0000)]
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

14 years agoMerged revisions 28790 via svnmerge from
Russell Bryant [Fri, 19 May 2006 19:19:27 +0000 (19:19 +0000)]
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

14 years agothere is no reason to explicity specify -fomit-frame-pointer when building with
Russell Bryant [Fri, 19 May 2006 19:10:06 +0000 (19:10 +0000)]
there is no reason to explicity specify -fomit-frame-pointer when building with
optimization enabled, because it is enabled automatically (issue #7108, casper)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28789 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 28754 via svnmerge from
Russell Bryant [Fri, 19 May 2006 19:04:24 +0000 (19:04 +0000)]
Merged revisions 28754 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28754 | russell | 2006-05-19 15:01:17 -0400 (Fri, 19 May 2006) | 6 lines

This explicit poll is only needed on mac.  In fact, it breaks some systems
such as some versions of Fedora, causing 'asterisk -rx' to never exit.  This
has been tested on systems showing the asterisk -rx problem, as well as other
unaffected versions of linux, mac osx 10.4, and FreeBSD 6.
(issue #7071)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28771 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd support for more refined ability to set install paths using the standard
Russell Bryant [Fri, 19 May 2006 18:54:21 +0000 (18:54 +0000)]
add support for more refined ability to set install paths using the standard
options to configure such as --libdir, --sbindir, etc. All of the default paths
are still the same. (issue #7057, jcollie)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28747 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAs requested by kpfleming, renaming messagecount to inboxcount and messagecount2...
Tilghman Lesher [Fri, 19 May 2006 18:21:31 +0000 (18:21 +0000)]
As requested by kpfleming, renaming messagecount to inboxcount and messagecount2 to messagecount.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28745 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoonly delete call files if the timestamp on the file is not in the future, so
Russell Bryant [Fri, 19 May 2006 17:25:52 +0000 (17:25 +0000)]
only delete call files if the timestamp on the file is not in the future, so
that a call file can be reused (issue #6750, patch by moy, committed patch is
slightly simplified)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28705 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoClean up some chan_zap code to make it more readable. (issue #6834 reported by ppyy)
Joshua Colp [Fri, 19 May 2006 17:15:29 +0000 (17:15 +0000)]
Clean up some chan_zap code to make it more readable. (issue #6834 reported by ppyy)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28704 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 28698 via svnmerge from
Joshua Colp [Fri, 19 May 2006 17:05:22 +0000 (17:05 +0000)]
Merged revisions 28698 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28698 | file | 2006-05-19 14:04:02 -0300 (Fri, 19 May 2006) | 2 lines

Make the minidle option actually exist as documented (issue #7159 reported by imran)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28703 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 28651 via svnmerge from
Joshua Colp [Fri, 19 May 2006 16:04:35 +0000 (16:04 +0000)]
Merged revisions 28651 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28651 | file | 2006-05-19 13:03:33 -0300 (Fri, 19 May 2006) | 2 lines

When forwarding messages use the context that the active voicemail user was found in. (issue #7010)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28657 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBlocked revisions 28630 via svnmerge
Joshua Colp [Fri, 19 May 2006 15:53:14 +0000 (15:53 +0000)]
Blocked revisions 28630 via svnmerge

........
r28630 | file | 2006-05-19 12:52:09 -0300 (Fri, 19 May 2006) | 2 lines

Backport of fix for issue #6654 that was fixed in trunk but not here

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28631 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMissing messagecount2 function
Tilghman Lesher [Fri, 19 May 2006 15:44:33 +0000 (15:44 +0000)]
Missing messagecount2 function

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28629 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 28627 via svnmerge from
Joshua Colp [Fri, 19 May 2006 15:40:39 +0000 (15:40 +0000)]
Merged revisions 28627 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28627 | file | 2006-05-19 12:38:59 -0300 (Fri, 19 May 2006) | 2 lines

Treat paused queue members as unreachable (issue #7127 reported by peterh)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28628 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix up a patch that did not merge properly from 1.2 ... weird
Russell Bryant [Fri, 19 May 2006 14:51:08 +0000 (14:51 +0000)]
fix up a patch that did not merge properly from 1.2 ... weird
(issue #6866, flefoll)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28592 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdding some documentation on Asterisk and video telephony. Thanks to the team
Olle Johansson [Fri, 19 May 2006 09:28:05 +0000 (09:28 +0000)]
Adding some documentation on Asterisk and video telephony. Thanks to the team
on the asterisk-video mailing list for teaching me :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28555 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdding send_text capability to chan_local
Olle Johansson [Fri, 19 May 2006 08:20:01 +0000 (08:20 +0000)]
Adding send_text capability to chan_local

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28520 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFirst stab at supporting video in chan_local
Olle Johansson [Fri, 19 May 2006 08:03:28 +0000 (08:03 +0000)]
First stab at supporting video in chan_local

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28502 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd simple devicestate for chan_local
Olle Johansson [Fri, 19 May 2006 07:56:56 +0000 (07:56 +0000)]
Add simple devicestate for chan_local

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28484 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFormatting cleanup
Olle Johansson [Fri, 19 May 2006 07:52:08 +0000 (07:52 +0000)]
Formatting cleanup

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28483 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agowhen displaying the list of registered music on hold classes, only show
Russell Bryant [Fri, 19 May 2006 03:11:35 +0000 (03:11 +0000)]
when displaying the list of registered music on hold classes, only show
the format if the mode is not "files", because the field has no meaning
in that case

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28445 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agorevert bogus change
Kevin P. Fleming [Thu, 18 May 2006 21:11:43 +0000 (21:11 +0000)]
revert bogus change

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28395 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 28380,28384 via svnmerge from
Kevin P. Fleming [Thu, 18 May 2006 21:02:21 +0000 (21:02 +0000)]
Merged revisions 28380,28384 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28380 | kpfleming | 2006-05-18 15:24:07 -0500 (Thu, 18 May 2006) | 2 lines

handle incoming multipart/mixed message bodies in SIP and find the SDP, if presnet (issue #7124 reported and patched by eborgstrom, but very different fix)

........
r28384 | kpfleming | 2006-05-18 15:43:42 -0500 (Thu, 18 May 2006) | 2 lines

fix up a few more places to find the SDP properly (fallout from fix for #7124)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28394 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd missing argument to ast_carefulwrite
Olle Johansson [Thu, 18 May 2006 21:01:38 +0000 (21:01 +0000)]
Add missing argument to ast_carefulwrite

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28393 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 28337 via svnmerge from
Kevin P. Fleming [Thu, 18 May 2006 19:39:39 +0000 (19:39 +0000)]
Merged revisions 28337 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28337 | kpfleming | 2006-05-18 14:35:55 -0500 (Thu, 18 May 2006) | 2 lines

use unsigned counters for handling answer/IE lengths while processing DNS results (issue #7174)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28338 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoblock this fix from the 1.2 branch; proper fix will go here and is much more complex
Kevin P. Fleming [Thu, 18 May 2006 19:18:08 +0000 (19:18 +0000)]
block this fix from the 1.2 branch; proper fix will go here and is much more complex

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28336 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBug 7167 - Fix VMCOUNT if using USE_ODBC_STORAGE (different fix for trunk than for...
Tilghman Lesher [Thu, 18 May 2006 18:28:52 +0000 (18:28 +0000)]
Bug 7167 - Fix VMCOUNT if using USE_ODBC_STORAGE (different fix for trunk than for 1.2)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28300 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBlocked revisions 28257 via svnmerge
Tilghman Lesher [Thu, 18 May 2006 17:29:32 +0000 (17:29 +0000)]
Blocked revisions 28257 via svnmerge

........
r28257 | tilghman | 2006-05-18 12:27:59 -0500 (Thu, 18 May 2006) | 2 lines

Bug 7167 - HasNewVoicemail and VMCOUNT() didn't work when USE_ODBC_STORAGE was defined

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28258 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadd another media path reinvite 'flavor', where we will only redirect our media to...
Kevin P. Fleming [Thu, 18 May 2006 16:57:59 +0000 (16:57 +0000)]
add another media path reinvite 'flavor', where we will only redirect our media to devices that we know are not behind a NAT (based on the evidence collected when we receive media from them)
also, documented the 'canreinvite=update' option in the sample config file

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28215 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoadding new code should require following the formatting guidelines :-)
Kevin P. Fleming [Thu, 18 May 2006 16:38:26 +0000 (16:38 +0000)]
adding new code should require following the formatting guidelines :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28214 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 28212 via svnmerge from
Joshua Colp [Thu, 18 May 2006 16:32:37 +0000 (16:32 +0000)]
Merged revisions 28212 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28212 | file | 2006-05-18 13:31:16 -0300 (Thu, 18 May 2006) | 2 lines

Return -1 on error in ODBC messagecount and 0 on success (issue #7133 reported by cfieldmtm)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28213 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 28169 via svnmerge from
Joshua Colp [Thu, 18 May 2006 14:40:20 +0000 (14:40 +0000)]
Merged revisions 28169 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r28169 | file | 2006-05-18 11:27:21 -0300 (Thu, 18 May 2006) | 2 lines

Fix endless looping message by checking value of res before doing retries stuff. (issue #7140 reported by tanischen)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28170 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAllow contexts in regexten so that extensions can be added to multiple contexts when...
Joshua Colp [Thu, 18 May 2006 14:07:46 +0000 (14:07 +0000)]
Allow contexts in regexten so that extensions can be added to multiple contexts when peer registers (issue #6869 reported by and created by Marquis)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28168 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRemove unsupported, unimplemented, unfunctional "v" option from meetme documentation
Olle Johansson [Thu, 18 May 2006 12:19:00 +0000 (12:19 +0000)]
Remove unsupported, unimplemented, unfunctional "v" option from meetme documentation
(Imported from 1.2)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28126 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agothis is not a warning, it might happen during call initialization
Christian Richter [Thu, 18 May 2006 08:45:43 +0000 (08:45 +0000)]
this is not a warning, it might happen during call initialization

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28091 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoforce a "make clean" because existing .depend files in the subdirectories
Russell Bryant [Thu, 18 May 2006 06:48:58 +0000 (06:48 +0000)]
force a "make clean" because existing .depend files in the subdirectories
may be bogus

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28056 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix file dependency generation so that the resulting files in the subdirectories
Russell Bryant [Thu, 18 May 2006 06:41:53 +0000 (06:41 +0000)]
fix file dependency generation so that the resulting files in the subdirectories
are not of zero length (issue #7138, reported/patched by casper, fixed by a
different patch)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28055 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoFix receiving message count information from a remote IAX2 peer. (issue #7163 reporte...
Joshua Colp [Thu, 18 May 2006 00:12:54 +0000 (00:12 +0000)]
Fix receiving message count information from a remote IAX2 peer. (issue #7163 reported by and fixed by akohlsmith)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28017 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd SPRINTF dialplan function made by the ever insaneful Corydon (issue #7078 reporte...
Joshua Colp [Thu, 18 May 2006 00:00:32 +0000 (00:00 +0000)]
Add SPRINTF dialplan function made by the ever insaneful Corydon (issue #7078 reported by Corydon76)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28016 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoRemove needless check for autofill (issue #7180 reported by Marquis)
Joshua Colp [Wed, 17 May 2006 22:51:28 +0000 (22:51 +0000)]
Remove needless check for autofill (issue #7180 reported by Marquis)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27975 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 27973 via svnmerge from
Joshua Colp [Wed, 17 May 2006 22:35:53 +0000 (22:35 +0000)]
Merged revisions 27973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27973 | file | 2006-05-17 19:34:08 -0300 (Wed, 17 May 2006) | 2 lines

Fix codec priority stuff during authentication (issue #6194 reported by jkoopmann)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27974 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoOnly set the RTP DTMF information of an RTP structure does indeed exist.
Joshua Colp [Wed, 17 May 2006 22:02:15 +0000 (22:02 +0000)]
Only set the RTP DTMF information of an RTP structure does indeed exist.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27972 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoIssue #7176 - Crash in expire_register (imported from 1.2)
Olle Johansson [Wed, 17 May 2006 19:37:51 +0000 (19:37 +0000)]
Issue #7176 - Crash in expire_register (imported from 1.2)

This is a bad fix, since peer should never be 0. Why is it zero
on Royk's system?

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27928 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdding a debug line
Olle Johansson [Wed, 17 May 2006 18:19:17 +0000 (18:19 +0000)]
Adding a debug line

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27892 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 27847 via svnmerge from
Joshua Colp [Wed, 17 May 2006 17:10:44 +0000 (17:10 +0000)]
Merged revisions 27847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27847 | file | 2006-05-17 14:07:52 -0300 (Wed, 17 May 2006) | 2 lines

Priority jumping not working on VoiceMail app with new syntax (issue #7164 reported and fixed by alvaro_palma_aste)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27848 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd distinctive ring detection with Caller ID for Australia, New Zealand, and other...
Joshua Colp [Wed, 17 May 2006 16:51:47 +0000 (16:51 +0000)]
Add distinctive ring detection with Caller ID for Australia, New Zealand, and other countries. (issue #3596 reported by deon patch by dbowerman with minor mods by moi)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27812 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofixed bug that we've lost the orginator of the call.. now we can hear to disconnect...
Christian Richter [Wed, 17 May 2006 15:29:01 +0000 (15:29 +0000)]
fixed bug that we've lost the orginator of the call.. now we can hear to disconnect indications again

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27770 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBlocked revisions 27767 via svnmerge
Joshua Colp [Wed, 17 May 2006 15:19:29 +0000 (15:19 +0000)]
Blocked revisions 27767 via svnmerge

........
r27767 | file | 2006-05-17 12:17:04 -0300 (Wed, 17 May 2006) | 2 lines

OSPNext does not handle success/failure correctly (issue #7147 reported and fixed by eborgstrom)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27768 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoBlock TRANSFER_CONTEXT patch for 1.2 only, since is already implemented in siptransfer
Olle Johansson [Wed, 17 May 2006 09:29:55 +0000 (09:29 +0000)]
Block TRANSFER_CONTEXT patch for 1.2 only, since is already implemented in siptransfer

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27724 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoUse pointer instead of un-needed buffer. Thanks Kevin!
Olle Johansson [Wed, 17 May 2006 06:18:09 +0000 (06:18 +0000)]
Use pointer instead of un-needed buffer. Thanks Kevin!

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27684 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 27636 via svnmerge from
Tilghman Lesher [Wed, 17 May 2006 02:27:17 +0000 (02:27 +0000)]
Merged revisions 27636 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27636 | tilghman | 2006-05-16 21:19:50 -0500 (Tue, 16 May 2006) | 2 lines

Bug 7125 - Fix race condition between resequencing and leaving a message

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27637 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoInherit channel variables when call forwarding through chan_local (issue #7095 report...
Joshua Colp [Tue, 16 May 2006 23:39:29 +0000 (23:39 +0000)]
Inherit channel variables when call forwarding through chan_local (issue #7095 reported by raarts)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27595 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomark RTP sessions that are not carrying DTMF
Kevin P. Fleming [Tue, 16 May 2006 22:11:02 +0000 (22:11 +0000)]
mark RTP sessions that are not carrying DTMF
allow native bridging of RTP sessions that are not carrying DTMF even when the bridge needs to listen to DTMF (when SIP INFO is used for DTMF, for example)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27559 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoclean up some compiler warnings (no reason to use signed integers for buffer lengths...
Kevin P. Fleming [Tue, 16 May 2006 21:45:15 +0000 (21:45 +0000)]
clean up some compiler warnings (no reason to use signed integers for buffer lengths, ever)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27524 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdd option for enabling and disabling echo cancellation
Matthew Fredrickson [Tue, 16 May 2006 21:43:20 +0000 (21:43 +0000)]
Add option for enabling and disabling echo cancellation

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27523 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoArgument macro janitor for func_odbc, fixes #7171
Tilghman Lesher [Tue, 16 May 2006 21:14:01 +0000 (21:14 +0000)]
Argument macro janitor for func_odbc, fixes #7171

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27522 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoSend a=recvonly when put on hold, otherwise a=sendrecv to indicate that we want two...
Olle Johansson [Tue, 16 May 2006 20:13:10 +0000 (20:13 +0000)]
Send a=recvonly when put on hold, otherwise a=sendrecv to indicate that we want two streams.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27479 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agomake this app actually compile
Kevin P. Fleming [Tue, 16 May 2006 20:09:30 +0000 (20:09 +0000)]
make this app actually compile

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27478 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 27468 via svnmerge from
Kevin P. Fleming [Tue, 16 May 2006 20:08:29 +0000 (20:08 +0000)]
Merged revisions 27468 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27468 | kpfleming | 2006-05-16 15:05:17 -0500 (Tue, 16 May 2006) | 2 lines

don't leak frames when deferring DTMF or dropping duplicate ANSWER frames (issue #7041, slightly different fix, reported/patched by clausf)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27477 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoTypo
Olle Johansson [Tue, 16 May 2006 19:21:20 +0000 (19:21 +0000)]
Typo

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27437 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoAdding check of option_debug
Olle Johansson [Tue, 16 May 2006 19:20:50 +0000 (19:20 +0000)]
Adding check of option_debug

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27436 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoShow all formats for an active SIP call
Olle Johansson [Tue, 16 May 2006 18:06:27 +0000 (18:06 +0000)]
Show all formats for an active SIP call

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27396 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofixed very bad memory overwrite which leaded to segfaults on some systems. removed...
Christian Richter [Tue, 16 May 2006 14:34:21 +0000 (14:34 +0000)]
fixed very bad memory overwrite which leaded to segfaults on some systems. removed redundant buffer betweend mISDN reading thread and ast_read in favour of the already existing pipe, this clarifies the way a voice frame takes between mISDN and asterisk a lot. centralized debugging of NumberPlan. removed a compiler warning.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27346 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoOne sipfrag attachment is enough...
Olle Johansson [Tue, 16 May 2006 12:44:04 +0000 (12:44 +0000)]
One sipfrag attachment is enough...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27306 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago- Format fixes
Olle Johansson [Tue, 16 May 2006 12:42:59 +0000 (12:42 +0000)]
- Format fixes
- Adding if(option_debug) in front of complicated debug messages...

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27305 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoreturn the result of the cli command registration
Russell Bryant [Tue, 16 May 2006 03:18:57 +0000 (03:18 +0000)]
return the result of the cli command registration

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27270 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix bogus patch to allow setting the CDR amaflags. (The original patch in
Russell Bryant [Tue, 16 May 2006 03:18:22 +0000 (03:18 +0000)]
fix bogus patch to allow setting the CDR amaflags.  (The original patch in
issue #7166 was fine.)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27269 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoallow func_cdr to set amaflags patch provided by
Matt O'Gorman [Mon, 15 May 2006 19:46:26 +0000 (19:46 +0000)]
allow func_cdr to set amaflags patch provided by
bug 7166

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27231 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMake sure that the channel is answered before doing SpeechBackground. (issue #josh...
Joshua Colp [Mon, 15 May 2006 15:30:21 +0000 (15:30 +0000)]
Make sure that the channel is answered before doing SpeechBackground. (issue #josh-wait-I-dont-have-issue-numbers)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27194 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agosimplify conference user list handling
Russell Bryant [Sat, 13 May 2006 11:06:34 +0000 (11:06 +0000)]
simplify conference user list handling

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27153 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMove WITH_SMDI from the Makefiles to be handled by menuselect. It will now be
Russell Bryant [Sat, 13 May 2006 10:54:40 +0000 (10:54 +0000)]
Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now be
defined in buildopts.h. Also, remove a few more stray spaces in the gcc commands.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27130 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove some stuff handled by configure and menuselect
Russell Bryant [Sat, 13 May 2006 10:43:11 +0000 (10:43 +0000)]
remove some stuff handled by configure and menuselect

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27129 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoremove unnecessary INCLUDE variable which was currently added to ASTCFLAGS
Russell Bryant [Sat, 13 May 2006 10:37:26 +0000 (10:37 +0000)]
remove unnecessary INCLUDE variable which was currently added to ASTCFLAGS
before it was ever set.  This removes another stray space in the gcc
commands  :)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27128 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 27093 via svnmerge from
Tilghman Lesher [Sat, 13 May 2006 04:18:25 +0000 (04:18 +0000)]
Merged revisions 27093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27093 | tilghman | 2006-05-12 23:08:29 -0500 (Fri, 12 May 2006) | 2 lines

Bug 7134 - File descriptor leak with ODBC storage of voicemail

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27094 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoMerged revisions 27051 via svnmerge from
Tilghman Lesher [Thu, 11 May 2006 23:16:27 +0000 (23:16 +0000)]
Merged revisions 27051 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r27051 | tilghman | 2006-05-11 18:02:57 -0500 (Thu, 11 May 2006) | 2 lines

Bug 7086 - pbx_checkcondition substitution, so that arbitrary strings are true (for regex)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27052 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agofix the build with astmm (issue #7139)
Russell Bryant [Thu, 11 May 2006 21:24:54 +0000 (21:24 +0000)]
fix the build with astmm (issue #7139)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27023 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agouse config.status instead of include/autoconfig.h as the dependency
Russell Bryant [Thu, 11 May 2006 20:29:00 +0000 (20:29 +0000)]
use config.status instead of include/autoconfig.h as the dependency
for menuselect

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26992 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years agoset correct type for lock initializers
Luigi Rizzo [Thu, 11 May 2006 20:21:11 +0000 (20:21 +0000)]
set correct type for lock initializers

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26991 65c4cc65-6c06-0410-ace0-fbb531ad65f3

14 years ago - The recent change to linklists.h broke the build on linux for some reason.
Russell Bryant [Thu, 11 May 2006 20:07:44 +0000 (20:07 +0000)]
 - The recent change to linklists.h broke the build on linux for some reason.
   So, I have removed all of the uses of AST_LIST_HEAD_INIT and replaced them
   with the equivalent static initializations.
 - On passing, fix a memory leak in the unload_module() function of chan_agent.
   The agents list mutex was never destroyed, and the elements in the agents
   list were not freed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26990 65c4cc65-6c06-0410-ace0-fbb531ad65f3