asterisk/asterisk.git
13 years agoa few more control frame types that don't need to generate useless notices in the log
Kevin P. Fleming [Wed, 31 May 2006 16:04:49 +0000 (16:04 +0000)]
a few more control frame types that don't need to generate useless notices in the log

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

13 years ago Add an option to app_dial, 'i', to instruct the application ignore any requests...
BJ Weschke [Wed, 31 May 2006 15:52:32 +0000 (15:52 +0000)]
 Add an option to app_dial, 'i', to instruct the application ignore any requests from peers to forward calls elsewhere. #5657 (johnlange w/some minor mods)

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

13 years agoAdd congestion message to SIP history
Olle Johansson [Wed, 31 May 2006 14:36:47 +0000 (14:36 +0000)]
Add congestion message to SIP history

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

13 years agoUse ast_channel_trylock for channels
Olle Johansson [Wed, 31 May 2006 14:28:29 +0000 (14:28 +0000)]
Use ast_channel_trylock for channels

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

13 years agoTiny documentation fix
Joshua Colp [Tue, 30 May 2006 22:11:34 +0000 (22:11 +0000)]
Tiny documentation fix

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

13 years agomove processing of 'languageprefix' option to proper section of config file
Kevin P. Fleming [Tue, 30 May 2006 21:37:11 +0000 (21:37 +0000)]
move processing of 'languageprefix' option to proper section of config file
document that option :-)

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

13 years agoremove some files that don't actually get used by the code
Kevin P. Fleming [Tue, 30 May 2006 20:25:34 +0000 (20:25 +0000)]
remove some files that don't actually get used by the code

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

13 years agoBug 7237 - Replace recoded thread_safe_rand with the existing ast_random API
Tilghman Lesher [Tue, 30 May 2006 20:24:40 +0000 (20:24 +0000)]
Bug 7237 - Replace recoded thread_safe_rand with the existing ast_random API

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

13 years agoMerged revisions 30874 via svnmerge from
Kevin P. Fleming [Tue, 30 May 2006 19:20:20 +0000 (19:20 +0000)]
Merged revisions 30874 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30874 | kpfleming | 2006-05-30 14:18:30 -0500 (Tue, 30 May 2006) | 2 lines

check the proper variable...

........

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

13 years agowhen we receive an IAX2 registration request with both a plaintext secret and an...
Kevin P. Fleming [Tue, 30 May 2006 18:01:52 +0000 (18:01 +0000)]
when we receive an IAX2 registration request with both a plaintext secret and an MD5 challenge, prefer the MD5 challenge for authentation (reported on asterisk-dev)

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

13 years agoofficially deprecate the 'roundrobin' queue strategy in favor of 'rrmemory'
Kevin P. Fleming [Tue, 30 May 2006 17:52:49 +0000 (17:52 +0000)]
officially deprecate the 'roundrobin' queue strategy in favor of 'rrmemory'

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

13 years agoRemove ourselves from the userlist a little bit earlier
Joshua Colp [Tue, 30 May 2006 17:33:37 +0000 (17:33 +0000)]
Remove ourselves from the userlist a little bit earlier

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

13 years agoGet rid of warning about datarootdir at the end of the configure process...
Jeffrey C. Ollie [Tue, 30 May 2006 16:36:21 +0000 (16:36 +0000)]
Get rid of warning about datarootdir at the end of the configure process...

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

