asterisk/asterisk.git
15 years agoUse ast_strlen_zero instead of &id in app_queue.c (Thanks folsson)
James Golovich [Sun, 13 Jun 2004 19:45:59 +0000 (19:45 +0000)]
Use ast_strlen_zero instead of &id in app_queue.c (Thanks folsson)

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

15 years agoProvide dialtone when doing overlap dial (bug #1832)
Mark Spencer [Sun, 13 Jun 2004 07:25:27 +0000 (07:25 +0000)]
Provide dialtone when doing overlap dial (bug #1832)

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

15 years agoMake sure overlap dial goes into "RING" state instead of just "RESERVED"
Mark Spencer [Sun, 13 Jun 2004 07:16:00 +0000 (07:16 +0000)]
Make sure overlap dial goes into "RING" state instead of just "RESERVED"

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

15 years agoFix ODBC build for FreeBSD
Mark Spencer [Sun, 13 Jun 2004 01:54:53 +0000 (01:54 +0000)]
Fix ODBC build for FreeBSD

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

15 years agoDisplay error when having trouble reading from /dev/phone
Mark Spencer [Sat, 12 Jun 2004 16:48:12 +0000 (16:48 +0000)]
Display error when having trouble reading from /dev/phone

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

15 years agoUse 401 Unauthorized instead of 407 Proxy Authentication required for REGISTER,
Mark Spencer [Sat, 12 Jun 2004 16:38:36 +0000 (16:38 +0000)]
Use 401 Unauthorized instead of 407 Proxy Authentication required for REGISTER,
and use 403 for final request on proxy instead of 401 (bug #1798)

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

15 years agoFix OpenBSD compile (bug #1830)
Mark Spencer [Sat, 12 Jun 2004 14:53:53 +0000 (14:53 +0000)]
Fix OpenBSD compile (bug #1830)

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

15 years agoAdd "LOW_MEMORY" option and increase some buffer sizes (bug #1827)
Mark Spencer [Sat, 12 Jun 2004 14:34:15 +0000 (14:34 +0000)]
Add "LOW_MEMORY" option and increase some buffer sizes (bug #1827)

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

15 years agofix list initialization
Jeremy McNamara [Sat, 12 Jun 2004 03:44:51 +0000 (03:44 +0000)]
fix list initialization

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

15 years agoFix voicemail description. We send calls into extension 'a' or 'o' not priority
James Golovich [Fri, 11 Jun 2004 21:11:22 +0000 (21:11 +0000)]
Fix voicemail description.  We send calls into extension 'a' or 'o' not priority

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

15 years agoUpdate sample extensions.conf macro-stdexten to include an a extension that sends...
James Golovich [Fri, 11 Jun 2004 21:09:27 +0000 (21:09 +0000)]
Update sample extensions.conf macro-stdexten to include an a extension that sends the user into voicemailmain when * is pressed

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

15 years agoBuild ecodes string a little better in app_voicemail so that the 'a' extension will...
James Golovich [Fri, 11 Jun 2004 21:01:42 +0000 (21:01 +0000)]
Build ecodes string a little better in app_voicemail so that the 'a' extension will work even if the 'o' extension doesn't exist.  Also update the description to include info on the 'a' extension

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

15 years agoAdd talk detectection app (BackgroundDetect)
Mark Spencer [Fri, 11 Jun 2004 14:06:30 +0000 (14:06 +0000)]
Add talk detectection app (BackgroundDetect)

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

15 years agoAdd "show channels concise" for machine readable format
Mark Spencer [Fri, 11 Jun 2004 00:18:30 +0000 (00:18 +0000)]
Add "show channels concise" for machine readable format

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

15 years agoMerge res_odbc and res_config
Mark Spencer [Fri, 11 Jun 2004 00:12:35 +0000 (00:12 +0000)]
Merge res_odbc and res_config

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

15 years agoDisplay which span/channel we're receiving restarts on
Mark Spencer [Thu, 10 Jun 2004 19:00:20 +0000 (19:00 +0000)]
Display which span/channel we're receiving restarts on

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

15 years agoAlthough I can't think of any scenario that it could result in a race, don't hold...
Mark Spencer [Wed, 9 Jun 2004 23:07:55 +0000 (23:07 +0000)]
Although I can't think of any scenario that it could result in a race, don't hold a private iax or sip lock while allocating a channel

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

15 years agoMerge rmarchev's vox fixes (bug #1812)
Mark Spencer [Wed, 9 Jun 2004 20:55:20 +0000 (20:55 +0000)]
Merge rmarchev's vox fixes (bug #1812)

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

15 years agoMinor meetme cleanups
Mark Spencer [Wed, 9 Jun 2004 19:43:23 +0000 (19:43 +0000)]
Minor meetme cleanups

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

15 years agoIn spite of my extreme distaste for SRV, make it the default.
Mark Spencer [Wed, 9 Jun 2004 14:01:04 +0000 (14:01 +0000)]
In spite of my extreme distaste for SRV, make it the default.

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

15 years agoReturn NULL if no CRV found
Mark Spencer [Wed, 9 Jun 2004 13:55:52 +0000 (13:55 +0000)]
Return NULL if no CRV found

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

15 years agoLock fixes for FreeBSD (bug #1810)
Mark Spencer [Wed, 9 Jun 2004 13:49:42 +0000 (13:49 +0000)]
Lock fixes for FreeBSD (bug #1810)

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

15 years agoMake chan_zap initialize the pri threads to AST_PTHREADT_NULL and check when calling...
James Golovich [Wed, 9 Jun 2004 08:46:32 +0000 (08:46 +0000)]
Make chan_zap initialize the pri threads to AST_PTHREADT_NULL and check when calling unload in case load_module fails complete

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

15 years agoMerge FreeBSD locking fixes (bug #1411)
Mark Spencer [Wed, 9 Jun 2004 01:45:08 +0000 (01:45 +0000)]
Merge FreeBSD locking fixes (bug #1411)

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

15 years agoHandle binding more nicely
Mark Spencer [Wed, 9 Jun 2004 01:33:16 +0000 (01:33 +0000)]
Handle binding more nicely

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

15 years agoMake fax detect configurable by direction (bug #1803)
Mark Spencer [Tue, 8 Jun 2004 22:34:25 +0000 (22:34 +0000)]
Make fax detect configurable by direction (bug #1803)

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

15 years agoUpdate changelog
Mark Spencer [Tue, 8 Jun 2004 03:39:29 +0000 (03:39 +0000)]
Update changelog

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

15 years agochan_phone portability (bug #1788)
Mark Spencer [Tue, 8 Jun 2004 01:50:57 +0000 (01:50 +0000)]
chan_phone portability (bug #1788)

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

15 years agoUpdate sample configuration to show fax detect has to be enabled
Mark Spencer [Mon, 7 Jun 2004 23:38:58 +0000 (23:38 +0000)]
Update sample configuration to show fax detect has to be enabled

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

15 years agoMake faxdetect configurable and turn OFF by default
Mark Spencer [Mon, 7 Jun 2004 23:38:39 +0000 (23:38 +0000)]
Make faxdetect configurable and turn OFF by default

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

15 years agoSimplify trunk transmission path and remove potential race (bug #1802)
Mark Spencer [Mon, 7 Jun 2004 19:48:53 +0000 (19:48 +0000)]
Simplify trunk transmission path and remove potential race (bug #1802)

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

15 years agoZapras fix for BSD (bug #1801)
Mark Spencer [Mon, 7 Jun 2004 19:12:14 +0000 (19:12 +0000)]
Zapras fix for BSD (bug #1801)

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

15 years agofix res_monitor bug
Anthony Minessale II [Mon, 7 Jun 2004 16:51:21 +0000 (16:51 +0000)]
fix res_monitor bug

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

15 years agoMore GR-303 protocol fixes
Mark Spencer [Mon, 7 Jun 2004 15:57:18 +0000 (15:57 +0000)]
More GR-303 protocol fixes

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

15 years agoFix tiny typo
Mark Spencer [Mon, 7 Jun 2004 14:49:25 +0000 (14:49 +0000)]
Fix tiny typo

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

15 years agoInitial, incomplete support for D-channel backup
Mark Spencer [Mon, 7 Jun 2004 03:39:18 +0000 (03:39 +0000)]
Initial, incomplete support for D-channel backup

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

15 years agoUpdate IAXY firmware to version 16 (provides better timestamps)
Mark Spencer [Mon, 7 Jun 2004 02:55:31 +0000 (02:55 +0000)]
Update IAXY firmware to version 16 (provides better timestamps)

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

15 years agoHandle bearer failures cleanly (still need d-channel backup)
Mark Spencer [Sun, 6 Jun 2004 23:26:29 +0000 (23:26 +0000)]
Handle bearer failures cleanly (still need d-channel backup)

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

15 years agoHandle multiple span memberships properly
Mark Spencer [Sun, 6 Jun 2004 22:51:37 +0000 (22:51 +0000)]
Handle multiple span memberships properly

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

15 years agoMust call spanstat before checking number of channels (bug #1796)
Mark Spencer [Sun, 6 Jun 2004 22:22:48 +0000 (22:22 +0000)]
Must call spanstat before checking number of channels (bug #1796)

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

15 years agoFix small arrangement issue
Mark Spencer [Sun, 6 Jun 2004 20:47:51 +0000 (20:47 +0000)]
Fix small arrangement issue

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

15 years agoClearly label EAGAIN as being the UDP checksum error that it is
Mark Spencer [Sun, 6 Jun 2004 17:44:47 +0000 (17:44 +0000)]
Clearly label EAGAIN as being the UDP checksum error that it is

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

15 years agoCan't use the same buffer to snprintf that we're grabbing
Mark Spencer [Sun, 6 Jun 2004 17:36:57 +0000 (17:36 +0000)]
Can't use the same buffer to snprintf that we're grabbing

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

15 years agoDon't require "c" before CRV syntax
Mark Spencer [Sun, 6 Jun 2004 08:52:24 +0000 (08:52 +0000)]
Don't require "c" before CRV syntax

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

15 years agoTry to parse callerid properly on /dev/phone (bug #1788)
Mark Spencer [Sun, 6 Jun 2004 07:01:37 +0000 (07:01 +0000)]
Try to parse callerid properly on /dev/phone (bug #1788)

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

15 years agoSmall fixup for non-PRI build
Mark Spencer [Sun, 6 Jun 2004 03:32:55 +0000 (03:32 +0000)]
Small fixup for non-PRI build

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

15 years agofix D() issue with to short of a duration
Anthony Minessale II [Sun, 6 Jun 2004 02:30:10 +0000 (02:30 +0000)]
fix D() issue with to short of a duration

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

15 years agoAdd bi-directional GR-303 support
Mark Spencer [Sun, 6 Jun 2004 01:54:22 +0000 (01:54 +0000)]
Add bi-directional GR-303 support

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

15 years agoFix voicemail.conf typo (bug #1794)
Mark Spencer [Sat, 5 Jun 2004 23:00:16 +0000 (23:00 +0000)]
Fix voicemail.conf typo (bug #1794)

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

15 years agoAdd ${AVAILORIGCHAN} with original channel name (bug #1793)
Mark Spencer [Sat, 5 Jun 2004 18:42:59 +0000 (18:42 +0000)]
Add ${AVAILORIGCHAN} with original channel name (bug #1793)

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

15 years agoMore small fixes
Mark Spencer [Sat, 5 Jun 2004 07:07:12 +0000 (07:07 +0000)]
More small fixes

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

15 years agoMinor cleanups
Mark Spencer [Sat, 5 Jun 2004 07:01:23 +0000 (07:01 +0000)]
Minor cleanups

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

15 years agoAdd support for trunk groups in anticipation of NFAS and GR-303, Initial GR-303 work
Mark Spencer [Sat, 5 Jun 2004 06:54:52 +0000 (06:54 +0000)]
Add support for trunk groups in anticipation of NFAS and GR-303, Initial GR-303 work

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

15 years agoCleanup some formatting in app_agi.c
James Golovich [Fri, 4 Jun 2004 19:01:07 +0000 (19:01 +0000)]
Cleanup some formatting in app_agi.c

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

15 years agoIAX2 fixup, fix res_monitor sillyseg
Mark Spencer [Fri, 4 Jun 2004 18:30:35 +0000 (18:30 +0000)]
IAX2 fixup, fix res_monitor sillyseg

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

15 years agoEnhancements for zaptel+bsd (bug #1781)
Mark Spencer [Fri, 4 Jun 2004 15:44:14 +0000 (15:44 +0000)]
Enhancements for zaptel+bsd (bug #1781)

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

15 years agoGet rid of small copmile warning
Mark Spencer [Thu, 3 Jun 2004 23:44:43 +0000 (23:44 +0000)]
Get rid of small copmile warning

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

15 years agoFix handling when MONITOR_EXEC is unspecified
Mark Spencer [Thu, 3 Jun 2004 23:16:55 +0000 (23:16 +0000)]
Fix handling when MONITOR_EXEC is unspecified

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

15 years agoMake sure that auto created "pseudo" isn't a member of any groups (bugs #1776, #1777)
Mark Spencer [Thu, 3 Jun 2004 22:40:13 +0000 (22:40 +0000)]
Make sure that auto created "pseudo" isn't a member of any groups (bugs #1776, #1777)

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

15 years agoMerge agent callback login/logoff events and logging (bug #1775)
Mark Spencer [Thu, 3 Jun 2004 17:33:35 +0000 (17:33 +0000)]
Merge agent callback login/logoff events and logging (bug #1775)

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

15 years agoInitialize frame for playtones just in case
Mark Spencer [Thu, 3 Jun 2004 17:06:33 +0000 (17:06 +0000)]
Initialize frame for playtones just in case

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

15 years agoMake monitor merge application settable via variable, allow setting of variables...
Mark Spencer [Thu, 3 Jun 2004 15:42:36 +0000 (15:42 +0000)]
Make monitor merge application settable via variable, allow setting of variables via manager interface, allow mix flag to be set via manager (bug #1268)

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

15 years agoWOrk on the proper pointer (bug #1773)
Mark Spencer [Wed, 2 Jun 2004 23:27:50 +0000 (23:27 +0000)]
WOrk on the proper pointer (bug #1773)

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

15 years agoAdd information for IAX on Free World Dialup
Mark Spencer [Wed, 2 Jun 2004 23:19:36 +0000 (23:19 +0000)]
Add information for IAX on Free World Dialup

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

15 years agoAdd 'ListCommands' manager command
James Golovich [Wed, 2 Jun 2004 22:30:42 +0000 (22:30 +0000)]
Add 'ListCommands' manager command

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

15 years agoLock while installign generator
Mark Spencer [Wed, 2 Jun 2004 20:18:18 +0000 (20:18 +0000)]
Lock while installign generator

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

15 years agoAdd description to manager_action structure, and add some comments.
James Golovich [Wed, 2 Jun 2004 20:08:08 +0000 (20:08 +0000)]
Add description to manager_action structure, and add some comments.
Add ast_manager_register2 which adds description as an additional arg
Rework how events are added so they get ordered alphabetically
Add 'show manager command <commandname>' (with tab completion) to
view info on each command

Added descriptions to 'Ping' and 'Originate' but they kinda suck, so we
need other people to come up with good descriptions for each of the
manager commands.

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

15 years agoFix app_read to return string even if not # terminated (bug #1769)
Mark Spencer [Wed, 2 Jun 2004 18:15:24 +0000 (18:15 +0000)]
Fix app_read to return string even if not # terminated (bug #1769)

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

15 years agoUse pseudo channel instead of just /dev/zap/pseudo, now with proper protections ...
Mark Spencer [Wed, 2 Jun 2004 16:57:14 +0000 (16:57 +0000)]
Use pseudo channel instead of just /dev/zap/pseudo, now with proper protections (bug #1766)

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

15 years agoAllocate pseudo channel if it's not explicitly listed
Mark Spencer [Wed, 2 Jun 2004 16:35:06 +0000 (16:35 +0000)]
Allocate pseudo channel if it's not explicitly listed

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

15 years agoCode formatting fixes in chan_zap.c
James Golovich [Wed, 2 Jun 2004 16:13:25 +0000 (16:13 +0000)]
Code formatting fixes in chan_zap.c

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

15 years agoPlay acknowledgement in all cases (bug #1767)
Mark Spencer [Wed, 2 Jun 2004 00:03:49 +0000 (00:03 +0000)]
Play acknowledgement in all cases (bug #1767)

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

15 years agoOops slightly premature
Mark Spencer [Tue, 1 Jun 2004 22:54:18 +0000 (22:54 +0000)]
Oops slightly premature

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

15 years agoUse pseudo channel (but real channel) instead of just directly opening /dev/zap/pseud...
Mark Spencer [Tue, 1 Jun 2004 22:53:52 +0000 (22:53 +0000)]
Use pseudo channel (but real channel) instead of just directly opening /dev/zap/pseudo to enable future meetme enhancements (bug #1766)

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

15 years agoVoicemail fixes (bug #1758)
Mark Spencer [Tue, 1 Jun 2004 19:38:06 +0000 (19:38 +0000)]
Voicemail fixes (bug #1758)

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

15 years agoallow multiple exit characters on control_streamfile, allow '1' to skip envelope
Mark Spencer [Tue, 1 Jun 2004 18:50:18 +0000 (18:50 +0000)]
allow multiple exit characters on control_streamfile, allow '1' to skip envelope

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

15 years agoOnly call the update once
Mark Spencer [Mon, 31 May 2004 23:44:04 +0000 (23:44 +0000)]
Only call the update once

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

15 years agoMore BSD compile fixes (bugs #1754 and #1756)
Mark Spencer [Mon, 31 May 2004 19:40:23 +0000 (19:40 +0000)]
More BSD compile fixes (bugs #1754 and #1756)

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

15 years agoFix compile warning on FreeBSD (bug #1755)
Mark Spencer [Mon, 31 May 2004 17:01:32 +0000 (17:01 +0000)]
Fix compile warning on FreeBSD (bug #1755)

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

15 years agoAdd missing strings include for BSD
Mark Spencer [Mon, 31 May 2004 16:51:28 +0000 (16:51 +0000)]
Add missing strings include for BSD

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

15 years agoTrivial removal of unused variable when not on linux (bug #1753)
Mark Spencer [Mon, 31 May 2004 16:43:35 +0000 (16:43 +0000)]
Trivial removal of unused variable when not on linux (bug #1753)

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

15 years agoComplete re-vamp of Radio Repeater application (app_rpt) and VERY minor changes in...
Jim Dixon [Mon, 31 May 2004 16:04:10 +0000 (16:04 +0000)]
Complete re-vamp of Radio Repeater application (app_rpt) and VERY minor changes in chan_zap (to allow pseudo-channels to work properly (finally!)) and in dsp.c to allow for super-relaxed DTMF decoding which radio systems need to function properly.

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

15 years agomake sending indications more robust and proper
Jeremy McNamara [Mon, 31 May 2004 02:49:53 +0000 (02:49 +0000)]
make sending indications more robust and proper

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

15 years agoFix lag in diverging clocks (bug #1696)
Mark Spencer [Sun, 30 May 2004 22:22:49 +0000 (22:22 +0000)]
Fix lag in diverging clocks (bug #1696)

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

15 years agoUpdate queue member after end of call (bug #1727)
Mark Spencer [Sun, 30 May 2004 22:10:09 +0000 (22:10 +0000)]
Update queue member after end of call (bug #1727)

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

15 years agoTake member as argument, not lpeer
Mark Spencer [Sun, 30 May 2004 20:43:55 +0000 (20:43 +0000)]
Take member as argument, not lpeer

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

15 years agoFix formatting issues
Mark Spencer [Sun, 30 May 2004 20:38:05 +0000 (20:38 +0000)]
Fix formatting issues

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

15 years agoMinor RTP video fixes, be more careful about closing fd's in meetme (bug #1743)
Mark Spencer [Sun, 30 May 2004 20:24:48 +0000 (20:24 +0000)]
Minor RTP video fixes, be more careful about closing fd's in meetme (bug #1743)

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

15 years agoFixed annoying SIP 'NOTIFY' messages printed on console every n seconds from some...
Jim Dixon [Sun, 30 May 2004 20:03:39 +0000 (20:03 +0000)]
Fixed annoying SIP 'NOTIFY' messages printed on console every n seconds from some SIP peers. Also fixed problem where 'INFO' was not being responded to if in 'ignore' state.

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

15 years agoAllow variable substitution in from string (bug #1741)
Mark Spencer [Sun, 30 May 2004 03:03:19 +0000 (03:03 +0000)]
Allow variable substitution in from string (bug #1741)

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

15 years agoInitialize secrets properly (bug #1748)
Mark Spencer [Sat, 29 May 2004 23:40:22 +0000 (23:40 +0000)]
Initialize secrets properly (bug #1748)

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

15 years agosaw this in valgrind (-tony)
Anthony Minessale II [Sat, 29 May 2004 03:40:35 +0000 (03:40 +0000)]
saw this in valgrind (-tony)

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

15 years agoUse ast_strlen_zero in res_musiconhold.c
James Golovich [Fri, 28 May 2004 19:44:33 +0000 (19:44 +0000)]
Use ast_strlen_zero in res_musiconhold.c

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

15 years agoHopefully last ast_strlen_zero fix in cli.c
James Golovich [Fri, 28 May 2004 19:23:30 +0000 (19:23 +0000)]
Hopefully last ast_strlen_zero fix in cli.c

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

15 years agoUse ast_strlen_zero in privacy.c
James Golovich [Fri, 28 May 2004 19:20:29 +0000 (19:20 +0000)]
Use ast_strlen_zero in privacy.c

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

15 years agoUse ast_strlen_zero in db.c and some optimizations. Lets store the return value...
James Golovich [Fri, 28 May 2004 18:56:23 +0000 (18:56 +0000)]
Use ast_strlen_zero in db.c and some optimizations.  Lets store the return value of strlen and use that rather than using strlen every time, and snprintf returns the length of the string

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

15 years agoReally don't authenticate if we're not supposed to authenticate (bug #1738)
Mark Spencer [Fri, 28 May 2004 15:47:57 +0000 (15:47 +0000)]
Really don't authenticate if we're not supposed to authenticate (bug #1738)

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

15 years agoRinging and progress are not identical
Mark Spencer [Fri, 28 May 2004 02:02:33 +0000 (02:02 +0000)]
Ringing and progress are not identical

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

15 years agoMinor reinvite typo
Mark Spencer [Fri, 28 May 2004 00:52:45 +0000 (00:52 +0000)]
Minor reinvite typo

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

15 years agoOnly print PRI messages when in verbose mode (bug #1732)
Mark Spencer [Thu, 27 May 2004 22:38:13 +0000 (22:38 +0000)]
Only print PRI messages when in verbose mode (bug #1732)

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