asterisk/asterisk.git
12 years agoMemory leak
Tilghman Lesher [Sun, 24 Aug 2008 16:26:48 +0000 (16:26 +0000)]
Memory leak

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

12 years agoEliminate open coding of ast_str
Tilghman Lesher [Sun, 24 Aug 2008 16:23:15 +0000 (16:23 +0000)]
Eliminate open coding of ast_str

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

12 years agoMerged revisions 139635 via svnmerge from
Steve Murphy [Fri, 22 Aug 2008 22:32:35 +0000 (22:32 +0000)]
Merged revisions 139635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139635 | murf | 2008-08-22 16:24:02 -0600 (Fri, 22 Aug 2008) | 6 lines

I found some problems with the code I committed earlier, when
I merged them into trunk, so I'm coming back to clean up.
And, in the process, I found an error in the code I added
to trunk and 1.6.x, that I'll fix using this patch also.

........

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

12 years agoMerged revisions 139347 via svnmerge from
Steve Murphy [Fri, 22 Aug 2008 22:03:13 +0000 (22:03 +0000)]
Merged revisions 139347 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139347 | murf | 2008-08-21 17:03:50 -0600 (Thu, 21 Aug 2008) | 47 lines

(closes issue #13251)
Reported by: sergee
Tested by: murf

THis is a bold move for a static release fix, but I wouldn't have
made it if I didn't feel confident (at least a *bit* confident)
that it wouldn't mess everyone up.

The reasoning goes something like this:

1. We simply cannot do anything with CDR's at the current point
(in pbx.c, after the __ast_pbx_run loop). It's way too late to
have any affect on the CDRs. The CDR is already posted and gone,
and the remnants have been cleared.

2. I was very much afraid that moving the running of the 'h'
extension down into the bridge code (where it would be now
practical to do it), would result in a lot more calls to the
'h' exten, so I implemented it as another exten under another
name, but found, to my pleasant surprise, that there was a
1:1 correspondence to the running of the 'h' exten in the
pbx_run loop, and the new spot at the end of the bridge.
So, I ifdef'd out the current 'h' loop, and moved it into
the bridge code. The only difference I can see is the stuff
about the AST_PBX_KEEPALIVE, and hopefully, if this
is still an important decision point, I can replicate it
if there are complaints. To be perfectly honest,
the KEEPALIVE situation is not totally clear to me,
and how it relates to a post-bridge situation is less
clear. I suspect the users will point out everything
in total clarity if this steps on anyone's toes!

3. I temporarily swap the bridge_cdr into the channel
before running the 'h' exten, which makes it possible
for users to edit the cdr before it goes out the door.
And, of course, with the endbeforehexten config var set,
the users can also get at the billsec/duration vals.
After the h exten finishes, the cdr is swapped back
and processing continues as normal.

Please, all who deal with CDR's, please test this version
of Asterisk, and file bug reports as appropriate!

........

I also made a little fix to the app_dial's 'e' option,
that is related to my updates.

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

12 years agoMerged revisions 139621 via svnmerge from
Jeff Peeler [Fri, 22 Aug 2008 21:57:32 +0000 (21:57 +0000)]
Merged revisions 139621 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139621 | jpeeler | 2008-08-22 16:36:13 -0500 (Fri, 22 Aug 2008) | 5 lines

(closes issue #13359)
Reported by: Laureano
Patches:
      originate_channel_check.patch uploaded by Laureano (license 265)

........

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

12 years agoremove extra comma typo
Jeff Peeler [Fri, 22 Aug 2008 21:52:20 +0000 (21:52 +0000)]
remove extra comma typo

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

12 years agoThe -1 return value from incomplete or improper
Mark Michelson [Fri, 22 Aug 2008 20:20:58 +0000 (20:20 +0000)]
The -1 return value from incomplete or improper
headers for the SipNotify manager command was
causing the current manager session to become
disconnected. Change the return value to 0 for
these cases.

Also change a test for a NULL pointer to be
ast_strlen_zero instead.

(closes issue #13351)
Reported by: Laureano
Patches:
      sipnotify_action_fix.patch uploaded by Laureano (license 265)

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

12 years agoAdd missing unique id to ParkedCallGiveUp and ParkedCallTimeOut
Mark Michelson [Fri, 22 Aug 2008 20:02:35 +0000 (20:02 +0000)]
Add missing unique id to ParkedCallGiveUp and ParkedCallTimeOut
manager events

(closes issue #13358)
Reported by: srt
Patches:
      13358_parking_events.diff uploaded by srt (license 378)

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

12 years agoMerged revisions 139553 via svnmerge from
Mark Michelson [Fri, 22 Aug 2008 19:45:41 +0000 (19:45 +0000)]
Merged revisions 139553 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139553 | mmichelson | 2008-08-22 14:45:19 -0500 (Fri, 22 Aug 2008) | 8 lines

Fix compilation when DEBUG_THREAD_LOCALS is selected

(closes issue #13298)
Reported by: snuffy
Patches:
      bug13298_20080822.diff uploaded by snuffy (license 35)

........

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

12 years agoBlocked revisions 139521 via svnmerge
Mark Michelson [Fri, 22 Aug 2008 19:24:26 +0000 (19:24 +0000)]
Blocked revisions 139521 via svnmerge

........
r139521 | mmichelson | 2008-08-22 14:23:02 -0500 (Fri, 22 Aug 2008) | 8 lines

Remove show_frame_stats_deprecated since it is not
used anywhere and causes build errors if building under
dev-mode with TRACE_FRAMES selected in menuselect.

(closes issue #13362)
Reported by: snuffy

........

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

12 years agoMerged revisions 139466 via svnmerge from
Mark Michelson [Fri, 22 Aug 2008 17:25:12 +0000 (17:25 +0000)]
Merged revisions 139466 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139466 | mmichelson | 2008-08-22 12:24:47 -0500 (Fri, 22 Aug 2008) | 3 lines

Fix the build. Thanks, mvanbaak!

........

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

12 years agoMerged revisions 139456 via svnmerge from
Mark Michelson [Fri, 22 Aug 2008 16:58:21 +0000 (16:58 +0000)]
Merged revisions 139456 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139456 | mmichelson | 2008-08-22 11:57:38 -0500 (Fri, 22 Aug 2008) | 7 lines

Prevent a deadlock in chan_iax2 resulting from
incorrect locking order between iax2_pvt and
ast_channel structures.

AST-13

........

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

12 years agoMerged revisions 139387 via svnmerge from
Jeff Peeler [Thu, 21 Aug 2008 23:41:50 +0000 (23:41 +0000)]
Merged revisions 139387 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139387 | jpeeler | 2008-08-21 18:39:31 -0500 (Thu, 21 Aug 2008) | 3 lines

Fixes loop that could possibly never exit in the event of a channel never being able to be opened or specify after a restart.
(closes issue #11017)

........

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

12 years agooops
Dwayne M. Hubbard [Thu, 21 Aug 2008 23:00:31 +0000 (23:00 +0000)]
oops

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

12 years agoinitiate T38 negotiation in FaxSend; use channel variables; other stuff too
Dwayne M. Hubbard [Thu, 21 Aug 2008 22:54:18 +0000 (22:54 +0000)]
initiate T38 negotiation in FaxSend; use channel variables; other stuff too

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

12 years agoFix two memory leaks in chan_gtalk, thanks Eliel!
Philippe Sultan [Thu, 21 Aug 2008 09:55:31 +0000 (09:55 +0000)]
Fix two memory leaks in chan_gtalk, thanks Eliel!
(closes issue #13310)
Reported by: eliel
Patches:
      chan_gtalk.c.patch uploaded by eliel (license 64)

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

12 years agoMerged revisions 139213 via svnmerge from
Russell Bryant [Wed, 20 Aug 2008 22:16:36 +0000 (22:16 +0000)]
Merged revisions 139213 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139213 | russell | 2008-08-20 17:14:35 -0500 (Wed, 20 Aug 2008) | 11 lines

Fix a crash in the ChanSpy application.  The issue here is that if you call
ChanSpy and specify a spy group, and sit in the application long enough looping
through the channel list, you will eventually run out of stack space and the
application with exit with a seg fault.  The backtrace was always inside of
a harmless snprintf() call, so it was tricky to track down.  However, it turned
out that the call to snprintf() was just the biggest stack consumer in this
code path, so it would always be the first one to hit the boundary.

(closes issue #13338)
Reported by: ruddy

........

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

12 years agoFix output of sipshowpeer manager response.
Jason Parker [Wed, 20 Aug 2008 22:06:40 +0000 (22:06 +0000)]
Fix output of sipshowpeer manager response.

(closes issue #13346)
Reported by: srt
Patches:
      13346_malformed_sip_show_peer_response.diff uploaded by srt (license 378)

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

12 years agoRemove extraneous debugging messages.
Shaun Ruffell [Wed, 20 Aug 2008 20:03:28 +0000 (20:03 +0000)]
Remove extraneous debugging messages.

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

12 years agoFix bug where the samples were not accurate when in G723 mode, which would
Shaun Ruffell [Wed, 20 Aug 2008 19:57:22 +0000 (19:57 +0000)]
Fix bug where the samples were not accurate when in G723 mode, which would
cause the timestamp field of the RTP header to be invalid.

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

12 years agoBlocked revisions 139145 via svnmerge
Kevin P. Fleming [Wed, 20 Aug 2008 19:36:27 +0000 (19:36 +0000)]
Blocked revisions 139145 via svnmerge

........
r139145 | kpfleming | 2008-08-20 14:35:59 -0500 (Wed, 20 Aug 2008) | 8 lines

Backport support for Zaptel/DAHDI channel-level alarms from trunk/1.6, because not doing so just makes it difficult for people with channels that are in alarm when Asterisk starts up to get them going once the alarm is cleared

(closes issue #12160)
Reported by: tzafrir
Patches:
      asterisk-chanalarms_14.patch uploaded by tzafrir (license 46)
Tested by: tzafrir

........

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

12 years agoMerged revisions 139074 via svnmerge from
Steve Murphy [Wed, 20 Aug 2008 17:25:07 +0000 (17:25 +0000)]
Merged revisions 139074 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139074 | murf | 2008-08-20 11:14:55 -0600 (Wed, 20 Aug 2008) | 12 lines

(closes issue #13263)
Reported by: brainy
Tested by: murf

The specialized reset routine is tromping on the
flags field of the CDR. I made a change to not
reset the DISABLED bit. This should get rid of this
problem.

........

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

12 years agofix unholding phones after hangup on older cisco phones.
Michiel van Baak [Wed, 20 Aug 2008 16:16:53 +0000 (16:16 +0000)]
fix unholding phones after hangup on older cisco phones.

Patch by wedhorn.

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

12 years agoMerged revisions 139015 via svnmerge from
Mark Michelson [Wed, 20 Aug 2008 15:38:47 +0000 (15:38 +0000)]
Merged revisions 139015 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r139015 | mmichelson | 2008-08-20 10:37:56 -0500 (Wed, 20 Aug 2008) | 6 lines

sip_read should properly handle a NULL return from sip_rtp_read.

(closes issue #13257)
Reported by: travishein

........

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

12 years agoBlocked revisions 138949 via svnmerge
Jeff Peeler [Tue, 19 Aug 2008 23:23:02 +0000 (23:23 +0000)]
Blocked revisions 138949 via svnmerge

........
r138949 | jpeeler | 2008-08-19 18:22:39 -0500 (Tue, 19 Aug 2008) | 1 line

add DAHDI_POLICY_WHEN_FULL compatability define for Zaptel
........

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

12 years agoMerged revisions 138942 via svnmerge from
Mark Michelson [Tue, 19 Aug 2008 23:19:40 +0000 (23:19 +0000)]
Merged revisions 138942 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138942 | mmichelson | 2008-08-19 18:17:17 -0500 (Tue, 19 Aug 2008) | 11 lines

Reset agent_pvt variables back to the values in agents.conf
(from what the corresponding channel variables were set to)
when the agent logs out.

(closes issue #13098)
Reported by: davidw
Patches:
      20080731__issue13098_agent_ackcall_not_reset.diff uploaded by bbryant (license 36)
Tested by: davidw

........

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

12 years agoBlocked revisions 138938 via svnmerge
Jeff Peeler [Tue, 19 Aug 2008 22:56:42 +0000 (22:56 +0000)]
Blocked revisions 138938 via svnmerge

........
r138938 | jpeeler | 2008-08-19 17:56:07 -0500 (Tue, 19 Aug 2008) | 7 lines

Add configuration option to chan_dahdi.conf to allow buffering policy and number of buffers to be configured per channel. Syntax:

buffers=<num of buffers>,<policy>

Where the number of buffers is some non-negative integer and the policy is either "full", "half", or "immediate".

........

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

12 years agoMerged revisions 138886 via svnmerge from
Mark Michelson [Tue, 19 Aug 2008 18:52:04 +0000 (18:52 +0000)]
Merged revisions 138886 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138886 | mmichelson | 2008-08-19 13:50:53 -0500 (Tue, 19 Aug 2008) | 23 lines

Add a lock and unlock prior to the destruction of the chanspy_ds
lock to ensure that no other threads still have it locked. While
this should not happen under normal circumstances, it appears that
if the spyer and spyee hang up at nearly the same time, the following
may occur.

1. ast_channel_free is called on the spyee's channel.
2. The chanspy datastore is removed from the spyee's channel in
   ast_channel_free.
3. In the spyer's thread, the spyer attempts to remove and destroy the datastore
   from the spyee channel, but the datastore has already been removed in step 2,
   so the spyer continues in the code.
4. The spyee's thread continues and calls the datastore's destroy callback,
   chanspy_ds_destroy. This involves locking the chanspy_ds.
5. Now the spyer attempts to destroy the chanspy_ds lock. The problem is that in step 4,
   the spyee has locked this lock, meaning that the spyer is attempting to destroy a lock
   which is currently locked by another thread.

The backtrace provided in issue #12969 supports the idea that this is possible
(and has even occurred). This commit does not close the issue, but should help
in preventing one type of crash associated with the use of app_chanspy.

........

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

12 years agochan_skinny now respects callwaiting=no
Michiel van Baak [Tue, 19 Aug 2008 16:56:50 +0000 (16:56 +0000)]
chan_skinny now respects callwaiting=no

(closes issue #12691)
Reported by: sbisker
Patches:
      callwaitingv1.diff uploaded by wedhorn (license 30)
Tested by: wedhorn on old skinny phones, mvanbaak on 7960 and 7905 with latest firmware

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

12 years agoOops. put a decl in a generated file. My bad, but fixed now.
Steve Murphy [Tue, 19 Aug 2008 16:31:24 +0000 (16:31 +0000)]
Oops. put a decl in a generated file. My bad, but fixed now.

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

12 years agoThese changes are in regards to bug 13249, where users are being surprised by the...
Steve Murphy [Tue, 19 Aug 2008 15:59:12 +0000 (15:59 +0000)]
These changes are in regards to bug 13249, where users are being surprised by the changes made
to the Set app in trunk/1.6.x, as they come from the 1.4 world. They are only bitten if
they write their AEL dialplan in the 1.4 world, and then carry it over to a trunk/1.6.x
installation where a "make samples" was executed, or where they hand-edited the
asterisk.conf file and added the [compat] category with app_set = 1.6 (or higher).

(this commit does not totally solve 13249, at least not yet)

The change involves issueing a single warning while the AEL file is loading, if:
 1. app_set is present in the config file, and set to 1.6 or higher.
 2. there are double quotes in an assignment statement (eg x = "hi there";)
 3. the warning was not already issued.

The standalone app, aelparse, does not (yet) issue this warning. I'd have to
have it read in the asterisk.conf file, and that's a bit of hassle. I'll add
it if users request it, tho.

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

12 years agoMention JID rather than SreenName in help messages
Philippe Sultan [Tue, 19 Aug 2008 15:58:39 +0000 (15:58 +0000)]
Mention JID rather than SreenName in help messages

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

12 years agoLet it compile now, too (woops)
Sean Bright [Tue, 19 Aug 2008 00:10:56 +0000 (00:10 +0000)]
Let it compile now, too (woops)

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

12 years agoAnd remove code we don't need anymore.
Sean Bright [Tue, 19 Aug 2008 00:09:38 +0000 (00:09 +0000)]
And remove code we don't need anymore.

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

12 years agoWhile we're at it, make this machine parseable too.
Sean Bright [Tue, 19 Aug 2008 00:08:27 +0000 (00:08 +0000)]
While we're at it, make this machine parseable too.

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

12 years agoChange event header to RegistrationTime to be more consistent (and avoid
Sean Bright [Mon, 18 Aug 2008 23:42:36 +0000 (23:42 +0000)]
Change event header to RegistrationTime to be more consistent (and avoid
breaking existing frameworks).  Pointed out by Laureano on #asterisk-dev.

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

12 years agochannels/chan_misdn.c
Richard Mudgett [Mon, 18 Aug 2008 21:07:28 +0000 (21:07 +0000)]
channels/chan_misdn.c
*  Made bearer2str() use allowed_bearers_array[]
*  Made use the causes.h defines instead of hardcoded numbers.
*  Made use Asterisk presentation indicator values if either of the
mISDN presentation or screen options are negative.
*  Updated the misdn_set_opt application option descriptions.
*  Renamed the awkward Caller ID presentation misdn_set_opt
application option value not_screened to restricted.
Deprecated the not_screened option value.

channels/misdn/isdn_lib.c
*  Made use the causes.h defines instead of hardcoded numbers.
*  Fixed some spelling errors and typos.
*  Added all defined facility code strings to fac2str().

channels/misdn/isdn_lib.h
*  Added doxygen comments to struct misdn_bchannel.

channels/misdn/isdn_lib_intern.h
*  Added doxygen comments to struct misdn_stack.

channels/misdn_config.c
configs/misdn.conf.sample
*  Updated the mISDN presentation and screen parameter descriptions.

doc/tex/misdn.tex
*  Updated the misdn_set_opt application option descriptions.
*  Fixed some spelling errors and typos.

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

12 years agoChange the queue timeout priority logic into less ugly
Mark Michelson [Mon, 18 Aug 2008 20:23:11 +0000 (20:23 +0000)]
Change the queue timeout priority logic into less ugly
and confusing code pieces. Clarify the logic within
queues.conf.sample.

(closes issue #12690)
Reported by: atis
Patches:
      queue_timeoutpriority.patch uploaded by atis (license 242)

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

12 years agoMerged revisions 138685 via svnmerge from
Mark Michelson [Mon, 18 Aug 2008 20:04:10 +0000 (20:04 +0000)]
Merged revisions 138685 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138685 | mmichelson | 2008-08-18 15:01:14 -0500 (Mon, 18 Aug 2008) | 10 lines

Change the inequalities used in app_queue with regards
to timeouts from being strict to non-strict for more
accuracy.

(closes issue #13239)
Reported by: atis
Patches:
      app_queue_timeouts_v2.patch uploaded by atis (license 242)

........

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

12 years agoRemove option that isn't valid here.
Jason Parker [Mon, 18 Aug 2008 15:54:07 +0000 (15:54 +0000)]
Remove option that isn't valid here.

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

12 years agoBlocked revisions 138569 via svnmerge
Sean Bright [Mon, 18 Aug 2008 11:58:49 +0000 (11:58 +0000)]
Blocked revisions 138569 via svnmerge

........
r138569 | seanbright | 2008-08-18 07:57:24 -0400 (Mon, 18 Aug 2008) | 1 line

You know what's awesome?  Code that compiles... ;)
........

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

12 years agoadd missing define for SS7 in dahdi_restart
Jeff Peeler [Mon, 18 Aug 2008 02:13:04 +0000 (02:13 +0000)]
add missing define for SS7 in dahdi_restart

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

12 years agoBlocked revisions 138516 via svnmerge
Jeff Peeler [Mon, 18 Aug 2008 02:06:54 +0000 (02:06 +0000)]
Blocked revisions 138516 via svnmerge

........
r138516 | jpeeler | 2008-08-17 21:05:29 -0500 (Sun, 17 Aug 2008) | 1 line

fix compilation warnings
........

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

12 years agoMove Uniqueid to the end of the event for those that rely on the position
Sean Bright [Sun, 17 Aug 2008 14:12:11 +0000 (14:12 +0000)]
Move Uniqueid to the end of the event for those that rely on the position
of the name/value pairs, pointed out by snuffy-home on #asterisk-commits.

For those of you who rely on the position of name/value pairs in manager
events... stop... that is why associative arrays were invented.

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

12 years agoAdd Uniqueid header to ParkedCall manager event.
Sean Bright [Sun, 17 Aug 2008 13:51:08 +0000 (13:51 +0000)]
Add Uniqueid header to ParkedCall manager event.

(closes issue #13323)
Reported by: srt
Patches:
      13323_unique_id_for_parkedcalls_event.diff uploaded by srt (license 378)

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

12 years agoAdd missing colons to RTCPReceived and RTCPSent manager events.
Sean Bright [Sun, 17 Aug 2008 13:40:36 +0000 (13:40 +0000)]
Add missing colons to RTCPReceived and RTCPSent manager events.

(closes issue #13319)
Reported by: srt
Patches:
      13319_rtcp_manager_event_headers.diff uploaded by srt (license 378)

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

12 years agoFix the output of the JitterBufStats manager event.
Sean Bright [Sun, 17 Aug 2008 13:31:54 +0000 (13:31 +0000)]
Fix the output of the JitterBufStats manager event.

(closes issue #13324)
Reported by: srt
Patches:
      13324_missing_nl_in_jitterbufstats_event_2.diff uploaded by srt (license 378)

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

12 years agoSince it's introduction in revision 3497, cdr_tds has *never* read
Sean Bright [Sat, 16 Aug 2008 16:40:43 +0000 (16:40 +0000)]
Since it's introduction in revision 3497, cdr_tds has *never* read
the port configuration option from cdr_tds.conf.  So go ahead and
remove it from the sample config.

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

12 years agoFix compilation warnings (found with dev-mode)
Tilghman Lesher [Sat, 16 Aug 2008 13:07:08 +0000 (13:07 +0000)]
Fix compilation warnings (found with dev-mode)

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

12 years agoAlso make sure hinting won't crash on reload.
Tilghman Lesher [Sat, 16 Aug 2008 12:52:06 +0000 (12:52 +0000)]
Also make sure hinting won't crash on reload.
(Closes issue #13312)

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

12 years agoMerged revisions 138360 via svnmerge from
Jeff Peeler [Sat, 16 Aug 2008 01:13:26 +0000 (01:13 +0000)]
Merged revisions 138360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138360 | jpeeler | 2008-08-15 20:12:18 -0500 (Fri, 15 Aug 2008) | 1 line

fixes use count to properly decrement if an active dahdi channel is destroyed allowing module to be unloaded
........

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

12 years agoMerged revisions 138119,138151,138238 via svnmerge from
Jeff Peeler [Fri, 15 Aug 2008 23:46:09 +0000 (23:46 +0000)]
Merged revisions 138119,138151,138238 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138119 | jpeeler | 2008-08-15 14:21:51 -0500 (Fri, 15 Aug 2008) | 4 lines

Fixes the dahdi restart functionality. Dahdi restart allows one to restart all DAHDI channels, even if they are currently in use. This is different from unloading and then loading the module since unloading requires the use count to be zero. Reloading the module is different in that the signalling is not changed from what it was originally configured. Also, this fixes not closing all the file descriptors for D-channels upon module unload (which would prevent loading the module afterwards).

(closes issue #11017)

........
r138151 | jpeeler | 2008-08-15 14:41:29 -0500 (Fri, 15 Aug 2008) | 1 line

declared static mutexes using AST_MUTEX_DEFINE_STATIC macro
........
r138238 | jpeeler | 2008-08-15 16:28:26 -0500 (Fri, 15 Aug 2008) | 1 line

initialize condition variable ss_thread_complete using ast_cond_init
........

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

12 years agoBlocked revisions 138309 via svnmerge
Jeff Peeler [Fri, 15 Aug 2008 23:42:28 +0000 (23:42 +0000)]
Blocked revisions 138309 via svnmerge

........
r138309 | jpeeler | 2008-08-15 18:41:54 -0500 (Fri, 15 Aug 2008) | 1 line

add forgotten locks around ss_thread_count in ss_thread for dahdi restart
........

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

12 years agoMerged revisions 138258 via svnmerge from
Tilghman Lesher [Fri, 15 Aug 2008 22:54:57 +0000 (22:54 +0000)]
Merged revisions 138258 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138258 | tilghman | 2008-08-15 17:33:42 -0500 (Fri, 15 Aug 2008) | 8 lines

More fixes for realtime peers.
(closes issue #12921)
 Reported by: Nuitari
 Patches:
       20080804__bug12921.diff.txt uploaded by Corydon76 (license 14)
       20080815__bug12921.diff.txt uploaded by Corydon76 (license 14)
 Tested by: Corydon76

........

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

12 years agoRemove deprecated syntax from sample config file
Tilghman Lesher [Fri, 15 Aug 2008 20:35:24 +0000 (20:35 +0000)]
Remove deprecated syntax from sample config file
(closes issue #13314)
 Reported by: kue

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

12 years agorename all zfd instances in chan_dahdi to dfd to match 1.4 (left over from DAHDI...
Jeff Peeler [Fri, 15 Aug 2008 20:12:19 +0000 (20:12 +0000)]
rename all zfd instances in chan_dahdi to dfd to match 1.4 (left over from DAHDI transition)

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

12 years agoChange free to ast_free_ptr, too
Tilghman Lesher [Fri, 15 Aug 2008 19:36:11 +0000 (19:36 +0000)]
Change free to ast_free_ptr, too

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

12 years agoe->data can be NULL, so use the safe version of ast_strdup()
Tilghman Lesher [Fri, 15 Aug 2008 19:22:48 +0000 (19:22 +0000)]
e->data can be NULL, so use the safe version of ast_strdup()
(closes issue #13312)
 Reported by: pj

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

12 years agoregseconds is actually stored as the epoch time, not registration length
Tilghman Lesher [Fri, 15 Aug 2008 18:02:15 +0000 (18:02 +0000)]
regseconds is actually stored as the epoch time, not registration length

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

12 years agoMerged revisions 138027 via svnmerge from
Russell Bryant [Fri, 15 Aug 2008 15:09:46 +0000 (15:09 +0000)]
Merged revisions 138027 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138027 | russell | 2008-08-15 10:07:16 -0500 (Fri, 15 Aug 2008) | 9 lines

Ensure that when a hangup occurs in autoservice, that a hangup frame gets
properly deferred to be read from the channel owner when it gets taken out
of autoservice.

(closes issue #12874)
Reported by: dimas
Patches:
      v1-12874.patch uploaded by dimas (license 88)

........

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

12 years agoMerged revisions 138023 via svnmerge from
Tilghman Lesher [Fri, 15 Aug 2008 15:03:32 +0000 (15:03 +0000)]
Merged revisions 138023 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r138023 | tilghman | 2008-08-15 09:51:12 -0500 (Fri, 15 Aug 2008) | 8 lines

Additional check for more string specifiers than arguments.
(closes issue #13299)
 Reported by: adomjan
 Patches:
       20080813__bug13299.diff.txt uploaded by Corydon76 (license 14)
       func_strings.c-sprintf.patch uploaded by adomjan (license 487)
 Tested by: adomjan

........

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

12 years agoFix a bashism that causes an error when trying to build the pdf on ubuntu
Russell Bryant [Thu, 14 Aug 2008 22:43:15 +0000 (22:43 +0000)]
Fix a bashism that causes an error when trying to build the pdf on ubuntu

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

12 years agoFix memory leak in cdr_sqlite3_custom.
Sean Bright [Thu, 14 Aug 2008 18:47:28 +0000 (18:47 +0000)]
Fix memory leak in cdr_sqlite3_custom.

(closes issue #13304)
Reported by: eliel
Patches:
      sqlite.patch uploaded by eliel (license 64)
      (Slightly modified by me)

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

12 years agoPrepare for adding 1.6.2 changes
Russell Bryant [Thu, 14 Aug 2008 18:12:16 +0000 (18:12 +0000)]
Prepare for adding 1.6.2 changes

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

12 years agoBlocked revisions 137850 via svnmerge
Tilghman Lesher [Thu, 14 Aug 2008 17:01:00 +0000 (17:01 +0000)]
Blocked revisions 137850 via svnmerge

........
r137850 | tilghman | 2008-08-14 11:55:20 -0500 (Thu, 14 Aug 2008) | 2 lines

Oops, wrong direction

........

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

12 years agoMerged revisions 137847 via svnmerge from
Tilghman Lesher [Thu, 14 Aug 2008 16:52:43 +0000 (16:52 +0000)]
Merged revisions 137847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137847 | tilghman | 2008-08-14 11:47:30 -0500 (Thu, 14 Aug 2008) | 9 lines

When creating the secondary subchannel name, it is necessary to compare to
the existing channel name without the "Zap/" or "DAHDI/" prefix, since our
test string is also without that prefix.
(closes issue #13027)
 Reported by: dferrer
 Patches:
       chan_zap-1.4.21.1_fix2.patch uploaded by dferrer (license 525)
       (Slightly modified by me, to compensate for both names)

........

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

12 years agoMake sure we set the socket port, so we don't try to use <ip address>:0.
Jason Parker [Thu, 14 Aug 2008 15:32:16 +0000 (15:32 +0000)]
Make sure we set the socket port, so we don't try to use <ip address>:0.

(closes issue #13255)
Reported by: falves11
Patches:
      13255-socketport.diff uploaded by qwell (license 4)
Tested by: falves11

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

12 years agoIf we detect that we are no longer connected, try to reconnect a few times
Sean Bright [Thu, 14 Aug 2008 15:03:03 +0000 (15:03 +0000)]
If we detect that we are no longer connected, try to reconnect a few times
before giving up.  This relies on the timeout settings in the freetds.conf
file and, unfortunately, on a recent version of FreeTDS (0.82 or newer).

I either need to change the current execs to be non-blocking (which I do
not want to do) or we have to force people to run with the latest and
greatest of FreeTDS.  I'm on the fence...

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

12 years agoMerged revisions 137731 via svnmerge from
Russell Bryant [Thu, 14 Aug 2008 14:15:50 +0000 (14:15 +0000)]
Merged revisions 137731 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137731 | russell | 2008-08-14 09:05:23 -0500 (Thu, 14 Aug 2008) | 4 lines

Comments in this config file were aligned only if your tab size was set to 8.
So, convert tabs to spaces so that things should be aligned regardless of what
tab size you use in your editor.

........

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

12 years agoMerged revisions 137679 via svnmerge from
Kevin P. Fleming [Thu, 14 Aug 2008 02:03:47 +0000 (02:03 +0000)]
Merged revisions 137679 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137679 | kpfleming | 2008-08-13 21:03:04 -0500 (Wed, 13 Aug 2008) | 1 line

forgot one module name that changed
........

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

12 years agoBlocked revisions 137677 via svnmerge
Kevin P. Fleming [Thu, 14 Aug 2008 02:02:37 +0000 (02:02 +0000)]
Blocked revisions 137677 via svnmerge

........
r137677 | kpfleming | 2008-08-13 21:02:15 -0500 (Wed, 13 Aug 2008) | 2 lines

add support for Zaptel versions that contain the new transcoder interface

........

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

12 years agomake this script actually work
Kevin P. Fleming [Wed, 13 Aug 2008 23:00:37 +0000 (23:00 +0000)]
make this script actually work

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

12 years agoMerged revisions 137530 via svnmerge from
Kevin P. Fleming [Wed, 13 Aug 2008 22:33:32 +0000 (22:33 +0000)]
Merged revisions 137530 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137530 | kpfleming | 2008-08-13 15:46:19 -0500 (Wed, 13 Aug 2008) | 1 line

add document describing what users will need to be aware of when upgrading to this version and using DAHDI
........

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

12 years agoBlocked revisions 137580 via svnmerge
Jeff Peeler [Wed, 13 Aug 2008 21:49:11 +0000 (21:49 +0000)]
Blocked revisions 137580 via svnmerge

........
r137580 | jpeeler | 2008-08-13 16:35:37 -0500 (Wed, 13 Aug 2008) | 3 lines

Register DAHDISendKeypadFacility application if dahdi_chan_mode is set to DAHDI + Zap. Mark ZapSendKeypadFacility application as deprecated on usage.

........

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

12 years agoCorrectly end locally ended calls.
Jason Parker [Wed, 13 Aug 2008 21:08:58 +0000 (21:08 +0000)]
Correctly end locally ended calls.

(closes issue #12170)
Reported by: pj
Patches:
      20080702__issue12170_clear_pendinginvite.diff uploaded by bbryant (license 36)
Tested by: bbryant, pabelanger

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

12 years agoBlocked revisions 137527,137529 via svnmerge
Kevin P. Fleming [Wed, 13 Aug 2008 20:47:42 +0000 (20:47 +0000)]
Blocked revisions 137527,137529 via svnmerge

........
r137527 | kpfleming | 2008-08-13 15:33:47 -0500 (Wed, 13 Aug 2008) | 5 lines

document dahdichanname option in doc/asterisk-conf.txt

make chan_dahdi read its configuration from zapata.conf if dahdichanname has been set to 'no'

........
r137529 | kpfleming | 2008-08-13 15:42:33 -0500 (Wed, 13 Aug 2008) | 2 lines

remove some more chan_zap references

........

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

12 years agoAdd FAXMODE variable with what fax transport was used.
Jason Parker [Wed, 13 Aug 2008 20:05:50 +0000 (20:05 +0000)]
Add FAXMODE variable with what fax transport was used.

(closes issue #13252)
Patches:
      v1-13252.patch uploaded by dimas (license 88)

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

12 years agoConvert deprecated routines to the new names.
Tilghman Lesher [Wed, 13 Aug 2008 17:36:15 +0000 (17:36 +0000)]
Convert deprecated routines to the new names.
(closes issue #13297)
 Reported by: snuffy
 Patches:
       bug13297_20080814.diff uploaded by snuffy (license 35)

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

12 years agoMerged revisions 137405 via svnmerge from
Sean Bright [Wed, 13 Aug 2008 14:41:49 +0000 (14:41 +0000)]
Merged revisions 137405 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137405 | seanbright | 2008-08-13 10:33:49 -0400 (Wed, 13 Aug 2008) | 1 line

Update docs to reflect the change to cdr_tds
........

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

12 years agoUse the ast_vasprintf macro instead of vasprintf directly.
Sean Bright [Wed, 13 Aug 2008 14:22:47 +0000 (14:22 +0000)]
Use the ast_vasprintf macro instead of vasprintf directly.

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

12 years agoBlocked revisions 137348 via svnmerge
Sean Bright [Wed, 13 Aug 2008 00:11:13 +0000 (00:11 +0000)]
Blocked revisions 137348 via svnmerge

........
r137348 | seanbright | 2008-08-12 20:10:35 -0400 (Tue, 12 Aug 2008) | 8 lines

Bring cdr_tds in line with the other CDR backends and have it try to store
CDR(userfield) if it is set.  The new behavior is to check for the userfield
column on module load, and if it exists, we will store CDR(userfield) when
CDRs are written.  A similar patch already went into trunk and 1.6.0.

(closes issue #13290)
Reported by: falves11

........

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

12 years agoGrammar hax from Qwell
Russell Bryant [Tue, 12 Aug 2008 19:48:38 +0000 (19:48 +0000)]
Grammar hax from Qwell

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

12 years agoNote that developer documentation belongs in doxygen, and not integrated with
Russell Bryant [Tue, 12 Aug 2008 19:40:35 +0000 (19:40 +0000)]
Note that developer documentation belongs in doxygen, and not integrated with
the user manual stuff in doc/tex/.

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

12 years agoMake PRINT_DIR work as advertised.
Russell Bryant [Mon, 11 Aug 2008 16:14:29 +0000 (16:14 +0000)]
Make PRINT_DIR work as advertised.

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

12 years agoLog the userfield CDR variable like the other CDR backends, assuming the
Sean Bright [Mon, 11 Aug 2008 14:25:15 +0000 (14:25 +0000)]
Log the userfield CDR variable like the other CDR backends, assuming the
column is actually there.  If it's not, we still log everything else as
before.

(closes issue #13281)
Reported by: falves11

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

12 years agoMerged revisions 137138 via svnmerge from
Tilghman Lesher [Mon, 11 Aug 2008 00:25:28 +0000 (00:25 +0000)]
Merged revisions 137138 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r137138 | tilghman | 2008-08-10 19:20:38 -0500 (Sun, 10 Aug 2008) | 5 lines

Deallocate database connection handle on disconnect, as we allocate another
one on connect.
(closes issue #13271)
 Reported by: dveiga

........

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

12 years agoFix this again so we can compile with shadow warnings enabled and IMAP chosen
Sean Bright [Sun, 10 Aug 2008 21:10:04 +0000 (21:10 +0000)]
Fix this again so we can compile with shadow warnings enabled and IMAP chosen
in voicemail.

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

12 years agoThat's all, folks. Not going to update the Makefile until res_jabber is
Sean Bright [Sun, 10 Aug 2008 20:57:25 +0000 (20:57 +0000)]
That's all, folks.  Not going to update the Makefile until res_jabber is
converted (snuffy, you there? :))

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

12 years agoAnother batch of files from RSW. The remaining apps and a few more
Sean Bright [Sun, 10 Aug 2008 20:23:50 +0000 (20:23 +0000)]
Another batch of files from RSW.  The remaining apps and a few more
files from main/

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

12 years agoAnother big chunk of changes from the RSW branch. Bunch of stuff from main/
Sean Bright [Sun, 10 Aug 2008 19:35:50 +0000 (19:35 +0000)]
Another big chunk of changes from the RSW branch.  Bunch of stuff from main/

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

12 years agoMore RSW merges. Everything from apps/ except for the big offenders
Sean Bright [Sun, 10 Aug 2008 14:45:25 +0000 (14:45 +0000)]
More RSW merges.  Everything from apps/ except for the big offenders
app_voicemail and app_queue.

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

12 years agoAll of the res/ stuff (other than res_jabber) from the RSW branch.
Sean Bright [Sun, 10 Aug 2008 00:47:56 +0000 (00:47 +0000)]
All of the res/ stuff (other than res_jabber) from the RSW branch.

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

12 years agoMerged revisions 136946 via svnmerge from
Tilghman Lesher [Sat, 9 Aug 2008 15:26:27 +0000 (15:26 +0000)]
Merged revisions 136946 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

................
r136946 | tilghman | 2008-08-09 10:25:36 -0500 (Sat, 09 Aug 2008) | 10 lines

Merged revisions 136945 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r136945 | tilghman | 2008-08-09 10:24:36 -0500 (Sat, 09 Aug 2008) | 2 lines

Regression fixes for Solaris

........

................

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

12 years agoMore RSW merges. This should do it for the channels/ dir.
Sean Bright [Sat, 9 Aug 2008 14:12:34 +0000 (14:12 +0000)]
More RSW merges.  This should do it for the channels/ dir.

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

12 years agoBiggest offender? chan_dahdi.c! More RSW merging.
Sean Bright [Sat, 9 Aug 2008 13:13:48 +0000 (13:13 +0000)]
Biggest offender?  chan_dahdi.c!  More RSW merging.

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

12 years agoMerge more changes from the resolve-shadow-warnings branch (henceforth known
Sean Bright [Sat, 9 Aug 2008 12:53:57 +0000 (12:53 +0000)]
Merge more changes from the resolve-shadow-warnings branch (henceforth known
as RSW since i am too lazy to keep typing it all out).  This time a few of
the channels.

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

12 years agoUpdate documentation as to the behavior of AGI in 1.6.0 and higher. Also, add
Tilghman Lesher [Sat, 9 Aug 2008 01:15:38 +0000 (01:15 +0000)]
Update documentation as to the behavior of AGI in 1.6.0 and higher.  Also, add
an OOB message that answers the question of, if AGI no longer shuts down the
connection on hangup, how will FastAGI know when to stop processing the call?

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

12 years agoBring in the configure and makeopts jazz for -Wshadow, but don't add it to the
Sean Bright [Fri, 8 Aug 2008 18:19:33 +0000 (18:19 +0000)]
Bring in the configure and makeopts jazz for -Wshadow, but don't add it to the
Makefile yet.

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

12 years agouse ARRAY_LEN
Dwayne M. Hubbard [Fri, 8 Aug 2008 15:58:38 +0000 (15:58 +0000)]
use ARRAY_LEN

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

12 years agoFix compilation for ODBC voicemail
Mark Michelson [Fri, 8 Aug 2008 15:31:31 +0000 (15:31 +0000)]
Fix compilation for ODBC voicemail

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