asterisk/asterisk.git
15 years agofix seg fault if no variable is specified (bug #4907)
Russell Bryant [Fri, 5 Aug 2005 15:19:51 +0000 (15:19 +0000)]
fix seg fault if no variable is specified (bug #4907)

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

15 years agofix seg fault
Russell Bryant [Fri, 5 Aug 2005 07:03:35 +0000 (07:03 +0000)]
fix seg fault

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

15 years agoensure that strings.h has va_list defined (bug #4900)
Russell Bryant [Thu, 4 Aug 2005 20:13:55 +0000 (20:13 +0000)]
ensure that strings.h has va_list defined (bug #4900)

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

15 years agothere is no reason to check the channeltype of the channel calling SIPAddHeader
Russell Bryant [Thu, 4 Aug 2005 20:03:45 +0000 (20:03 +0000)]
there is no reason to check the channeltype of the channel calling SIPAddHeader
because it really only matters what the channeltype is of the *created* channel
in the subsequent dial (bug #4896)

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

15 years ago'outgress' should be 'egress'
Russell Bryant [Thu, 4 Aug 2005 17:33:21 +0000 (17:33 +0000)]
'outgress' should be 'egress'

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

15 years agoonly check for an existing cdr when about to set an arbitrary cdr variable (bug ...
Russell Bryant [Wed, 3 Aug 2005 21:34:48 +0000 (21:34 +0000)]
only check for an existing cdr when about to set an arbitrary cdr variable (bug #4848)

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

15 years agoBe sure not to leak frames in certain cases
Mark Spencer [Wed, 3 Aug 2005 20:17:53 +0000 (20:17 +0000)]
Be sure not to leak frames in certain cases

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

15 years agoFix documentation of overridecontext (bug #4379)
Mark Spencer [Wed, 3 Aug 2005 19:58:34 +0000 (19:58 +0000)]
Fix documentation of overridecontext (bug #4379)

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

15 years agoRemove queue/session co-locking until deadlocks are properly resolved
Mark Spencer [Wed, 3 Aug 2005 18:25:23 +0000 (18:25 +0000)]
Remove queue/session co-locking until deadlocks are properly resolved

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

15 years agoAdd extra aliases from RFC4028 and RFC3841 (bug #4889)
Mark Spencer [Wed, 3 Aug 2005 18:05:40 +0000 (18:05 +0000)]
Add extra aliases from RFC4028 and RFC3841 (bug #4889)

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

15 years agoFix solaris vasprintf (don't free the memory, duh) (bug #4890)
Mark Spencer [Wed, 3 Aug 2005 17:36:46 +0000 (17:36 +0000)]
Fix solaris vasprintf (don't free the memory, duh) (bug #4890)

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

15 years agoImprove RTP comments (bug #4792 with mods)
Mark Spencer [Wed, 3 Aug 2005 05:00:42 +0000 (05:00 +0000)]
Improve RTP comments (bug #4792 with mods)

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

15 years agoFix some astmm formatting and path issues (bug #4753)
Mark Spencer [Wed, 3 Aug 2005 04:50:09 +0000 (04:50 +0000)]
Fix some astmm formatting and path issues (bug #4753)

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

15 years agoFix timestamp issue with features (bug #4760 with mods)
Mark Spencer [Wed, 3 Aug 2005 04:42:59 +0000 (04:42 +0000)]
Fix timestamp issue with features (bug #4760 with mods)

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

15 years agoRevert a portion of oej's patch...
Mark Spencer [Wed, 3 Aug 2005 04:32:09 +0000 (04:32 +0000)]
Revert a portion of oej's patch...

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

15 years agoDon't ignore ACk packets (bug #4861)
Mark Spencer [Wed, 3 Aug 2005 04:26:10 +0000 (04:26 +0000)]
Don't ignore ACk packets (bug #4861)

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

15 years agoFix issue with say digit str (bug #4883)
Mark Spencer [Wed, 3 Aug 2005 04:23:58 +0000 (04:23 +0000)]
Fix issue with say digit str (bug #4883)

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

15 years agoFix sighup with AGI (bug #4854)
Mark Spencer [Wed, 3 Aug 2005 04:17:12 +0000 (04:17 +0000)]
Fix sighup with AGI (bug #4854)

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

15 years agoMove to rizzo's new chan_oss, but leave the old one just in case... (bug #4379 with...
Mark Spencer [Wed, 3 Aug 2005 04:11:52 +0000 (04:11 +0000)]
Move to rizzo's new chan_oss, but leave the old one just in case... (bug #4379 with changes)

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

15 years agoReduce number of calls to get method (bug #4863)
Mark Spencer [Wed, 3 Aug 2005 03:50:53 +0000 (03:50 +0000)]
Reduce number of calls to get method (bug #4863)

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

15 years agoFix voicemail crash (bug #4800)
Mark Spencer [Wed, 3 Aug 2005 02:45:30 +0000 (02:45 +0000)]
Fix voicemail crash (bug #4800)

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

15 years agoFix qop syntax (bug #4822)
Mark Spencer [Wed, 3 Aug 2005 02:34:57 +0000 (02:34 +0000)]
Fix qop syntax (bug #4822)

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

15 years agoFix AEL max character bug (bug #4837)
Mark Spencer [Wed, 3 Aug 2005 02:26:19 +0000 (02:26 +0000)]
Fix AEL max character bug (bug #4837)

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

15 years agoFix vasnprintf emulation (bug #4882)
Mark Spencer [Wed, 3 Aug 2005 02:07:25 +0000 (02:07 +0000)]
Fix vasnprintf emulation (bug #4882)

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

15 years agoRemove from maekfile, too
Mark Spencer [Tue, 2 Aug 2005 11:57:29 +0000 (11:57 +0000)]
Remove from maekfile, too

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

15 years agoThis script is now useless...
Mark Spencer [Tue, 2 Aug 2005 11:57:06 +0000 (11:57 +0000)]
This script is now useless...

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

15 years agoFix newsignal/newcontrol compile issue. Bug #4867
Jeremy McNamara [Tue, 2 Aug 2005 03:25:28 +0000 (03:25 +0000)]
Fix newsignal/newcontrol compile issue. Bug #4867

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

15 years agofix warning (bug #4807)
Russell Bryant [Mon, 1 Aug 2005 15:01:11 +0000 (15:01 +0000)]
fix warning (bug #4807)

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

15 years agoadd info on asterisk.ctl (bug #4864)
Russell Bryant [Mon, 1 Aug 2005 14:55:06 +0000 (14:55 +0000)]
add info on asterisk.ctl (bug #4864)

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

15 years agomake sure that iaxs gets initialized (bug #4856)
Russell Bryant [Mon, 1 Aug 2005 14:46:14 +0000 (14:46 +0000)]
make sure that iaxs gets initialized (bug #4856)

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

15 years agoMake sure we don't close a mailbox if we didn't open one (bug #4800)
Mark Spencer [Mon, 1 Aug 2005 11:09:03 +0000 (11:09 +0000)]
Make sure we don't close a mailbox if we didn't open one (bug #4800)

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

15 years agoMinor voicemail fixup (related to 4800, but not the fix yet)
Mark Spencer [Mon, 1 Aug 2005 11:03:09 +0000 (11:03 +0000)]
Minor voicemail fixup (related to 4800, but not the fix yet)

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

15 years agoAdd periodic announcement (bug #4677 with mods)
Mark Spencer [Sun, 31 Jul 2005 22:07:58 +0000 (22:07 +0000)]
Add periodic announcement (bug #4677 with mods)

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

15 years agoFix monitoring when channel redirected (bug #3809, patch redone)
Mark Spencer [Sun, 31 Jul 2005 21:27:21 +0000 (21:27 +0000)]
Fix monitoring when channel redirected (bug #3809, patch redone)

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

15 years agofix netbsd compilation issue
Russell Bryant [Sat, 30 Jul 2005 19:12:30 +0000 (19:12 +0000)]
fix netbsd compilation issue

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

15 years agomake GROUP set group@categroy instead of category@group
Russell Bryant [Thu, 28 Jul 2005 21:16:02 +0000 (21:16 +0000)]
make GROUP set group@categroy instead of category@group
ensure that GROUP_COUNT still returns "0", even if no group was found

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

15 years agoFix music on hold leak (bug #4842)
Mark Spencer [Thu, 28 Jul 2005 18:37:55 +0000 (18:37 +0000)]
Fix music on hold leak (bug #4842)

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

15 years agoDon't delete RTP if there is a channel, even if we get REGISTER/SUBSCRIBE (bug #4534)
Mark Spencer [Thu, 28 Jul 2005 18:24:04 +0000 (18:24 +0000)]
Don't delete RTP if there is a channel, even if we get REGISTER/SUBSCRIBE (bug #4534)

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

15 years agoRemove per-context maxmsg which should never have made it in (bug #4843)
Mark Spencer [Thu, 28 Jul 2005 18:14:13 +0000 (18:14 +0000)]
Remove per-context maxmsg which should never have made it in (bug #4843)

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

15 years agoremove useless call to time() and an extra variable when we can just use the
Russell Bryant [Wed, 27 Jul 2005 23:05:52 +0000 (23:05 +0000)]
remove useless call to time() and an extra variable when we can just use the
one we already have

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

15 years agothe time must be initialized for the 'n' option to actually work (bug #4834)
Russell Bryant [Wed, 27 Jul 2005 22:55:48 +0000 (22:55 +0000)]
the time must be initialized for the 'n' option to actually work (bug #4834)

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

15 years agodon't crash if no group is specified (bug #4836)
Russell Bryant [Wed, 27 Jul 2005 22:43:18 +0000 (22:43 +0000)]
don't crash if no group is specified (bug #4836)

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

15 years agofix warning
Russell Bryant [Wed, 27 Jul 2005 22:19:49 +0000 (22:19 +0000)]
fix warning

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

15 years agouse Set instead of SetVar in the sample so that we don't get warnings when
Russell Bryant [Wed, 27 Jul 2005 05:45:52 +0000 (05:45 +0000)]
use Set instead of SetVar in the sample so that we don't get warnings when
running the demo :-)

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

15 years agoStomp on deadlock. Bug #4555
Jeremy McNamara [Wed, 27 Jul 2005 04:45:11 +0000 (04:45 +0000)]
Stomp on deadlock. Bug #4555

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

15 years agoone-way-audio problem on multihomed host with bind to secondary address. Bug #4505
Jeremy McNamara [Wed, 27 Jul 2005 04:39:53 +0000 (04:39 +0000)]
one-way-audio problem on multihomed host with bind to secondary address. Bug #4505

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

15 years agoand now we know why #define-ing constants and trying to keep them in sequence is...
Kevin P. Fleming [Wed, 27 Jul 2005 02:17:06 +0000 (02:17 +0000)]
and now we know why #define-ing constants and trying to keep them in sequence is a bad idea...

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

15 years agofix breakage that was causing PUBLISH to be sent instead of CANCEL
Kevin P. Fleming [Wed, 27 Jul 2005 00:58:54 +0000 (00:58 +0000)]
fix breakage that was causing PUBLISH to be sent instead of CANCEL

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

15 years agoadd a few const's
Kevin P. Fleming [Wed, 27 Jul 2005 00:32:37 +0000 (00:32 +0000)]
add a few const's

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

15 years agoenhance SIP_PEER function to return additional items (bug #4816)
Kevin P. Fleming [Tue, 26 Jul 2005 22:13:31 +0000 (22:13 +0000)]
enhance SIP_PEER function to return additional items (bug #4816)

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

15 years agoadditional documentation of options (bug #4811)
Kevin P. Fleming [Tue, 26 Jul 2005 22:05:50 +0000 (22:05 +0000)]
additional documentation of options (bug #4811)

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

15 years agowarn users about voicemail menu structure change
Kevin P. Fleming [Tue, 26 Jul 2005 21:57:32 +0000 (21:57 +0000)]
warn users about voicemail menu structure change

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

15 years agomake queue and interface name matching case-insensitive (bug #4815)
Kevin P. Fleming [Tue, 26 Jul 2005 21:53:56 +0000 (21:53 +0000)]
make queue and interface name matching case-insensitive (bug #4815)

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

15 years agocorrect comment
Kevin P. Fleming [Tue, 26 Jul 2005 21:49:07 +0000 (21:49 +0000)]
correct comment

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

15 years agoadd a global option to disable priority jumping in applications (when they get update...
Kevin P. Fleming [Tue, 26 Jul 2005 16:29:56 +0000 (16:29 +0000)]
add a global option to disable priority jumping in applications (when they get updated), settable in extensions.conf
change app_dial to use 'j' to _ENABLE_ priority jumping if it has been globally disabled

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

15 years agofix build issue for FreeBSD (bug #4802)
Russell Bryant [Tue, 26 Jul 2005 14:40:41 +0000 (14:40 +0000)]
fix build issue for FreeBSD (bug #4802)

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

15 years agoclean up SIP response and pedantic REGISTER matching (bug #3663)
Kevin P. Fleming [Mon, 25 Jul 2005 23:26:47 +0000 (23:26 +0000)]
clean up SIP response and pedantic REGISTER matching (bug #3663)

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

15 years agoadd explanatory comment about timestamp compensation (bug #4763)
Kevin P. Fleming [Mon, 25 Jul 2005 23:13:20 +0000 (23:13 +0000)]
add explanatory comment about timestamp compensation (bug #4763)

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

15 years agoprocess asterisk.conf in a single pass, instead of twice (bug #4689)
Kevin P. Fleming [Mon, 25 Jul 2005 23:09:13 +0000 (23:09 +0000)]
process asterisk.conf in a single pass, instead of twice (bug #4689)

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

15 years agodon't set the event mask if the given eventmask was not valid
Russell Bryant [Mon, 25 Jul 2005 23:01:39 +0000 (23:01 +0000)]
don't set the event mask if the given eventmask was not valid

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

15 years agomake sure a reponse is sent when setting the EventMask to on (bug #4799)
Russell Bryant [Mon, 25 Jul 2005 22:58:34 +0000 (22:58 +0000)]
make sure a reponse is sent when setting the EventMask to on (bug #4799)

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

15 years agouse CDR API calls instead of re-implementing them (bug #4726)
Kevin P. Fleming [Mon, 25 Jul 2005 22:56:18 +0000 (22:56 +0000)]
use CDR API calls instead of re-implementing them (bug #4726)

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

15 years agomore extensive documentation (bug #4444)
Kevin P. Fleming [Mon, 25 Jul 2005 22:52:25 +0000 (22:52 +0000)]
more extensive documentation (bug #4444)

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

15 years agoadd some basic documentation about asterisk.conf (bug #4758, rewritten)
Kevin P. Fleming [Mon, 25 Jul 2005 22:38:54 +0000 (22:38 +0000)]
add some basic documentation about asterisk.conf (bug #4758, rewritten)

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

15 years agoallow longer file version strings (bug #4765)
Kevin P. Fleming [Mon, 25 Jul 2005 22:19:13 +0000 (22:19 +0000)]
allow longer file version strings (bug #4765)

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

15 years agoset the 'number complete' bit properly (bug #4771)
Kevin P. Fleming [Mon, 25 Jul 2005 22:16:35 +0000 (22:16 +0000)]
set the 'number complete' bit properly (bug #4771)

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

15 years agoformatting cleanups (bug #4782)
Kevin P. Fleming [Mon, 25 Jul 2005 22:13:32 +0000 (22:13 +0000)]
formatting cleanups (bug #4782)
fill out some Manager events with additional headers (bug #4782)
re-word some log messages to be clearer (bug #4782)

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

15 years agoadd dedicated function for adding Content-Length header (bug #4795)
Kevin P. Fleming [Mon, 25 Jul 2005 21:58:32 +0000 (21:58 +0000)]
add dedicated function for adding Content-Length header (bug #4795)
use ast_build_string to build large text bodies (bug #4795)

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

15 years agoremove the need to have the BUSYDETECT routine defined in the CFLAGS unless
Russell Bryant [Mon, 25 Jul 2005 21:57:14 +0000 (21:57 +0000)]
remove the need to have the BUSYDETECT routine defined in the CFLAGS unless
you want to use one other than the default

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

15 years ago_really_ rewrite get_in_brackets to do the right thing (including skipping escaped...
Kevin P. Fleming [Mon, 25 Jul 2005 21:40:17 +0000 (21:40 +0000)]
_really_ rewrite get_in_brackets to do the right thing (including skipping escaped double-quote characters)

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

15 years agoformatting and callingpres support (bug #4787)
Russell Bryant [Mon, 25 Jul 2005 20:04:46 +0000 (20:04 +0000)]
formatting and callingpres support (bug #4787)

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

15 years agoensure translators don't generate old timestamps when silent periods end (bug #4707...
Kevin P. Fleming [Mon, 25 Jul 2005 19:41:39 +0000 (19:41 +0000)]
ensure translators don't generate old timestamps when silent periods end (bug #4707 with formatting fixes)

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

15 years agominor updates (bug #4777)
Kevin P. Fleming [Mon, 25 Jul 2005 19:17:43 +0000 (19:17 +0000)]
minor updates (bug #4777)

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

15 years agofix line-ending style (bug #4778)
Kevin P. Fleming [Mon, 25 Jul 2005 19:13:21 +0000 (19:13 +0000)]
fix line-ending style (bug #4778)

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

15 years agominor updates (bug #4779)
Kevin P. Fleming [Mon, 25 Jul 2005 19:11:19 +0000 (19:11 +0000)]
minor updates (bug #4779)

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

15 years agoget rid of potential memory leak
Russell Bryant [Mon, 25 Jul 2005 19:10:38 +0000 (19:10 +0000)]
get rid of potential memory leak

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

15 years agoadd MD5-hash matching (bug #4764, with mods)
Kevin P. Fleming [Mon, 25 Jul 2005 18:59:11 +0000 (18:59 +0000)]
add MD5-hash matching (bug #4764, with mods)

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

15 years agocombine bracket-removing functions (bug #4794, with compiler warning mod)
Kevin P. Fleming [Mon, 25 Jul 2005 18:36:58 +0000 (18:36 +0000)]
combine bracket-removing functions (bug #4794, with compiler warning mod)

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

15 years agosquash a warning
Russell Bryant [Mon, 25 Jul 2005 18:34:40 +0000 (18:34 +0000)]
squash a warning

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

15 years agoensure that port number in URI is presented when needed (bug #4784)
Kevin P. Fleming [Mon, 25 Jul 2005 18:11:19 +0000 (18:11 +0000)]
ensure that port number in URI is presented when needed (bug #4784)

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

15 years agoformatting cleanups (bug #4786, with minor mods)
Kevin P. Fleming [Mon, 25 Jul 2005 18:09:04 +0000 (18:09 +0000)]
formatting cleanups (bug #4786, with minor mods)

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

15 years agoadd plain-text hangup cause private header to outbound BYE/CANCEL (bug #4783 with...
Kevin P. Fleming [Mon, 25 Jul 2005 17:39:48 +0000 (17:39 +0000)]
add plain-text hangup cause private header to outbound BYE/CANCEL (bug #4783 with minor mods)

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

15 years agomore formatting fixes! (bug #4780)
Russell Bryant [Mon, 25 Jul 2005 17:31:53 +0000 (17:31 +0000)]
more formatting fixes! (bug #4780)

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

15 years agoensure socket address family is copied (bug #4789)
Kevin P. Fleming [Mon, 25 Jul 2005 17:31:50 +0000 (17:31 +0000)]
ensure socket address family is copied (bug #4789)

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

15 years agoget rid of a warning
Russell Bryant [Mon, 25 Jul 2005 17:27:36 +0000 (17:27 +0000)]
get rid of a warning

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

15 years agoadd ability to set or read both callerid name and num in one call to the function
Russell Bryant [Mon, 25 Jul 2005 17:26:59 +0000 (17:26 +0000)]
add ability to set or read both callerid name and num in one call to the function
This one is for you, Mark :-p

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

15 years agoensure SIP_HEADER does not segfault when called on hung-up channels (bug #4756, diffe...
Kevin P. Fleming [Mon, 25 Jul 2005 17:13:24 +0000 (17:13 +0000)]
ensure SIP_HEADER does not segfault when called on hung-up channels (bug #4756, different fix than posted patch)

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

15 years agoadd line break after show agents output (bug #4768)
Russell Bryant [Mon, 25 Jul 2005 16:53:28 +0000 (16:53 +0000)]
add line break after show agents output (bug #4768)

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

15 years agoformatting fixes (bug #4770)
Russell Bryant [Mon, 25 Jul 2005 15:32:06 +0000 (15:32 +0000)]
formatting fixes (bug #4770)

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

15 years agoformatting fixups (bug #4769)
Russell Bryant [Mon, 25 Jul 2005 15:23:47 +0000 (15:23 +0000)]
formatting fixups (bug #4769)

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

15 years agoMore minor cleanups
Matthew Fredrickson [Fri, 22 Jul 2005 18:28:19 +0000 (18:28 +0000)]
More minor cleanups

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

15 years agoFixed little oops with DTMF tone duration
Matthew Fredrickson [Fri, 22 Jul 2005 18:07:53 +0000 (18:07 +0000)]
Fixed little oops with DTMF tone duration

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

15 years agoGet rid of DSP after we don't need it anymore in MF mode
Matthew Fredrickson [Thu, 21 Jul 2005 15:06:50 +0000 (15:06 +0000)]
Get rid of DSP after we don't need it anymore in MF mode

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

15 years ago_really_ fix IAX2 crazy timestamp problem (bug #4747)
Kevin P. Fleming [Wed, 20 Jul 2005 22:46:58 +0000 (22:46 +0000)]
_really_ fix IAX2 crazy timestamp problem (bug #4747)

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

15 years agomore formatting fixes from oej :-) (bug #4757)
Russell Bryant [Wed, 20 Jul 2005 17:05:18 +0000 (17:05 +0000)]
more formatting fixes from oej :-) (bug #4757)

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

15 years agoput ast_recvchar under its desc, add desc for ast_senddigit, don't use a
Russell Bryant [Wed, 20 Jul 2005 16:39:49 +0000 (16:39 +0000)]
put ast_recvchar under its desc, add desc for ast_senddigit, don't use a
length limited copy for a static copy into a buffer that we *know* is big
enough

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

15 years agoadd slinfactory object, and change app_chanspy to use it (bug #4724)
Kevin P. Fleming [Wed, 20 Jul 2005 00:53:21 +0000 (00:53 +0000)]
add slinfactory object, and change app_chanspy to use it (bug #4724)

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

15 years agoadd SIPPEER dialplan function (bug #4728)
Kevin P. Fleming [Wed, 20 Jul 2005 00:44:35 +0000 (00:44 +0000)]
add SIPPEER dialplan function (bug #4728)

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

15 years agoadd ActionID output and lock CLI fd for Manager action DBGet (bug #4727)
Kevin P. Fleming [Wed, 20 Jul 2005 00:38:20 +0000 (00:38 +0000)]
add ActionID output and lock CLI fd for Manager action DBGet (bug #4727)

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

15 years agoadd English device state output (bug #4733, with minor mod)
Kevin P. Fleming [Wed, 20 Jul 2005 00:34:01 +0000 (00:34 +0000)]
add English device state output (bug #4733, with minor mod)

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