asterisk/asterisk.git
18 years ago/ remove extrenous NULL at end of function
Ben Kramer [Wed, 14 Jul 2004 21:55:01 +0000 (21:55 +0000)]
/ remove extrenous NULL at end of function

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

18 years agoMinor formatting fix from code audit in cli.c
James Golovich [Wed, 14 Jul 2004 14:53:24 +0000 (14:53 +0000)]
Minor formatting fix from code audit in cli.c

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

18 years agoMerge remaining audit patch (save dlfcn.c)
Mark Spencer [Wed, 14 Jul 2004 13:57:15 +0000 (13:57 +0000)]
Merge remaining audit patch (save dlfcn.c)

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

18 years agoImprove SIP history
Mark Spencer [Wed, 14 Jul 2004 11:51:44 +0000 (11:51 +0000)]
Improve SIP history

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

18 years agoIf we get 200 OK back on INVITE after we send CANCEL, send ACK *and* send BYE
Mark Spencer [Wed, 14 Jul 2004 11:10:05 +0000 (11:10 +0000)]
If we get 200 OK back on INVITE after we send CANCEL, send ACK *and* send BYE

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

18 years agoAdd missing include (bug #2040)
Mark Spencer [Wed, 14 Jul 2004 10:34:25 +0000 (10:34 +0000)]
Add missing include (bug #2040)

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

18 years agoMake parked calls events more consistant (bug #2033)
Mark Spencer [Wed, 14 Jul 2004 07:53:57 +0000 (07:53 +0000)]
Make parked calls events more consistant (bug #2033)

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

18 years agoOops forgot one (bug #2038)
Mark Spencer [Wed, 14 Jul 2004 07:48:47 +0000 (07:48 +0000)]
Oops forgot one (bug #2038)

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

18 years agoRemaining rgagnon source audit improvements (bug #2011)
Mark Spencer [Wed, 14 Jul 2004 07:44:19 +0000 (07:44 +0000)]
Remaining rgagnon source audit improvements (bug #2011)

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

18 years agoMerge rgagnon's pedantic string changes (apps n-z) (bug #2038)
Mark Spencer [Wed, 14 Jul 2004 07:34:34 +0000 (07:34 +0000)]
Merge rgagnon's pedantic string changes (apps n-z) (bug #2038)

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

18 years agoMerge rgagnon's pedantic string checks (apps a-m, bug #2035)
Mark Spencer [Wed, 14 Jul 2004 07:22:30 +0000 (07:22 +0000)]
Merge rgagnon's pedantic string checks (apps a-m, bug #2035)

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

18 years agoDon't overwite config files in RPM (bug #2036)
Mark Spencer [Wed, 14 Jul 2004 07:14:20 +0000 (07:14 +0000)]
Don't overwite config files in RPM (bug #2036)

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

18 years agoMade changes to app_rpt.c and rpt.conf, including fully user-definable DTMF
Jim Dixon [Wed, 14 Jul 2004 05:54:54 +0000 (05:54 +0000)]
Made changes to app_rpt.c and rpt.conf, including fully user-definable DTMF
command definitions, and an improved ID methodology.

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

18 years agoPublish DIALEDTIME and ANSWEREDTIME in case people want to know them
Mark Spencer [Wed, 14 Jul 2004 01:10:24 +0000 (01:10 +0000)]
Publish DIALEDTIME and ANSWEREDTIME in case people want to know them

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

18 years agofix compiler warning in res_config_odbc.c
Anthony Minessale II [Tue, 13 Jul 2004 22:53:17 +0000 (22:53 +0000)]
fix compiler warning in res_config_odbc.c

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

18 years agoUse tohost, not the name of the peer
Mark Spencer [Tue, 13 Jul 2004 02:44:11 +0000 (02:44 +0000)]
Use tohost,  not the name of the peer

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

18 years agoFix silly little seg
Mark Spencer [Tue, 13 Jul 2004 02:34:02 +0000 (02:34 +0000)]
Fix silly little seg

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

18 years agoMake code agree with documentation so you can use sip peers
Mark Spencer [Tue, 13 Jul 2004 02:20:44 +0000 (02:20 +0000)]
Make code agree with documentation so you can use sip peers

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

18 years agoattempt to stop lamers from doing inband DTMFon compressed codecs
Jeremy McNamara [Mon, 12 Jul 2004 20:06:05 +0000 (20:06 +0000)]
attempt to stop lamers from doing inband DTMFon compressed codecs

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

18 years agoMerge cosmetic fixes from steve
Mark Spencer [Mon, 12 Jul 2004 15:33:40 +0000 (15:33 +0000)]
Merge cosmetic fixes from steve

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

18 years agoFirst pass at properly handling account codes in forwarding
Mark Spencer [Mon, 12 Jul 2004 14:46:10 +0000 (14:46 +0000)]
First pass at properly handling account codes in forwarding

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

18 years agoJust to be especially nice, only send 100 Trying at the start of parking and don...
Mark Spencer [Fri, 9 Jul 2004 22:43:15 +0000 (22:43 +0000)]
Just to be especially nice, only send 100 Trying at the start of parking and don't send the 202 Accepted until the end -- still doesn't help the SNOM.  They seem to give dialtone as soon as they send REFER...

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

18 years agoFix silly pbx spool buglet (bug #2007)
Mark Spencer [Fri, 9 Jul 2004 21:34:24 +0000 (21:34 +0000)]
Fix silly pbx spool buglet (bug #2007)

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

18 years agoFixes from bkw_. Formatting in app_db.c and handle start right in cdr_pgsql.c
James Golovich [Fri, 9 Jul 2004 16:19:00 +0000 (16:19 +0000)]
Fixes from bkw_.  Formatting in app_db.c and handle start right in cdr_pgsql.c

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

18 years agofix res_config_odbc iax dual peer issue
Anthony Minessale II [Fri, 9 Jul 2004 14:47:59 +0000 (14:47 +0000)]
fix res_config_odbc iax dual peer issue

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

18 years agoExpire time fix (bug #1996)
Mark Spencer [Fri, 9 Jul 2004 11:03:33 +0000 (11:03 +0000)]
Expire time fix (bug #1996)

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

18 years agoSwap states early in masquerade process (bug #1987)
Mark Spencer [Fri, 9 Jul 2004 10:57:43 +0000 (10:57 +0000)]
Swap states early in masquerade process (bug #1987)

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

18 years agoFix Zap buglet, add support for SIP parking -- doesn't seem to work quite right on...
Mark Spencer [Fri, 9 Jul 2004 10:46:50 +0000 (10:46 +0000)]
Fix Zap buglet, add support for SIP parking -- doesn't seem to work quite right on SNOM.

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

18 years agoMore strcpy / snprintf as part of rgagnon's audit (bug #2004)
Mark Spencer [Fri, 9 Jul 2004 10:08:09 +0000 (10:08 +0000)]
More strcpy / snprintf as part of rgagnon's audit (bug #2004)

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

18 years agofix seg fault condition
Jeremy McNamara [Fri, 9 Jul 2004 08:52:35 +0000 (08:52 +0000)]
fix seg fault condition

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

18 years agoGive Busy() and Congestion() an optional timeout
Mark Spencer [Fri, 9 Jul 2004 08:32:09 +0000 (08:32 +0000)]
Give Busy() and Congestion() an optional timeout

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

18 years agoAdd "skipaftercmd" option to voicemail to move to the next message automatically...
Mark Spencer [Fri, 9 Jul 2004 07:39:39 +0000 (07:39 +0000)]
Add "skipaftercmd" option to voicemail to move to the next message automatically (bug #1984)

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

18 years agoFix provisioning for unload/reload
Mark Spencer [Fri, 9 Jul 2004 07:37:44 +0000 (07:37 +0000)]
Fix provisioning for unload/reload

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

18 years agoMassive res_config_odbc.c formatting cleanups from bkw_. Thanks!!!
James Golovich [Thu, 8 Jul 2004 20:16:28 +0000 (20:16 +0000)]
Massive res_config_odbc.c formatting cleanups from bkw_.  Thanks!!!

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

18 years agoMassive code formatting cleanup in res_odbc.c thanks to bkw_
James Golovich [Thu, 8 Jul 2004 19:58:26 +0000 (19:58 +0000)]
Massive code formatting cleanup in res_odbc.c thanks to bkw_

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

18 years agoBug # 1973: Change write to ast_carefulwrite
Malcolm Davenport [Thu, 8 Jul 2004 19:41:34 +0000 (19:41 +0000)]
Bug # 1973: Change write to ast_carefulwrite

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

18 years agoFix *BSD compilation of iax2-provision.c. We should probably move the IPTOS_MINCOST...
James Golovich [Thu, 8 Jul 2004 19:35:42 +0000 (19:35 +0000)]
Fix *BSD compilation of iax2-provision.c.  We should probably move the IPTOS_MINCOST checking stuff over to a header fle that gets included

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

18 years agoCleanup recent manager changes. We have a doc/CODING-GUIDELINES file for
James Golovich [Thu, 8 Jul 2004 17:08:38 +0000 (17:08 +0000)]
Cleanup recent manager changes.  We have a doc/CODING-GUIDELINES file for
a reason.  Make sure all future patches follow the guidelines.

Some of the problems with this include:
Unnecessary whitespace changes
Use of spaces instead of tabs
Code formatting that doesn't follow the published guidelines
Nested statements without braces
Comment problems

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

18 years agoDon't free until after externnotify (bug #1993)
Mark Spencer [Thu, 8 Jul 2004 16:24:16 +0000 (16:24 +0000)]
Don't free until after externnotify (bug #1993)

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

18 years agoThis patch allows an event mask to be sent on a manager login session
Anthony Minessale II [Thu, 8 Jul 2004 15:39:35 +0000 (15:39 +0000)]
This patch allows an event mask to be sent on a manager login session
either using an integer value or a ',' sep list of flags exactly like
the manager.conf read and write lines.

e.g.
Events: system,call,log
or
Events: off
or
Events: on

Also you can change it mid-session with Action: Events

e.g.
Action: Events
EventMask: system,call,log

-Tony (anthm)

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

18 years agoRe-fix bug #1977 (bug #1997)
Mark Spencer [Thu, 8 Jul 2004 15:03:48 +0000 (15:03 +0000)]
Re-fix bug #1977 (bug #1997)

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

18 years agoBug #: 1992. Include priority
Malcolm Davenport [Thu, 8 Jul 2004 14:49:03 +0000 (14:49 +0000)]
Bug #: 1992.  Include priority

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

18 years agoUse real bind address
Mark Spencer [Thu, 8 Jul 2004 14:06:22 +0000 (14:06 +0000)]
Use real bind address

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

18 years agoMerge bkw_'s ODBC patch
Mark Spencer [Thu, 8 Jul 2004 13:18:04 +0000 (13:18 +0000)]
Merge bkw_'s ODBC patch

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

18 years agoUse proper bind address
Mark Spencer [Thu, 8 Jul 2004 13:04:42 +0000 (13:04 +0000)]
Use proper bind address

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

18 years agoExtend bindaddr to RTP connections on SIP (bug #1989 et al)
Mark Spencer [Thu, 8 Jul 2004 11:46:15 +0000 (11:46 +0000)]
Extend bindaddr to RTP connections on SIP (bug #1989 et al)

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

18 years agoCleanup SIP formatting, strncpy's strncats and global variable names (bug #1990)
Mark Spencer [Thu, 8 Jul 2004 11:05:03 +0000 (11:05 +0000)]
Cleanup SIP formatting, strncpy's strncats and global variable names (bug #1990)

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

18 years agoMake ringing clearer
Mark Spencer [Thu, 8 Jul 2004 09:20:14 +0000 (09:20 +0000)]
Make ringing clearer

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

18 years agoAdd SQLite CDR support (bug #1986)
Mark Spencer [Thu, 8 Jul 2004 08:29:26 +0000 (08:29 +0000)]
Add SQLite CDR support (bug #1986)

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

18 years agoMerge matt's voicemail patch with some restructuring (bug #1971)
Mark Spencer [Thu, 8 Jul 2004 07:31:09 +0000 (07:31 +0000)]
Merge matt's voicemail patch with some restructuring (bug #1971)

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

18 years agoWhen doing rport, remove the ";rport" before adding ";rport=5060"
Mark Spencer [Thu, 8 Jul 2004 07:21:52 +0000 (07:21 +0000)]
When doing rport, remove the ";rport" before adding ";rport=5060"

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

18 years agoTrivial fix for README.messages-expire
Malcolm Davenport [Wed, 7 Jul 2004 21:02:07 +0000 (21:02 +0000)]
Trivial fix for README.messages-expire

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

18 years agoBug #: 1988 Fix compile problem with iax2-provision.c under
Malcolm Davenport [Wed, 7 Jul 2004 17:26:28 +0000 (17:26 +0000)]
Bug #: 1988 Fix compile problem with iax2-provision.c under
FreeBSD

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

18 years agoCleanups to the ordering of events in dial, don't freak out on the wrong codec
Mark Spencer [Wed, 7 Jul 2004 16:02:13 +0000 (16:02 +0000)]
Cleanups to the ordering of events in dial, don't freak out on the wrong codec

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

18 years agoDeprecate emailtitle since emailsubject is more powerful.
Mark Spencer [Wed, 7 Jul 2004 12:42:44 +0000 (12:42 +0000)]
Deprecate emailtitle since emailsubject is more powerful.

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

18 years agovoicemail cleanups from rgagnon (bug #1977)
Mark Spencer [Wed, 7 Jul 2004 12:29:20 +0000 (12:29 +0000)]
voicemail cleanups from rgagnon (bug #1977)

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

18 years agoAdd IAX provisioning support to Asterisk
Mark Spencer [Wed, 7 Jul 2004 09:34:01 +0000 (09:34 +0000)]
Add IAX provisioning support to Asterisk

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

18 years agoFix typo in sample config
Mark Spencer [Sat, 3 Jul 2004 22:44:17 +0000 (22:44 +0000)]
Fix typo in sample config

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

18 years agoFix compiler warning because file.h isnt included
James Golovich [Sat, 3 Jul 2004 16:19:23 +0000 (16:19 +0000)]
Fix compiler warning because file.h isnt included

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

18 years agoadd utils.h include. Bug #1965
Jeremy McNamara [Sat, 3 Jul 2004 05:22:21 +0000 (05:22 +0000)]
add utils.h include. Bug #1965

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

18 years agoBack out accidental changes by anthm
Mark Spencer [Fri, 2 Jul 2004 23:11:14 +0000 (23:11 +0000)]
Back out accidental changes by anthm

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

18 years agoautodial update
Anthony Minessale II [Fri, 2 Jul 2004 22:40:09 +0000 (22:40 +0000)]
autodial update

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

18 years agoMake app_txtcidname.c use ast_strlen_zero and cleanup the code a bit
James Golovich [Fri, 2 Jul 2004 19:24:16 +0000 (19:24 +0000)]
Make app_txtcidname.c use ast_strlen_zero and cleanup the code a bit

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

18 years agoFix TXT lookups so they dont strip off the last 2 characters
James Golovich [Fri, 2 Jul 2004 19:20:09 +0000 (19:20 +0000)]
Fix TXT lookups so they dont strip off the last 2 characters

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

18 years agoFix missing context when calling app_hasvoicemail (bug #1962)
Mark Spencer [Thu, 1 Jul 2004 21:58:50 +0000 (21:58 +0000)]
Fix missing context when calling app_hasvoicemail (bug #1962)

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

18 years agoMerge Steven Davies latest jitter buffer patch
Mark Spencer [Thu, 1 Jul 2004 21:55:06 +0000 (21:55 +0000)]
Merge Steven Davies latest jitter buffer patch

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

18 years agobring justice to gotoif's always true bug
Anthony Minessale II [Thu, 1 Jul 2004 20:42:49 +0000 (20:42 +0000)]
bring justice to gotoif's always true bug

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

18 years agoReverse login on voicemail email sending. Last change made it send email only if...
James Golovich [Thu, 1 Jul 2004 17:34:42 +0000 (17:34 +0000)]
Reverse login on voicemail email sending.  Last change made it send email only if there was no address specified

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

18 years agoFix IAX2 registration time. We want to set reg->refresh to the new value only if...
James Golovich [Thu, 1 Jul 2004 04:04:30 +0000 (04:04 +0000)]
Fix IAX2 registration time.  We want to set reg->refresh to the new value only if its lower not if its higher. (bug 1955)

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

18 years agoFix stupid typo
Malcolm Davenport [Wed, 30 Jun 2004 18:30:48 +0000 (18:30 +0000)]
Fix stupid typo

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

18 years agoBug #1957. Take two
Malcolm Davenport [Wed, 30 Jun 2004 18:30:10 +0000 (18:30 +0000)]
Bug #1957.  Take two

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

18 years ago"Unfix" Bug 1957...this isn't the solution
Malcolm Davenport [Wed, 30 Jun 2004 18:11:56 +0000 (18:11 +0000)]
"Unfix" Bug 1957...this isn't the solution

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

18 years agoBug # 1957. No more sending e-mails if the address isn't
Malcolm Davenport [Wed, 30 Jun 2004 17:49:42 +0000 (17:49 +0000)]
Bug # 1957. No more sending e-mails if the address isn't
present.

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

18 years agoUse INET_ADDRLEN (bug #1956) (from airport!)
Mark Spencer [Wed, 30 Jun 2004 16:56:51 +0000 (16:56 +0000)]
Use INET_ADDRLEN (bug #1956) (from airport!)

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

18 years agoRead/Record updates (bug #1947)
Mark Spencer [Wed, 30 Jun 2004 16:04:28 +0000 (16:04 +0000)]
Read/Record updates (bug #1947)

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

18 years agoBug #1952: iaxbuf now declared in chan_iax2.c and chan_sip.c
Malcolm Davenport [Wed, 30 Jun 2004 13:57:49 +0000 (13:57 +0000)]
Bug #1952: iaxbuf now declared in chan_iax2.c and chan_sip.c

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

18 years agoMerge Steven Davie's timestamp improvements
Mark Spencer [Wed, 30 Jun 2004 06:03:57 +0000 (06:03 +0000)]
Merge Steven Davie's timestamp improvements

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

18 years agoAdd "show file formats" (courtesy bkw_) and Update IAXY firmware to 17 (altserver...
Mark Spencer [Wed, 30 Jun 2004 03:22:29 +0000 (03:22 +0000)]
Add "show file formats" (courtesy bkw_) and Update IAXY firmware to 17 (altserver support)

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

18 years agoFormatting fixes (bug #1951)
Mark Spencer [Tue, 29 Jun 2004 20:10:57 +0000 (20:10 +0000)]
Formatting fixes (bug #1951)

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

18 years agoMinor formatting fixes for pbx_wilcalu
Mark Spencer [Tue, 29 Jun 2004 20:09:43 +0000 (20:09 +0000)]
Minor formatting fixes for pbx_wilcalu

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

18 years agoUse snprintf in __ast_request_and_dial instead of sprintf
James Golovich [Tue, 29 Jun 2004 19:29:03 +0000 (19:29 +0000)]
Use snprintf in __ast_request_and_dial instead of sprintf

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

18 years agoOne more FreeBSD fix
Mark Spencer [Tue, 29 Jun 2004 19:21:25 +0000 (19:21 +0000)]
One more FreeBSD fix

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

18 years agoUpdate variable descriptions (bug #1948)
Mark Spencer [Tue, 29 Jun 2004 18:02:38 +0000 (18:02 +0000)]
Update variable descriptions (bug #1948)

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

18 years agoRemove duplicate declaration (bug #1950)
Mark Spencer [Tue, 29 Jun 2004 18:00:14 +0000 (18:00 +0000)]
Remove duplicate declaration (bug #1950)

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

18 years agoFreeBSD fix for utils (bug #1949)
Mark Spencer [Tue, 29 Jun 2004 17:54:25 +0000 (17:54 +0000)]
FreeBSD fix for utils (bug #1949)

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

18 years agoMake history configurable
Mark Spencer [Tue, 29 Jun 2004 14:44:29 +0000 (14:44 +0000)]
Make history configurable

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

18 years agoReport checksum failures as such (bug #1942)
Mark Spencer [Tue, 29 Jun 2004 14:22:27 +0000 (14:22 +0000)]
Report checksum failures as such (bug #1942)

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

18 years agoDisplay invalid extension when there is one, fix minor OSP typo, Don't send 200 OK...
Mark Spencer [Tue, 29 Jun 2004 13:52:03 +0000 (13:52 +0000)]
Display invalid extension when there is one, fix minor OSP typo, Don't send 200 OK after 403 Forbidden on SUBSCRIBE

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

18 years agoPrefer extensions within a macro to those outside (bug #1943)
Mark Spencer [Tue, 29 Jun 2004 13:12:18 +0000 (13:12 +0000)]
Prefer extensions within a macro to those outside (bug #1943)

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

18 years agoDon't build old chan_iax by default (oops)
Mark Spencer [Tue, 29 Jun 2004 13:03:39 +0000 (13:03 +0000)]
Don't build old chan_iax by default (oops)

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

18 years agoUpdate asterisk spec file (bug #1946)
Mark Spencer [Tue, 29 Jun 2004 12:57:52 +0000 (12:57 +0000)]
Update asterisk spec file (bug #1946)

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

18 years agoCreate reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's ...
Mark Spencer [Tue, 29 Jun 2004 12:56:46 +0000 (12:56 +0000)]
Create reentrant ast_inet_ntoa and replace all inet_ntoa's with ast_inet_ntoa's (but #1944)

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

18 years agoOops (fix typo)
Mark Spencer [Tue, 29 Jun 2004 12:40:15 +0000 (12:40 +0000)]
Oops (fix typo)

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

18 years agoPerform deadlock avoidance on initial entry, too
Mark Spencer [Tue, 29 Jun 2004 12:38:04 +0000 (12:38 +0000)]
Perform deadlock avoidance on initial entry, too

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

18 years agoPlaceholder for GR303-FXSKS signalling (not yet finished)
Mark Spencer [Tue, 29 Jun 2004 11:45:51 +0000 (11:45 +0000)]
Placeholder for GR303-FXSKS signalling (not yet finished)

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

18 years agoFix small typo (bug #1945)
Mark Spencer [Tue, 29 Jun 2004 11:40:54 +0000 (11:40 +0000)]
Fix small typo (bug #1945)

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

18 years agoAvoid potential deadlocks in channel_walk_locked, and detect serious failures
Mark Spencer [Tue, 29 Jun 2004 10:51:00 +0000 (10:51 +0000)]
Avoid potential deadlocks in channel_walk_locked, and detect serious failures

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

18 years agoAdd manager action descriptions for 'Events', 'Logoff', and 'Hangup'.
James Golovich [Tue, 29 Jun 2004 05:04:48 +0000 (05:04 +0000)]
Add manager action descriptions for 'Events', 'Logoff', and 'Hangup'.

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

18 years agoMore improvements to app_rpt.c
Jim Dixon [Tue, 29 Jun 2004 04:43:20 +0000 (04:43 +0000)]
More improvements to app_rpt.c

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

18 years agoMore formatting cleanups.
James Golovich [Tue, 29 Jun 2004 04:42:19 +0000 (04:42 +0000)]
More formatting cleanups.

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