Commit Graph

8700 Commits

Author SHA1 Message Date
Joshua Colp 6ab22f2268 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
2006-05-30 16:10:10 +00:00
Kevin P. Fleming 96016e9206 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
2006-05-30 16:08:38 +00:00
Kevin P. Fleming 18606233da 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
2006-05-30 16:01:50 +00:00
BJ Weschke d2b2073f08 It's a 1.2 'thang'.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30771 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-30 14:59:02 +00:00
Russell Bryant b0ee67ebdc 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
2006-05-30 11:23:48 +00:00
Russell Bryant 1203424ce2 remove duplicate static keywords, oops
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30723 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-29 14:52:55 +00:00
Luigi Rizzo 2444ea36bd remove unused include
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-29 05:23:59 +00:00
Luigi Rizzo 23233bb115 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
2006-05-29 05:14:52 +00:00
Luigi Rizzo 7ea0f04a80 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
2006-05-29 05:13:13 +00:00
Tilghman Lesher 92314f96c5 Deprecate SetGlobalVar, replacing it with a dialplan function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-28 15:10:19 +00:00
Russell Bryant 1617adb055 make some variables static ... committed from xcode :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-27 18:47:44 +00:00
Tilghman Lesher 36e31d864a 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
2006-05-27 18:45:15 +00:00
Tilghman Lesher b68fa7a8f2 Should use the named handle, not one hardcoded
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-27 18:19:16 +00:00
Russell Bryant 0f912e5926 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
2006-05-26 21:47:52 +00:00
Joshua Colp 79161454a3 Few more expire_registry changes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30607 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 20:00:48 +00:00
Joshua Colp 9b18892314 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
2006-05-26 19:48:17 +00:00
Russell Bryant fba5d28317 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
2006-05-26 18:33:58 +00:00
Russell Bryant 3e47e08cdc wrap test at 80 characters
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30579 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 18:25:38 +00:00
Russell Bryant 640285c7a5 add some more text about the build system
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30578 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 18:19:37 +00:00
Joshua Colp 10467be4c0 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
2006-05-26 17:59:29 +00:00
Joshua Colp 1c158f0ea4 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
2006-05-26 17:43:11 +00:00
Mark Spencer ec42807ebd That goes for jingle too :)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-26 05:21:41 +00:00
Mark Spencer 70defe19fe 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
2006-05-26 03:08:15 +00:00
Russell Bryant 730f75cc78 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
2006-05-25 22:39:57 +00:00
Russell Bryant f490777c41 regenerate configure after the last fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30463 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 22:06:55 +00:00
Russell Bryant 1e61ba6699 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
2006-05-25 22:05:12 +00:00
BJ Weschke 295c340164 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
2006-05-25 21:47:03 +00:00
Joshua Colp 8ecf6a7bb1 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
2006-05-25 21:30:40 +00:00
BJ Weschke 59e1522025 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
2006-05-25 21:24:12 +00:00
Tilghman Lesher 31081f1224 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
2006-05-25 21:06:43 +00:00
Joshua Colp 0cdb878abb 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
2006-05-25 21:06:08 +00:00
Joshua Colp 6b185c1bed 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
2006-05-25 20:51:27 +00:00
Joshua Colp 16d0f580f9 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
2006-05-25 20:05:52 +00:00
Kevin P. Fleming 35fa97d1d5 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
2006-05-25 19:26:26 +00:00
Russell Bryant 55d67e71f1 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
2006-05-25 19:21:09 +00:00
Russell Bryant d2872c914d - 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
2006-05-25 19:07:31 +00:00
Russell Bryant 26271fbd3a 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
2006-05-25 19:01:26 +00:00
Russell Bryant 238cdb249f 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
2006-05-25 18:31:19 +00:00
Joshua Colp 35d729fb40 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
2006-05-25 17:58:55 +00:00
Kevin P. Fleming df814221c1 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
2006-05-25 17:39:46 +00:00
Kevin P. Fleming f890cab292 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
2006-05-25 17:22:26 +00:00
Russell Bryant 0cccaf8408 - 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
2006-05-25 16:44:22 +00:00
Joshua Colp e0612c9835 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
2006-05-25 16:14:17 +00:00
Joshua Colp 336fd1a2de 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
2006-05-25 15:42:11 +00:00
Russell Bryant a96606b329 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
2006-05-25 15:40:38 +00:00
Joshua Colp 18248f092f 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
2006-05-25 15:29:30 +00:00
BJ Weschke 6cfaaf9ac0 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
2006-05-25 14:32:15 +00:00
BJ Weschke 36cf242f31 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
2006-05-25 13:51:44 +00:00
BJ Weschke 8d890cb626 Doxygen comment for Qwell
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30173 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-25 01:40:20 +00:00
BJ Weschke 6848d55d85 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
2006-05-25 00:11:30 +00:00