Commit Graph

5311 Commits

Author SHA1 Message Date
Russell Bryant f03896d1fc remove call to pall on unitialied fds
This function assumes that the fd is nonblocking (bug #4053)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-17 18:30:44 +00:00
Russell Bryant 5477aca22d remove extra LOCAL_USER_REMOVE (bug #4308)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-17 17:19:53 +00:00
Russell Bryant 376bc46af5 prevent copying of NULL (bug #4307)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5708 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-17 16:45:42 +00:00
Russell Bryant c4ebf00d48 correct syntax on DB function example
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-17 14:29:31 +00:00
Russell Bryant 5c1bad1114 fix description of length parameter
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 20:58:35 +00:00
Matthew Fredrickson ee296ae8a9 Turn on the DSP for the channel after an ANSWER so that we get DTMF detected
properly


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5705 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 19:15:56 +00:00
Matthew Fredrickson 9b89127c75 Additions to chan_zap.c to receive PRI_EVENT_KEYPAD_DIGIT properly. Bug #4286
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5704 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 18:48:09 +00:00
Kevin P. Fleming 252bf2d652 SIP hold improvements (bug #4290)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5702 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 16:16:41 +00:00
Kevin P. Fleming 507ceb1a29 add 'zap show status' CLI command to display card/span status (bug #3585)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5701 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 14:41:05 +00:00
Kevin P. Fleming ab0c02acfb correct file names to ignore
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5700 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 14:30:13 +00:00
Kevin P. Fleming 27a551a0eb temporarily suppress usage of vercomp.sh script until it can be fixed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 13:51:56 +00:00
Kevin P. Fleming 1eecc81838 clean up message duration writing code (bug #4285)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5698 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 13:36:35 +00:00
Russell Bryant 0dc3f6ee76 add comments, fix typos, and add note on default values (bug #4284)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 13:22:34 +00:00
Kevin P. Fleming 361109c377 add ability to control output format for one-touch-record feature (bug #4190)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 00:43:16 +00:00
Kevin P. Fleming 68f6db3104 CVS ignore output files from building new expression parser
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5692 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 00:36:26 +00:00
Kevin P. Fleming 2a7d309deb add upgraded expression parser (bug #2058)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 00:35:38 +00:00
Kevin P. Fleming 0858dad2ad return CHANUNAVAIL for unregistered peers, not CONGESTION (bug #4276)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5690 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-16 00:09:09 +00:00
Kevin P. Fleming 2638192439 add EVAL function, deprecate Eval application (bug #4277)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5689 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:53:11 +00:00
Kevin P. Fleming 9cea81b035 rename SetVar application to Set, deprecate SetVar
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:32:38 +00:00
Kevin P. Fleming 9bf21dbf58 more strncpy -> ast_copy_string conversions, fixing some buglets along the way
add recommendation to CODING-GUIDELINES to use ast_copy_string instead of strncpy in new code


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5686 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 23:26:45 +00:00
Kevin P. Fleming eaececc920 add ast_build_string library function (from bug #3644)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 22:33:02 +00:00
Kevin P. Fleming fb59e4a857 combine two lines of code to make the logic clearer (bug #4273)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5683 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 22:05:16 +00:00
Jim Dixon 882eea1390 Fixed transmit/link hang problem and autopatch wierdness
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5682 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 21:49:35 +00:00
Kevin P. Fleming e4e9f26cf0 update sample extensions.conf for new dialplan functions (bug #4279)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5681 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 20:04:05 +00:00
Kevin P. Fleming ea4c054123 fix segfaults in realtime_peer/realtime_user when wrong-type realtime entry is loaded (bug #4266)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5680 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 20:00:08 +00:00
Kevin P. Fleming fa60672d58 add dialplan functions for Caller ID, language and timeouts (bug #4219, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5679 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 17:45:30 +00:00
Russell Bryant bb1f05fba7 update Mark's email address
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5678 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 17:22:41 +00:00
Kevin P. Fleming 15f3cb303f support Swedish and Norwegian mailbox intros (bug #4227)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 17:03:08 +00:00
Kevin P. Fleming f57d2825bc minor cleanups (bug #4158)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 05:46:34 +00:00
Kevin P. Fleming 131ace2d70 allow caller to exit during position announcement by pressing valid exit key (bug #3821, with mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5673 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 05:42:51 +00:00
Kevin P. Fleming ed223f7f90 add silent option to VMAuthenticate application (bug #4157)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5672 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 05:23:05 +00:00
Kevin P. Fleming 99f890b746 add script for grabbing core dump from running Asterisk process (bug #4174)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5671 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 05:07:14 +00:00
Kevin P. Fleming 3fbdf210ce fix up help text and output for 'iax2 trunk debug' CLI command (bug #4191)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5670 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:51:13 +00:00
Kevin P. Fleming 4910637da7 code formatting and comments, plus minor device state fix (bug #4171)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:48:30 +00:00
Kevin P. Fleming 7bcaa0caa2 code formatting cleanup (bug #4213)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:17:42 +00:00
Kevin P. Fleming acffa5d930 implement more detailed hangup causes (bug #4214)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5667 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:11:01 +00:00
Kevin P. Fleming 5c88a00280 fix RTP DTMF for Sipura SPA-3000 (bug #3675, yet again)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5666 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 04:06:16 +00:00
Kevin P. Fleming 0f6315b6b2 fix build with older popt.h (bug #4225)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:32:20 +00:00
Kevin P. Fleming 6cd4f9a8d3 correct some signed/unsigned issues found by GCC 4 (bug #4237)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:21:51 +00:00
Kevin P. Fleming 977fd5a157 don't define a local function with the same name as a library function (bug #4239)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:18:16 +00:00
Kevin P. Fleming 0356b70224 add functions to register/unregister multiple CLI commands in a single operation (bug #4255, with minor mods)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 03:03:48 +00:00
Kevin P. Fleming b5272684ee fix for dead manager connections to avoid deadlock (bug #4053)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5661 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 02:54:47 +00:00
Kevin P. Fleming c382394360 add counters to 'show agents' CLI command (bug #4232)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 02:48:16 +00:00
Kevin P. Fleming 219541b5e0 various fixes:
use linked list macros for managing backend list (inspired by bug #4258)
  use ast_copy_string instead of strncpy when appropriate
  minor fixes and formatting cleanup
  add AST_LIST_HEAD_STATIC and AST_LIST_REMOVE_CURRENT macros


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5659 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 02:42:59 +00:00
Kevin P. Fleming 4515e94c39 various minor formatting changes and code cleanups (bug #4262)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5658 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:27:18 +00:00
Mark Spencer e37adfa243 Add netstats option (bug #4175)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:15:14 +00:00
Mark Spencer 01424f1f05 Fix one way audio problem with iax trunking (bug #4221)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5656 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:07:42 +00:00
Mark Spencer 11aa5825fd Initialize target properly (bug #4167, take 2)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5655 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-15 00:03:17 +00:00
Mark Spencer c936fc827c Add remainder of rtp fixes, iax2 patch (bug #3961)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:57:44 +00:00
Mark Spencer 060b71e52f Fix incorrect variable (bug #4243)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-05-14 23:45:22 +00:00