asterisk/asterisk.git
16 years agoAdd Asterisk manpage
Mark Spencer [Sun, 18 Jul 2004 17:58:05 +0000 (17:58 +0000)]
Add Asterisk manpage

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

16 years agoAdd -U and -G options to set user/group to run as
Mark Spencer [Sun, 18 Jul 2004 16:20:54 +0000 (16:20 +0000)]
Add -U and -G options to set user/group to run as

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

16 years agoNeed actual offset space (bug #2076)
Mark Spencer [Sun, 18 Jul 2004 15:58:57 +0000 (15:58 +0000)]
Need actual offset space (bug #2076)

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

16 years agoOops, make that ast_features
Mark Spencer [Sat, 17 Jul 2004 23:56:12 +0000 (23:56 +0000)]
Oops, make that ast_features

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

16 years agoFix the name :)
Mark Spencer [Sat, 17 Jul 2004 23:54:23 +0000 (23:54 +0000)]
Fix the name :)

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

16 years agoDon't consider port number in name of peer in create_addr (bug #1974)
Mark Spencer [Sat, 17 Jul 2004 23:27:11 +0000 (23:27 +0000)]
Don't consider port number in name of peer in create_addr (bug #1974)

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

16 years agoREduce chattyness
Mark Spencer [Sat, 17 Jul 2004 22:06:26 +0000 (22:06 +0000)]
REduce chattyness

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

16 years agoAdd option to disable checksums on RTP UDP ports (bug #2068)
Mark Spencer [Sat, 17 Jul 2004 21:08:12 +0000 (21:08 +0000)]
Add option to disable checksums on RTP UDP ports (bug #2068)

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

16 years agorename "parking" to "features" in preparation for some more (possibly post 1.0) featu...
Mark Spencer [Sat, 17 Jul 2004 20:58:01 +0000 (20:58 +0000)]
rename "parking" to "features" in preparation for some more (possibly post 1.0) feature additions

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

16 years agoUpdate documentaion to be clearer
Mark Spencer [Sat, 17 Jul 2004 20:36:31 +0000 (20:36 +0000)]
Update documentaion to be clearer

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

16 years agoFirst pass at AGI registration
Mark Spencer [Sat, 17 Jul 2004 20:25:39 +0000 (20:25 +0000)]
First pass at AGI registration

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

16 years agoMerge musiconhold stuff (bug #2027), restructure AGI to eventually support registration
Mark Spencer [Sat, 17 Jul 2004 20:12:28 +0000 (20:12 +0000)]
Merge musiconhold stuff (bug #2027), restructure AGI to eventually support registration

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

16 years agoactually implement the setting of noFastStart and noH245Tunneling.
Jeremy McNamara [Sat, 17 Jul 2004 19:38:30 +0000 (19:38 +0000)]
actually implement the setting of noFastStart and noH245Tunneling.

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

16 years agoMake bound more unique (bug #2072)
Mark Spencer [Sat, 17 Jul 2004 19:24:36 +0000 (19:24 +0000)]
Make bound more unique (bug #2072)

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

16 years agoChange IAX2 naming convention
Mark Spencer [Sat, 17 Jul 2004 04:13:12 +0000 (04:13 +0000)]
Change IAX2 naming convention

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

16 years agoUpdate Changelog/BUGS
Mark Spencer [Sat, 17 Jul 2004 02:52:52 +0000 (02:52 +0000)]
Update Changelog/BUGS

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

16 years agoTypo / whitespace fixes (bug #2052)
Mark Spencer [Sat, 17 Jul 2004 02:25:53 +0000 (02:25 +0000)]
Typo / whitespace fixes (bug #2052)

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

16 years agoVoicemail fixes (bug #1982)
Mark Spencer [Sat, 17 Jul 2004 01:34:20 +0000 (01:34 +0000)]
Voicemail fixes (bug #1982)

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

16 years agoAdd separated dialplan support (bug #2043)
Mark Spencer [Sat, 17 Jul 2004 01:30:43 +0000 (01:30 +0000)]
Add separated dialplan support (bug #2043)

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

16 years agoDon't look for bearers when there are none.
Mark Spencer [Fri, 16 Jul 2004 22:15:30 +0000 (22:15 +0000)]
Don't look for bearers when there are none.

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

16 years agoRe-listen after MGCP reload (bug #2061)
Mark Spencer [Fri, 16 Jul 2004 21:22:55 +0000 (21:22 +0000)]
Re-listen after MGCP reload (bug #2061)

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

16 years agoImplement confirmation for PRI
Mark Spencer [Fri, 16 Jul 2004 20:51:54 +0000 (20:51 +0000)]
Implement confirmation for PRI

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

16 years agoFix minor memory leak from tab completion (bug #2059)
Mark Spencer [Fri, 16 Jul 2004 20:41:17 +0000 (20:41 +0000)]
Fix minor memory leak from tab completion (bug #2059)

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

16 years agoOnly apply acking when method matches, too, when not acking a response
Mark Spencer [Fri, 16 Jul 2004 15:45:37 +0000 (15:45 +0000)]
Only apply acking when method matches, too, when not acking a response

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

16 years agoLast set of strncpy/snprintf updates (bug #2049)
Mark Spencer [Fri, 16 Jul 2004 04:40:54 +0000 (04:40 +0000)]
Last set of strncpy/snprintf updates (bug #2049)

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

16 years agoAllow multiple groups (group categories)
Mark Spencer [Fri, 16 Jul 2004 04:32:17 +0000 (04:32 +0000)]
Allow multiple groups (group categories)

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

16 years agoPut header files in -devel package (bug #2058)
Mark Spencer [Fri, 16 Jul 2004 03:46:52 +0000 (03:46 +0000)]
Put header files in -devel package (bug #2058)

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

16 years agoFix native zap bridging with GR-303
Mark Spencer [Fri, 16 Jul 2004 02:24:57 +0000 (02:24 +0000)]
Fix native zap bridging with GR-303

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

16 years agoFix silly typo (and make order slightly easier to read) bug #2054
Mark Spencer [Thu, 15 Jul 2004 22:14:27 +0000 (22:14 +0000)]
Fix silly typo (and make order slightly easier to read) bug #2054

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

16 years agoIf breakon is unspecified, make it ""
Mark Spencer [Thu, 15 Jul 2004 14:37:09 +0000 (14:37 +0000)]
If breakon is unspecified, make it ""

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

16 years agoBuild contact without @ sign if there is no extension
Mark Spencer [Thu, 15 Jul 2004 14:31:20 +0000 (14:31 +0000)]
Build contact without @ sign if there is no extension

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

16 years ago/ changed samples from 240 to 160 as per all other drivers
Ben Kramer [Thu, 15 Jul 2004 01:24:15 +0000 (01:24 +0000)]
/ changed samples from 240 to 160 as per all other drivers

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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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