asterisk/asterisk.git
14 years agoeliminate signedness warnings (issue #5130)
Kevin P. Fleming [Wed, 7 Sep 2005 18:57:01 +0000 (18:57 +0000)]
eliminate signedness warnings (issue #5130)

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

14 years agoeliminate signedness warnings (issue #5129)
Kevin P. Fleming [Wed, 7 Sep 2005 18:55:03 +0000 (18:55 +0000)]
eliminate signedness warnings (issue #5129)

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

14 years agoadd status variable output to System() app (issue #5121)
Kevin P. Fleming [Wed, 7 Sep 2005 18:52:54 +0000 (18:52 +0000)]
add status variable output to System() app (issue #5121)

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

14 years agoremove unneeded variables (issue #5117)
Kevin P. Fleming [Wed, 7 Sep 2005 18:49:32 +0000 (18:49 +0000)]
remove unneeded variables (issue #5117)

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

14 years agoadd more options (issue #5137)
Russell Bryant [Wed, 7 Sep 2005 17:07:56 +0000 (17:07 +0000)]
add more options (issue #5137)

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

14 years agofix some race conditions
Kevin P. Fleming [Wed, 7 Sep 2005 15:32:01 +0000 (15:32 +0000)]
fix some race conditions

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

14 years agoreset channel volumes when exiting apps that use them
Kevin P. Fleming [Wed, 7 Sep 2005 14:15:37 +0000 (14:15 +0000)]
reset channel volumes when exiting apps that use them

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

14 years agoFix spelling of Accountcode. *wink*
Josh Roberson [Wed, 7 Sep 2005 04:23:15 +0000 (04:23 +0000)]
Fix spelling of Accountcode.  *wink*

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

14 years agoadd note about volume adjustments in app_meetme (new sound files are on their way)
Kevin P. Fleming [Wed, 7 Sep 2005 02:42:12 +0000 (02:42 +0000)]
add note about volume adjustments in app_meetme (new sound files are on their way)

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

14 years agore-add 'listen' volume control
Kevin P. Fleming [Wed, 7 Sep 2005 02:27:58 +0000 (02:27 +0000)]
re-add 'listen' volume control

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

14 years agoanother buglet
Kevin P. Fleming [Wed, 7 Sep 2005 01:55:29 +0000 (01:55 +0000)]
another buglet

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

14 years agoactually do issue #4170 right... it was supposed to adjust talk volume, not listen...
Kevin P. Fleming [Wed, 7 Sep 2005 01:39:11 +0000 (01:39 +0000)]
actually do issue #4170 right... it was supposed to adjust talk volume, not listen volume (sorry)

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

14 years agoadd new channel option (via ast_channel_setoption()) to let channel drivers adjust...
Kevin P. Fleming [Wed, 7 Sep 2005 01:30:01 +0000 (01:30 +0000)]
add new channel option (via ast_channel_setoption()) to let channel drivers adjust txgain/rxgain if they are able (only Zap channels at this time)
modify app_chanspy to use new gain option
reformat app_chanspy to match coding guidelines
add user-controlled volume adjustment to app_meetme (issue #4170, heavily modified to actually work on Zap channels)

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

14 years agoAllow "auto" dtmf mode to select between RFC2833 and inband based on peer's offer...
Mark Spencer [Tue, 6 Sep 2005 21:04:40 +0000 (21:04 +0000)]
Allow "auto" dtmf mode to select between RFC2833 and inband based on peer's offer or answer.

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

14 years agoDon't recreate stuff on authentication (so it works on reinvites)
Mark Spencer [Tue, 6 Sep 2005 20:03:31 +0000 (20:03 +0000)]
Don't recreate stuff on authentication (so it works on reinvites)

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

14 years agoFixed possible hangup race condition that would lead to segfualt with hangups.
Matthew Fredrickson [Tue, 6 Sep 2005 17:50:55 +0000 (17:50 +0000)]
Fixed possible hangup race condition that would lead to segfualt with hangups.

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

14 years agofix a warning on osx
Russell Bryant [Mon, 5 Sep 2005 17:46:09 +0000 (17:46 +0000)]
fix a warning on osx

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

14 years agolook in CROSS_COMPILE_TARGET for speex headers (issue #5118)
Russell Bryant [Mon, 5 Sep 2005 15:48:47 +0000 (15:48 +0000)]
look in CROSS_COMPILE_TARGET for speex headers (issue #5118)

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

14 years agorevert unnecessary change
Kevin P. Fleming [Fri, 2 Sep 2005 19:38:08 +0000 (19:38 +0000)]
revert unnecessary change

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

14 years agoensure that OSP-provided call duration limit is honored (issue #5099)
Kevin P. Fleming [Fri, 2 Sep 2005 19:32:20 +0000 (19:32 +0000)]
ensure that OSP-provided call duration limit is honored (issue #5099)

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

14 years agoeliminate compiler warning (issue #5094)
Kevin P. Fleming [Fri, 2 Sep 2005 19:29:18 +0000 (19:29 +0000)]
eliminate compiler warning (issue #5094)

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

14 years agocorrect terminology (issue #5100)
Kevin P. Fleming [Fri, 2 Sep 2005 19:27:01 +0000 (19:27 +0000)]
correct terminology (issue #5100)

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

14 years agoensure that notify message sent out have the correct state (issue #5088 with minor...
Kevin P. Fleming [Fri, 2 Sep 2005 19:24:32 +0000 (19:24 +0000)]
ensure that notify message sent out have the correct state (issue #5088 with minor mods)

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

14 years agouse unsigned char for data elements and native-signed char for strings (issue #5104)
Kevin P. Fleming [Fri, 2 Sep 2005 19:17:19 +0000 (19:17 +0000)]
use unsigned char for data elements and native-signed char for strings (issue #5104)

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

14 years agouse native-sign characters for strings (issue #5105)
Kevin P. Fleming [Fri, 2 Sep 2005 19:15:03 +0000 (19:15 +0000)]
use native-sign characters for strings (issue #5105)

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

14 years agouse matching char types for strings (issue #5106)
Kevin P. Fleming [Fri, 2 Sep 2005 19:12:35 +0000 (19:12 +0000)]
use matching char types for strings (issue #5106)

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

14 years agoFix vidupdate for chan_zap to eliminate sillyl warning
Mark Spencer [Fri, 2 Sep 2005 18:43:36 +0000 (18:43 +0000)]
Fix vidupdate for chan_zap to eliminate sillyl warning

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

14 years agofactor calling-plan-apply logic into a separate function
Kevin P. Fleming [Fri, 2 Sep 2005 18:37:53 +0000 (18:37 +0000)]
factor calling-plan-apply logic into a separate function
apply calling plan to RDNIS

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

14 years agoremove unused header and old comment
Kevin P. Fleming [Fri, 2 Sep 2005 18:07:26 +0000 (18:07 +0000)]
remove unused header and old comment

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

14 years agodoh!
Kevin P. Fleming [Fri, 2 Sep 2005 16:05:53 +0000 (16:05 +0000)]
doh!

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

14 years agomake chan_iax2 rtupdate behave the same as chan_sip
Kevin P. Fleming [Fri, 2 Sep 2005 14:19:36 +0000 (14:19 +0000)]
make chan_iax2 rtupdate behave the same as chan_sip

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

14 years agofix a couple of warnings on osx
Russell Bryant [Fri, 2 Sep 2005 11:39:24 +0000 (11:39 +0000)]
fix a couple of warnings on osx

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

14 years agoallow for custom URI options to be set (issue #4927 with mods)
Kevin P. Fleming [Thu, 1 Sep 2005 23:01:54 +0000 (23:01 +0000)]
allow for custom URI options to be set (issue #4927 with mods)

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

14 years agoallow longer 'busy' tones to be detected (issue #5085)
Kevin P. Fleming [Thu, 1 Sep 2005 22:34:24 +0000 (22:34 +0000)]
allow longer 'busy' tones to be detected (issue #5085)

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

14 years agofix stupid thinko (thanks velter!)
Kevin P. Fleming [Thu, 1 Sep 2005 22:32:29 +0000 (22:32 +0000)]
fix stupid thinko (thanks velter!)

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

14 years agovarious devicestate fixes (issue #5081, take two)
Kevin P. Fleming [Thu, 1 Sep 2005 22:28:33 +0000 (22:28 +0000)]
various devicestate fixes (issue #5081, take two)

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

14 years agodon't try to reference through pvt if it is NULL (issue #5089)
Kevin P. Fleming [Thu, 1 Sep 2005 22:11:02 +0000 (22:11 +0000)]
don't try to reference through pvt if it is NULL (issue #5089)

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

14 years agoensure variable structure is initialized before use (issue #5092)
Kevin P. Fleming [Thu, 1 Sep 2005 22:08:58 +0000 (22:08 +0000)]
ensure variable structure is initialized before use (issue #5092)

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

14 years agodon't send OSP tokens do devices that are not OSP aware (issue #5093)
Kevin P. Fleming [Thu, 1 Sep 2005 22:06:23 +0000 (22:06 +0000)]
don't send OSP tokens do devices that are not OSP aware (issue #5093)

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

14 years agoeliminate the urgent handler message, since it can causing blocking in the stdio...
Kevin P. Fleming [Thu, 1 Sep 2005 22:03:10 +0000 (22:03 +0000)]
eliminate the urgent handler message, since it can causing blocking in the stdio library (issue #5087)

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

14 years agodon't send warnings for unhandled indications, let ast_indicate() deal with them...
Kevin P. Fleming [Thu, 1 Sep 2005 21:56:39 +0000 (21:56 +0000)]
don't send warnings for unhandled indications, let ast_indicate() deal with them (issue #5097)

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

14 years agosend the correct Call-ID when using OSP (issue #5095)
Kevin P. Fleming [Thu, 1 Sep 2005 21:53:52 +0000 (21:53 +0000)]
send the correct Call-ID when using OSP (issue #5095)

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

14 years agodon't reverse variable order during inheritance (issue #5091)
Kevin P. Fleming [Thu, 1 Sep 2005 21:50:49 +0000 (21:50 +0000)]
don't reverse variable order during inheritance (issue #5091)

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

14 years agodon't add a colon to the header name (thanks bkw!)
Kevin P. Fleming [Thu, 1 Sep 2005 21:09:34 +0000 (21:09 +0000)]
don't add a colon to the header name (thanks bkw!)

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

14 years agoadd warning about new expression parser
Kevin P. Fleming [Thu, 1 Sep 2005 21:00:06 +0000 (21:00 +0000)]
add warning about new expression parser

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

14 years agodon't unlock a channel we didn't lock
Kevin P. Fleming [Thu, 1 Sep 2005 20:15:58 +0000 (20:15 +0000)]
don't unlock a channel we didn't lock

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

14 years agoensure that file handles are never double closed
Kevin P. Fleming [Thu, 1 Sep 2005 19:44:51 +0000 (19:44 +0000)]
ensure that file handles are never double closed

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

14 years agodon't access freed memory if the frame was malloc'd
Kevin P. Fleming [Thu, 1 Sep 2005 19:34:49 +0000 (19:34 +0000)]
don't access freed memory if the frame was malloc'd

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

14 years agoNew, more robust way of doing e&m digit collection. Bug #3805
Matthew Fredrickson [Thu, 1 Sep 2005 19:02:37 +0000 (19:02 +0000)]
New, more robust way of doing e&m digit collection.  Bug #3805

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

14 years agominor optimization
Kevin P. Fleming [Thu, 1 Sep 2005 18:45:36 +0000 (18:45 +0000)]
minor optimization

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

14 years agoMake sure we enable echo cancellation on incoming overlapdial calls
Matthew Fredrickson [Thu, 1 Sep 2005 17:38:25 +0000 (17:38 +0000)]
Make sure we enable echo cancellation on incoming overlapdial calls

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

14 years agoForgot to commit sample config update
Matthew Fredrickson [Thu, 1 Sep 2005 17:33:18 +0000 (17:33 +0000)]
Forgot to commit sample config update

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

14 years agoeliminate old chan->pvt field, and fix bug in generic bridge to watch chan->tech_pvt...
Kevin P. Fleming [Thu, 1 Sep 2005 00:10:49 +0000 (00:10 +0000)]
eliminate old chan->pvt field, and fix bug in generic bridge to watch chan->tech_pvt instead

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

14 years agoeliminate spurious warnings
Kevin P. Fleming [Thu, 1 Sep 2005 00:05:47 +0000 (00:05 +0000)]
eliminate spurious warnings

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

14 years agostop adding 'username@' to incoming IAX2 channel names, so that they can be properly...
Kevin P. Fleming [Wed, 31 Aug 2005 22:13:40 +0000 (22:13 +0000)]
stop adding 'username@' to incoming IAX2 channel names, so that they can be properly matched in the device-state system (issue #5081)

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

14 years agoensure revents fields are initialized before calling poll()
Kevin P. Fleming [Wed, 31 Aug 2005 22:12:23 +0000 (22:12 +0000)]
ensure revents fields are initialized before calling poll()

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

14 years agocorrect Makefile errors (issue #5072)
Kevin P. Fleming [Wed, 31 Aug 2005 21:29:58 +0000 (21:29 +0000)]
correct Makefile errors (issue #5072)

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

14 years agoclarify comments (issue #5075)
Kevin P. Fleming [Wed, 31 Aug 2005 21:28:12 +0000 (21:28 +0000)]
clarify comments (issue #5075)

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

14 years agodon't duplicate devicestate-to-string function (issue #5078)
Kevin P. Fleming [Wed, 31 Aug 2005 20:16:47 +0000 (20:16 +0000)]
don't duplicate devicestate-to-string function (issue #5078)
use ast_build_string() for building output string

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

14 years agostop retransmitting INVITE after we have sent CANCEL for the same call
Kevin P. Fleming [Wed, 31 Aug 2005 19:53:38 +0000 (19:53 +0000)]
stop retransmitting INVITE after we have sent CANCEL for the same call

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

14 years agodon't remove .version during 'make clean', it's not the temporary file it used to be
Kevin P. Fleming [Wed, 31 Aug 2005 18:48:21 +0000 (18:48 +0000)]
don't remove .version during 'make clean', it's not the temporary file it used to be

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

14 years agoAdd support for ring begin event and configurable ringtimeout.
Mark Spencer [Wed, 31 Aug 2005 05:02:33 +0000 (05:02 +0000)]
Add support for ring begin event and configurable ringtimeout.

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

14 years agoremove patch that no longer applies and is not being updated any longer
Kevin P. Fleming [Wed, 31 Aug 2005 03:32:53 +0000 (03:32 +0000)]
remove patch that no longer applies and is not being updated any longer

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

14 years agominor cleanup and reorganization (issue #5073)
Kevin P. Fleming [Wed, 31 Aug 2005 03:32:15 +0000 (03:32 +0000)]
minor cleanup and reorganization (issue #5073)

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

14 years agoadd doc on how to create backtraces for debugging (issue #5036)
Kevin P. Fleming [Wed, 31 Aug 2005 03:28:40 +0000 (03:28 +0000)]
add doc on how to create backtraces for debugging (issue #5036)

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

14 years agocorrect case error
Kevin P. Fleming [Wed, 31 Aug 2005 02:55:36 +0000 (02:55 +0000)]
correct case error

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

14 years agodeprecate chan_modem and its subdrivers
Kevin P. Fleming [Wed, 31 Aug 2005 02:54:06 +0000 (02:54 +0000)]
deprecate chan_modem and its subdrivers

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

14 years agomake DEBUG_THREADS have more visible logging
Kevin P. Fleming [Wed, 31 Aug 2005 02:43:44 +0000 (02:43 +0000)]
make DEBUG_THREADS have more visible logging
make DEBUG_THREADS able to catch locks being unlocked by threads that did not own them
add proper wrappers for pthread_cond_wait() and pthread_cond_timedwait() for DEBUG_THREADS mode

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

14 years agoensure that the MOH_QUIET flag gets set for the mode "quietmp3nb"
Russell Bryant [Wed, 31 Aug 2005 01:16:48 +0000 (01:16 +0000)]
ensure that the MOH_QUIET flag gets set for the mode "quietmp3nb"
add mode to the output of the "moh classes show" cli command

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

14 years agoremove unused define
Kevin P. Fleming [Wed, 31 Aug 2005 00:27:33 +0000 (00:27 +0000)]
remove unused define

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

14 years agopreserve user-added headers when outbound INVITE must be authenticated (issue #5070)
Kevin P. Fleming [Tue, 30 Aug 2005 21:59:01 +0000 (21:59 +0000)]
preserve user-added headers when outbound INVITE must be authenticated (issue #5070)

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

14 years agoforce cleaning with today's changes
Kevin P. Fleming [Tue, 30 Aug 2005 21:38:41 +0000 (21:38 +0000)]
force cleaning with today's changes

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

14 years agodon't terminate subscriptions before they should be (issue #5063)
Kevin P. Fleming [Tue, 30 Aug 2005 21:34:41 +0000 (21:34 +0000)]
don't terminate subscriptions before they should be (issue #5063)

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

14 years agoremove unused 'outgoinglimit' code, rename 'incominglimit' to 'call-limit' (old synta...
Kevin P. Fleming [Tue, 30 Aug 2005 21:26:33 +0000 (21:26 +0000)]
remove unused 'outgoinglimit' code, rename 'incominglimit' to 'call-limit' (old syntax is still supported) (issue #5068)

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

14 years agomake chan_sip and chan_iax2 less chatty when not in debug mode (issue #5067)
Kevin P. Fleming [Tue, 30 Aug 2005 21:20:59 +0000 (21:20 +0000)]
make chan_sip and chan_iax2 less chatty when not in debug mode (issue #5067)

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

14 years agocorrect syntax error
Kevin P. Fleming [Tue, 30 Aug 2005 20:08:59 +0000 (20:08 +0000)]
correct syntax error

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

14 years agoAdd lookup script for people without CIDNAME plus rich variables...
Mark Spencer [Tue, 30 Aug 2005 18:41:42 +0000 (18:41 +0000)]
Add lookup script for people without CIDNAME plus rich variables...

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

14 years agomajor header file cleanup: license, copyrights, descriptions, markers, etc.
Kevin P. Fleming [Tue, 30 Aug 2005 18:32:10 +0000 (18:32 +0000)]
major header file cleanup: license, copyrights, descriptions, markers, etc.
remove deprecated config_old.c/config_old.h
remove unused cvsid.h

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

14 years agofix cdr_pgsql build on Debian testing (issue #5064)
Kevin P. Fleming [Tue, 30 Aug 2005 15:59:25 +0000 (15:59 +0000)]
fix cdr_pgsql build on Debian testing (issue #5064)

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

14 years agocorrect syntax error
Kevin P. Fleming [Tue, 30 Aug 2005 15:44:09 +0000 (15:44 +0000)]
correct syntax error

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

14 years agoAdd support for override of the default pri exclusive/preferred channel
Matthew Fredrickson [Tue, 30 Aug 2005 15:39:43 +0000 (15:39 +0000)]
Add support for override of the default pri exclusive/preferred channel
selection behavior

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

14 years agoensure that the parser is generated in 'full/fast' mode
Kevin P. Fleming [Tue, 30 Aug 2005 14:44:00 +0000 (14:44 +0000)]
ensure that the parser is generated in 'full/fast' mode

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

14 years agoclean up, use make functions instead of subshells, remove unused stuff
Kevin P. Fleming [Tue, 30 Aug 2005 02:54:02 +0000 (02:54 +0000)]
clean up, use make functions instead of subshells, remove unused stuff

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

14 years agoAdd SIP video fixes
Mark Spencer [Tue, 30 Aug 2005 02:12:09 +0000 (02:12 +0000)]
Add SIP video fixes

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

14 years agofix error I introduced into oej's patch :-(
Kevin P. Fleming [Tue, 30 Aug 2005 01:04:17 +0000 (01:04 +0000)]
fix error I introduced into oej's patch :-(

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

14 years agomassive upgrade to SUBSCRIBE, device state and messaging support (issue #3644)
Kevin P. Fleming [Mon, 29 Aug 2005 23:53:29 +0000 (23:53 +0000)]
massive upgrade to SUBSCRIBE, device state and messaging support (issue #3644)

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

14 years agoeliminate compiler warning
Kevin P. Fleming [Mon, 29 Aug 2005 23:49:43 +0000 (23:49 +0000)]
eliminate compiler warning

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

14 years agoensure CDR pointer is cleared after detaching it from channel (related to issue ...
Kevin P. Fleming [Mon, 29 Aug 2005 23:11:29 +0000 (23:11 +0000)]
ensure CDR pointer is cleared after detaching it from channel (related to issue #4877)

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

14 years agouse proper next hop in strict routing mode (issue #3609)
Kevin P. Fleming [Mon, 29 Aug 2005 23:03:07 +0000 (23:03 +0000)]
use proper next hop in strict routing mode (issue #3609)

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

14 years agoadd dialplan functions for URI encoding/decoding (issue #4857)
Kevin P. Fleming [Mon, 29 Aug 2005 22:54:54 +0000 (22:54 +0000)]
add dialplan functions for URI encoding/decoding (issue #4857)

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

14 years agoencode/decode URIs in 'pedantic' mode (issue #3923)
Kevin P. Fleming [Mon, 29 Aug 2005 22:39:39 +0000 (22:39 +0000)]
encode/decode URIs in 'pedantic' mode (issue #3923)

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

14 years agodon't make expression evaluator allocate a memory buffer for each result
Kevin P. Fleming [Mon, 29 Aug 2005 22:03:37 +0000 (22:03 +0000)]
don't make expression evaluator allocate a memory buffer for each result
to
be returned; use the buffers already present in the PBX for this purpose
update testexpr2/check_expr to allocate buffers for expression
evaluation

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

14 years agoeliminate compiler warning
Kevin P. Fleming [Mon, 29 Aug 2005 21:18:35 +0000 (21:18 +0000)]
eliminate compiler warning

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

14 years agoeliminate warning when !ZAPATA_PRI
Kevin P. Fleming [Mon, 29 Aug 2005 21:18:20 +0000 (21:18 +0000)]
eliminate warning when !ZAPATA_PRI

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

14 years agofix signed/unsigned result issue on 32-bit platforms (issue #5050)
Kevin P. Fleming [Mon, 29 Aug 2005 20:43:16 +0000 (20:43 +0000)]
fix signed/unsigned result issue on 32-bit platforms (issue #5050)
(expression parser was rebuilt with bison 1.875d as well)

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

14 years agodon't use unsigned in on Solaris, will break math expressions that are
Kevin P. Fleming [Mon, 29 Aug 2005 20:17:25 +0000 (20:17 +0000)]
don't use unsigned in on Solaris, will break math expressions that are
supposed to generate negative results (related to issue #5050)

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

14 years agoremove unused defines and logic (issue #5058)
Kevin P. Fleming [Mon, 29 Aug 2005 19:07:24 +0000 (19:07 +0000)]
remove unused defines and logic (issue #5058)

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

14 years agofix build when NEWJB is not defined (issue #5046)
Russell Bryant [Mon, 29 Aug 2005 16:19:07 +0000 (16:19 +0000)]
fix build when NEWJB is not defined (issue #5046)

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

14 years agoapp_rpt is experimental, not obsolete (issue #5047)
Russell Bryant [Mon, 29 Aug 2005 16:14:38 +0000 (16:14 +0000)]
app_rpt is experimental, not obsolete (issue #5047)

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

14 years agofix mem leak from not destrying config (issue #5048)
Russell Bryant [Mon, 29 Aug 2005 16:08:53 +0000 (16:08 +0000)]
fix mem leak from not destrying config (issue #5048)

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