asterisk/asterisk.git
14 years agobootstrap to include latest configure script change
Kevin P. Fleming [Mon, 12 Jun 2006 20:33:01 +0000 (20:33 +0000)]
bootstrap to include latest configure script change

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

14 years agoBug 7339 - check for duplication of strnlen function
Tilghman Lesher [Mon, 12 Jun 2006 20:21:04 +0000 (20:21 +0000)]
Bug 7339 - check for duplication of strnlen function

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

14 years agoFormatting fix and doxygen update
Olle Johansson [Mon, 12 Jun 2006 20:07:35 +0000 (20:07 +0000)]
Formatting fix and doxygen update

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

14 years agoFix typo (Thanks Vechers!)
Olle Johansson [Mon, 12 Jun 2006 20:01:05 +0000 (20:01 +0000)]
Fix typo (Thanks Vechers!)

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

14 years agothe menu must be redrawn after displaying the help info
Russell Bryant [Mon, 12 Jun 2006 19:26:40 +0000 (19:26 +0000)]
the menu must be redrawn after displaying the help info

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

14 years agoMerged revisions 33638 via svnmerge from
Kevin P. Fleming [Mon, 12 Jun 2006 16:07:32 +0000 (16:07 +0000)]
Merged revisions 33638 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33638 | kpfleming | 2006-06-12 11:03:29 -0500 (Mon, 12 Jun 2006) | 2 lines

only allow chan_local to masquerade the outbound channel onto its owner, instead of the other way around (this will ensure that group variables on the outbound channel as preserved)

........

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

14 years agoMerged revisions 33615 via svnmerge from
Tilghman Lesher [Mon, 12 Jun 2006 15:30:32 +0000 (15:30 +0000)]
Merged revisions 33615 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33615 | tilghman | 2006-06-12 10:27:18 -0500 (Mon, 12 Jun 2006) | 4 lines

Move set priority up, because at this point in the code, stdout is no longer
the console.  If we're unable to set priority, the error goes to Asterisk as
if it were an AGI command (issue 7335).

........

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

14 years ago- Remove redundant forward declaration
Olle Johansson [Mon, 12 Jun 2006 15:17:18 +0000 (15:17 +0000)]
- Remove redundant forward declaration
- Change variable name to make register_verify more readable (p -> peer not pvt in this function)
- Get Contact: header only once instead of twice
- Add some comments to register_verify

Caused by issue #7327... :-)

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

14 years agoChange a bit of logic in peer expiry back to the way it used to be
Joshua Colp [Mon, 12 Jun 2006 02:54:32 +0000 (02:54 +0000)]
Change a bit of logic in peer expiry back to the way it used to be

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

14 years agooptimize the display of the module selection menus by only clearing the screen
Russell Bryant [Sun, 11 Jun 2006 22:11:38 +0000 (22:11 +0000)]
optimize the display of the module selection menus by only clearing the screen
and starting over if a selection has changed or the menu needs to be scrolled.
For moving the cursor up and down the menu, it works a lot faster now.

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

14 years agosuppress warnings when building with DEBUG_CHANNEL_LOCKS (issue #7330, casper)
Russell Bryant [Sun, 11 Jun 2006 21:42:13 +0000 (21:42 +0000)]
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

14 years agoMerged revisions 33548 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 21:23:16 +0000 (21:23 +0000)]
Merged revisions 33548 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33548 | russell | 2006-06-11 17:21:23 -0400 (Sun, 11 Jun 2006) | 2 lines

fix another place where a frame does not get free'd

........

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

14 years agofix up some places where frames are not free'd and remove an unnecessary
Russell Bryant [Sun, 11 Jun 2006 21:12:56 +0000 (21:12 +0000)]
fix up some places where frames are not free'd and remove an unnecessary
unlock of the confs list where it is not possible for it to be locked

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

14 years agoBlocked revisions 33545 via svnmerge
Russell Bryant [Sun, 11 Jun 2006 21:09:08 +0000 (21:09 +0000)]
Blocked revisions 33545 via svnmerge

........
r33545 | russell | 2006-06-11 17:08:04 -0400 (Sun, 11 Jun 2006) | 4 lines

fix up five little places where frames would not be free'd and remove an
unnecessary mutex_unlock where there is no way for it to be locked at
that time

........

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

