asterisk/asterisk.git
16 years agoPatch Submitted by BKW on 5/10/2004 to chan_sip.c
Anthony Minessale II [Mon, 10 May 2004 18:45:20 +0000 (18:45 +0000)]
Patch Submitted by BKW on 5/10/2004 to chan_sip.c
Fixing 'show help' inefficency.

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

16 years agoAllow characterset to be specified (bug #1598)
Mark Spencer [Mon, 10 May 2004 13:27:39 +0000 (13:27 +0000)]
Allow characterset to be specified (bug #1598)

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

16 years agoSet mimetype to lower case (bug #1597)
Mark Spencer [Mon, 10 May 2004 13:18:12 +0000 (13:18 +0000)]
Set mimetype to lower case (bug #1597)

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

16 years agoFix missing semicolons in sample configurations (bug #1596)
Mark Spencer [Mon, 10 May 2004 13:16:09 +0000 (13:16 +0000)]
Fix missing semicolons in sample configurations (bug #1596)

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

16 years agoMore minor bkw fixes
Mark Spencer [Sun, 9 May 2004 23:40:49 +0000 (23:40 +0000)]
More minor bkw fixes

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

16 years agomerge brian's cleanups
Mark Spencer [Sun, 9 May 2004 22:03:38 +0000 (22:03 +0000)]
merge brian's cleanups

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

16 years agoInclude app.h in senddtmf (bug #1594)
Mark Spencer [Sun, 9 May 2004 21:07:38 +0000 (21:07 +0000)]
Include app.h in senddtmf (bug #1594)

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

16 years agoAdd SIPUSERAGENT, SIPCALLID, and fix some formatting (bug #1593)
Mark Spencer [Sun, 9 May 2004 21:05:43 +0000 (21:05 +0000)]
Add SIPUSERAGENT, SIPCALLID, and fix some formatting (bug #1593)

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

16 years agoFix accidental strlen_zero mistransfer (bug #1592)
Mark Spencer [Sun, 9 May 2004 20:46:18 +0000 (20:46 +0000)]
Fix accidental strlen_zero mistransfer (bug #1592)

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

16 years agoFix minor formatting problem
Mark Spencer [Sun, 9 May 2004 19:39:23 +0000 (19:39 +0000)]
Fix minor formatting problem

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

16 years agoRemove "jitter"
Mark Spencer [Sun, 9 May 2004 19:18:15 +0000 (19:18 +0000)]
Remove "jitter"

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

16 years agoMerge Connor's ringback feature for queue (bug #1560)
Mark Spencer [Sun, 9 May 2004 19:13:43 +0000 (19:13 +0000)]
Merge Connor's ringback feature for queue (bug #1560)

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

16 years agoAdd new file utils.c, Move ast_gethostbyname to utils.c
James Golovich [Sun, 9 May 2004 08:22:15 +0000 (08:22 +0000)]
Add new file utils.c, Move ast_gethostbyname to utils.c

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

16 years agoMore ast_strlen_zero changes
James Golovich [Sun, 9 May 2004 07:51:44 +0000 (07:51 +0000)]
More ast_strlen_zero changes

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

16 years agoCode formatting fixes in pbx.c (still more todo)
James Golovich [Sun, 9 May 2004 07:19:00 +0000 (07:19 +0000)]
Code formatting fixes in pbx.c (still more todo)

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

16 years agoFix null pointer dereference in app_groupcount.c (bug 1588)
James Golovich [Sun, 9 May 2004 06:23:30 +0000 (06:23 +0000)]
Fix null pointer dereference in app_groupcount.c (bug 1588)

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

16 years agoShow peers formatting fixes, SIP strlen optimizations, and using ACL for local networ...
Mark Spencer [Sat, 8 May 2004 20:58:24 +0000 (20:58 +0000)]
Show peers formatting fixes, SIP strlen optimizations, and using ACL for local network matching (bugs #1587, 1586, 1585, 1584)

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

16 years agoUpdate default astman types for newer newt (bug #1578)
Mark Spencer [Sat, 8 May 2004 20:41:27 +0000 (20:41 +0000)]
Update default astman types for newer newt (bug #1578)

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

16 years agoAdd Spanish support to say date with format (bug #1583)
Mark Spencer [Sat, 8 May 2004 15:47:01 +0000 (15:47 +0000)]
Add Spanish support to say date with format (bug #1583)

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

16 years agoCopy musicclass to right field (bug #1582)
Mark Spencer [Sat, 8 May 2004 14:45:49 +0000 (14:45 +0000)]
Copy musicclass to right field (bug #1582)

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

16 years agoAllow notransfer to be a global option
Mark Spencer [Sat, 8 May 2004 14:38:48 +0000 (14:38 +0000)]
Allow notransfer to be a global option

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

16 years agoAdd missing unlock (although it shouldn't make a difference)
Mark Spencer [Sat, 8 May 2004 14:24:58 +0000 (14:24 +0000)]
Add missing unlock (although it shouldn't make a difference)

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

16 years agoast_strlen_zero changes
James Golovich [Sat, 8 May 2004 08:07:47 +0000 (08:07 +0000)]
ast_strlen_zero changes

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

16 years agoDo proper PRI locking in zt_call (not to mention lock the zt_pvt structure itself)
Mark Spencer [Fri, 7 May 2004 21:22:46 +0000 (21:22 +0000)]
Do proper PRI locking in zt_call (not to mention lock the zt_pvt structure itself)

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

16 years agoCode cleanup
James Golovich [Fri, 7 May 2004 21:14:55 +0000 (21:14 +0000)]
Code cleanup

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

16 years agoCreated API call ast_dtmf_stream
Anthony Minessale II [Fri, 7 May 2004 20:39:14 +0000 (20:39 +0000)]
Created API call ast_dtmf_stream
int ast_dtmf_stream(struct ast_channel *chan,struct ast_channel *peer,char *digits,int between)

changed app_senddtmf.c to use this new call
added D() parameter to app_dial to allow post connect dtmf stream to be sent using above call

-Tony

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

16 years agoCheck h_addr_list, too
Mark Spencer [Fri, 7 May 2004 20:18:55 +0000 (20:18 +0000)]
Check h_addr_list, too

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

16 years agoCheck that hp->h_addr is not NULL before returning success (bug #1576)
Mark Spencer [Fri, 7 May 2004 20:15:45 +0000 (20:15 +0000)]
Check that hp->h_addr is not NULL before returning success (bug #1576)

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

16 years agoAdd sip show peers (trivial zap fix, too) bug #1573
Mark Spencer [Fri, 7 May 2004 18:57:17 +0000 (18:57 +0000)]
Add sip show peers (trivial zap fix, too) bug #1573

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

16 years agoAdd debugging to failure
Mark Spencer [Fri, 7 May 2004 14:08:50 +0000 (14:08 +0000)]
Add debugging to failure

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

16 years agomake channel.c use autoservice_start/stop when playing warning sound files
Anthony Minessale II [Thu, 6 May 2004 22:29:00 +0000 (22:29 +0000)]
make channel.c use autoservice_start/stop when playing warning sound files
during bridged calls.

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

16 years agoAdd "sip show subscriptions" command (bug #1569)
Mark Spencer [Thu, 6 May 2004 21:30:45 +0000 (21:30 +0000)]
Add "sip show subscriptions" command (bug #1569)

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

16 years agoUse ast_strlen_zero in file.c
James Golovich [Thu, 6 May 2004 21:17:06 +0000 (21:17 +0000)]
Use ast_strlen_zero in file.c

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

16 years agoUse ast_strlen_zero in channel.c
James Golovich [Thu, 6 May 2004 21:04:22 +0000 (21:04 +0000)]
Use ast_strlen_zero in channel.c

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

16 years agoUse ast_strlen_zero in cli.c
James Golovich [Thu, 6 May 2004 20:49:24 +0000 (20:49 +0000)]
Use ast_strlen_zero in cli.c

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

16 years agoFix silly typo in iax2 where strlen was used instead of sizeof
Mark Spencer [Thu, 6 May 2004 20:39:31 +0000 (20:39 +0000)]
Fix silly typo in iax2 where strlen was used instead of sizeof

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

16 years agoUse ast_strlen_zero in logger.c
James Golovich [Thu, 6 May 2004 20:23:48 +0000 (20:23 +0000)]
Use ast_strlen_zero in logger.c

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

16 years agoUse ast_strlen_zero in cdr.c
James Golovich [Thu, 6 May 2004 20:21:06 +0000 (20:21 +0000)]
Use ast_strlen_zero in cdr.c

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

16 years agoAllow global authentication realm to be set (bug #1567)
Mark Spencer [Thu, 6 May 2004 20:00:19 +0000 (20:00 +0000)]
Allow global authentication realm to be set (bug #1567)

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

16 years agoEnhance Spanish and Mexican support (bug #1566) thanks!
Mark Spencer [Thu, 6 May 2004 19:40:13 +0000 (19:40 +0000)]
Enhance Spanish and Mexican support (bug #1566) thanks!

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

16 years agoDon't autodestruct on semi-ack. We'll add it as we need it case-by-case.
Mark Spencer [Thu, 6 May 2004 14:41:03 +0000 (14:41 +0000)]
Don't autodestruct on semi-ack.  We'll add it as we need it case-by-case.

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

16 years agofix formatting, from bkw
Jeremy McNamara [Thu, 6 May 2004 03:20:05 +0000 (03:20 +0000)]
fix formatting, from bkw

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

16 years agoIf user fails host access, search for peers too
Mark Spencer [Thu, 6 May 2004 01:33:24 +0000 (01:33 +0000)]
If user fails host access, search for peers too

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

16 years agoinclude utils.h in chan_iax2.c
James Golovich [Wed, 5 May 2004 22:13:27 +0000 (22:13 +0000)]
include utils.h in chan_iax2.c

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

16 years agoUse ast_strlen_zero in chan_iax2.c
James Golovich [Wed, 5 May 2004 21:14:36 +0000 (21:14 +0000)]
Use ast_strlen_zero in chan_iax2.c

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

16 years agoInclude utils.h in chan_skinny.c
James Golovich [Wed, 5 May 2004 05:16:42 +0000 (05:16 +0000)]
Include utils.h in chan_skinny.c

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

16 years agouse ast_strlen_zero
Jeremy McNamara [Wed, 5 May 2004 05:03:48 +0000 (05:03 +0000)]
use ast_strlen_zero

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

16 years agoUse ast_strlen_zero in chan_zap.c
James Golovich [Wed, 5 May 2004 04:23:18 +0000 (04:23 +0000)]
Use ast_strlen_zero in chan_zap.c

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

16 years agoIgnore dupe packets for RFC2833 (bug #1034)
Mark Spencer [Wed, 5 May 2004 03:56:27 +0000 (03:56 +0000)]
Ignore dupe packets for RFC2833 (bug #1034)

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

16 years agoQualify that SIP INFO stuff is real (bug #1558)
Mark Spencer [Wed, 5 May 2004 01:56:03 +0000 (01:56 +0000)]
Qualify that SIP INFO stuff is real (bug #1558)

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

16 years agoFix SIP autohangup mishap
Mark Spencer [Tue, 4 May 2004 20:10:37 +0000 (20:10 +0000)]
Fix SIP autohangup mishap

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

16 years agoPrint route when doing sip show channel foo
Mark Spencer [Tue, 4 May 2004 19:41:31 +0000 (19:41 +0000)]
Print route when doing sip show channel foo

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

16 years agoMake sure we don't accidently send weird delivery times on DISA
Mark Spencer [Tue, 4 May 2004 19:20:20 +0000 (19:20 +0000)]
Make sure we don't accidently send weird delivery times on DISA

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

16 years agostrlen fixes and don't destroy SIP channels that still have pending things on them...
Mark Spencer [Tue, 4 May 2004 19:11:25 +0000 (19:11 +0000)]
strlen fixes and don't destroy SIP channels that still have pending things on them (bug #1552 et al)

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

16 years agoDocumentation fixes (bug #1554).
Mark Spencer [Tue, 4 May 2004 16:33:31 +0000 (16:33 +0000)]
Documentation fixes (bug #1554).

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

16 years agoAdd app_groupcount to manage groups
Mark Spencer [Tue, 4 May 2004 16:09:35 +0000 (16:09 +0000)]
Add app_groupcount to manage groups

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

16 years agoMore strlen_zero checks (bug #1549)
Mark Spencer [Tue, 4 May 2004 14:54:42 +0000 (14:54 +0000)]
More strlen_zero checks (bug #1549)

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

16 years agoFix swedish, german, and french support for say number (bug #1550)
Mark Spencer [Tue, 4 May 2004 14:33:27 +0000 (14:33 +0000)]
Fix swedish, german, and french support for say number (bug #1550)

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

16 years agoChange strlen calls to ast_strlen_zero in callerid.c
James Golovich [Tue, 4 May 2004 06:42:06 +0000 (06:42 +0000)]
Change strlen calls to ast_strlen_zero in callerid.c

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

16 years agoChange strlen calls to ast_strlen_zero in pbx.c
James Golovich [Tue, 4 May 2004 06:34:34 +0000 (06:34 +0000)]
Change strlen calls to ast_strlen_zero in pbx.c

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

16 years agoMore expression fixes (bug #1548 again)
Mark Spencer [Tue, 4 May 2004 03:23:35 +0000 (03:23 +0000)]
More expression fixes (bug #1548 again)

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

16 years agoClean agi-sphinx-test (bug #1547)
Mark Spencer [Tue, 4 May 2004 01:46:01 +0000 (01:46 +0000)]
Clean agi-sphinx-test (bug #1547)

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

16 years agoUpdate for backwards compatability (bug #1548)
Mark Spencer [Tue, 4 May 2004 01:45:00 +0000 (01:45 +0000)]
Update for backwards compatability (bug #1548)

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

16 years agouse ast_stren_zero
Jeremy McNamara [Mon, 3 May 2004 22:19:03 +0000 (22:19 +0000)]
use ast_stren_zero

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

16 years agoAdd swedish support, fix german support (bug #1543)
Mark Spencer [Mon, 3 May 2004 21:10:57 +0000 (21:10 +0000)]
Add swedish support, fix german support (bug #1543)

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

16 years agoUse strlen_zero function in chan_sip (bug #1545)
Mark Spencer [Mon, 3 May 2004 21:01:14 +0000 (21:01 +0000)]
Use strlen_zero function in chan_sip (bug #1545)

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

16 years agoFix compiler warning
Mark Spencer [Mon, 3 May 2004 21:00:20 +0000 (21:00 +0000)]
Fix compiler warning

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

16 years agoDon't update route once it's set (bug #1491)
Mark Spencer [Mon, 3 May 2004 20:06:38 +0000 (20:06 +0000)]
Don't update route once it's set (bug #1491)

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

16 years agoOops, actually use the right variable in channels/Makefile
James Golovich [Mon, 3 May 2004 19:29:52 +0000 (19:29 +0000)]
Oops, actually use the right variable in channels/Makefile

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

16 years agoFix channels/Makefile so USE_MYSQL_FRIENDS implies USE_SIP_MYSQL_FRIENDS
James Golovich [Mon, 3 May 2004 19:14:50 +0000 (19:14 +0000)]
Fix channels/Makefile so USE_MYSQL_FRIENDS implies USE_SIP_MYSQL_FRIENDS

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

16 years agoAdd "insecure=very" where we don't authenticate peers who are registered
Mark Spencer [Mon, 3 May 2004 05:14:52 +0000 (05:14 +0000)]
Add "insecure=very" where we don't authenticate peers who are registered

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

16 years agoMerge slepp's sub-second expiration timer although hopefully it will never have to...
Mark Spencer [Mon, 3 May 2004 05:03:19 +0000 (05:03 +0000)]
Merge slepp's sub-second expiration timer although hopefully it will never have to be used.

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

16 years agoInternationalize say_date_time, fix small pbx_config seglet (bug #1537)
Mark Spencer [Mon, 3 May 2004 04:38:31 +0000 (04:38 +0000)]
Internationalize say_date_time, fix small pbx_config seglet (bug #1537)

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

16 years agoChange strlen calls to ast_strlen_zero in voicemail checking stuff because it is...
James Golovich [Mon, 3 May 2004 04:37:03 +0000 (04:37 +0000)]
Change strlen calls to ast_strlen_zero in voicemail checking stuff because it is called all the time

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

16 years agoMake directory spell name if available
Mark Spencer [Mon, 3 May 2004 04:36:46 +0000 (04:36 +0000)]
Make directory spell name if available

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

16 years agoAdd include/asterisk/utils.h file. Which includes the function
James Golovich [Mon, 3 May 2004 04:31:11 +0000 (04:31 +0000)]
Add include/asterisk/utils.h file.  Which includes the function
ast_strlen_zero, which should be used instead of strlen to check if a
string has length or doesn't have length.

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

16 years agoMerge BKW's mp3 improvements
Mark Spencer [Mon, 3 May 2004 03:32:04 +0000 (03:32 +0000)]
Merge BKW's mp3 improvements

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

16 years agoMerge slepp's REGISTER RFC compliance fixes (bug #1538)
Mark Spencer [Mon, 3 May 2004 02:22:19 +0000 (02:22 +0000)]
Merge slepp's REGISTER RFC compliance fixes (bug #1538)

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

16 years agoCode formatting cleanup in channel.c
James Golovich [Mon, 3 May 2004 02:02:27 +0000 (02:02 +0000)]
Code formatting cleanup in channel.c

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

16 years agoAdd SayPhonetic and SayAlpha applications (bug #793)
Mark Spencer [Mon, 3 May 2004 00:54:16 +0000 (00:54 +0000)]
Add SayPhonetic and SayAlpha applications (bug #793)

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

16 years agoAdd doc/CODING-GUIDELINES document
James Golovich [Sun, 2 May 2004 19:24:05 +0000 (19:24 +0000)]
Add doc/CODING-GUIDELINES document

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

16 years agoMerge Tilghman's color patches for the asterisk prompt (bug #1535)
Mark Spencer [Sun, 2 May 2004 19:13:16 +0000 (19:13 +0000)]
Merge Tilghman's color patches for the asterisk prompt (bug #1535)

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

16 years agoLet OSS know how to deal with indication -1
Mark Spencer [Sun, 2 May 2004 17:52:45 +0000 (17:52 +0000)]
Let OSS know how to deal with indication -1

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

16 years agoOn a reload, don't stop supporting sip if we can't find our ip.
Mark Spencer [Sun, 2 May 2004 17:43:15 +0000 (17:43 +0000)]
On a reload, don't stop supporting sip if we can't find our ip.

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

16 years agoAdd new "authname" field so we can authenticate BYE properly on incoming calls (bug...
Mark Spencer [Sun, 2 May 2004 16:30:05 +0000 (16:30 +0000)]
Add new "authname" field so we can authenticate BYE properly on incoming calls (bug #1436)

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

16 years agoOn incoming call, set peername to username to properly authenticate BYE (it's not...
Mark Spencer [Sun, 2 May 2004 16:17:40 +0000 (16:17 +0000)]
On incoming call, set peername to username to properly authenticate BYE (it's not used for anything else, as far as I know)

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

16 years agoMerge Matteo's language setting code for iax2 (bug #1476)
Mark Spencer [Sun, 2 May 2004 06:36:31 +0000 (06:36 +0000)]
Merge Matteo's language setting code for iax2 (bug #1476)

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

16 years agoProvide more fine grained control of sip and iax show peers (bug #1470)
Mark Spencer [Sun, 2 May 2004 05:38:20 +0000 (05:38 +0000)]
Provide more fine grained control of sip and iax show peers (bug #1470)

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

16 years agoMerge murf's generous expression contributions (bug #1292)
Mark Spencer [Sun, 2 May 2004 04:09:35 +0000 (04:09 +0000)]
Merge murf's generous expression contributions (bug #1292)

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

16 years agoMake overlap dial be interpreted in the same way an FXS would be (bugs #1080 and...
Mark Spencer [Sun, 2 May 2004 03:39:17 +0000 (03:39 +0000)]
Make overlap dial be interpreted in the same way an FXS would be (bugs #1080 and #1452)

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

16 years agoAdd new zealand tone definitions
Mark Spencer [Sun, 2 May 2004 02:16:46 +0000 (02:16 +0000)]
Add new zealand tone definitions

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

16 years agoRevert earlier changes. The right answer for bug #1436 should be using username=
Mark Spencer [Sun, 2 May 2004 00:51:11 +0000 (00:51 +0000)]
Revert earlier changes.  The right answer for bug #1436 should be using username=

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

16 years agoAllow "fast" asynchronous manager initiation of events (bug #772)
Mark Spencer [Sat, 1 May 2004 23:52:27 +0000 (23:52 +0000)]
Allow "fast" asynchronous manager initiation of events (bug #772)

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

16 years agoAdd ability to specify custom e-mail subject line (bug #1291)
Mark Spencer [Sat, 1 May 2004 23:28:33 +0000 (23:28 +0000)]
Add ability to specify custom e-mail subject line (bug #1291)

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

16 years agoFurther minor fixup
Mark Spencer [Sat, 1 May 2004 22:29:54 +0000 (22:29 +0000)]
Further minor fixup

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

16 years agoMerge german say number enhancements (bug #1532) thanks!
Mark Spencer [Sat, 1 May 2004 22:14:42 +0000 (22:14 +0000)]
Merge german say number enhancements (bug #1532) thanks!

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

16 years agoMerge sbinger's voicemailf ixes for duration and short files (bug #1282) thanks!
Mark Spencer [Sat, 1 May 2004 22:11:58 +0000 (22:11 +0000)]
Merge sbinger's voicemailf ixes for duration and short files (bug #1282) thanks!

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

16 years agoFix wrap error
Mark Spencer [Sat, 1 May 2004 21:42:11 +0000 (21:42 +0000)]
Fix wrap error

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

16 years agoAllow debug to be enabled on a per-peer or per-IP basis (bug #850)
Mark Spencer [Sat, 1 May 2004 21:25:31 +0000 (21:25 +0000)]
Allow debug to be enabled on a per-peer or per-IP basis (bug #850)

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

16 years agoRid compiler warning, make information meaningful in sip debug for codecs
Mark Spencer [Sat, 1 May 2004 20:59:37 +0000 (20:59 +0000)]
Rid compiler warning, make information meaningful in sip debug for codecs

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