asterisk/asterisk.git
16 years agoFix callerid on quicknet stuff (bug #1613)
Mark Spencer [Sun, 16 May 2004 17:54:53 +0000 (17:54 +0000)]
Fix callerid on quicknet stuff (bug #1613)

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

16 years agoAllow defining a default context (bug #1658)
Mark Spencer [Sun, 16 May 2004 17:52:24 +0000 (17:52 +0000)]
Allow defining a default context (bug #1658)

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

16 years agoIgnore progress frames in request/dial (bug #1657)
Mark Spencer [Sun, 16 May 2004 17:50:14 +0000 (17:50 +0000)]
Ignore progress frames in request/dial (bug #1657)

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

16 years agoadd iLBC optimizations from bkw
Jeremy McNamara [Sun, 16 May 2004 17:35:51 +0000 (17:35 +0000)]
add iLBC optimizations from bkw

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

16 years agoadd new file README.h323 to help lower the signal-to-noise ratio
Jeremy McNamara [Sun, 16 May 2004 16:52:18 +0000 (16:52 +0000)]
add new file README.h323 to help lower the signal-to-noise ratio

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

16 years agoTimely packet removal and make valgrind happy
Mark Spencer [Sun, 16 May 2004 16:31:42 +0000 (16:31 +0000)]
Timely packet removal and make valgrind happy

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

16 years agoadd ./configure for the thick headed who can't read documentation...wait will they...
Jeremy McNamara [Sun, 16 May 2004 16:10:56 +0000 (16:10 +0000)]
add ./configure for the thick headed who can't read documentation...wait will they even read the README?

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

16 years agoImprove handling of multiple CANCEL requests
Mark Spencer [Sun, 16 May 2004 16:01:09 +0000 (16:01 +0000)]
Improve handling of multiple CANCEL requests

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

16 years agoAdd indications for Chile
Mark Spencer [Sun, 16 May 2004 15:30:37 +0000 (15:30 +0000)]
Add indications for Chile

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

16 years agotry to enable ringback on H.323->SIP calls (bug #1645) and clean up code a lil bit
Jeremy McNamara [Sun, 16 May 2004 07:04:48 +0000 (07:04 +0000)]
try to enable ringback on H.323->SIP calls (bug #1645) and clean up code a lil bit

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

16 years agoMake sure that we have the sin_family set to AF_INET for FreeBSD
Mark Spencer [Sun, 16 May 2004 05:53:33 +0000 (05:53 +0000)]
Make sure that we have the sin_family set to AF_INET for FreeBSD

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

16 years agoAdd Taiwan support (bug #1599)
Mark Spencer [Sat, 15 May 2004 23:32:07 +0000 (23:32 +0000)]
Add Taiwan support (bug #1599)

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

16 years agoDon't worry about tones we can't send (bug #1652)
Mark Spencer [Sat, 15 May 2004 22:53:55 +0000 (22:53 +0000)]
Don't worry about tones we can't send (bug #1652)

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

16 years agoFix timezone handling for FreeBSD
Mark Spencer [Sat, 15 May 2004 22:52:12 +0000 (22:52 +0000)]
Fix timezone handling for FreeBSD

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

16 years agoDon't call out an FXO until at least 2 seconds after it was hungup.
Mark Spencer [Sat, 15 May 2004 22:50:51 +0000 (22:50 +0000)]
Don't call out an FXO until at least 2 seconds after it was hungup.

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

16 years agoFreeBSD compile fix (bug #1655)
Mark Spencer [Sat, 15 May 2004 22:42:25 +0000 (22:42 +0000)]
FreeBSD compile fix (bug #1655)

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

16 years agoFix typo in outgoing rfc2833 handling (bug #1646)
Mark Spencer [Sat, 15 May 2004 16:26:52 +0000 (16:26 +0000)]
Fix typo in outgoing rfc2833 handling (bug #1646)

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

16 years agoFix a couple of small typos (bug #1648)
Mark Spencer [Sat, 15 May 2004 15:40:08 +0000 (15:40 +0000)]
Fix a couple of small typos (bug #1648)

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

16 years agoUpdate coding guidelines, fix "say.c" compile on older compilers, update coding guide...
Mark Spencer [Sat, 15 May 2004 15:34:31 +0000 (15:34 +0000)]
Update coding guidelines, fix "say.c" compile on older compilers, update coding guidelines (includes bug #1631)

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

16 years agoFix logic in gethostbyname_r (bug #1634)
Mark Spencer [Sat, 15 May 2004 05:02:42 +0000 (05:02 +0000)]
Fix logic in gethostbyname_r (bug #1634)

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

16 years ago/ fixed up coding style to recommened
Ben Kramer [Fri, 14 May 2004 04:39:16 +0000 (04:39 +0000)]
/ fixed up coding style to recommened
/ fixed timer start/restart bug
/ added disabling off loop-drop detection option
/ added "w" "f" Dial string translations
/ clean up of logging messages

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

16 years agoReally fix ast_gethostbyname
Mark Spencer [Thu, 13 May 2004 21:54:30 +0000 (21:54 +0000)]
Really fix ast_gethostbyname

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

16 years agoAdd polish support to say.c (bug #1629)
Mark Spencer [Thu, 13 May 2004 21:39:43 +0000 (21:39 +0000)]
Add polish support to say.c (bug #1629)

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

16 years agoAdd taiwanese support for saynumber/datetime (bug #1615)
Mark Spencer [Thu, 13 May 2004 20:06:27 +0000 (20:06 +0000)]
Add taiwanese support for saynumber/datetime (bug #1615)

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

16 years agoUpdate documentation of asterisk -h (bug #1622)
Mark Spencer [Thu, 13 May 2004 19:57:45 +0000 (19:57 +0000)]
Update documentation of asterisk -h (bug #1622)

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

16 years agoBetter document SIP (bug #1603)
Mark Spencer [Thu, 13 May 2004 19:54:42 +0000 (19:54 +0000)]
Better document SIP (bug #1603)

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

16 years agoLose all the "auth" stuff since we don't use it (bug #1627)
Mark Spencer [Thu, 13 May 2004 19:51:54 +0000 (19:51 +0000)]
Lose all the "auth" stuff since we don't use it (bug #1627)

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

16 years agoAdd events for join/leave (bug #1625)
Mark Spencer [Thu, 13 May 2004 19:02:47 +0000 (19:02 +0000)]
Add events for join/leave (bug #1625)

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

16 years agoAdd linear file generator, CIRCQ emulation for BSD (bug #1626)
Mark Spencer [Thu, 13 May 2004 19:01:10 +0000 (19:01 +0000)]
Add linear file generator, CIRCQ emulation for BSD (bug #1626)

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

16 years agoMake sure we initialize attributes properly on thread (bug #1563)
Mark Spencer [Thu, 13 May 2004 18:23:34 +0000 (18:23 +0000)]
Make sure we initialize attributes properly on thread (bug #1563)

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

16 years agoMinor memory cleanups, initialize peer/user invite status from global
Mark Spencer [Wed, 12 May 2004 23:35:50 +0000 (23:35 +0000)]
Minor memory cleanups, initialize peer/user invite status from global

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

16 years agoTurn off lamp on call completion, code cleanup and a couple other minor bug fixes.
Jeremy McNamara [Wed, 12 May 2004 21:30:23 +0000 (21:30 +0000)]
Turn off lamp on call completion, code cleanup and a couple other minor bug fixes.

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

16 years agoFix FreeBSD compile (bug #1620)
Mark Spencer [Wed, 12 May 2004 19:20:34 +0000 (19:20 +0000)]
Fix FreeBSD compile (bug #1620)

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

16 years agoMinor cleanups (bug #1618 included)
Mark Spencer [Wed, 12 May 2004 17:30:55 +0000 (17:30 +0000)]
Minor cleanups (bug #1618 included)

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

16 years agoPut sip history stuff in (for real) and provide voicemail context (when not default...
Mark Spencer [Wed, 12 May 2004 00:17:31 +0000 (00:17 +0000)]
Put sip history stuff in (for real) and provide voicemail context (when not default) in some critical places (bug #1609)

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

16 years agoRefuse to gethostbyname on a pure integer
Mark Spencer [Tue, 11 May 2004 18:41:09 +0000 (18:41 +0000)]
Refuse to gethostbyname on a pure integer

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

16 years agoGerman language improvements (bug #1606)
Mark Spencer [Tue, 11 May 2004 18:23:48 +0000 (18:23 +0000)]
German language improvements (bug #1606)

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

16 years agoDon't say "re-recording" on CLI.
Mark Spencer [Tue, 11 May 2004 15:20:55 +0000 (15:20 +0000)]
Don't say "re-recording" on CLI.

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

16 years agoChange "boundary" to be less likely to cause e-mail conflicts (bug #1602)
Mark Spencer [Tue, 11 May 2004 15:03:52 +0000 (15:03 +0000)]
Change "boundary" to be less likely to cause e-mail conflicts (bug #1602)

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

16 years agoIncrease max write size (bug #1601)
Mark Spencer [Tue, 11 May 2004 15:00:28 +0000 (15:00 +0000)]
Increase max write size (bug #1601)

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

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