13 years agoBe gone foul Makefile usage! er I mean use the correct variable... UTILS instead...
Joshua Colp [Tue, 30 May 2006 16:23:34 +0000 (16:23 +0000)]
Be gone foul Makefile usage! er I mean use the correct variable... UTILS instead of TARGET. (issue #7239 reported by casper)

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

13 years agoBe gone unused res! (issue #7238 reported by casper)
Joshua Colp [Tue, 30 May 2006 16:10:10 +0000 (16:10 +0000)]
Be gone unused res! (issue #7238 reported by casper)

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

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

........
r30802 | kpfleming | 2006-05-30 11:07:16 -0500 (Tue, 30 May 2006) | 2 lines

another S/390 build fix

........

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

13 years agofix various typos and other bits (from Ian Kinner)
Kevin P. Fleming [Tue, 30 May 2006 16:01:50 +0000 (16:01 +0000)]
fix various typos and other bits (from Ian Kinner)

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

13 years ago It's a 1.2 'thang'.
BJ Weschke [Tue, 30 May 2006 14:59:02 +0000 (14:59 +0000)]
 It's a 1.2 'thang'.

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

13 years agoremove a bunch of duplicated log messages. There is a warning that gets
Russell Bryant [Tue, 30 May 2006 11:23:48 +0000 (11:23 +0000)]
remove a bunch of duplicated log messages.  There is a warning that gets
logged when this function returns an error

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

13 years agoremove duplicate static keywords, oops
Russell Bryant [Mon, 29 May 2006 14:52:55 +0000 (14:52 +0000)]
remove duplicate static keywords, oops

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

13 years agoremove unused include
Luigi Rizzo [Mon, 29 May 2006 05:23:59 +0000 (05:23 +0000)]
remove unused include

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

13 years agoremove an explicit constant;
Luigi Rizzo [Mon, 29 May 2006 05:14:52 +0000 (05:14 +0000)]
remove an explicit constant;
add a comment on the need to sort patterns in the standard way.

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

13 years agothis file contained the body twice, so remove the second instance.
Luigi Rizzo [Mon, 29 May 2006 05:13:13 +0000 (05:13 +0000)]
this file contained the body twice, so remove the second instance.

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

13 years agoDeprecate SetGlobalVar, replacing it with a dialplan function
Tilghman Lesher [Sun, 28 May 2006 15:10:19 +0000 (15:10 +0000)]
Deprecate SetGlobalVar, replacing it with a dialplan function

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

13 years agomake some variables static ... committed from xcode :)
Russell Bryant [Sat, 27 May 2006 18:47:44 +0000 (18:47 +0000)]
make some variables static ... committed from xcode :)

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

13 years agoNotate that QUEUEAGENTCOUNT is deprecated, so it can be removed post-1.4
Tilghman Lesher [Sat, 27 May 2006 18:45:15 +0000 (18:45 +0000)]
Notate that QUEUEAGENTCOUNT is deprecated, so it can be removed post-1.4

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

13 years agoShould use the named handle, not one hardcoded
Tilghman Lesher [Sat, 27 May 2006 18:19:16 +0000 (18:19 +0000)]
Should use the named handle, not one hardcoded

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

13 years agoFix various problems in the addition of the ability to mute log/verbose
Russell Bryant [Fri, 26 May 2006 21:47:52 +0000 (21:47 +0000)]
Fix various problems in the addition of the ability to mute log/verbose
output to remove consoles. The prototypes added to logger.h still need
doxygen documentation, as well.

- Add the new command line option to the man page
- make the mute option a flag instead of an int since it is only a binary
  option
- remove useless extern keywords for prototypes added to logger.h
- rename ast_console_mute() to ast_console_toggle_mute() since that is what
  it actually does
- actually apply the mute option to newly created remote consoles instead of
  only working when the CLI command is used
- don't imply the NO_FORK option if the mute command line option is provided
- place the new CLI command in the correct place in the list which has to be
  in alphabetical order
- Finally, clean up a few spacing issues to conform to the coding guidelines

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

13 years agoFew more expire_registry changes
Joshua Colp [Fri, 26 May 2006 20:00:48 +0000 (20:00 +0000)]
Few more expire_registry changes

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

13 years agoAdd ability to disable log / verbose output to remote consoles (issue #6524 reported...
Joshua Colp [Fri, 26 May 2006 19:48:17 +0000 (19:48 +0000)]
Add ability to disable log / verbose output to remote consoles (issue #6524 reported by mavetju)

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

13 years agodocument the changes I made yesterday to the exit behavior of the
Russell Bryant [Fri, 26 May 2006 18:33:58 +0000 (18:33 +0000)]
document the changes I made yesterday to the exit behavior of the
AGI applications

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

13 years agowrap test at 80 characters
Russell Bryant [Fri, 26 May 2006 18:25:38 +0000 (18:25 +0000)]
wrap test at 80 characters

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

13 years agoadd some more text about the build system
Russell Bryant [Fri, 26 May 2006 18:19:37 +0000 (18:19 +0000)]
add some more text about the build system

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

13 years agoattended transfer use transferer context first and set who is transfering at the...
Joshua Colp [Fri, 26 May 2006 17:59:29 +0000 (17:59 +0000)]
attended transfer use transferer context first and set who is transfering at the beginning (issue #6752 reported by moy -- minor mods done by myself)

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

13 years agoAdd the video stream for AGI function STREAM FILE (issue #5392 reported by areski...
Joshua Colp [Fri, 26 May 2006 17:43:11 +0000 (17:43 +0000)]
Add the video stream for AGI function STREAM FILE (issue #5392 reported by areski -- minor mods by me)

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

13 years agoThat goes for jingle too :)
Mark Spencer [Fri, 26 May 2006 05:21:41 +0000 (05:21 +0000)]
That goes for jingle too :)

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

13 years agoLets not commit things that cause Asterisk to break when config files aren't present.
Mark Spencer [Fri, 26 May 2006 03:08:15 +0000 (03:08 +0000)]
Lets not commit things that cause Asterisk to break when config files aren't present.

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

13 years agoonly display a debug message if option_debug is in use
Russell Bryant [Thu, 25 May 2006 22:39:57 +0000 (22:39 +0000)]
only display a debug message if option_debug is in use

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

13 years agoregenerate configure after the last fix
Russell Bryant [Thu, 25 May 2006 22:06:55 +0000 (22:06 +0000)]
regenerate configure after the last fix

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

13 years agorestore default paths for FreeBSD (reported by alphaque, fixed by jcollie)
Russell Bryant [Thu, 25 May 2006 22:05:12 +0000 (22:05 +0000)]
restore default paths for FreeBSD (reported by alphaque, fixed by jcollie)

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

13 years ago A new way to try and deal with deadlocks that occur in app_queue at present. Using...
BJ Weschke [Thu, 25 May 2006 21:47:03 +0000 (21:47 +0000)]
  A new way to try and deal with deadlocks that occur in app_queue at present. Using this approach, we only manipulate the main queue mutexes when we get a dev state change on a device that is actually a member of a queue. Further optimizations are still possible (eg - store and manage pointers to the status integer of the member record that this interface/device has a one-to-one relationship with and then go directly to those pointers to make status modifications rather than the recursive looping that goes on now) BUT first things first. :)

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

13 years agoMerge in branch that adds new features to MeetMeAdmin. See application documentation...
Joshua Colp [Thu, 25 May 2006 21:30:40 +0000 (21:30 +0000)]
Merge in branch that adds new features to MeetMeAdmin. See application documentation for more details on the new options. (issue #7131 reported by dmikusa branch by jcollie)

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

13 years agoMerged revisions 30424 via svnmerge from
BJ Weschke [Thu, 25 May 2006 21:24:12 +0000 (21:24 +0000)]
Merged revisions 30424 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30424 | bweschke | 2006-05-25 17:22:16 -0400 (Thu, 25 May 2006) | 3 lines

 Oops.

........

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

13 years agoDeprecate SetCallerID (should have happened prior to release of 1.2)
Tilghman Lesher [Thu, 25 May 2006 21:06:43 +0000 (21:06 +0000)]
Deprecate SetCallerID (should have happened prior to release of 1.2)

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

13 years agoRemove possibility of sending duplicate MeetmeJoin manager events, and only send...
Joshua Colp [Thu, 25 May 2006 21:06:08 +0000 (21:06 +0000)]
Remove possibility of sending duplicate MeetmeJoin manager events, and only send a MeetmeLeave event if a MeetmeJoin event occured in the first place. (issue #6599 reported by imran - provided patch with few tiny mods)

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

13 years agoMerge in branch which gives you the ability to set the hangup causecode using the...
Joshua Colp [Thu, 25 May 2006 20:51:27 +0000 (20:51 +0000)]
Merge in branch which gives you the ability to set the hangup causecode using the Hangup application. (issue #7160 reported by kmilitzer branch by jcollie)

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

13 years agoMerged revisions 30373 via svnmerge from
Joshua Colp [Thu, 25 May 2006 20:05:52 +0000 (20:05 +0000)]
Merged revisions 30373 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30373 | file | 2006-05-25 17:03:11 -0300 (Thu, 25 May 2006) | 2 lines

Don't play the enter sound twice when a person joins a conference after the leader has joined it. (issue #6138 reported by shanermn)

........

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

13 years agouse the proper method for adding a new entry
Kevin P. Fleming [Thu, 25 May 2006 19:26:26 +0000 (19:26 +0000)]
use the proper method for adding a new entry

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

13 years agoadd the ability to be able to echo DTMF_BEGIN/END, HTML, and IMAGE frames, too
Russell Bryant [Thu, 25 May 2006 19:21:09 +0000 (19:21 +0000)]
add the ability to be able to echo DTMF_BEGIN/END, HTML, and IMAGE frames, too
(issue #7193, Mithraen, with some mods)

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

13 years ago- mark some applications deprecated that already have replacements
Russell Bryant [Thu, 25 May 2006 19:07:31 +0000 (19:07 +0000)]
- mark some applications deprecated that already have replacements
- add BLACKLIST and mark LookupBlacklist deprecated
- add transfercapability support to CHANNEL and mark SetTransferCapability
  deprecated
(issue #7225, Corydon)

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

13 years agoallow setting a channel variable to disable sending SIGHUP to the AGI process
Russell Bryant [Thu, 25 May 2006 19:01:26 +0000 (19:01 +0000)]
allow setting a channel variable to disable sending SIGHUP to the AGI process
(issue #6491, original patch by juggie, channel variable patch by corydon,
 committed patch modified to change variable name and update documentation)

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

13 years agoAdd the ability to retrieve the exit code of the forked AGI process. If there
Russell Bryant [Thu, 25 May 2006 18:31:19 +0000 (18:31 +0000)]
Add the ability to retrieve the exit code of the forked AGI process.  If there
is an error executing the AGI script, or the AGI script itself returns a
non-zero value, the AGISTATUS variable will now be set to FAILURE instead of
SUCCESS.

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

13 years agoAdd Archive option to call files and add documentation on them. (issue #5426 reported...
Joshua Colp [Thu, 25 May 2006 17:58:55 +0000 (17:58 +0000)]
Add Archive option to call files and add documentation on them. (issue #5426 reported by ezio - props to blitzrage for proof reading the documentation)

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

13 years agoMerged revisions 30296 via svnmerge from
Kevin P. Fleming [Thu, 25 May 2006 17:39:46 +0000 (17:39 +0000)]
Merged revisions 30296 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30296 | kpfleming | 2006-05-25 12:39:33 -0500 (Thu, 25 May 2006) | 2 lines

don't try to use -march=s390 when building on S/390 systems (reported via asterisk-users mailing list)

........

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

13 years agoMerged revisions 30293 via svnmerge from
Kevin P. Fleming [Thu, 25 May 2006 17:22:26 +0000 (17:22 +0000)]
Merged revisions 30293 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30293 | kpfleming | 2006-05-25 12:18:01 -0500 (Thu, 25 May 2006) | 2 lines

allow SIPCHANINFO(peername) to work for calls from users as well (issue #7215)

........

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

13 years ago- add support for setting an AGISTATUS variable that indicates successful
Russell Bryant [Thu, 25 May 2006 16:44:22 +0000 (16:44 +0000)]
- add support for setting an AGISTATUS variable that indicates successful
  execution, failure, or if the channel requested hangup.
- only return -1 from the application if the application requested hangup. If
  there was just a failure in execution of the AGI, just set the status
  variable appropriately and move on in the dialplan.
(issue #7121, original patch by Alessandro Polverini, updated patch by srt,
 committed patch is heavily modified to allow still returning -1 on hangup)

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

13 years agoSafely traverse the thread lists and wait until each thread is done before moving...
Joshua Colp [Thu, 25 May 2006 16:14:17 +0000 (16:14 +0000)]
Safely traverse the thread lists and wait until each thread is done before moving on to the next.

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

13 years agoOnly get the low 16 bits if we actually have a message count
Joshua Colp [Thu, 25 May 2006 15:42:11 +0000 (15:42 +0000)]
Only get the low 16 bits if we actually have a message count

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

13 years agoadd DB_DELETE function for the common case of retrieving and deleting a key in
Russell Bryant [Thu, 25 May 2006 15:40:38 +0000 (15:40 +0000)]
add DB_DELETE function for the common case of retrieving and deleting a key in
a single operation (issue #7214, twilson)

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

13 years agoMerged revisions 30239 via svnmerge from
Joshua Colp [Thu, 25 May 2006 15:29:30 +0000 (15:29 +0000)]
Merged revisions 30239 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30239 | file | 2006-05-25 12:27:44 -0300 (Thu, 25 May 2006) | 2 lines

Get rid of an incorrect SIP dial string in the sample extensions.conf - I even tried variations... no go (issue #7222 reported by arkadia)

........

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

13 years ago Properly initialize destination variables before we send them into pbx_substitute_va...
BJ Weschke [Thu, 25 May 2006 14:32:15 +0000 (14:32 +0000)]
 Properly initialize destination variables before we send them into pbx_substitute_variables_helper(..). Ya! Testing! Take 2.

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

13 years ago Making sure a char ptr is initialized before we strchr on it is a GOOD thing. Ya...
BJ Weschke [Thu, 25 May 2006 13:51:44 +0000 (13:51 +0000)]
 Making sure a char ptr is initialized before we strchr on it is a GOOD thing. Ya! Testing!

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

13 years ago Doxygen comment for Qwell
BJ Weschke [Thu, 25 May 2006 01:40:20 +0000 (01:40 +0000)]
 Doxygen comment for Qwell

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

13 years ago Make sure we catch all the instances where a member didn't answer the call sent...
BJ Weschke [Thu, 25 May 2006 00:11:30 +0000 (00:11 +0000)]
 Make sure we catch all the instances where a member didn't answer the call sent to them rather than just on a timeout after a dial attempt and some minor code cleanup/reuse.

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

13 years agoadded EVENT_NEW_CHANNEL. We change the channel name now when we got the real channel...
Christian Richter [Wed, 24 May 2006 23:21:03 +0000 (23:21 +0000)]
added EVENT_NEW_CHANNEL. We change the channel name now when we got the real channel, also changed name generation to new stringfield api

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

13 years agoNothing to see here... move along
Joshua Colp [Wed, 24 May 2006 23:08:39 +0000 (23:08 +0000)]
Nothing to see here... move along

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

13 years agoUpdate some documentation (file internal brain bug #42)
Joshua Colp [Wed, 24 May 2006 22:00:37 +0000 (22:00 +0000)]
Update some documentation (file internal brain bug #42)

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

13 years agoblock chan_sip fix that is not broken here :-)
Kevin P. Fleming [Wed, 24 May 2006 21:25:46 +0000 (21:25 +0000)]
block chan_sip fix that is not broken here :-)

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

13 years agodon't send CANCEL for an INVITE that we haven't received a provisional response for...
Kevin P. Fleming [Wed, 24 May 2006 20:37:45 +0000 (20:37 +0000)]
don't send CANCEL for an INVITE that we haven't received a provisional response for yet... mark it pending until a response arrives (issue #7079)

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

13 years agoMerged revisions 30037 via svnmerge from
Matt O'Gorman [Wed, 24 May 2006 20:07:02 +0000 (20:07 +0000)]
Merged revisions 30037 via svnmerge from
https://svn.digium.com/svn/asterisk/branches/1.2

........
r30037 | mogorman | 2006-05-24 14:55:21 -0500 (Wed, 24 May 2006) | 3 lines

app_meemte used the ast_max_exten instead of path_max
solves bug 6822

........

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

13 years agoMerge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_prior...
Joshua Colp [Wed, 24 May 2006 20:00:10 +0000 (20:00 +0000)]
Merge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_priority_jumping not respected) (reported by jkoopmann and branch by murf)

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

13 years agoreset timeout on reconnect.
Matt O'Gorman [Wed, 24 May 2006 19:59:04 +0000 (19:59 +0000)]
reset timeout on reconnect.

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

13 years agoTypo
Olle Johansson [Wed, 24 May 2006 19:58:36 +0000 (19:58 +0000)]
Typo

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

13 years agoBlocked revisions 30035 via svnmerge
Joshua Colp [Wed, 24 May 2006 19:46:14 +0000 (19:46 +0000)]
Blocked revisions 30035 via svnmerge

........
r30035 | file | 2006-05-24 16:44:26 -0300 (Wed, 24 May 2006) | 2 lines

Merge branch for bug 6264 (Privacy option 2 returns dial-status ANSWER / option_priority_jumping not respected) (reported by jkoopmann and branch by murf

........

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

13 years agoMerged revisions 30033 via svnmerge from
Joshua Colp [Wed, 24 May 2006 19:16:07 +0000 (19:16 +0000)]
Merged revisions 30033 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r30033 | file | 2006-05-24 16:14:01 -0300 (Wed, 24 May 2006) | 2 lines

Fix deadlock caused by a race condition in the logger when reloading (issue #7195 reported and fixed by softins)

........

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

13 years agodon't force the compiler name
Kevin P. Fleming [Wed, 24 May 2006 18:18:14 +0000 (18:18 +0000)]
don't force the compiler name

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

13 years agoTypo fix. Thanks Peter!
Olle Johansson [Wed, 24 May 2006 18:17:50 +0000 (18:17 +0000)]
Typo fix. Thanks Peter!

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

13 years agoMerged revisions 29973 via svnmerge from
Kevin P. Fleming [Wed, 24 May 2006 17:02:54 +0000 (17:02 +0000)]
Merged revisions 29973 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29973 | kpfleming | 2006-05-24 11:59:20 -0500 (Wed, 24 May 2006) | 2 lines

support video recording via AGI 'RECORD FILE' command (issue #7068)

........

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

13 years agoMerged revisions 29971 via svnmerge from
Kevin P. Fleming [Wed, 24 May 2006 16:54:10 +0000 (16:54 +0000)]
Merged revisions 29971 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29971 | kpfleming | 2006-05-24 11:52:08 -0500 (Wed, 24 May 2006) | 2 lines

fix various bugs related to exiting from queue via keypress and moh handling (issue #6776, different fix)

........

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

13 years agoMerged revisions 29969 via svnmerge from
Kevin P. Fleming [Wed, 24 May 2006 16:19:57 +0000 (16:19 +0000)]
Merged revisions 29969 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29969 | kpfleming | 2006-05-24 11:17:26 -0500 (Wed, 24 May 2006) | 2 lines

respect 'usecallingpres' in zapata.conf even if CLID has not been set for the channel (issue #7123)

........

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

13 years agofixed to early connect bug which came in yesterday.., also added the transmit of...
Christian Richter [Wed, 24 May 2006 07:58:52 +0000 (07:58 +0000)]
fixed to early connect bug which came in yesterday.., also added the transmit of progress indicators through channel vars

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

13 years agoAdded incoming audio notch filtering, plus a bunch of command improvements, etc.
Jim Dixon [Wed, 24 May 2006 07:01:02 +0000 (07:01 +0000)]
Added incoming audio notch filtering, plus a bunch of command improvements, etc.

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

13 years agoblock SIP obscurity fix from merging... trunk version was different
Kevin P. Fleming [Wed, 24 May 2006 03:32:55 +0000 (03:32 +0000)]
block SIP obscurity fix from merging... trunk version was different

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

13 years agoadd a new option for 'obscuring' SIP user/peer names from fishers
Kevin P. Fleming [Wed, 24 May 2006 03:28:49 +0000 (03:28 +0000)]
add a new option for 'obscuring' SIP user/peer names from fishers
use an enum for authentication results and clean up code
fix a bug where SUBSCRIBE for an unknown user/peer would not generate a response

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

13 years agofurther codec module optimization based on codec_alaw changes by rizzo
Russell Bryant [Tue, 23 May 2006 22:57:03 +0000 (22:57 +0000)]
further codec module optimization based on codec_alaw changes by rizzo
(issue #7190, Mithraen)

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

13 years agoMerged revisions 29849 via svnmerge from
Russell Bryant [Tue, 23 May 2006 21:46:26 +0000 (21:46 +0000)]
Merged revisions 29849 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29849 | russell | 2006-05-23 17:44:52 -0400 (Tue, 23 May 2006) | 2 lines

fix the sourceaddress option (issue #7213, alphaque)

........

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

13 years agoget rid of that transport sillyness
Matt O'Gorman [Tue, 23 May 2006 21:28:14 +0000 (21:28 +0000)]
get rid of that transport sillyness

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

13 years agohmm still need a way to get rid of connections
Matt O'Gorman [Tue, 23 May 2006 21:18:07 +0000 (21:18 +0000)]
hmm still need a way to get rid of connections
later on.

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

13 years agoBump up the echo tail length option
Matthew Fredrickson [Tue, 23 May 2006 21:10:55 +0000 (21:10 +0000)]
Bump up the echo tail length option

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

13 years agofixes bug where server goes away.
Matt O'Gorman [Tue, 23 May 2006 20:25:23 +0000 (20:25 +0000)]
fixes bug where server goes away.

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

13 years agoadded a l1watcher timeout, therefore removed the old behaviour of guessing the l1state.
Christian Richter [Tue, 23 May 2006 19:40:16 +0000 (19:40 +0000)]
added a l1watcher timeout, therefore removed the old behaviour of guessing the l1state.

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

13 years agoallows for configurable answer timeout on attended transfer
Matt O'Gorman [Tue, 23 May 2006 18:23:05 +0000 (18:23 +0000)]
allows for configurable answer timeout on attended transfer
patch 0006763 with minor changes.

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

13 years agoMerged revisions 29764 via svnmerge from
Kevin P. Fleming [Tue, 23 May 2006 18:17:40 +0000 (18:17 +0000)]
Merged revisions 29764 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29764 | kpfleming | 2006-05-23 13:16:40 -0500 (Tue, 23 May 2006) | 2 lines

simplify/fix lock retry, and fix comment

........

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

13 years ago Sanity check code for an extended failure in trying to obtain a channel lock that...
BJ Weschke [Tue, 23 May 2006 17:31:05 +0000 (17:31 +0000)]
 Sanity check code for an extended failure in trying to obtain a channel lock that may have been obtained elsewhere. Prevents the monitor thread of the SIP module from going into an infinite loop, effectively, breaking SIP until you restart Asterisk or the mutex is unlocked, whichever comes first.

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

13 years ago What's good for 1.2 isn't good for /trunk. Fix for /trunk coming next...
BJ Weschke [Tue, 23 May 2006 17:21:02 +0000 (17:21 +0000)]
 What's good for 1.2 isn't good for /trunk. Fix for /trunk coming next...

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

13 years agoon a clean, we have to clean out the ael directory too
Russell Bryant [Tue, 23 May 2006 17:09:51 +0000 (17:09 +0000)]
on a clean, we have to clean out the ael directory too

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

13 years agorestore AST_LIST_HEAD_INIT (with no users in the tree right now)
Kevin P. Fleming [Tue, 23 May 2006 17:04:07 +0000 (17:04 +0000)]
restore AST_LIST_HEAD_INIT (with no users in the tree right now)
update ast_mutex_init to allow mutexes that are all zero bytes to be initialized (in the case of a dynamically-allocated structure containing a mutex)

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

13 years agofinish cleaning up some more stuff before russell
Matt O'Gorman [Tue, 23 May 2006 16:43:58 +0000 (16:43 +0000)]
finish cleaning up some more stuff before russell
gets a chance to.

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

13 years agoremove another excess "debug" message
Russell Bryant [Tue, 23 May 2006 16:37:46 +0000 (16:37 +0000)]
remove another excess "debug" message

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

13 years agoMerged revisions 29696 via svnmerge from
BJ Weschke [Tue, 23 May 2006 16:37:40 +0000 (16:37 +0000)]
Merged revisions 29696 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r29696 | bweschke | 2006-05-23 11:58:24 -0400 (Tue, 23 May 2006) | 3 lines

 Fix a potential leak and correct (hopefully) a segfault under certain conditions. #6784 (vovan and perry testing)

........

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