asterisk/asterisk.git
18 years agoHold private lock while handling digits
Mark Spencer [Sun, 20 Jun 2004 14:07:44 +0000 (14:07 +0000)]
Hold private lock while handling digits

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

18 years agoHold pending digits until setup_ack is received, then send (bug#1875)
Mark Spencer [Sun, 20 Jun 2004 06:53:53 +0000 (06:53 +0000)]
Hold pending digits until setup_ack is received, then send (bug#1875)

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

18 years agoTypo in comment in app_dial.c
James Golovich [Sun, 20 Jun 2004 06:24:25 +0000 (06:24 +0000)]
Typo in comment in app_dial.c

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

18 years agoAllow penalty argument to AddQueueMember
Mark Spencer [Sat, 19 Jun 2004 16:00:50 +0000 (16:00 +0000)]
Allow penalty argument to AddQueueMember

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

18 years agoFormatting fix
James Golovich [Fri, 18 Jun 2004 16:23:56 +0000 (16:23 +0000)]
Formatting fix

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

18 years agoBe sure we hold channel lock in write before talking to PRI channel
Mark Spencer [Fri, 18 Jun 2004 15:24:29 +0000 (15:24 +0000)]
Be sure we hold channel lock in write before talking to PRI channel

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

18 years agoDebugging cleanups (bug #1633)
Mark Spencer [Fri, 18 Jun 2004 13:53:48 +0000 (13:53 +0000)]
Debugging cleanups (bug #1633)

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

18 years agoSend 403 when authentication fails on a call
Mark Spencer [Fri, 18 Jun 2004 03:59:19 +0000 (03:59 +0000)]
Send 403 when authentication fails on a call

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

18 years agoOops
Mark Spencer [Thu, 17 Jun 2004 14:53:25 +0000 (14:53 +0000)]
Oops

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

18 years agoImplement proper locking on INFO_RECEIVED
Mark Spencer [Thu, 17 Jun 2004 14:51:44 +0000 (14:51 +0000)]
Implement proper locking on INFO_RECEIVED

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

18 years agoMore meetme locking fixes
Mark Spencer [Thu, 17 Jun 2004 05:21:54 +0000 (05:21 +0000)]
More meetme locking fixes

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

18 years agoCleanup formatting in config.c
James Golovich [Thu, 17 Jun 2004 04:53:55 +0000 (04:53 +0000)]
Cleanup formatting in config.c

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

18 years agoFix doubly-linked list delete
Mark Spencer [Thu, 17 Jun 2004 04:42:03 +0000 (04:42 +0000)]
Fix doubly-linked list delete

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

18 years agoSmall typo
Mark Spencer [Thu, 17 Jun 2004 04:32:10 +0000 (04:32 +0000)]
Small typo

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

18 years agoPRI locking fixes
Mark Spencer [Thu, 17 Jun 2004 04:23:57 +0000 (04:23 +0000)]
PRI locking fixes

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

18 years agoMust be inside lock when finding start
Mark Spencer [Thu, 17 Jun 2004 02:42:42 +0000 (02:42 +0000)]
Must be inside lock when finding start

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

18 years agoClose logging stuff so system doesn't have to (bug #1855)
Mark Spencer [Thu, 17 Jun 2004 01:13:10 +0000 (01:13 +0000)]
Close logging stuff so system doesn't have to (bug #1855)

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

18 years agoDocument ability to change user agent (bug #1867)
Mark Spencer [Thu, 17 Jun 2004 00:09:41 +0000 (00:09 +0000)]
Document ability to change user agent (bug #1867)

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

18 years agoGotta set slot to 0 before you print :)
Mark Spencer [Wed, 16 Jun 2004 21:26:53 +0000 (21:26 +0000)]
Gotta set slot to 0 before you print :)

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

18 years agoDon't forget to run the schedule queue
Mark Spencer [Wed, 16 Jun 2004 21:15:15 +0000 (21:15 +0000)]
Don't forget to run the schedule queue

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

18 years agoMinor fixup to voicemail (bug #1865)
Mark Spencer [Wed, 16 Jun 2004 18:35:01 +0000 (18:35 +0000)]
Minor fixup to voicemail (bug #1865)

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

18 years agoUse new extensible setup method of libpri
Mark Spencer [Wed, 16 Jun 2004 15:34:21 +0000 (15:34 +0000)]
Use new extensible setup method of libpri

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

18 years agoEnable support for RFC3581 (bug #1862)
Mark Spencer [Wed, 16 Jun 2004 14:14:57 +0000 (14:14 +0000)]
Enable support for RFC3581 (bug #1862)

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

18 years agoRemove ancient requirement that ts > 0
Mark Spencer [Wed, 16 Jun 2004 13:52:50 +0000 (13:52 +0000)]
Remove ancient requirement that ts > 0

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

18 years agoMerge EOF patch (bug #1860)
Mark Spencer [Wed, 16 Jun 2004 03:28:42 +0000 (03:28 +0000)]
Merge EOF patch (bug #1860)

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

18 years agofix a miscalled arg in the #include support in external config handles
Anthony Minessale II [Tue, 15 Jun 2004 22:02:56 +0000 (22:02 +0000)]
fix a miscalled arg in the #include support in external config handles

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

18 years agocheck to make sure the extension exists b4 actually accepting the call and lets hope...
Jeremy McNamara [Tue, 15 Jun 2004 20:56:06 +0000 (20:56 +0000)]
check to make sure the extension exists b4 actually accepting the call and lets hope this gives Open H.323 enough time to sync up (bug #1714)

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

18 years agoFix unexpected behavior in voicemail (bug #1856)
Mark Spencer [Tue, 15 Jun 2004 20:33:26 +0000 (20:33 +0000)]
Fix unexpected behavior in voicemail (bug #1856)

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

18 years agoFormatting fix. Tabs not spaces :)
James Golovich [Tue, 15 Jun 2004 19:31:25 +0000 (19:31 +0000)]
Formatting fix.  Tabs not spaces :)

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

18 years agoAdded an extra reload_logger() after *.so is loaded in case a custom config handler...
Anthony Minessale II [Tue, 15 Jun 2004 18:48:07 +0000 (18:48 +0000)]
Added an extra  reload_logger() after *.so is loaded in case a custom config handler binded to logger.conf
to solve a chicken/egg issue where logger.conf is parsed before lodable modules are loaded.

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

18 years agoEliminate duplicate init_logger_chain call (bug #1853)
Mark Spencer [Tue, 15 Jun 2004 18:44:14 +0000 (18:44 +0000)]
Eliminate duplicate init_logger_chain call (bug #1853)

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

18 years agoWhen dialing outbound, if we match a peer name, use it (who really cares?) (bug ...
Mark Spencer [Tue, 15 Jun 2004 15:16:16 +0000 (15:16 +0000)]
When dialing outbound, if we match a peer name, use it (who really cares?) (bug #1850)

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

18 years agoCleanup leak in editline (bug #1847)
Mark Spencer [Tue, 15 Jun 2004 14:37:36 +0000 (14:37 +0000)]
Cleanup leak in editline (bug #1847)

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

18 years agoCleanup formatting
James Golovich [Mon, 14 Jun 2004 22:15:21 +0000 (22:15 +0000)]
Cleanup formatting

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

18 years agoCleanup formatting
James Golovich [Mon, 14 Jun 2004 22:05:12 +0000 (22:05 +0000)]
Cleanup formatting

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

18 years agoCleanup formatting
James Golovich [Mon, 14 Jun 2004 22:03:59 +0000 (22:03 +0000)]
Cleanup formatting

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

18 years agoMinor formatting cleanups
Mark Spencer [Mon, 14 Jun 2004 21:47:08 +0000 (21:47 +0000)]
Minor formatting cleanups

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

18 years agoAllow escaping of commas as well as ability to use quotes (bug #1826)
Mark Spencer [Mon, 14 Jun 2004 21:43:16 +0000 (21:43 +0000)]
Allow escaping of commas as well as ability to use quotes (bug #1826)

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

18 years agoFix small typos
Mark Spencer [Mon, 14 Jun 2004 21:40:57 +0000 (21:40 +0000)]
Fix small typos

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

18 years agoHandle PROGRESS event
Mark Spencer [Mon, 14 Jun 2004 21:40:02 +0000 (21:40 +0000)]
Handle PROGRESS event

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

18 years agoSeparate PROCEEDING and PROGRESS
Mark Spencer [Mon, 14 Jun 2004 21:18:52 +0000 (21:18 +0000)]
Separate PROCEEDING and PROGRESS

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

18 years agoFix MailboxExists to follow the original behavior of jumping to +101 if the voicemail...
James Golovich [Mon, 14 Jun 2004 20:40:14 +0000 (20:40 +0000)]
Fix MailboxExists to follow the original behavior of jumping to +101 if the voicemailuser exists

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

18 years agoMerge Matt's work
Mark Spencer [Mon, 14 Jun 2004 19:43:41 +0000 (19:43 +0000)]
Merge Matt's work

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

18 years agoMake meetme operate in linear so as to keep alaw folk happy, minor iax2
Mark Spencer [Mon, 14 Jun 2004 03:12:46 +0000 (03:12 +0000)]
Make meetme operate in linear so as to keep alaw folk happy, minor iax2
authentication cleanup

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

18 years agox86-64 compile fixes and cleanups
Mark Spencer [Sun, 13 Jun 2004 21:25:10 +0000 (21:25 +0000)]
x86-64 compile fixes and cleanups

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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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