14 years agoMerged revisions 33515 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 20:49:16 +0000 (20:49 +0000)]
Merged revisions 33515 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33515 | russell | 2006-06-11 16:48:41 -0400 (Sun, 11 Jun 2006) | 4 lines

fix a place that would leak a frame (all of these fixes are in applications
that call ast_read() on a channel but have code paths in them that would not
free the frame)

........

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

14 years agoMerged revisions 33513 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 20:46:05 +0000 (20:46 +0000)]
Merged revisions 33513 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33513 | russell | 2006-06-11 16:45:06 -0400 (Sun, 11 Jun 2006) | 2 lines

fix a couple places that would leak a frame

........

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

14 years ago- Complete addition of forward declarations and grouping of functions
Olle Johansson [Sun, 11 Jun 2006 20:42:11 +0000 (20:42 +0000)]
- Complete addition of forward declarations and grouping of functions
- Change/add comments
- Declare internal function as static
- Remove functionname: in descriptions of functions
- Move Enums to top of file

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

14 years agoMerged revisions 33510 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 20:39:19 +0000 (20:39 +0000)]
Merged revisions 33510 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33510 | russell | 2006-06-11 16:38:39 -0400 (Sun, 11 Jun 2006) | 2 lines

fix two places that would cause a frame to be leaked

........

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

14 years agomake latest header file changes for this file too
Kevin P. Fleming [Sun, 11 Jun 2006 15:10:26 +0000 (15:10 +0000)]
make latest header file changes for this file too

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

14 years agoMerged revisions 33480 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 15:09:06 +0000 (15:09 +0000)]
Merged revisions 33480 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33480 | russell | 2006-06-11 11:08:12 -0400 (Sun, 11 Jun 2006) | 2 lines

fix a case where an HTML frame would be leaked

........

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

14 years agoMerged revisions 33466 via svnmerge from
Russell Bryant [Sun, 11 Jun 2006 15:04:36 +0000 (15:04 +0000)]
Merged revisions 33466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33466 | russell | 2006-06-11 11:02:40 -0400 (Sun, 11 Jun 2006) | 4 lines

Free frames read from the channel when measuring noise.  This resulted in about
9 or 10 seconds of leaked frames in both the TestClient and TestServer
applications

........

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

14 years agoBlocked revisions 33449 via svnmerge
Russell Bryant [Sun, 11 Jun 2006 14:59:09 +0000 (14:59 +0000)]
Blocked revisions 33449 via svnmerge

........
r33449 | russell | 2006-06-11 10:56:55 -0400 (Sun, 11 Jun 2006) | 2 lines

backport a couple of frame leak fixes from the trunk (revisions 33446, 33447)

........

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

14 years agodon't leak a frame when breaking out of the loop on a timeout
Russell Bryant [Sun, 11 Jun 2006 14:52:04 +0000 (14:52 +0000)]
don't leak a frame when breaking out of the loop on a timeout

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

14 years agodon't leak a frame when exiting when the user presses '#'
Russell Bryant [Sun, 11 Jun 2006 14:48:25 +0000 (14:48 +0000)]
don't leak a frame when exiting when the user presses '#'

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

14 years agodon't leak a frame when breaking out of the main loop of this app
Russell Bryant [Sun, 11 Jun 2006 14:44:58 +0000 (14:44 +0000)]
don't leak a frame when breaking out of the main loop of this app

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

14 years agodon't use ast_copy_string when building for an external tool
Russell Bryant [Sat, 10 Jun 2006 04:41:34 +0000 (04:41 +0000)]
don't use ast_copy_string when building for an external tool

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

14 years agodon't redefine PATH_MAX
Russell Bryant [Sat, 10 Jun 2006 04:38:04 +0000 (04:38 +0000)]
don't redefine PATH_MAX

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

14 years agoconvert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX
Russell Bryant [Sat, 10 Jun 2006 04:34:48 +0000 (04:34 +0000)]
convert a few more uses of AST_CONFIG_MAX_PATH to use PATH_MAX

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

