Commit Graph

906 Commits

Author SHA1 Message Date
Russell Bryant 73ae55698f merge changes from team/murf/AEL-trunk-fixesonly
- fix callerid matching for extensions
 - fix nested switch statements
 - fix compilation with bison 2.1a or higher
(issue #7309)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34665 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-18 21:36:24 +00:00
Kevin P. Fleming 39b9a1c945 Merged revisions 34087 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r34087 | kpfleming | 2006-06-14 09:07:53 -0500 (Wed, 14 Jun 2006) | 2 lines

clarify file headers that mention disclaimer usage

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34090 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-14 14:12:56 +00:00
Kevin P. Fleming eddf363a0e use atomic operations provided by the compiler if they are available (yay for gcc 4.1 users!)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-13 21:35:29 +00:00
Joshua Colp c311827dc9 Merged revisions 33724 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33724 | file | 2006-06-12 18:34:38 -0300 (Mon, 12 Jun 2006) | 2 lines

Greatly simply the mixmonitor thread, and move channel reference directly to spy structure so that the core can modify it.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33725 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 21:37:29 +00:00
Kevin P. Fleming b12ab2ad1b bootstrap to include latest configure script change
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-12 20:33:01 +00:00
Russell Bryant 40b3ce5c8f suppress warnings when building with DEBUG_CHANNEL_LOCKS (issue #7330, casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-11 21:42:13 +00:00
Kevin P. Fleming 8d88bf549d there is no reason to define our own 'maximum path length' when the POSIX headers already define one for us
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33351 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:40:10 +00:00
Kevin P. Fleming b31b0be819 various minor portability fixes (mostly from tholo for OpenBSD)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:26:25 +00:00
Olle Johansson 13a98f92fe Move payloadtype back home to rtp.c
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 20:13:47 +00:00
Matt O'Gorman 124357f300 convert one of my linked lists to ast_linklist
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 16:08:33 +00:00
Olle Johansson 9f5aa13142 Rename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 09:47:44 +00:00
Jeffrey C. Ollie a0bb17434f Move a couple semicolons to a more traditional location. Was pointed out by Steven <critch@basesys.com> on the -dev list.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-09 02:20:25 +00:00
Kevin P. Fleming 09778b268e move 'struct ast_rtp' back to rtp.c where it belongs
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33133 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 23:10:45 +00:00
Russell Bryant 9cdd66dd01 always include inttypes.h and sys/types.h in asterisk/compat.h to fix a build
problem on mac and place asterisk.h back at the top of menuselect.c


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33114 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 20:49:59 +00:00
Olle Johansson 1ec5d9ec70 Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 18:03:08 +00:00
Olle Johansson 41a5565f3c Add video.txt to doxygen
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 08:13:32 +00:00
Olle Johansson dfaa7fd8cf Doxygen update
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32990 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 08:10:58 +00:00
Olle Johansson 7a456987b5 Doxygen formatting
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32971 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-08 07:29:46 +00:00
Matt O'Gorman 1e530787f3 solves some bugs with memory allocation, and adds
a message stack.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32918 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 22:43:20 +00:00
Russell Bryant 124b54ca5f fix the build with astmm enabled
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 19:53:03 +00:00
Kevin P. Fleming 274ce731e2 move autoconfig.h to the include/asterisk directory so it will get installed
install asterisk.h include the system's default include directory


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32860 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 19:05:35 +00:00
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:54:56 +00:00
Russell Bryant 739385e761 remove the WITH_SMDI define
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32845 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 18:28:29 +00:00
Russell Bryant 39bcaa0773 add an updated patch that adds dnsmgr support for outgoing iax2 registrations
(issue #6305, by ivanfm, with mods)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32817 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-07 17:44:36 +00:00
Matt O'Gorman 6c0155e6cb fixes some issues with description loggin on presence
as well as some typos.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 19:51:26 +00:00
Matt O'Gorman c04e4bd380 allow presence events to be handled before the
roster is received.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32654 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 18:51:37 +00:00
Olle Johansson 479181951a Merge of the "sdpcleanup" branch. Thanks to John Martin for a lot of tests
and some patches (all disclaimed).

- Don't change RTP properties if we reject a re-INVITE
- Don't add video to an outbound channel if there's no video on the inbound channel
- Don't include video in the "preferred codec" list for codec selection
- Clean up and document code that parses and adds SDP attachments

Since we do not transcode video, we can't handle video the same way as audio. This is a
bug fix patch. In future releases, we need to work on a solution for video negotiation,
not codecs but formats and framerates instead.



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32597 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 16:09:33 +00:00
Russell Bryant 80a153af79 - use stringfields in a bunch of the fields of the zt_pvt structure in chan_zap
- constify some arguments to functions in callerid.c / callerid.h


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32456 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 01:22:47 +00:00
Russell Bryant bbc584e3d7 fix some typos in the stringfields documentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32455 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-06 01:21:52 +00:00
Kevin P. Fleming 427df3f6c3 yet another massive performance and memory savings improvement
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 18:05:53 +00:00
Russell Bryant b0260c1039 revert the changes to allow chan_iax2 to use dnsmgr for registrations.
my concerns are listed in issue #6305


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32327 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 16:17:31 +00:00
Joshua Colp 2a71835d41 Convert chan_iax2 to use dnsmgr in order to deal with hostnames that can change their resolved IP (aka dynamic dns setups) (issue #6305 reported and fixed by ivanfm)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32304 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 15:44:37 +00:00
Olle Johansson 723e900bf3 Doxygen updates
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 15:20:09 +00:00
Olle Johansson 4ab449be1b Move definition of RTP structure to rtp.h (preparing for future changes)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 09:42:28 +00:00
Olle Johansson 2dc6947144 Issue #2863 - Improved RTCP support (John Martin, Fredrik Olsson)
Thanks to everyone involved in working with this!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 08:39:42 +00:00
Russell Bryant 588b54f8c2 fix a typo in the documentation of how to use string fields
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32161 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-05 04:51:10 +00:00
Olle Johansson 80f2d432cc Doxygen improvements
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31979 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-04 08:57:34 +00:00
BJ Weschke 0e738a77b3 Merged revisions 31738 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31738 | bweschke | 2006-06-03 10:48:13 -0400 (Sat, 03 Jun 2006) | 3 lines

 Fix doxygen comment about AST_LIST_HEAD_INIT_NOLOCK


........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31739 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-03 14:49:52 +00:00
Kevin P. Fleming dfd5fc5605 Merged revisions 31520 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r31520 | kpfleming | 2006-06-01 15:27:50 -0500 (Thu, 01 Jun 2006) | 2 lines

handle Zap transfers behind chan_agent properly so the agent doesn't get stuck waiting for the call to hang up

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 20:53:17 +00:00
Matt O'Gorman d591c1b684 changes for base64 to work in multiline instances
as well as being more efficient, patch from jcollie's
base64 branch


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31492 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 19:05:45 +00:00
Matt O'Gorman 8cfb992c1e adds statusmessage customization from Julian Lyndon-Smith
and fixes bug with pruneregister


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31275 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-06-01 07:49:47 +00:00
Russell Bryant bb7dd96cfe Add support for using a jitterbuffer for RTP on bridged calls. This includes
a new implementation of a fixed size jitterbuffer, as well as support for the
existing adaptive jitterbuffer implementation. (issue #3854, Slav Klenov)

Thank you very much to Slav Klenov of Securax and all of the people involved
in the testing of this feature for all of your hard work!


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-31 16:56:50 +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 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
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
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
Kevin P. Fleming 8d74f0ebe6 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
2006-05-23 17:04:07 +00:00
Mark Spencer fa9e0ed768 Handle ringing (early) state properly on SIP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29619 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-23 04:49:31 +00:00
Kevin P. Fleming f09942bb08 bootstrap updates to include xmpp related stuff
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 21:20:01 +00:00
Matt O'Gorman 7aa1a77e75 asterisk-xmpp merge in
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-22 21:12:30 +00:00