14 years agoget rid of some more compiler warnings (thanks tholo for making me fix the lpc10...
Kevin P. Fleming [Fri, 9 Jun 2006 23:13:52 +0000 (23:13 +0000)]
get rid of some more compiler warnings (thanks tholo for making me fix the lpc10 stuff... that had been a problem for far too long)

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

14 years agoIssue #7325 - Parse string after URI decoding (casper)
Olle Johansson [Fri, 9 Jun 2006 21:32:48 +0000 (21:32 +0000)]
Issue #7325 - Parse string after URI decoding (casper)

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

14 years agoAdd RTP QoS report variables to doc. Catch it in the "h" extension, store it in the CDR
Olle Johansson [Fri, 9 Jun 2006 21:30:31 +0000 (21:30 +0000)]
Add RTP QoS report variables to doc. Catch it in the "h" extension, store it in the CDR
or in a database or... whatever you want to.

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

14 years agoStore RTCP reports in channel variables and SIP history
Olle Johansson [Fri, 9 Jun 2006 21:28:52 +0000 (21:28 +0000)]
Store RTCP reports in channel variables and SIP history

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

14 years ago- RTP debug message formatting
Olle Johansson [Fri, 9 Jun 2006 21:09:42 +0000 (21:09 +0000)]
- RTP debug message formatting
- Add rtcp report to SIP history

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

14 years agothere is no reason to define our own 'maximum path length' when the POSIX headers...
Kevin P. Fleming [Fri, 9 Jun 2006 20:40:10 +0000 (20:40 +0000)]
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

14 years agovarious minor portability fixes (mostly from tholo for OpenBSD)
Kevin P. Fleming [Fri, 9 Jun 2006 20:26:25 +0000 (20:26 +0000)]
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

14 years agoMove payloadtype back home to rtp.c
Olle Johansson [Fri, 9 Jun 2006 20:13:47 +0000 (20:13 +0000)]
Move payloadtype back home to rtp.c

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

14 years agoAnother try at hanging up the transferer channel after the masq
Olle Johansson [Fri, 9 Jun 2006 20:09:55 +0000 (20:09 +0000)]
Another try at hanging up the transferer channel after the masq

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

14 years agoDon't double check existence of a variable (issue #7300 reported by foamdino)
Joshua Colp [Fri, 9 Jun 2006 19:05:30 +0000 (19:05 +0000)]
Don't double check existence of a variable (issue #7300 reported by foamdino)

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

14 years agoBlocked revisions 33300 via svnmerge
Joshua Colp [Fri, 9 Jun 2006 18:54:01 +0000 (18:54 +0000)]
Blocked revisions 33300 via svnmerge

........
r33300 | file | 2006-06-09 15:52:51 -0300 (Fri, 09 Jun 2006) | 2 lines

Allow the format outputted by meetme list to be used for meetme commands (like kick) (issue #7322 reported by darkskiez)

........

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

14 years agooops moved block without renaming a variable correctly.
Matt O'Gorman [Fri, 9 Jun 2006 18:37:26 +0000 (18:37 +0000)]
oops moved block without renaming a variable correctly.

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

14 years agoMerged revisions 33297 via svnmerge from
Joshua Colp [Fri, 9 Jun 2006 18:29:58 +0000 (18:29 +0000)]
Merged revisions 33297 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33297 | file | 2006-06-09 15:26:42 -0300 (Fri, 09 Jun 2006) | 2 lines

Remove an unneeded double lock (issue #7310 reported by arkadia)

........

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

14 years agoWait until we have the lock before getting the pvt structure pointer (issue #7313...
Joshua Colp [Fri, 9 Jun 2006 18:20:28 +0000 (18:20 +0000)]
Wait until we have the lock before getting the pvt structure pointer (issue #7313 reported by arkadia)

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

14 years agoMerged revisions 33294 via svnmerge from
Joshua Colp [Fri, 9 Jun 2006 18:12:46 +0000 (18:12 +0000)]
Merged revisions 33294 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r33294 | file | 2006-06-09 15:08:00 -0300 (Fri, 09 Jun 2006) | 2 lines

Handle hangup during recording of screened name (issue #7304 reported by kulldominique)

........

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

14 years agoAdd more missing newlines (issue #7323 reported by darkskiez)
Joshua Colp [Fri, 9 Jun 2006 16:36:54 +0000 (16:36 +0000)]
Add more missing newlines (issue #7323 reported by darkskiez)

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

14 years agoBlocked revisions 33264 via svnmerge
Joshua Colp [Fri, 9 Jun 2006 16:33:34 +0000 (16:33 +0000)]
Blocked revisions 33264 via svnmerge

........
r33264 | file | 2006-06-09 13:31:29 -0300 (Fri, 09 Jun 2006) | 2 lines

Add missing newlines (issue #7323 reported by darkskiez)

........

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

14 years agoconvert one of my linked lists to ast_linklist
Matt O'Gorman [Fri, 9 Jun 2006 16:08:33 +0000 (16:08 +0000)]
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

14 years agoDon't force context for domain= setting (imported from 1.2)
Olle Johansson [Fri, 9 Jun 2006 15:57:28 +0000 (15:57 +0000)]
Don't force context for domain= setting (imported from 1.2)

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

14 years agoRemove the return value from functions that return something that is never checked...
Olle Johansson [Fri, 9 Jun 2006 13:35:41 +0000 (13:35 +0000)]
Remove the return value from functions that return something that is never checked anywhere.

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

14 years agowhen we don't want the call we need to release_complete it.. ignoring it breaks the...
Christian Richter [Fri, 9 Jun 2006 10:31:30 +0000 (10:31 +0000)]
when we don't want the call we need to release_complete it.. ignoring it breaks the ETSI rules ..

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

14 years agoRename ast_rtp_early_media to ast_rtp_early_bridge to avoid confusion.
Olle Johansson [Fri, 9 Jun 2006 09:47:44 +0000 (09:47 +0000)]
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

14 years agoEnabling and disabling debug messages...
Olle Johansson [Fri, 9 Jun 2006 09:38:13 +0000 (09:38 +0000)]
Enabling and disabling debug messages...

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

14 years agoMove a couple semicolons to a more traditional location. Was pointed out by Steven...
Jeffrey C. Ollie [Fri, 9 Jun 2006 02:20:25 +0000 (02:20 +0000)]
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

14 years agomove 'struct ast_rtp' back to rtp.c where it belongs
Kevin P. Fleming [Thu, 8 Jun 2006 23:10:45 +0000 (23:10 +0000)]
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

14 years agoalways include inttypes.h and sys/types.h in asterisk/compat.h to fix a build
Russell Bryant [Thu, 8 Jun 2006 20:49:59 +0000 (20:49 +0000)]
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

14 years agoDebug logging fixes
Olle Johansson [Thu, 8 Jun 2006 20:30:20 +0000 (20:30 +0000)]
Debug logging fixes

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

14 years agoMake menuselect compile on os/x...
Olle Johansson [Thu, 8 Jun 2006 20:16:19 +0000 (20:16 +0000)]
Make menuselect compile on os/x...

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

14 years agoAt least reply if we get a fatal error in handling a packet.
Olle Johansson [Thu, 8 Jun 2006 20:14:54 +0000 (20:14 +0000)]
At least reply if we get a fatal error in handling a packet.

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

14 years agoDon't crash if chan2 does not exist (one-legged call situations, like echo)
Olle Johansson [Thu, 8 Jun 2006 20:07:05 +0000 (20:07 +0000)]
Don't crash if chan2 does not exist (one-legged call situations, like echo)

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

14 years agoImprove SIP history
Olle Johansson [Thu, 8 Jun 2006 20:06:04 +0000 (20:06 +0000)]
Improve SIP history

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

14 years agoAvoid using the name "early media" for media that is not early
Olle Johansson [Thu, 8 Jun 2006 20:05:36 +0000 (20:05 +0000)]
Avoid using the name "early media" for media that is not early

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

14 years agodocument the new sound/moh file installation process
Kevin P. Fleming [Thu, 8 Jun 2006 19:48:36 +0000 (19:48 +0000)]
document the new sound/moh file installation process

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

14 years agoIssue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!
Olle Johansson [Thu, 8 Jun 2006 18:13:06 +0000 (18:13 +0000)]
Issue #7294 - Asterisk sends INVITE instead of BYE. Fix by Philippe Sultan. Thanks!

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

14 years agoDoxygen updates
Olle Johansson [Thu, 8 Jun 2006 18:03:08 +0000 (18:03 +0000)]
Doxygen updates

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

14 years agohandle out-of-memory conditions in ast_frisolate() properly (reported by Slav Kenov...
Kevin P. Fleming [Thu, 8 Jun 2006 16:59:44 +0000 (16:59 +0000)]
handle out-of-memory conditions in ast_frisolate() properly (reported by Slav Kenov on asterisk-dev)

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

14 years agotry to get keyword substitution working for this file
Kevin P. Fleming [Thu, 8 Jun 2006 16:36:34 +0000 (16:36 +0000)]
try to get keyword substitution working for this file

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

14 years agoFixed detection of dtmfs with bridged channels.
Christian Richter [Thu, 8 Jun 2006 09:51:13 +0000 (09:51 +0000)]
Fixed detection of dtmfs with bridged channels.

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

14 years agoUpdate doxygen for video formats
Olle Johansson [Thu, 8 Jun 2006 08:15:43 +0000 (08:15 +0000)]
Update doxygen for video formats

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

14 years agoAdd video.txt to doxygen
Olle Johansson [Thu, 8 Jun 2006 08:13:32 +0000 (08:13 +0000)]
Add video.txt to doxygen

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

14 years agoDoxygen update
Olle Johansson [Thu, 8 Jun 2006 08:10:58 +0000 (08:10 +0000)]
Doxygen update

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

14 years agoDoxygen formatting
Olle Johansson [Thu, 8 Jun 2006 07:29:46 +0000 (07:29 +0000)]
Doxygen formatting

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

14 years agoEnable doxygen
Olle Johansson [Thu, 8 Jun 2006 07:26:05 +0000 (07:26 +0000)]
Enable doxygen

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

14 years agoCleanup formatting a little...
Mark Spencer [Thu, 8 Jun 2006 05:24:50 +0000 (05:24 +0000)]
Cleanup formatting a little...

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

14 years agomove the common wget arguments to a variable and remove --no-verbose so
Russell Bryant [Wed, 7 Jun 2006 23:09:41 +0000 (23:09 +0000)]
move the common wget arguments to a variable and remove --no-verbose so
users will see download progress

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

14 years agook, new sounds/moh handling stuff should be done... bring on the bug reports!
Kevin P. Fleming [Wed, 7 Jun 2006 22:55:46 +0000 (22:55 +0000)]
ok, new sounds/moh handling stuff should be done... bring on the bug reports!

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

14 years agosolves some bugs with memory allocation, and adds
Matt O'Gorman [Wed, 7 Jun 2006 22:43:20 +0000 (22:43 +0000)]
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

14 years agomoh files will now be distributed in native format, not mp3, so...
Kevin P. Fleming [Wed, 7 Jun 2006 22:37:31 +0000 (22:37 +0000)]
moh files will now be distributed in native format, not mp3, so...
update sounds/Makefile to download/unpack the proper files
remove all evidence of mpg123 from the main Makefile
change the sample musiconhold.conf file to use native mode instead of mp3

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

14 years agook, now it knows how to auto-download and install
Kevin P. Fleming [Wed, 7 Jun 2006 22:03:02 +0000 (22:03 +0000)]
ok, now it knows how to auto-download and install

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

14 years agodon't force the sounds to download... only when needed
Kevin P. Fleming [Wed, 7 Jun 2006 21:05:05 +0000 (21:05 +0000)]
don't force the sounds to download... only when needed
fix a few buglets i caused in menuselect
remove downloaded sounds on 'dist-clean'

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

14 years agowoo-hoo, now it knows how to download the sound packages... doesn't install them...
Kevin P. Fleming [Wed, 7 Jun 2006 20:54:30 +0000 (20:54 +0000)]
woo-hoo, now it knows how to download the sound packages... doesn't install them yet though

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

14 years agoprepare for using sound files from out of the source tree
Kevin P. Fleming [Wed, 7 Jun 2006 20:19:40 +0000 (20:19 +0000)]
prepare for using sound files from out of the source tree

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

14 years agofix a typo in an option name in config parsing
Russell Bryant [Wed, 7 Jun 2006 20:08:29 +0000 (20:08 +0000)]
fix a typo in an option name in config parsing

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

14 years agosimplify the loop that iterates through the categories in followme.conf and
Russell Bryant [Wed, 7 Jun 2006 20:02:07 +0000 (20:02 +0000)]
simplify the loop that iterates through the categories in followme.conf and
don't try to read the general section as a followme profile

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

14 years agofix the build with astmm enabled
Russell Bryant [Wed, 7 Jun 2006 19:53:03 +0000 (19:53 +0000)]
fix the build with astmm enabled

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

14 years agofix an incorrect usage of scanf, where it should be using sscanf, instead,
Russell Bryant [Wed, 7 Jun 2006 19:42:37 +0000 (19:42 +0000)]
fix an incorrect usage of scanf, where it should be using sscanf, instead,
which was causing asterisk to hang when loading this module
(reported by blitzrage on IRC)

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

14 years agoput the proper filename into the ignore property
Kevin P. Fleming [Wed, 7 Jun 2006 19:06:30 +0000 (19:06 +0000)]
put the proper filename into the ignore property

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

14 years agomove autoconfig.h to the include/asterisk directory so it will get installed
Kevin P. Fleming [Wed, 7 Jun 2006 19:05:35 +0000 (19:05 +0000)]
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

14 years agosimplify autoconfig include mechanism (make tholo happy he can use lint again :-)
Kevin P. Fleming [Wed, 7 Jun 2006 18:54:56 +0000 (18:54 +0000)]
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

14 years agoremove the WITH_SMDI define
Russell Bryant [Wed, 7 Jun 2006 18:28:29 +0000 (18:28 +0000)]
remove the WITH_SMDI define

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

14 years agoMerged revisions 32818 via svnmerge from
Russell Bryant [Wed, 7 Jun 2006 17:54:26 +0000 (17:54 +0000)]
Merged revisions 32818 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r32818 | russell | 2006-06-07 13:53:21 -0400 (Wed, 07 Jun 2006) | 2 lines

fix some broken code with BRIDGE_OPTIMIZATION defined (issue #7292)

........

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

14 years agoadd an updated patch that adds dnsmgr support for outgoing iax2 registrations
Russell Bryant [Wed, 7 Jun 2006 17:44:36 +0000 (17:44 +0000)]
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

14 years agoremove the need to have to re-run make after a default menuselect.makeopts
Russell Bryant [Wed, 7 Jun 2006 16:03:31 +0000 (16:03 +0000)]
remove the need to have to re-run make after a default menuselect.makeopts
file is generated.  This allows a fresh checkout of asterisk to be built
and installed with the standard "./configure && make && make install".

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

14 years agochanged the clean_up_bc function to work proper again. fixed the print with the confe...
Christian Richter [Wed, 7 Jun 2006 13:01:02 +0000 (13:01 +0000)]
changed the clean_up_bc function to work proper again. fixed the print with the conference nr. when bridged

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

14 years agorevert my changes to convert fields of zt_pvt to use stringfields. When I did
Russell Bryant [Tue, 6 Jun 2006 23:22:12 +0000 (23:22 +0000)]
revert my changes to convert fields of zt_pvt to use stringfields.  When I did
this, I was not keeping in mind the fact that after a stringfield is overwritten
by another string, the memory used by the old string can not be recovered.  I
would like to go back through these changes and make sure that stringfields are
not used for fields that are written to many times before these changes are
committed.

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

14 years agoAdd q.921 state information. (#7260)
Matthew Fredrickson [Tue, 6 Jun 2006 22:19:19 +0000 (22:19 +0000)]
Add q.921 state information. (#7260)

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

14 years agooops.
Russell Bryant [Tue, 6 Jun 2006 21:03:18 +0000 (21:03 +0000)]
oops.

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

14 years agomove a variable declaration to the beginning of a block
Russell Bryant [Tue, 6 Jun 2006 20:55:17 +0000 (20:55 +0000)]
move a variable declaration to the beginning of a block

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

14 years agouse sizeof to determine the size of a buffer
Russell Bryant [Tue, 6 Jun 2006 20:47:46 +0000 (20:47 +0000)]
use sizeof to determine the size of a buffer

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

14 years agouse sizeof to get the size of a buffer
Russell Bryant [Tue, 6 Jun 2006 20:45:26 +0000 (20:45 +0000)]
use sizeof to get the size of a buffer

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

14 years ago More updates.
BJ Weschke [Tue, 6 Jun 2006 20:44:50 +0000 (20:44 +0000)]
 More updates.

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

14 years agomake a global list head static
Russell Bryant [Tue, 6 Jun 2006 20:44:10 +0000 (20:44 +0000)]
make a global list head static

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